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

[require investigation] Remove unneeded package libarchive-dev #17

Open
oshadura opened this issue Mar 2, 2021 · 0 comments
Open

[require investigation] Remove unneeded package libarchive-dev #17

oshadura opened this issue Mar 2, 2021 · 0 comments

Comments

@oshadura
Copy link
Member

oshadura commented Mar 2, 2021

Reminder to don't forget to remove the next lines from Dockerfile:

RUN apt-get update \
     && apt-get install -yq --no-install-recommends libarchive-dev \
     && apt-get clean && rm -rf /var/lib/apt/lists/*

Error log:

#5 159.3 Remove all contents from the following package caches?
#5 159.3   - /opt/conda/pkgs
#5 159.7 Traceback (most recent call last):
#5 159.7   File "/opt/conda/bin/conda-build", line 7, in <module>
#5 159.7     from conda_build.cli.main_build import main
#5 159.7   File "/opt/conda/lib/python3.8/site-packages/conda_build/cli/main_build.py", line 19, in <module>
#5 159.7     import conda_build.api as api
#5 159.7   File "/opt/conda/lib/python3.8/site-packages/conda_build/api.py", line 22, in <module>
#5 159.7     from conda_build.config import (Config, get_or_merge_config, get_channel_urls,
#5 159.7   File "/opt/conda/lib/python3.8/site-packages/conda_build/config.py", line 18, in <module>
#5 159.7     from .variants import get_default_variant
#5 159.7   File "/opt/conda/lib/python3.8/site-packages/conda_build/variants.py", line 18, in <module>
#5 159.7     from conda_build.utils import ensure_list, get_logger, islist, on_win, trim_empty_keys
#5 159.7   File "/opt/conda/lib/python3.8/site-packages/conda_build/utils.py", line 9, in <module>
#5 159.7     import libarchive
#5 159.7   File "/opt/conda/lib/python3.8/site-packages/libarchive/__init__.py", line 1, in <module>
#5 159.7     from .entry import ArchiveEntry
#5 159.7   File "/opt/conda/lib/python3.8/site-packages/libarchive/entry.py", line 6, in <module>
#5 159.7     from . import ffi
#5 159.7   File "/opt/conda/lib/python3.8/site-packages/libarchive/ffi.py", line 108, in <module>
#5 159.7     errno = ffi('errno', [c_archive_p], c_int)
#5 159.7   File "/opt/conda/lib/python3.8/site-packages/libarchive/ffi.py", line 95, in ffi
#5 159.7     f = getattr(libarchive, 'archive_'+name)
#5 159.7   File "/opt/conda/lib/python3.8/ctypes/__init__.py", line 394, in __getattr__
#5 159.7     func = self.__getitem__(name)
#5 159.7   File "/opt/conda/lib/python3.8/ctypes/__init__.py", line 399, in __getitem__
#5 159.7     func = self._FuncPtr((name_or_ordinal, self))
#5 159.7 AttributeError: /opt/conda/bin/python: undefined symbol: archive_errno
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