Now that the usage of the 'avahi' USE flag was replaced with 'zeroconf' in media-sound/pulseaudio (see #477620), media-sound/pulseaudio-5.0-r3 fails to build, because in one use_define statement 'avahi' is still used. The following patch fixes the issue for me: --- pulseaudio-5.0-r3.ebuild.orig 2014-10-13 17:05:59.761189665 +0200 +++ pulseaudio-5.0-r3.ebuild 2014-10-13 17:06:08.026347590 +0200 @@ -290,7 +290,7 @@ use "$1" && echo "-D$define" || echo "-U$define" } - unifdef $(use_define avahi) \ + unifdef $(use_define zeroconf avahi) \ $(use_define alsa) \ $(use_define bluetooth) \ $(use_define udev) \ Relevant build.log lines of failing build: make[2]: Leaving directory '/var/tmp/portage/media-sound/pulseaudio-5.0-r3/work/pulseaudio-5.0-abi_x86_64.amd64' make[1]: Leaving directory '/var/tmp/portage/media-sound/pulseaudio-5.0-r3/work/pulseaudio-5.0-abi_x86_64.amd64' * ERROR: media-sound/pulseaudio-5.0-r3::gentoo failed (install phase): * USE Flag 'avahi' not in IUSE for media-sound/pulseaudio-5.0-r3 * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 5042: Called multilib-minimal_src_install * environment, line 3988: Called multilib_src_install_all * environment, line 4435: Called use_define 'avahi' * environment, line 4433: Called use 'avahi' * phase-helpers.sh, line 200: Called die * The specific snippet of code: * die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
same here +1
I would rather suggest : - unifdef $(use_define avahi) \ + unifdef $(use_define zeroconf AVAHI) \
Same here. Any news?
I am stumped why this problem persists for 2 version bumps as we have -r5 now... Maintainer can not have tested this at *all* and bumped blindly.
(In reply to Sander Sweers from comment #4) > I am stumped why this problem persists for 2 version bumps as we have -r5 > now... Maintainer can not have tested this at *all* and bumped blindly. The maintainer most likely just doesn't use 'zeroconf', so he doesn't run into this. As it is impossible for a maintainer to test all possible USE flag combinations, things like this happen. That's also one of the reason, why there's ~arch, so that people like use can find and report these issues. Besides that, the formatting of the most recent ChangeLog entry is screwed up and can't be read properly by tools like 'equery c media-sound/pulseaudio'.
(In reply to Maxime de Roucy from comment #2) > I would rather suggest : > - unifdef $(use_define avahi) \ > + unifdef $(use_define zeroconf AVAHI) \ You're completely right - I screwed that up, it should be an uppercase AVAHI.
Fixed in -r5. Thanks.