After attempting to upgrade to Python 2.5, running the python-update script failed due to qscintilla. I tried to manually emerge qscintilla, with the same result. I am upgrading from qscintilla 1.7.1 to 2.1. Reproducible: Always Steps to Reproduce: 1. emerge -v dev-python/qscintilla Actual Results: OUTPUT OF PYTHON-UPDATE: * Starting Python Updater from 2.4 to 2.5 : * Searching for packages with files in /usr/lib/python2.4 /usr/lib32/python2.4 /usr/lib64/python2.4 .. * Adding to list: =dev-python/PyQt-3.17.3 * Adding to list: =dev-python/PyQt4-4.3 These are the packages that would be merged, in order: Calculating dependencies ..... ..... ....... done! [ebuild U ] dev-python/qscintilla-2.1 [1.7.1] USE="qt4%* -debug% -doc -examples% -python%" 0 kB [ebuild R ] dev-python/PyQt-3.17.3 USE="-debug -doc -examples" 0 kB [ebuild R ] dev-python/PyQt4-4.3 USE="-debug -doc -examples" 0 kB Total: 3 packages (1 upgrade, 2 reinstalls), Size of downloads: 0 kB >>> Verifying ebuild Manifests... >>> Emerging (1 of 3) dev-python/qscintilla-2.1 to / * QScintilla-1.73-gpl-2.1.tar.gz RMD160 ;-) ... [ ok ] * QScintilla-1.73-gpl-2.1.tar.gz SHA1 ;-) ... [ ok ] * QScintilla-1.73-gpl-2.1.tar.gz SHA256 ;-) ... [ ok ] * QScintilla-1.73-gpl-2.1.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking QScintilla-1.73-gpl-2.1.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking QScintilla-1.73-gpl-2.1.tar.gz to /var/tmp/portage/dev-python/qscintilla-2.1/work * Applying qscintilla-2.1-qt4.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-python/qscintilla-2.1/work/QScintilla-1.73-gpl-2.1 ... x86_64-pc-linux-gnu-g++ -c -pipe -O3 -march=k8 -pipe -w -D_REENTRANT -w -fPIC -DQSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -IQsci -I../include -I../src -I. -I. -o qsciscintilla.o qsciscintilla.cpp x86_64-pc-linux-gnu-g++ -c -pipe -O3 -march=k8 -pipe -w -D_REENTRANT -w -fPIC -DQSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -IQsci -I../include -I../src -I. -I. -o qsciscintillabase.o qsciscintillabase.cpp x86_64-pc-linux-gnu-g++ -c -pipe -O3 -march=k8 -pipe -w -D_REENTRANT -w -fPIC -DQSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -IQsci -I../include -I../src -I. -I. -o qsciapis.o qsciapis.cpp qsciapis.cpp: In member function 'bool QsciAPIs::loadPrepared(const QString&)': qsciapis.cpp:864: error: 'qUncompress' was not declared in this scope qsciapis.cpp: In member function 'bool QsciAPIs::savePrepared(const QString&) const': qsciapis.cpp:940: error: 'qCompress' was not declared in this scope make: *** [qsciapis.o] Error 1 * * ERROR: dev-python/qscintilla-2.1 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * qscintilla-2.1.ebuild, line 65: Called die * * make failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-python/qscintilla-2.1/temp/build.log'. * * Messages for package dev-python/qscintilla-2.1: * * ERROR: dev-python/qscintilla-2.1 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * qscintilla-2.1.ebuild, line 65: Called die * * make failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-python/qscintilla-2.1/temp/build.log'. OUTPUT OF /var/tmp/portage/dev-python/qscintilla-2.1/temp/build.log: >>> Unpacking source... >>> Unpacking QScintilla-1.73-gpl-2.1.tar.gz to /var/tmp/portage/dev-python/qscintilla-2.1/work * Applying qscintilla-2.1-qt4.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-python/qscintilla-2.1/work/QScintilla-1.73-gpl-2.1 ... x86_64-pc-linux-gnu-g++ -c -pipe -O3 -march=k8 -pipe -w -D_REENTRANT -w -fPIC -DQSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -IQsci -I../include -I../src -I. -I. -o qsciscintilla.o qsciscintilla.cpp x86_64-pc-linux-gnu-g++ -c -pipe -O3 -march=k8 -pipe -w -D_REENTRANT -w -fPIC -DQSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -IQsci -I../include -I../src -I. -I. -o qsciscintillabase.o qsciscintillabase.cpp x86_64-pc-linux-gnu-g++ -c -pipe -O3 -march=k8 -pipe -w -D_REENTRANT -w -fPIC -DQSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -IQsci -I../include -I../src -I. -I. -o qsciapis.o qsciapis.cpp qsciapis.cpp: In member function 'bool QsciAPIs::loadPrepared(const QString&)': qsciapis.cpp:864: error: 'qUncompress' was not declared in this scope qsciapis.cpp: In member function 'bool QsciAPIs::savePrepared(const QString&) const': qsciapis.cpp:940: error: 'qCompress' was not declared in this scope make: *** [qsciapis.o] Error 1 * * ERROR: dev-python/qscintilla-2.1 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * qscintilla-2.1.ebuild, line 65: Called die * * make failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-python/qscintilla-2.1/temp/build.log'. Expected Results: Built and installed qscintilla.
CFLAGS="-O3 -march=k8 -pipe" CHOST="x86_64-pc-linux-gnu"
And if it's relevant: was pulled in as a dependency of metasploit. 'emerge -C metasploit' enabled world build to continue and complete all ~amd64 packages.
can you test if you can reproduce this with qscintilla-2.1-r1?
Closing this one as WORKSFORME, qscintilla has undergone some changes and this seems to be fixed on the way. Please reopen if you can still reproduce the problem.
Tested and reproduced with qscintilla-2.1-r1: cressida ~ # emerge -avD qscintilla These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] x11-libs/qscintilla-2.1-r1 [1.7.1] USE="qt4%* -debug% -doc -examples% -python%" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) x11-libs/qscintilla-2.1-r1 to / * QScintilla-1.73-gpl-2.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking QScintilla-1.73-gpl-2.1.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking QScintilla-1.73-gpl-2.1.tar.gz to /var/tmp/portage/x11-libs/qscintilla-2.1-r1/work * Applying qscintilla-2.1-qt4.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/x11-libs/qscintilla-2.1-r1/work/QScintilla-1.73-gpl-2.1 ... x86_64-pc-linux-gnu-g++ -c -pipe -O3 -march=k8 -pipe -w -D_REENTRANT -w -fPIC -DQSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -IQsci -I../include -I../src -I. -I. -o qsciscintilla.o qsciscintilla.cpp x86_64-pc-linux-gnu-g++ -c -pipe -O3 -march=k8 -pipe -w -D_REENTRANT -w -fPIC -DQSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -IQsci -I../include -I../src -I. -I. -o qsciscintillabase.o qsciscintillabase.cpp x86_64-pc-linux-gnu-g++ -c -pipe -O3 -march=k8 -pipe -w -D_REENTRANT -w -fPIC -DQSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -IQsci -I../include -I../src -I. -I. -o qsciapis.o qsciapis.cpp qsciapis.cpp: In member function 'bool QsciAPIs::loadPrepared(const QString&)': qsciapis.cpp:864: error: 'qUncompress' was not declared in this scope qsciapis.cpp: In member function 'bool QsciAPIs::savePrepared(const QString&) const': qsciapis.cpp:940: error: 'qCompress' was not declared in this scope make: *** [qsciapis.o] Error 1 * * ERROR: x11-libs/qscintilla-2.1-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2116: Called die * The specific snippet of code: * make all staticlib CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" || die "make failed"; * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-libs/qscintilla-2.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qscintilla-2.1-r1/temp/environment'. * relevant strace: read(3, "qsciapis.cpp: In member function"..., 65536) = 149 read(3, 0x1e496d5, 61440) = -1 EAGAIN (Resource temporarily unavailable) write(6, "qsciapis.cpp: In member function"..., 80qsciapis.cpp: In member function 'bool QsciAPIs::loadPrepared(const QString&)': ) = 80 write(6, "qsciapis.cpp:864: error: \'qUncom"..., 69qsciapis.cpp:864: error: 'qUncompress' was not declared in this scope) = 69 write(5, "qsciapis.cpp: In member function"..., 149) = 149 Please advise any further testing you wish done.
Created attachment 152919 [details] environment file attached for further information
Current workaround: Compile without "qt4" useflag.
I'm experiencing the same issue and was also able to build it by disabling the qt4 use flag.
Cannot reproduce with qscintilla-python-2.3.2-r1 Retry with that version, reopen if it still happens. Thanks!