When trying to compile pulseaudio with: [ebuild U ~] media-sound/pulseaudio-15.0::gentoo [13.0-r1::gentoo] USE="alsa alsa-plugin asyncns daemon%* gdbm glib ipv6 ssl system-wide tcpd udev -X -bluetooth -dbus -doc -elogind -equalizer -gstreamer% -gtk -jack -lirc -native-headset -ofono-headset (-orc) (-oss) (-selinux) -sox -systemd -test (-webrtc-aec) -zeroconf (-caps%*) (-gconf%) (-libsamplerate%) (-qt5%) (-realtime%)" CPU_FLAGS_ARM="(-neon%)" 0 KiB I get this error: Running custom install script '/usr/bin/python3.9 /tmp/tmerge/portage/media-sound/pulseaudio-15.0/work/pulseaudio-15.0/src/modules/gsettings/meson_post_install.py /usr/s hare' Running custom install script '/bin/sh -c ln -fs pacat $DESTDIR/usr/bin/pamon' Running custom install script '/bin/sh -c ln -fs pacat $DESTDIR/usr/bin/paplay' Running custom install script '/bin/sh -c ln -fs pacat $DESTDIR/usr/bin/parec' Running custom install script '/bin/sh -c ln -fs pacat $DESTDIR/usr/bin/parecord' * ERROR: media-sound/pulseaudio-15.0::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_install * environment, line 3511: Called meson-multilib_src_install * environment, line 2182: Called multilib-minimal_src_install * environment, line 2451: Called multilib_src_install_all * environment, line 2936: Called die * The specific snippet of code: * unifdef $(use_define zeroconf AVAHI) $(use_define alsa) $(use_define bluetooth) $(use_define udev) "${FILESDIR}"/pulseaudio.init.d-5 > "${T}"/pulseaudio || die; * Reproducible: Always
Could you please attach the full build.log and emerge --info?
Created attachment 729399 [details] build.log
Thank you for the report. We need to have all information at hand before ticket assignment. Please provide * the complete build.log as attachment and * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards.
|| die was added to unifdef: unifdef \ [...] > "${T}"/pulseaudio \ || die But similarly to diff(1) it'll return non-zero if the output changed, aka success unless set exit mode `-x 2` in which case it'll only return non-zero on errors and can keep the || die.
*** Bug 806196 has been marked as a duplicate of this bug. ***
I'm hit by the same bug on a raspberry pi 4 (aarch64). I've attached the build.log and emerge --info output for this machine, if it may help you.
Created attachment 733539 [details] build.log on aarch64
Created attachment 733541 [details] emerge --info (aarch64)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d063e7a4a82ff651b950298756d74b9d026f591 commit 6d063e7a4a82ff651b950298756d74b9d026f591 Author: Niklāvs Koļesņikovs <89q1r14hd@relay.firefox.com> AuthorDate: 2021-08-17 14:00:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-08-18 19:22:54 +0000 media-sound/pulseaudio: fixes unifdef failure This bug got introduced because no one tests system-wide setups. This is still untested but according to Ionen unifdef call should now fail if there wasn't anything to modify which is exactly what we want. Closes: https://bugs.gentoo.org/805488 Thanks-to: Ionen Wolkens <ionen@gentoo.org> Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd@relay.firefox.com> Closes: https://github.com/gentoo/gentoo/pull/22013 Signed-off-by: Sam James <sam@gentoo.org> media-sound/pulseaudio/pulseaudio-15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)