Opened 12 years ago
Last modified 10 years ago
#38719 new request
New port request python-pylibacl
Reported by: | mail@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager), petrrr | |
Port: |
Description
Hello,
I tried to install bup, which needs a python module called 'python-pylibacl'. I found no port for that one, would it be possible to create one?
I guess it is possible, unfortunately I do not know how to create a port. So could someone else please add one?
Regards, Johannes
Attachments (1)
Change History (9)
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Keywords: | pyton python-pylibacl removed |
---|---|
Summary: | New port python-pylibacl possible? → New port request python-pylibacl |
Version: | 2.1.3 |
comment:2 Changed 12 years ago by cooljeanius (Eric Gallager)
comment:4 Changed 11 years ago by mail@…
I created a port file (that means I copied one and changed it), but I get some errors:
:notice:build ---> Building py27-pylibacl :debug:build Executing proc-pre-org.macports.build-build-0 :debug:build Executing org.macports.build (py27-pylibacl) :debug:build 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-pylibacl/py27-pylibacl/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:build Assembled command: 'cd "/opt/local/var/macports/build/_Users_Shared_macports_Lokales_Repository_python_py-pylibacl/py27-pylibacl/work/pylibacl-0.4.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build' :debug:build Executing command line: cd "/opt/local/var/macports/build/_Users_Shared_macports_Lokales_Repository_python_py-pylibacl/py27-pylibacl/work/pylibacl-0.4.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build :info:build running build :info:build running build_ext :info:build building 'posix1e' extension :info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c acl.c -o build/temp.macosx-10.8-x86_64-2.7/acl.o :info:build acl.c:52:37: error: use of undeclared identifier 'ACL_READ' :info:build static acl_perm_t holder_ACL_READ = ACL_READ; :info:build ^ :info:build acl.c:53:38: error: use of undeclared identifier 'ACL_WRITE' :info:build static acl_perm_t holder_ACL_WRITE = ACL_WRITE; :info:build ^ :info:build 2 errors generated.
Could someone assist? I have no idea how to solve that issue, so any help would be appreciated.
Thanks, Johannes
Changed 11 years ago by mail@…
comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)
I think this might be an upstream issue...
comment:7 Changed 11 years ago by cooljeanius (Eric Gallager)
Actually I found out there's a Fink package for this that we could work from: http://fink.cvs.sourceforge.net/fink/dists/10.4/stable/main/finkinfo/libs/pythonmods/pylibacl-py.info?view=markup
They apply the following patch to setup.py
:
http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.4/stable/main/finkinfo/libs/pythonmods/pylibacl-py.patch?revision=1.1&view=markup
Some links that might be helpful in making this port: