Summary: | app-i18n/skim-1.4.5-r2 build fails with Python 2.6 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrey <andrey.prok> |
Component: | Current packages | Assignee: | CJK Team <cjk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chr.paccolat, jasonbstubbs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 230205 | ||
Attachments: |
Build log
Emerge info skim emerge log Bug fix |
Description
Andrey
2009-01-16 21:50:29 UTC
Created attachment 178731 [details]
Build log
Created attachment 178732 [details]
Emerge info
Right, 'as' will need to be renamed, like in bug 253582. Assigning to maintainers. fixed in cvs. 1.4.5-r3 (In reply to comment #4) > fixed in cvs. 1.4.5-r3 > It doesn't fix the problem for me. It tries to patch using python26.patch, but while running emerge it dies before it gets to patching: import as ^ SyntaxError: invalid syntax * * ERROR: app-i18n/skim-1.4.5-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3263: Called die * The specific snippet of code: * ./configure prefix=/usr libdir=/usr/$(get_libdir) || die; * The die message: * (no error message) i.e. it dies on the first of the following lines ./configure prefix=/usr libdir=/usr/$(get_libdir) || die # bug #255210 epatch "${FILESDIR}/${P}-python26.patch" sed -i -e "/^compilers/s:\[:\['$(tc-getCXX)',:" scons-local-0.96.1/SCons/Tool/g++.py || die sorry, I'll fix soon skim1.4.5-r4 in cvs. (In reply to comment #7) > skim1.4.5-r4 in cvs. > This version did pass configure stage but hangs on compiling (probably due to wrong -D... defines like -D N O _ C O N F I G _ H and such) >>> Emerging (1 of 1) app-i18n/skim-1.4.5-r4 * skim-1.4.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking skim-1.4.5.tar.bz2 to /var/tmp/portage/app-i18n/skim-1.4.5-r4/work * Applying skim-1.4.5-asneeded.patch ... [ ok ] * Applying skim-1.4.5-kde3.patch ... [ ok ] * Applying skim-1.4.5-klineedit.patch ... [ ok ] * Applying skim-1.4.5-python26.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/app-i18n/skim-1.4.5-r4/work >>> Compiling source in /var/tmp/portage/app-i18n/skim-1.4.5-r4/work/skim-1.4.5 ... /var/tmp/portage/app-i18n/skim-1.4.5-r4/work/skim-1.4.5/scons-local-0.96.1/SCons/Sig/MD5.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead md5=imp.load_module('md5', file, name, desc) scons: Reading SConscript files ... /var/tmp/portage/app-i18n/skim-1.4.5-r4/work/skim-1.4.5/scons-local-0.96.1/SCons/Platform/posix.py:3: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 Checking for kde-config : kde-config was found Checking for kde version : 3.5.10 Checking for the qt library : qt is in /usr/qt/3 Checking for uic : uic was found as /usr/qt/3/bin/uic Checking for moc : moc was found as /usr/qt/3/bin/moc Checking for the qt includes : ok /usr/qt/3/include/ Checking for the kde includes : ok /usr/kde/3.5/include Checking for pkg-config : Found Checking for scim >= 1.4.4 ... Found Checking for scim-x11utils ... Found scons: done reading SConscript files. scons: Building targets ... meinproc --check --cache doc/de/index.cache.bz2 doc/de/index.docbook meinproc --check --cache doc/en/index.cache.bz2 doc/en/index.docbook dcopidl plugins/compmgrclient/compmgrclient.h > plugins/compmgrclient/compmgrclient.kidl || (rm -f plugins/compmgrclient/compmgrclient.kidl ; false) /usr/qt/3/bin/moc -o plugins/compmgrclient/compmgrclient.moc plugins/compmgrclient/compmgrclient.h processing scimkdesettings.kcfgc to get scimkdesettings.h and scimkdesettings.cpp /usr/kde/3.5/bin/kconfig_compiler -dutils utils/scimkdeconfig.kcfg utils/scimkdesettings.kcfgc x86_64-pc-linux-gnu-g++ -march=core2 -O2 -pipe - D N O _ C O N F I G _ H -I/usr/include/scim-1.0 -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -march=core2 -O2 -pipe -DNDEBUG -DNO_DEBUG - D Q T _ N O _ T R A N S L A T I O N -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compmgrclient.os plugins/compmgrclient/compmgrclient.cpp dcopidl2cpp --c++-suffix cpp --no-signals --no-stub plugins/compmgrclient/compmgrclient.kidl uic_processing(["plugins/compmgrclient/compositemanagerbase.h", "plugins/compmgrclient/compositemanagerbase.cpp","plugins/compmgrclient/compositemanagerbase.moc"], ["plugins/compmgrclient/compositemanagerbase.ui"]) /usr/qt/3/bin/uic -L /usr/kde/3.5/lib64/kde3/plugins -nounload -o plugins/compmgrclient/compositemanagerbase.h plugins/compmgrclient/compositemanagerbase.ui x86_64-pc-linux-gnu-g++ -march=core2 -O2 -pipe - D N O _ C O N F I G _ H -I/usr/include/scim-1.0 -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -march=core2 -O2 -pipe -DNDEBUG -DNO_DEBUG - D Q T _ N O _ T R A N S L A T I O N -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compmgrclient_skel.os plugins/compmgrclient/compmgrclient_skel.cpp /usr/qt/3/bin/uic -L /usr/kde/3.5/lib64/kde3/plugins -nounload -tr tr2i18n -impl plugins/compmgrclient/compositemanagerbase.h plugins/compmgrclient/compositemanagerbase.ui >> plugins/compmgrclient/compositemanagerbase.cpp /usr/qt/3/bin/moc -o plugins/compmgrclient/compositemanagerbase.moc plugins/compmgrclient/compositemanagerbase.h x86_64-pc-linux-gnu-g++ -march=core2 -O2 -pipe - D N O _ C O N F I G _ H -I/usr/include/scim-1.0 -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -march=core2 -O2 -pipe -DNDEBUG -DNO_DEBUG - D Q T _ N O _ T R A N S L A T I O N -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compositemanagerbase.os plugins/compmgrclient/compositemanagerbase.cpp Created attachment 185027 [details]
skim emerge log
HI, I encounter the same problem.
It passed configuration stage, but hang at compile-time
attached the log
Could you try to remerge packages it depends on? # emerge -1 '=qt-3*' '=kdelibs-3*' scim skim or # emerge -e skim (In reply to comment #10) > Could you try to remerge packages it depends on? > > # emerge -1 '=qt-3*' '=kdelibs-3*' scim skim > or > # emerge -e skim > emerge --sync && emerge -e skim The same problem Created attachment 189790 [details, diff] Bug fix This adds a patch based on http://scons.tigris.org/source/browse/scons/trunk/src/engine/SCons/Util.py?r1=3514&r2=3672 thanks. skim-1.4.5-r5 in cvs now. Please test. (In reply to comment #13) > thanks. > skim-1.4.5-r5 in cvs now. Please test. > Works now. Thanks a lot! |