Summary: | =dev-qt/qt-creator-2.6* - 3rdparty/botan/botan.cpp:46220:21: fatal error: cpuid.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Johannes Geiss <johannes.geiss> |
Component: | [OLD] Development | Assignee: | Markos Chandras (RETIRED) <hwoarang> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ChristophErhardt, emeric.maschino, pesa, qt |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
URL: | https://bugreports.qt-project.org/browse/QTCREATORBUG-8107 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430308 | ||
Attachments: |
emerge build log
Patch to remove bundled Botan library Patch to remove bundled Botan library Ebuild patch |
Description
Johannes Geiss
2012-10-24 14:43:38 UTC
Created attachment 327296 [details]
emerge build log
This comes from the bundled copy of botan 1.10.2. Is upstream aware of the issue? I've dropped ppc{,64} keywords for now. (In reply to comment #2) > Is upstream aware of the issue? No, I didn´t find the tracker :-( (In reply to comment #3) > (In reply to comment #2) > > > Is upstream aware of the issue? > > No, I didn´t find the tracker :-( I mean qt-creator upstream. They bundle botan, so it's also their problem :) The tracker is here https://bugreports.qt-project.org/secure/Dashboard.jspa (In reply to comment #4) > I mean qt-creator upstream. They bundle botan, so it's also their problem :) > The tracker is here https://bugreports.qt-project.org/secure/Dashboard.jspa I found the bug there: https://bugreports.qt-project.org/browse/QTCREATORBUG-8107 I guess this is still unsolved in 2.6.0 final. I can confirm that this bug is present in 2.6.0 final on IA64. Do not CC arches please! Upstream bug report about bundled Botan library: https://bugreports.qt-project.org/browse/QTCREATORBUG-8588 Created attachment 335974 [details, diff]
Patch to remove bundled Botan library
(In reply to comment #9) > Upstream bug report about bundled Botan library: > https://bugreports.qt-project.org/browse/QTCREATORBUG-8588 Thanks! Created attachment 336062 [details, diff]
Patch to remove bundled Botan library
Created attachment 336064 [details, diff]
Ebuild patch
This patch updates the ebuild to use the previous patch, which should be named "qt-creator-remove-bundled-botan.patch" and put into the "files" directory. Give it a try and tell me if it works.
(In reply to comment #13) > Created attachment 336064 [details, diff] [details, diff] > Ebuild patch > > This patch updates the ebuild to use the previous patch, which should be > named "qt-creator-remove-bundled-botan.patch" and put into the "files" > directory. Give it a try and tell me if it works. Compiles fine here on my ia64 workstation. I nevertheless had to add botan-bundled in /etc/portage/profile/use.mask AND emerge qt-creator explicitely disabling botan-bundled through USE="-botan-bundled" emerge qt-creator. Without BOTH this adjustments, qt-creator still wanted to use botan-bundled and qt-creator-remove-botan-bundled.patch was never applied, leading to the compilation error reported in this bug. You're right, this is because the "botan-bundled" flag is currently force-enabled in /usr/portage/profiles/base/package.use.force. Obviously, it should be removed from there once this bug is officially closed. Christoph, any updates on the RTTI problem mentioned in the upstream bug? Sorry, I haven't managed to reproduce the RTTI issue or narrow it down. :-/ All I can tell is that everything Works For Me[tm]. I'm wondering what's the right thing to do for Gentoo. Just test it in the field and see if USE="-bundled-botan" breaks for anyone? BTW, qt-creator-2.6.2 cannot be built on my ia64 workstation: * Package: dev-util/qt-creator-2.6.2 * Repository: gentoo * Maintainer: hwoarang@gentoo.org pesa@gentoo.org,qt@gentoo.org * USE: elibc_glibc ia64 kernel_linux linguas_fr userland_GNU * FEATURES: sandbox >>> Unpacking source... >>> Unpacking qt-creator-2.6.2-src.tar.gz to /var/tmp/portage/dev-util/qt-creato r-2.6.2/work >>> Source unpacked in /var/tmp/portage/dev-util/qt-creator-2.6.2/work >>> Preparing source in /var/tmp/portage/dev-util/qt-creator-2.6.2/work/qt-creat or-2.6.2-src ... * Disabling android plugin * Disabling autotools plugin * Disabling bazaar plugin * Disabling clearcase plugin * Disabling cmake plugin * Disabling cvs plugin * Disabling fakevim plugin * Disabling git plugin * Disabling madde plugin * Disabling mercurial plugin * Disabling perforce plugin * Disabling qnx plugin * Disabling subversion plugin * Disabling valgrind plugin * Major version of system's botan library to be used: 1.10 sed: cannot read /var/tmp/portage/dev-util/qt-creator-2.6.2/work/qt-creat or-2.6.2-src/src/libs/3rdparty/3rdparty.pro: no such file or directory (error message translated from French for sake of clarity) * ERROR: dev-util/qt-creator-2.6.2 failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 2667: Called die * The specific snippet of code: * sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die; And indeed, /var/tmp/portage/dev-util/qt-creator-2.6.2/work/qt-creat or-2.6.2-src/src/libs/3rdparty only contains a cplusplus directory. qt-creator-2.6.1 with attachment 336064 [details, diff] compiles successfully. (In reply to comment #19) > BTW, qt-creator-2.6.2 cannot be built on my ia64 workstation: > > * Package: dev-util/qt-creator-2.6.2 > * Repository: gentoo > * Maintainer: hwoarang@gentoo.org pesa@gentoo.org,qt@gentoo.org > * USE: elibc_glibc ia64 kernel_linux linguas_fr userland_GNU > * FEATURES: sandbox > >>> Unpacking source... > >>> Unpacking qt-creator-2.6.2-src.tar.gz to /var/tmp/portage/dev-util/qt-creato > r-2.6.2/work > >>> Source unpacked in /var/tmp/portage/dev-util/qt-creator-2.6.2/work > >>> Preparing source in /var/tmp/portage/dev-util/qt-creator-2.6.2/work/qt-creat > or-2.6.2-src ... > * Disabling android plugin > * Disabling autotools plugin > * Disabling bazaar plugin > * Disabling clearcase plugin > * Disabling cmake plugin > * Disabling cvs plugin > * Disabling fakevim plugin > * Disabling git plugin > * Disabling madde plugin > * Disabling mercurial plugin > * Disabling perforce plugin > * Disabling qnx plugin > * Disabling subversion plugin > * Disabling valgrind plugin > * Major version of system's botan library to be used: 1.10 > sed: cannot read /var/tmp/portage/dev-util/qt-creator-2.6.2/work/qt-creat > or-2.6.2-src/src/libs/3rdparty/3rdparty.pro: no such file or directory > (error message translated from French for sake of clarity) > * ERROR: dev-util/qt-creator-2.6.2 failed (prepare phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 93: Called src_prepare > * environment, line 2667: Called die > * The specific snippet of code: > * sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || > die; > > And indeed, /var/tmp/portage/dev-util/qt-creator-2.6.2/work/qt-creat > or-2.6.2-src/src/libs/3rdparty only contains a cplusplus directory. > > qt-creator-2.6.1 with attachment 336064 [details, diff] [details, diff] compiles > successfully. please don't hijack bugs like this. Your problem has nothing to do with this bug. Open a new one (In reply to comment #19) Well, USE=-botan-bundled is not supported in =qt-creator-2.6*, but I'm working on it for 2.7, so stay tuned. No need to file another bug report. And btw qt-creator is not keyworded for ia64 so issues are to be expected :) 2.7.0_rc finally uses system botan, which should solve this issue. I'll open a separate bug for rekeywording. |