Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidArchiveError #268

Open
WhiteSymmetry opened this issue Oct 14, 2024 · 1 comment
Open

InvalidArchiveError #268

WhiteSymmetry opened this issue Oct 14, 2024 · 1 comment

Comments

@WhiteSymmetry
Copy link

WhiteSymmetry commented Oct 14, 2024

Problem solved. The problem originated from my system.

OS: Linux Ubuntu 24.10
Miniconda3
Python: 3.11.10

conda install -c conda-forge cppyy -y
Channels:

  • conda-forge
  • defaults
    Platform: linux-64
    Collecting package metadata (repodata.json): done
    Solving environment: done

Package Plan

environment location: /home/*/miniconda3/envs/v11

added / updated specs:
- cppyy

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
binutils-2.43              |       h4852527_1          33 KB  conda-forge
binutils_impl_linux-64-2.43|       h4bf12b8_1         5.9 MB  conda-forge
binutils_linux-64-2.43     |       h4852527_1          34 KB  conda-forge
c-compiler-1.8.0           |       h2b85faf_0           6 KB  conda-forge
cppyy-3.1.2                |  py311h487c503_2          70 KB  conda-forge
cppyy-backend-1.15.2       |  py311h9547e67_1         101 KB  conda-forge
cppyy-cling-6.30.0         |  py311ha7de1e9_7       137.1 MB  conda-forge
cpycppyy-1.12.16           |  py311h9547e67_1         348 KB  conda-forge
cxx-compiler-1.8.0         |       h1a2810e_0           6 KB  conda-forge
gcc-13.3.0                 |       h9576a4e_1          53 KB  conda-forge
gcc_impl_linux-64-13.3.0   |       hfea6d02_1        64.3 MB  conda-forge
gcc_linux-64-13.3.0        |       hc28eda2_4          31 KB  conda-forge
gxx-13.3.0                 |       h9576a4e_1          52 KB  conda-forge
gxx_impl_linux-64-13.3.0   |       hdbfa832_1        12.7 MB  conda-forge
gxx_linux-64-13.3.0        |       h6834431_4          30 KB  conda-forge
kernel-headers_linux-64-3.10.0|      he073ed8_17         923 KB  conda-forge
libgcc-devel_linux-64-13.3.0|     h84ea5a7_101         2.5 MB  conda-forge
libsanitizer-13.3.0        |       heb74ff8_1         3.9 MB  conda-forge
libstdcxx-devel_linux-64-13.3.0|     h84ea5a7_101        13.4 MB  conda-forge
sysroot_linux-64-2.17      |      h4a8ded7_17        14.4 MB  conda-forge
------------------------------------------------------------
                                       Total:       256.1 MB

The following NEW packages will be INSTALLED:

_libgcc_mutex conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
_openmp_mutex conda-forge/linux-64::_openmp_mutex-4.5-2_gnu
binutils conda-forge/linux-64::binutils-2.43-h4852527_1
binutils_impl_lin~ conda-forge/linux-64::binutils_impl_linux-64-2.43-h4bf12b8_1
binutils_linux-64 conda-forge/linux-64::binutils_linux-64-2.43-h4852527_1
c-compiler conda-forge/linux-64::c-compiler-1.8.0-h2b85faf_0
cppyy conda-forge/linux-64::cppyy-3.1.2-py311h487c503_2
cppyy-backend conda-forge/linux-64::cppyy-backend-1.15.2-py311h9547e67_1
cppyy-cling conda-forge/linux-64::cppyy-cling-6.30.0-py311ha7de1e9_7
cpycppyy conda-forge/linux-64::cpycppyy-1.12.16-py311h9547e67_1
cxx-compiler conda-forge/linux-64::cxx-compiler-1.8.0-h1a2810e_0
gcc conda-forge/linux-64::gcc-13.3.0-h9576a4e_1
gcc_impl_linux-64 conda-forge/linux-64::gcc_impl_linux-64-13.3.0-hfea6d02_1
gcc_linux-64 conda-forge/linux-64::gcc_linux-64-13.3.0-hc28eda2_4
gxx conda-forge/linux-64::gxx-13.3.0-h9576a4e_1
gxx_impl_linux-64 conda-forge/linux-64::gxx_impl_linux-64-13.3.0-hdbfa832_1
gxx_linux-64 conda-forge/linux-64::gxx_linux-64-13.3.0-h6834431_4
kernel-headers_li~ conda-forge/noarch::kernel-headers_linux-64-3.10.0-he073ed8_17
ld_impl_linux-64 conda-forge/linux-64::ld_impl_linux-64-2.43-h712a8e2_1
libgcc conda-forge/linux-64::libgcc-14.1.0-h77fa898_1
libgcc-devel_linu~ conda-forge/noarch::libgcc-devel_linux-64-13.3.0-h84ea5a7_101
libgcc-ng conda-forge/linux-64::libgcc-ng-14.1.0-h69a702a_1
libgomp conda-forge/linux-64::libgomp-14.1.0-h77fa898_1
libsanitizer conda-forge/linux-64::libsanitizer-13.3.0-heb74ff8_1
libstdcxx conda-forge/linux-64::libstdcxx-14.1.0-hc0a3c3a_1
libstdcxx-devel_l~ conda-forge/noarch::libstdcxx-devel_linux-64-13.3.0-h84ea5a7_101
libstdcxx-ng conda-forge/linux-64::libstdcxx-ng-14.1.0-h4852527_1
libzlib conda-forge/linux-64::libzlib-1.3.1-hb9d3cd8_2
python_abi conda-forge/linux-64::python_abi-3.11-5_cp311
sysroot_linux-64 conda-forge/noarch::sysroot_linux-64-2.17-h4a8ded7_17
tzdata conda-forge/noarch::tzdata-2024b-hc8b5060_0

Downloading and Extracting Packages:

InvalidArchiveError('Error with archive /home//miniconda3/pkgs/sysroot_linux-64-2.17-h4a8ded7_17.conda. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: seeking backwards is not allowed')
InvalidArchiveError('Error with archive /home/
/miniconda3/pkgs/binutils_impl_linux-64-2.43-h4bf12b8_1.conda. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: seeking backwards is not allowed')
InvalidArchiveError('Error with archive /home//miniconda3/pkgs/binutils-2.43-h4852527_1.conda. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: seeking backwards is not allowed')
InvalidArchiveError('Error with archive /home/
/miniconda3/pkgs/gcc_impl_linux-64-13.3.0-hfea6d02_1.conda. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: seeking backwards is not allowed')
InvalidArchiveError('Error with archive /home/*/miniconda3/pkgs/cppyy-cling-6.30.0-py311ha7de1e9_7.conda. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: seeking backwards is not allowed')

in addition:
1:
conda install /*/sysroot_linux-64-2.28-he073ed8_3.conda

Downloading and Extracting Packages:

InvalidArchiveError('Error with archive /home/mk/miniconda3/pkgs/sysroot_linux-64-2.28-he073ed8_3.conda. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: seeking backwards is not allowed')

2:
!python -m pip install -U cppyy --force-reinstall

Successfully installed CPyCppyy-1.12.16 cppyy-3.1.2 cppyy-backend-1.15.2 cppyy-cling-6.30.0

import cppyy
cppyy.version

(Re-)building pre-compiled headers (options: -O2 -march=native); this may take a minute ...
In file included from input_line_3:2:
In file included from /usr/include/c++/14/string:42:
In file included from /usr/include/c++/14/bits/char_traits.h:57:
In file included from /usr/include/c++/14/bits/stl_construct.h:61:
In file included from /usr/include/c++/14/bits/stl_iterator_base_types.h:71:
/usr/include/c++/14/bits/iterator_concepts.h:1013:13: error: no matching function for call to '__begin'
= decltype(ranges::__access::__begin(std::declval<_Tp&>()));
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/ranges_base.h:511:5: note: in instantiation of template type alias '__range_iter_t' requested here
using iterator_t = std::__detail::__range_iter_t<_Tp>;
^
/usr/include/c++/14/bits/ranges_util.h:132:36: note: in instantiation of template type alias 'iterator_t' requested here
requires contiguous_iterator<iterator_t<_Derived>>
^
...
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Error: ./bin/rootcling: compilation failure (/tmp/allDictca6ca6dd2c_dictUmbrella.h)
/home/mk/miniconda3/envs/v11/lib/python3.11/site-packages/cppyy_backend/loader.py:139: UserWarning: No precompiled header available (failed to build); this may impact performance.
warnings.warn('No precompiled header available (%s); this may impact performance.' % msg)
'3.1.2'

@WhiteSymmetry
Copy link
Author

Problem solved. The problem originated from my system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant