Summary: | kde-base/libkdepim-4.1.2 fails on configure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Phill <hoertp> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | christian_bay, Storklerk |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Created attachment 167628 [details]
emerge --info
I have yet to find out what causes this CMake error, but running emerge again, cleaning recursively /var/tmp/portage/<cat>/<package> and or running "env-update && source /etc/profile" seems to fix this.
> cleaning recursively /var/tmp/portage/<cat>/<package> and or running
> "env-update && source /etc/profile" seems to fix this.
Done, still happens. Now it is failing in a different spot.
-- Found libassuan-config at /usr/bin/libassuan-config
-- Found assuan v1.0.5, checking for flavours...
-- Found flavour 'vanilla', checking whether it's usable...yes
-- Found flavour 'pthread', checking whether it's usable...yes
-- Found flavour 'pth', checking whether it's usable...yes
-- Usable assuan flavours found: vanilla pthread pth
-- Performing Test HAVE_ASSUAN_FD_T
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase
/var/tmp/portage/kde-base/libkdepim-4.1.2/temp/environment: line 684: 8198 Aborted cmake ${cmakeargs} "${S}"
*
* ERROR: kde-base/libkdepim-4.1.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_configure
* environment, line 3027: Called kde4-meta_src_configure
* environment, line 2388: Called kde4-base_src_configure
* environment, line 2123: Called cmake-utils_src_configureout
* environment, line 690: Called die
* The specific snippet of code:
* cmake ${cmakeargs} "${S}" || die "Cmake failed";
If I "emerge -av --oneshot libgpg-error" the fail occurs at right after
-- Performing Test HAVE_GPG_ERR_SOURCE_KLEO
then I "emerge -av --onshot libassuan" and the fail occurs right after
-- Performing Test HAVE_ASSUAN_FD_T
I can go back and forth beftween the two "fail-points" be re-emerging the packages above. To be fair I had the layman kde overlay on this system earlier but I removed it and re-emerged the whole world with -e before putting kde from the tree.
#2 fixed it for me. Got it. It was some leftover profile stuff in /usr/local/portage/layman/. rm -rf /usr/local/portage/layman removed a line pointing to this directory from /etc/make.conf env-update && source /etc/profile emerge -av --oneshot kleopatra env-update && source /etc/profile emerge -av --oneshot libkdepim Success!! I am closing this, since it is not a bug. Should still stay closed, but I wanted to add that a stale ccache can cause this to happen as well. I would tend to reopen this bug, as its still unclear what is the real cause of this. Happend to me too: ~amd64 in libkdepim. Remerging dev-util/cmake-2.6.2 did not help. Remerging dev-libs/libassuan-1.0.5 changed the error (same as in the bug description) Remerging kde-base/kleopatra-4.1.72 first failed, the second try (after an additional env-update and cleaning /var/tmp/portage) worked ... now libkdepim was back to the first error. (same as Comment #3) Neither env-update nor cleaning /var/tmp/portage helped. But after I downgraded to dev-util/cmake-2.6.1 the libkdepim's emerged on first try. I didn't find any bug in the bugtracker from cmake, but I might have used the wrong search keywords. The only I found, that might be related is: http://public.kitware.com/Bug/view.php?id=6852 I am with Torsten on this one. Using cmake 2.6.2 triggers that error, cmake 2.6.1 does not (I copied the 2.6.2-r1 ebuild to install 2.6.1 after reading about this bug here). I am on ~amd64 aswell - so this bug is actually not resolved, and does not work for me. same for me, cmake-2.6.2-r1 fails to compile kde-base/kdemaildir-4.2.0: -- Performing Test HAVE_NEW_STYLE_ASSUAN_INQUIRE_EXT -- Performing Test HAVE_NEW_STYLE_ASSUAN_INQUIRE_EXT - Success -- Performing Test HAVE_GPG_ERR_SOURCE_KLEO terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::erase /var/tmp/portage/kde-base/kdemaildir-4.2.0/temp/environment: line 973: 9436 Aborted cmake -C "${TMPDIR}/gentoo_common_config.cmake" ${cmakeargs} "${S}" * * ERROR: kde-base/kdemaildir-4.2.0 failed. cleaning the ccache, env-update and . /etc/profile, removing /var/tmp/portage/* did not help either. But as kde-4.2.0 needs >=cmake-2.6.2, i cannot use cmake-2.6.1 without screwing up dependencies. downgrading to cmake-2.6.2 did not help either. HA!! re-emerged libassuan, libgpg-error, kleopatra and libkleo. this worked for me! until the next package.. ok, similar error again on emerging kde-base/kaddressbook-4.2.0: -- Looking for assuan_inquire_ext -- Looking for assuan_inquire_ext - found -- Performing Test HAVE_NEW_STYLE_ASSUAN_INQUIRE_EXT terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::erase /var/tmp/portage/kde-base/kaddressbook-4.2.0/temp/environment: line 975: 4456 Aborted cmake -C "${TMPDIR}/gentoo_common_config.cmake" ${cmakeargs} "${S}" * * ERROR: kde-base/kaddressbook-4.2.0 failed. tried again all hints, but no avail. |
libkdepim fails during the configure phase of an emerge. I have re-emerged libassuan, libgpg-error, kleopatra and libkleo. No luck Reproducible: Always Steps to Reproduce: 1.emerge -av --oneshot libkdepim 2. 3. Actual Results: -- Found flavour 'pth', checking whether it's usable...yes -- Usable assuan flavours found: vanilla pthread pth -- Performing Test HAVE_ASSUAN_FD_T -- Performing Test HAVE_ASSUAN_FD_T - Success -- Looking for assuan_inquire_ext -- Looking for assuan_inquire_ext - found -- Performing Test HAVE_NEW_STYLE_ASSUAN_INQUIRE_EXT -- Performing Test HAVE_NEW_STYLE_ASSUAN_INQUIRE_EXT - Success -- Performing Test HAVE_GPG_ERR_SOURCE_KLEO terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::erase /var/tmp/portage/kde-base/libkdepim-4.1.2/temp/environment: line 684: 9402 Aborted cmake ${cmakeargs} "${S}" * * ERROR: kde-base/libkdepim-4.1.2 failed. * Call stack: * ebuild.sh, line 49: Called src_configure * environment, line 3027: Called kde4-meta_src_configure * environment, line 2388: Called kde4-base_src_configure * environment, line 2123: Called cmake-utils_src_configureout * environment, line 690: Called die * The specific snippet of code: * cmake ${cmakeargs} "${S}" || die "Cmake failed"; * The die message: * Cmake 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/kde-base/libkdepim-4.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/libkdepim-4.1.2/temp/environment'. * >>> Failed to emerge kde-base/libkdepim-4.1.2, Log file: