| Summary: | dev-python/qscintilla-2.1 compile fails - 'qCompress' was not declared in this scope | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Wily Unrest <wily> |
| Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jkomar, patrick, python |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | environment file | ||
|
Description
Wily Unrest
2007-10-03 05:14:29 UTC
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! |