I just emerged the just stabilized audacity-2.1.3-r1 and the compilation failed with the following error Making all in portmixer make[2]: Entering directory '/var/tmp/portage/media-sound/audacity-2.1.3-r1/work/audacity-minsrc-2.1.3/lib-src/portmixer' make[2]: *** No rule to make target 'all'. Stop. Note that I disabled portmixer though USE="-portmixer", so to me it seems this should never be built at all. P.S. There are a lot of new USE flags for this version bump and many of them are default enabled/+. Was this a deliberate choice? I had to disable many of them in my package.use to get back to where it was at 2.0.5-r2.
$ emerge --info audacity Portage 2.3.6 (python 3.4.5-final-0, !../../usr/local/portage/dantrell-gnome/profiles/default/amd64/3.20, gcc-5.4.0, glibc-2.23-r4, 4.9.16-gentoo-simon-1.0.6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.9.16-gentoo-simon-1.0.6-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.3 KiB Mem: 16359936 total, 7176624 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 08 Jul 2017 14:15:01 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.28 p1.2) 2.28 app-shells/bash: 4.3_p48-r1::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.26.3::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.28-r2::gentoo sys-devel/gcc: 4.9.4::gentoo, 5.4.0-r3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: -q --exclude-from=/etc/portage/rsync_excludes audio-overlay location: /home/simon/src/gentoo-audio/audio-overlay masters: gentoo priority: 100 bar location: /usr/local/portage/bar sync-type: git sync-uri: https://github.com/tokiclover/bar-overlay.git masters: gentoo priority: 100 dantrell-gnome-3-20 location: /usr/local/portage/dantrell-gnome-3-20 sync-type: git sync-uri: https://github.com/dantrell/gentoo-overlay-dantrell-gnome-3-20.git masters: gentoo priority: 100 elementary location: /usr/local/portage/elementary sync-type: git sync-uri: https://github.com/pimvullers/elementary.git masters: gentoo priority: 100 goltia location: /usr/local/portage/goltia sync-type: git sync-uri: https://github.com/ctruchi/gentoo-overlay.git masters: gentoo priority: 100 hossie location: /usr/local/portage/hossie sync-type: git sync-uri: https://github.com/gentoo-mirror/hossie masters: gentoo priority: 100 jorgicio location: /usr/local/portage/jorgicio sync-type: git sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git masters: gentoo priority: 100 science location: /usr/local/portage/science sync-type: git sync-uri: https://github.com/gentoo/sci masters: gentoo priority: 100 simonvanderveldt location: /home/simon/src/simonvanderveldt/simonvanderveldt-overlay masters: gentoo priority: 100 toaster location: /usr/local/portage/toaster sync-type: git sync-uri: https://github.com/toaster/gentoo-overlay.git masters: gentoo priority: 100 dantrell-gnome location: /usr/local/portage/dantrell-gnome sync-type: git sync-uri: https://github.com/dantrell/gentoo-overlay-dantrell-gnome.git masters: gentoo priority: 150 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core-avx-i -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core-avx-i -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --buildpkg-exclude 'virtual/* sys-kernel/*-sources sys-kernel/spl x11-drivers/* net-wireless/broadcom-sta sys-fs/zfs-kmod' --getbinpkg --binpkg-respect-use=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.leaseweb.com/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="-q --exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl aes amd64 avx bzip2 cli consolekit cracklib crypt cxx dbus dri fortran gdbm gnome gnome-keyring gnome-online-accounts gtk3 gtkstyle iconv introspection libnotify mmx mmxext modules multilib nautilus ncurses nls nptl openmp pam pcre policykit popcnt pulseaudio readline seccomp session smp sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 tcpd tracker unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 popcnt aes avx" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" SANE_BACKENDS="epjitsu" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON ================================================================= Package Settings ================================================================= media-sound/audacity-2.0.5-r2::gentoo was built with the following: USE="alsa flac jack sbsms (-ffmpeg) -id3tag -ladspa -libsamplerate -midi -mp3 -soundtouch -twolame -vamp -vorbis" ABI_X86="(64)"
Thank you for the report. Please attach the logfiles https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29 and reopen this ticket (Status:unconfirmed).
Created attachment 482272 [details] build log
Problem persists in media-sound/audacity-2.2.0. # emerge -pqv media-sound/audacity [ebuild U ] media-sound/audacity-2.2.0 [2.1.3-r1] USE="alsa ffmpeg flac lame mad vorbis -doc -id3tag -jack -ladspa -libav -lv2 -midi -nls -portmixer* -sbsms -soundtouch -twolame -vamp -vst*" CPU_FLAGS_X86="sse" Making all in portmixer make[2]: Entering directory '/var/tmp/portage/media-sound/audacity-2.2.0/work/audacity-minsrc-2.2.0/lib-src/portmixer' make[2]: *** No rule to make target 'all'. Stop. make[2]: Leaving directory '/var/tmp/portage/media-sound/audacity-2.2.0/work/audacity-minsrc-2.2.0/lib-src/portmixer' make[1]: *** [Makefile:1013: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-sound/audacity-2.2.0/work/audacity-minsrc-2.2.0/lib-src' make: *** [Makefile:808: all-recursive] Error 1Making all in portmixer make[2]: Entering directory '/var/tmp/portage/media-sound/audacity-2.2.0/work/audacity-minsrc-2.2.0/lib-src/portmixer' make[2]: *** No rule to make target 'all'. Stop. make[2]: Leaving directory '/var/tmp/portage/media-sound/audacity-2.2.0/work/audacity-minsrc-2.2.0/lib-src/portmixer' make[1]: *** [Makefile:1013: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-sound/audacity-2.2.0/work/audacity-minsrc-2.2.0/lib-src' make: *** [Makefile:808: all-recursive] Error 1
This still persists with 2.2.1. Seems to be caused by using -portmixer as USE flag, which then doesn't generate a Makefile, but apparently isn't properly disabled from the Makefile that includes it. Below is from a failing build: ls -ahl /var/tmp/portage/media-sound/audacity-2.2.1/work/audacity-minsrc-2.2.1-rc3/lib-src/portmixer total 691K drwxr-xr-x 7 portage portage 14 Dec 10 01:05 . drwxr-xr-x 22 portage portage 29 Dec 10 01:05 .. drwxr-xr-x 2 portage portage 10 Dec 10 01:05 autotools -rwxr-xr-x 1 portage portage 424K Dec 6 14:55 configure -rw-r--r-- 1 portage portage 4.4K Aug 31 23:30 configure.ac drwxr-xr-x 2 portage portage 3 Dec 10 01:05 include -rw-r--r-- 1 portage portage 3.1K Aug 31 23:30 LICENSE.txt drwxr-xr-x 2 portage portage 7 Dec 10 01:05 m4 -rw-r--r-- 1 portage portage 157 Aug 31 23:30 Makefile.am -rw-r--r-- 1 portage portage 28K Dec 6 14:55 Makefile.in -rw-r--r-- 1 portage portage 59K Aug 31 23:30 portaudio.patch drwxr-xr-x 2 portage portage 5 Dec 10 01:05 px_tests -rw-r--r-- 1 portage portage 272 Aug 31 23:30 README.txt drwxr-xr-x 2 portage portage 17 Dec 6 14:55 src
Created attachment 515324 [details, diff] 2.2.1-portmixer.patch A patch allowing to build Audacity with USE="-portmixer". I am not sure it works correctly with portmixer enabled, but at least it compiles without errors.
Created attachment 515326 [details] audacity-2.2.1-r1.ebuild Ebuild incorporating the patch in this bugreport as well as the patches from Bug 636722 and Bug 637110 Creating empty dummy directories just to make eautoreconf pass without errors does not seam a clean solution, but maybe someone will make a better ebuild on the basis of this one.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2756b165ad00e4e78bfe5b02a3c0f5bd6f6be82c commit 2756b165ad00e4e78bfe5b02a3c0f5bd6f6be82c Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-02-21 11:08:36 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-02-21 11:08:51 +0000 media-sound/audacity: Fixed compilation with USE="-portmixer" Closes: https://bugs.gentoo.org/624264 Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-sound/audacity/audacity-2.2.2.ebuild | 9 +++- .../audacity/files/audacity-2.2.1-portmixer.patch | 36 ++++++++++++++++ .../audacity/files/audacity-2.2.2-automake.patch | 48 ++++++++++++++++++++++ 3 files changed, 91 insertions(+), 2 deletions(-)