* Package: dev-python/PyQrcodec-1.0 * Repository: gentoo * Maintainer: maintainer-needed@gentoo.org * USE: elibc_glibc kernel_linux test userland_GNU x86 * FEATURES: sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking PyQrcodec_Linux.tar.gz to /var/tmp/portage/dev-python/PyQrcodec-1.0/work >>> Source unpacked in /var/tmp/portage/dev-python/PyQrcodec-1.0/work >>> Preparing source in /var/tmp/portage/dev-python/PyQrcodec-1.0/work/PyQrCodec ... * Applying opencv-2.0-compat.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/PyQrcodec-1.0/work/PyQrCodec ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/PyQrcodec-1.0/work/PyQrCodec ... * Building of dev-python/PyQrcodec-1.0 with CPython 2.7... python2.7 setup.py build -b build-2.7 running build running build_py creating build-2.7 creating build-2.7/lib.linux-i686-2.7 creating build-2.7/lib.linux-i686-2.7/PyQrcodec copying PyQrcodec/__init__.py -> build-2.7/lib.linux-i686-2.7/PyQrcodec warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'qr_encode' extension creating build-2.7/temp.linux-i686-2.7 creating build-2.7/temp.linux-i686-2.7/qr_enc i686-pc-linux-gnu-gcc -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_enc/ -I/usr/include/python2.7 -c qr_encode.c -o build-2.7/temp.linux-i686-2.7/qr_encode.o i686-pc-linux-gnu-gcc -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_enc/ -I/usr/include/python2.7 -c ./qr_enc/qrencode.c -o build-2.7/temp.linux-i686-2.7/./qr_enc/qrencode.o i686-pc-linux-gnu-gcc -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_enc/ -I/usr/include/python2.7 -c ./qr_enc/bitstream.c -o build-2.7/temp.linux-i686-2.7/./qr_enc/bitstream.o i686-pc-linux-gnu-gcc -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_enc/ -I/usr/include/python2.7 -c ./qr_enc/qrinput.c -o build-2.7/temp.linux-i686-2.7/./qr_enc/qrinput.o i686-pc-linux-gnu-gcc -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_enc/ -I/usr/include/python2.7 -c ./qr_enc/qrspec.c -o build-2.7/temp.linux-i686-2.7/./qr_enc/qrspec.o i686-pc-linux-gnu-gcc -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_enc/ -I/usr/include/python2.7 -c ./qr_enc/rscode.c -o build-2.7/temp.linux-i686-2.7/./qr_enc/rscode.o i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -O2 -pipe build-2.7/temp.linux-i686-2.7/qr_encode.o build-2.7/temp.linux-i686-2.7/./qr_enc/qrencode.o build-2.7/temp.linux-i686-2.7/./qr_enc/bitstream.o build-2.7/temp.linux-i686-2.7/./qr_enc/qrinput.o build-2.7/temp.linux-i686-2.7/./qr_enc/qrspec.o build-2.7/temp.linux-i686-2.7/./qr_enc/rscode.o -L/usr/lib -lpython2.7 -o build-2.7/lib.linux-i686-2.7/qr_encode.so building 'qr_decode' extension creating build-2.7/temp.linux-i686-2.7/qr_dec i686-pc-linux-gnu-g++ -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_dec/ -I/usr/include/opencv/ -I/usr/include/python2.7 -c qr_decode.cpp -o build-2.7/temp.linux-i686-2.7/qr_decode.o qr_decode.cpp: In function ‘PyObject* qr_decode(PyObject*, PyObject*)’: qr_decode.cpp:58:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] i686-pc-linux-gnu-g++ -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_dec/ -I/usr/include/opencv/ -I/usr/include/python2.7 -c ./qr_dec/bitstream.cpp -o build-2.7/temp.linux-i686-2.7/./qr_dec/bitstream.o i686-pc-linux-gnu-g++ -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_dec/ -I/usr/include/opencv/ -I/usr/include/python2.7 -c ./qr_dec/codedata.cpp -o build-2.7/temp.linux-i686-2.7/./qr_dec/codedata.o i686-pc-linux-gnu-g++ -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_dec/ -I/usr/include/opencv/ -I/usr/include/python2.7 -c ./qr_dec/container.cpp -o build-2.7/temp.linux-i686-2.7/./qr_dec/container.o i686-pc-linux-gnu-g++ -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_dec/ -I/usr/include/opencv/ -I/usr/include/python2.7 -c ./qr_dec/ecidecoder.cpp -o build-2.7/temp.linux-i686-2.7/./qr_dec/ecidecoder.o i686-pc-linux-gnu-g++ -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_dec/ -I/usr/include/opencv/ -I/usr/include/python2.7 -c ./qr_dec/formatinfo.cpp -o build-2.7/temp.linux-i686-2.7/./qr_dec/formatinfo.o i686-pc-linux-gnu-g++ -pthread -O2 -pipe -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I./qr_dec/ -I/usr/include/opencv/ -I/usr/include/python2.7 -c ./qr_dec/galois.cpp -o build-2.7/temp.linux-i686-2.7/./qr_dec/galois.o ./qr_dec/galois.cpp: In member function ‘Galois::Polynomial* Galois::Polynomial::_lu(Galois::Polynomial*)’: ./qr_dec/galois.cpp:395:48: error: taking address of temporary [-fpermissive] ./qr_dec/galois.cpp:398:65: error: taking address of temporary [-fpermissive] ./qr_dec/galois.cpp: In member function ‘Galois::Polynomial* Galois::Polynomial::solve(Galois::Polynomial*)’: ./qr_dec/galois.cpp:453:69: error: taking address of temporary [-fpermissive] ./qr_dec/galois.cpp:459:56: error: taking address of temporary [-fpermissive] ./qr_dec/galois.cpp:461:54: error: taking address of temporary [-fpermissive] ./qr_dec/galois.cpp: In member function ‘int Galois::BCH::decode(int)’: ./qr_dec/galois.cpp:560:56: error: taking address of temporary [-fpermissive] ./qr_dec/galois.cpp:562:59: error: taking address of temporary [-fpermissive] ./qr_dec/galois.cpp: In member function ‘Galois::Nomial* Galois::BCH::_error_syndrome(int)’: ./qr_dec/galois.cpp:587:44: error: taking address of temporary [-fpermissive] error: command 'i686-pc-linux-gnu-g++' failed with exit status 1 * ERROR: dev-python/PyQrcodec-1.0 failed (compile phase): * Building failed with CPython 2.7 in distutils_building() function * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5261: Called distutils_src_compile * environment, line 1400: Called python_execute_function 'distutils_building' * environment, line 3635: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =dev-python/PyQrcodec-1.0', * the complete build log and the output of 'emerge -pqv =dev-python/PyQrcodec-1.0'. * The complete build log is located at '/var/log/portage/build/dev-python/PyQrcodec-1.0:20110710-021908.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQrcodec-1.0/temp/environment'. * S: '/var/tmp/portage/dev-python/PyQrcodec-1.0/work/PyQrCodec'