Opened 15 years ago
Closed 12 years ago
#6 closed defect (wontfix)
port zfec to Nexenta
Reported by: | zooko | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | component1 | Version: | |
Keywords: | packaging solaris debian ubuntu nexenta python | Cc: | |
Launchpad Bug: |
Description
I tried to port the python-zfec package from Ubuntu Karmic to Nexenta NCP3 alpha 1. The build stops with this error:
root@kauai:~/zfec-port-attempt-1/zfec-1.4.5# dpkg-buildpackage -sa dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: source package zfec dpkg-buildpackage: source version 1.4.5-0ubuntu3~ncp3 dpkg-buildpackage: source changed by Zooko Wilcox-O'Hearn <zooko@zooko.com> dpkg-buildpackage: host architecture solaris-i386 debian/rules clean dh_testdir dh_testroot rm -rf dist build build-stamp build-ext-* find . -name '*\.py[co]' -delete dh_clean install-stamp install-ext-* dpkg-source -b zfec-1.4.5 dpkg-source: building zfec using existing zfec_1.4.5.orig.tar.gz dpkg-source: building zfec in zfec_1.4.5-0ubuntu3~ncp3.diff.gz dpkg-source: building zfec in zfec_1.4.5-0ubuntu3~ncp3.dsc debian/rules build dh_testdir python2.5 setup.py build running build running build_py creating build creating build/lib.solaris-2.11-i86pc-2.5 creating build/lib.solaris-2.11-i86pc-2.5/zfec copying zfec/filefec.py -> build/lib.solaris-2.11-i86pc-2.5/zfec copying zfec/cmdline_zunfec.py -> build/lib.solaris-2.11-i86pc-2.5/zfec copying zfec/__init__.py -> build/lib.solaris-2.11-i86pc-2.5/zfec copying zfec/cmdline_zfec.py -> build/lib.solaris-2.11-i86pc-2.5/zfec copying zfec/_version.py -> build/lib.solaris-2.11-i86pc-2.5/zfec copying zfec/easyfec.py -> build/lib.solaris-2.11-i86pc-2.5/zfec running build_ext building 'zfec._fec' extension creating build/temp.solaris-2.11-i86pc-2.5 creating build/temp.solaris-2.11-i86pc-2.5/zfec gcc -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -O2 -fPIC -I/usr/include/python2.5 -c zfec/fec.c -o build/temp.solaris-2.11-i86pc-2.5/zfec/fec.o -std=c99 gcc -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -O2 -fPIC -I/usr/include/python2.5 -c zfec/_fecmodule.c -o build/temp.solaris-2.11-i86pc-2.5/zfec/_fecmodule.o -std=c99 In file included from /usr/include/limits.h:36, from /usr/lib/gcc/i386-pc-solaris2.11/4.2.3/include/limits.h:122, from /usr/lib/gcc/i386-pc-solaris2.11/4.2.3/include/syslimits.h:7, from /usr/lib/gcc/i386-pc-solaris2.11/4.2.3/include/limits.h:11, from /usr/include/python2.5/Python.h:18, from zfec/_fecmodule.c:8: /usr/include/sys/feature_tests.h:353:2: error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications" zfec/_fecmodule.c: In function 'test_from_agl': zfec/_fecmodule.c:604: warning: dereferencing type-punned pointer will break strict-aliasing rules zfec/_fecmodule.c:604: warning: dereferencing type-punned pointer will break strict-aliasing rules zfec/_fecmodule.c:606: warning: dereferencing type-punned pointer will break strict-aliasing rules zfec/_fecmodule.c:606: warning: dereferencing type-punned pointer will break strict-aliasing rules zfec/_fecmodule.c: In function 'init_fec': zfec/_fecmodule.c:634: warning: dereferencing type-punned pointer will break strict-aliasing rules zfec/_fecmodule.c:635: warning: dereferencing type-punned pointer will break strict-aliasing rules error: command 'gcc' failed with exit status 1 make: *** [build-ext-2.5] Error 1 dpkg-buildpackage: failure: debian/rules build gave error exit status 2
I believe that this is due to http://bugs.python.org/issue1759169 . See also the Nexenta ticket for this: https://bugs.launchpad.net/nexenta/+bug/452667
Change History (1)
comment:1 Changed 12 years ago by zooko
- Resolution set to wontfix
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
No longer interested in the long-abandoned Nexenta. I *am* interested in other new obscure Free/Open? platforms based on Solaris, but that will have to be put into different tickets in the future...