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

// , Installation fails on CEntOS 7.1. #347

Open
v6 opened this issue Sep 1, 2015 · 2 comments
Open

// , Installation fails on CEntOS 7.1. #347

v6 opened this issue Sep 1, 2015 · 2 comments

Comments

@v6
Copy link

v6 commented Sep 1, 2015

// ,

This is just a quick note to record an installation error for CEntOS 7.1, as follows:

[~]$ sudo pip3 install Attic                                                                                               [ruby-1.9.3-p551]
Collecting Attic
  Using cached Attic-0.16.tar.gz
Requirement already satisfied (use --upgrade to upgrade): msgpack-python in /usr/lib64/python3.4/site-packages (from Attic)
Building wheels for collected packages: Attic
  Running setup.py bdist_wheel for Attic
  Complete output from command /bin/python3 -c "import setuptools;__file__='/tmp/pip-build-cle80plx/Attic/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpg39candgpip-wheel-:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.4
  creating build/lib.linux-x86_64-3.4/attic
  copying attic/__init__.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/archive.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/archiver.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/cache.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/fuse.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/helpers.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/key.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/lrucache.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/platform.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/remote.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/repository.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/xattr.py -> build/lib.linux-x86_64-3.4/attic
  copying attic/_version.py -> build/lib.linux-x86_64-3.4/attic
  creating build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/__init__.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/archive.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/archiver.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/chunker.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/crypto.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/hashindex.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/helpers.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/key.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/lrucache.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/mock.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/platform.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/repository.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/run.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  copying attic/testsuite/xattr.py -> build/lib.linux-x86_64-3.4/attic/testsuite
  running build_ext
  building 'attic.crypto' extension
  creating build/temp.linux-x86_64-3.4
  creating build/temp.linux-x86_64-3.4/attic
  gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include -I/usr/include/python3.4m -c attic/crypto.c -o build/temp.linux-x86_64-3.4/attic/crypto.o
  gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-3.4/attic/crypto.o -L/usr/lib -L/usr/lib64 -lcrypto -lpython3.4m -o build/lib.linux-x86_64-3.4/attic/crypto.cpython-34m.so
  building 'attic.chunker' extension
  gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.4m
-c attic/chunker.c -o build/temp.linux-x86_64-3.4/attic/chunker.o
  gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-3.4/attic/chunker.o -L/usr/lib64 -lpython3.4m -o build/lib.linux-x86_64-3.4/attic/chunker.cpython-34m.so
  building 'attic.hashindex' extension
  gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.4m
-c attic/hashindex.c -o build/temp.linux-x86_64-3.4/attic/hashindex.o
  gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-3.4/attic/hashindex.o -L/usr/lib64 -lpython3.4m -o build/lib.linux-x86_64-3.4/attic/hashindex.cpython-34m.so
  building 'attic.platform_linux' extension
  gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.4m
-c attic/platform_linux.c -o build/temp.linux-x86_64-3.4/attic/platform_linux.o
  attic/platform_linux.c:248:21: fatal error: sys/acl.h: No such file or directory
   #include "sys/acl.h"
                       ^
  compilation terminated.
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for Attic
Failed to build Attic
Installing collected packages: Attic
  Running setup.py install for Attic
    Complete output from command /bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-cle80plx/Attic/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_5zaa8fm-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    running build_ext
    building 'attic.platform_linux' extension
    gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.4m -c attic/platform_linux.c -o build/temp.linux-x86_64-3.4/attic/platform_linux.o
    attic/platform_linux.c:248:21: fatal error: sys/acl.h: No such file or directory
     #include "sys/acl.h"
                         ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-cle80plx/Attic/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_5zaa8fm-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-cle80plx/Attic
[~]$                                                                                                                       [ruby-1.9.3-p551]

It looks like I'm missing some system libraries, but I'm not sure which. "acl" seems a bit vague to do a Yum search.

@fragstone
Copy link

you need the libacl-devel package.

@v6
Copy link
Author

v6 commented Sep 4, 2015

// , Ah, got it. Can I make a pull request to add that to the documentation?

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

2 participants