I'm not sure if this is problem with audacity itself or maybe more with media-libs/vamp-plugin-sdk-2.6-r1. But it fail to build with this output: ... libtool: link: `/usr/lib64/libvamp-hostsdk.la' is not a valid libtool archive ... cat /usr/lib64/libvamp-hostsdk.la dlname='libvamp-hostsdk.so.3' library_names='libvamp-hostsdk.so.3.5.0 libvamp-hostsdk.so.3 libvamp-hostsdk.so' old_library='libvamp-hostsdk.a' dependency_libs='' current=3 age=5 revision=0 installed=yes libdir='/usr/lib64' Reproducible: Always
i can confirm the problem here for media-sound/audacity-2.1.3-r1 # emerge --info audacity Portage 2.3.6 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r4, 4.9.34-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.9.34-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.3 KiB Mem: 32924144 total, 23567644 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 13 Jul 2017 18:45:54 +0000 Timestamp of repository kde: Thu, 13 Jul 2017 18:07:31 +0000 Timestamp of repository steam-overlay: Sat, 01 Jul 2017 16:36:30 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1 app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::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.26.1::gentoo, 2.28-r2::gentoo sys-devel/gcc: 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: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 local_overlay location: /usr/local/portage masters: gentoo kde location: /var/lib/layman/kde sync-type: laymansync sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay sync-type: laymansync sync-uri: git://github.com/gentoo-mirror/steam-overlay.git masters: gentoo priority: 50 Installed sets: @system ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage/package.accept_keywords/zz_autounmask /etc/portage/package.unmask/zz_autounmask /etc/portage/package.use/zz_autounmask /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write --autounmask-continue --jobs=5 --load-average=5.0" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="X a52 aac aacplus acl acpi aes alsa amd64 avx avx2 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus declarative device-mapper dri dts dvd dvdr emboss encode evdev exif fam firefox flac fma3 fortran gdbm gif glamor glib glibc gpg gpm gstreamer gtk iconv icu id3tag ieee1394 imagemagick inotify ipv6 irc jack java jpeg jpeg2k kde kipi kwallet latex lcms ldap libnotify libsamplerate lvm lzma mad mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl ntp ogg opengl openmp opus oscar otr pam pango pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qemu qml qt3support qt4 qt5 quicktime rar readline real rss rtc sdl seccomp semantic-desktop session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog taglib tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb v41 v412 v4l vcd vdpau vim-syntax visualization vorbis wavpack widgets win32codecs wlm wma wmf wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hdsp hdspm" 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="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="de en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="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, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= media-sound/audacity-2.0.5-r2::gentoo was built with the following: USE="alsa flac id3tag jack ladspa libsamplerate midi mp3 soundtouch vamp vorbis (-ffmpeg) -sbsms -twolame" ABI_X86="(64)"
Created attachment 484158 [details] build.log
(stable media-libs/vamp-plugin-sdk-2.6-r1)
Audacity builds with the newer vamp plugins; just add to your package.accept_keywords file: =media-libs/vamp-plugin-sdk-2.7.1 This is the la file from 2.7.1 for comparison. It looks pretty similar to me, so I don't know what the audacity error message means. It might just be a dependency update is needed? cat /usr/lib64/libvamp-hostsdk.la # libvamp-hostsdk.la - a libtool library file # Generated by libtool (GNU libtool) 2.4.6 # # Please DO NOT delete this file! # It is necessary for linking the library. dlname='libvamp-hostsdk.so.3' library_names='libvamp-hostsdk.so.3.7.0 libvamp-hostsdk.so.3 libvamp-hostsdk.so' old_library='libvamp-hostsdk.a' dependency_libs='' current=3 age=7 revision=0 installed=yes libdir='/usr/lib64'
Spot on, the problem is with the .la file provided by the vamp SDK - in 2.6 it makes the mistake of not generating it with libtool. The four lines of 'comments' at the top are apparently actually critical to the operation of libtool, and their presence / absence determines whether this bug occurs. vamp-plugin-sdk-2.7.1 is already stable on amd64. At this point raising the dependency and asking for a revision bump is probably easier than trying to backport a build system patch...
Indeed. I've just tested that by deleting those 'comments' from the .la file for vamp sdk 2.7.1 and the Audacity build fails with the same error. Likewise, by adding those lines into the .la file for vamp sdk 2.6, audacity builds successfully. So obviously those comments are more significant than they appear. But I agree with Richard's last comment ... bumping the dependency revision is the simplest solution.