#38253: new port 'python-pxattr' possible? ----------------------+-------------------------------- Reporter: mail@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by mail@…): I created a portfile (or rather modified an existing one), and I get stuck here: {{{ ---> Building py27-pyxattr DEBUG: Executing proc-pre-org.macports.build-build-0 DEBUG: Executing org.macports.build (py27-pyxattr) DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build /_Users_Shared_macports_Lokales_Repository_python_py- pyxattr/py27-pyxattr/work/.CC_PRINT_OPTIONS' F90FLAGS='-m64' LDFLAGS='-arch x86_64' FCFLAGS='-m64' OBJC='/usr/bin/clang' OBJCFLAGS='-arch x86_64' FFLAGS='-m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build /_Users_Shared_macports_Lokales_Repository_python_py- pyxattr/py27-pyxattr/work/pyxattr-0.5.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build' DEBUG: Executing command line: cd "/opt/local/var/macports/build /_Users_Shared_macports_Lokales_Repository_python_py- pyxattr/py27-pyxattr/work/pyxattr-0.5.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build running build running build_ext building 'xattr' extension /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -D_XATTR_VERSION="0.5.2" -D_XATTR_AUTHOR="Iustin Pop" -D_XATTR_EMAIL="iusty@k1024.org" -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c xattr.c -o build/temp.macosx-10.8-x86_64-2.7/xattr.o -Wall -Werror xattr.c:25:10: fatal error: 'attr/xattr.h' file not found #include <attr/xattr.h> ^ 1 error generated. error: command '/usr/bin/clang' failed with exit status 1 Command failed: cd "/opt/local/var/macports/build /_Users_Shared_macports_Lokales_Repository_python_py- pyxattr/py27-pyxattr/work/pyxattr-0.5.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build Exit code: 1 Error: org.macports.build for port py27-pyxattr returned: command execution failed }}} The developer, whom I asked for help, said the xattr.h should be installed by some devel-package on linux machines. Where to get it on OSX? Shouldn't it be somewhere in the xattr port? Thanks, Johannes -- Ticket URL: <https://trac.macports.org/ticket/38253#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X