Summary: | www-client/midori-9999: fails to emerge but manual configure&make works | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dolores <boltomli> |
Component: | Current packages | Assignee: | XFCE Team <xfce> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jackdachef, jrmalaq, moiman |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dolores
2010-02-13 08:33:20 UTC
same error for me. as Dolores my last working build: Wed Jan 13 12:22:59 2010 >>> www-client/midori-9999 It seems to be "waf configure" that fails, but i couldn't find out why. I tried activating/deactivating feature sandbox: expect the colored output of waf, nothing changed. By manually running "waf configure", it works fine: Steps to Reproduce: 1. ebuild midori-9999 configure 2. rerun manually "waf configure" in /var/tmp/portage/www-client/midori-9999/work/midori-9999 directory: CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" ./waf \ --prefix="/usr/" \ --libdir="/usr/$(get_libdir)" \ --disable-docs \ $(use_enable doc apidocs) \ $(use_enable html userdocs) \ $(use_enable idn libidn) \ $(use_enable nls nls) \ $(use_enable sqlite) \ $(use_enable unique) \ configure which is for me: CCFLAGS="-march=core2 -msse4.1 -O2 -pipe -fomit-frame-pointer" LINKFLAGS="-Wl,-O1" ./waf --prefix=/usr/ --libdir=/usr/lib64 --disable-docs --disable-apidocs --enable-userdocs --enable-libidn --enable-nls --enable-sqlite --enable-unique configure 3. ebuild midori-9999 merge Weird. There should be "$(use_enable libnotify)" in midori-9999.ebuild but it still fails to build. this also applies to 0.2.3 when bumping the ebuild from 0.2.2 to 0.2.3 manually thanks Michel ! with your steps, especially re-running waf configure: CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" ./waf \ --prefix="/usr/" \ --libdir="/usr/$(get_libdir)" \ --disable-docs \ $(use_enable doc apidocs) \ $(use_enable html userdocs) \ $(use_enable idn libidn) \ $(use_enable nls nls) \ $(use_enable sqlite) \ $(use_enable unique) \ configure 0.2.3 emerged and is running fine for me :) "waf" looks for en.po file, but it doesn't find it. My workaround: export LINGUAS="en_GB"; emerge -1 midori Hi, I am not ignoring this bug, I just can't figure out what the comments mean. Does anyone have a patch (diff -u) that they could attach? it *should* work but unfortunately it doesn't: diff midori-0.2.3.ebuild midori-0.2.2.ebuild 6c6 < inherit xfconf multilib eutils --- > inherit xfconf multilib 58,77d57 < < strip-linguas ast ca cs da de el en_GB es et fi fr gl he hu id it ja ko nl no pl pt pt_BR ro ru sk sr sr@latin sv tr uk zh_CN zh_TW < < if [[ -z "${LINGUAS}" ]] ; then < if useq nls ; then < ewarn "To get a localized build, please set the according LINGUAS variable(s). " < fi < else < if useq nls ; then < einfo "Building with support for the following languages: " < < for i in ${LINGUAS}; do < einfo " ${i}" < done < else < ewarn "To get a localized build, please put USE=\"nls\" into your USE flags" < fi < fi < epause 10 < Helper Functions provided by eutils.eclass You can use the following helper functions that are provided by the "eutils" eclass in your ebuilds. You must make sure that inherit eutils is present for these functions to work. strip-linguas This function makes sure that LINGUAS contains only the languages that a package can support specified by the arguments to the function. If the first argument is -i, then a list of .po files in the specified directories is built and the intersection of the lists is used. If the first argument is -u, then a list of .po files in the specified directories is built and the union of the lists is used. source: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1 when following Pawel's advice and
export LINGUAS="en_GB"; emerge -1 midori
it says:
Configuration finished successfully (00:00:00); project is now ready to build.
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-client/midori-0.2.3/work/midori-0.2.3 ...
* Building with support for the following languages:
* en_GB
so something doesn't seem to work with strip-linguas :(
0.2.4 "just works" for me. For this reason is why I dislike live ebuilds, there was a measurable amount of time wasted on this report by everyone involved. Anyway, please test the live ebuild again now, it should work based on 0.2.4 working. (In reply to comment #9) > 0.2.4 "just works" for me. For this reason is why I dislike live ebuilds, there > was a measurable amount of time wasted on this report by everyone involved. > > Anyway, please test the live ebuild again now, it should work based on 0.2.4 > working. > I guess it "just works" if your LINGUAS settings are "x" and not "y" or "x y z", but the issue is not just limited to the live ebuild. www-client/midori-9999 works for me - thanks ! www-client/midori-0.2.4 does NOT it still fails with the same error :( Patch for ebuild works for me. |