Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928380 - media-sound/audacity-3.4.2: fatal error: lilv/lilv.h: No such file or directory
Summary: media-sound/audacity-3.4.2: fatal error: lilv/lilv.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: PullRequest
: 928429 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-04-01 10:52 UTC by Matt Whitlock
Modified: 2024-04-03 05:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
debug.log.xz (build.log.xz,24.46 KB, application/x-xz)
2024-04-01 21:00 UTC, Matt Whitlock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2024-04-01 10:52:39 UTC
/var/tmp/portage/media-sound/audacity-3.4.2/work/audacity-sources-3.4.2/libraries/lib-lv2/LV2Utils.h:18:10: fatal error: lilv/lilv.h: No such file or directory
   18 | #include "lilv/lilv.h" // for lilv_free
      |          ^~~~~~~~~~~~~
compilation terminated.


# emerge --info '=media-sound/audacity-3.4.2::gentoo'
Portage 3.0.63 (python 3.12.2-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-13, glibc-2.39-r2, 6.6.21-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.21-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.39
KiB Mem:     8143820 total,   1497144 free
KiB Swap:    8388604 total,   3613800 free
Timestamp of repository gentoo: Sat, 30 Mar 2024 09:15:00 +0000
Head commit of repository gentoo: 0db1a3d0210226cf80b3f6962f2e64eb354eb7ca
Timestamp of repository 4nykey: Fri, 29 Mar 2024 19:06:02 +0000
Head commit of repository 4nykey: b0f537a066225f53820ce4bfd75dbbbd77e2955d

Timestamp of repository bitcoin: Fri, 29 Mar 2024 19:05:44 +0000
Head commit of repository bitcoin: 43a5d47f63a3e0db866b161a2aa008b6f063773b

Timestamp of repository eigenlay: Fri, 29 Mar 2024 19:05:46 +0000
Head commit of repository eigenlay: 78c93dafe9065afd0d3ae7c6c08db27297010310

Timestamp of repository gentoo-bootstrap: Fri, 29 Mar 2024 19:06:17 +0000
Head commit of repository gentoo-bootstrap: 5d580b730e51adbff6191c87b1369502138f87fd

Timestamp of repository kde: Fri, 29 Mar 2024 19:06:06 +0000
Head commit of repository kde: ddfcdc93907f99f809825bf0b9d495e7dc7d73a0

Timestamp of repository science: Fri, 29 Mar 2024 22:33:28 +0000
Head commit of repository science: 0a77a1c798c5f74f30800aa922889726ce9fc059

sh dash 0.5.12
ld GNU ld (Gentoo 2.42 p3) 2.42.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.9.1 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.0::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.10.14::gentoo, 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.76.0-r1::gentoo
dev-util/ccache:           4.9.1-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.53.1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.7-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync11.us.gentoo.org/gentoo-portage/
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts: 

4nykey
    location: /var/db/repos/4nykey
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/4nykey.git
    masters: gentoo
    volatile: False

bitcoin
    location: /var/db/repos/bitcoin
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/bitcoin.git
    masters: gentoo
    volatile: False

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    volatile: False

eigenlay
    location: /var/db/repos/eigenlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/eigenlay.git
    masters: gentoo
    volatile: False

gentoo-bootstrap
    location: /var/db/repos/gentoo-bootstrap
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-bootstrap.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/science.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 1000
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/X11/xkb /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/i18n/locales/en_US /usr/share/sddm/scripts/Xsetup /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dbus-1 /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O3 -ggdb -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --unordered-display --verbose-conflicts --autounmask=n --backtrack=100 --usepkg --load-average=8"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="        http://mirror.leaseweb.com/gentoo/      http://mirrors.rit.edu/gentoo/  http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ "
INSTALL_MASK="/etc/grub.d /etc/pm       /etc/systemd /lib/systemd /usr/lib/systemd/system /usr/lib/sysusers.d   /etc/xinetd.d   /usr/share/bash-completion /usr/share/fish /usr/share/zsh   /usr/share/cmake/Help /usr/share/gtk-doc        /usr/share/locale/*/ -/usr/share/locale/en -/usr/share/locale/en_US"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
LEX="flex"
LINGUAS="en_US en"
MAKEOPTS="-j4 -l8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
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 --exclude=/CACHEDIR.TAG"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acpi alsa amd64 branding bzip2 cairo cdda cdparanoia cdr crypt cups curl dbus declarative dri dts dvd dvdr elogind encode evdev exif ffmpeg flac fontconfig gif git gmp gtk gui iconv icu id3tag ipv6 jpeg kde kwallet lame lcms libnotify libsamplerate libtirpc lzma mad matroska mng mp3 mp4 mpeg multilib ncurses networkmanager ogg opengl opus pam pango pcre pdf php plasma png policykit postgres ppds qml qt5 quicktime readline sctp sdl seccomp smp sound spell ssl startup-notification subversion svg taglib tcmalloc test-rust theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vnc vorbis vpx vulkan webkit webp widgets x264 xcb xft xml xv xvid xvmc zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="en-US en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="arm" RUBY_TARGETS="ruby31" SANE_BACKENDS="genesys" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


# emerge -pqv '=media-sound/audacity-3.4.2::gentoo'
[ebuild     U ] media-sound/audacity-3.4.2 [3.3.3] USE="alsa ffmpeg flac id3tag ogg opus vorbis -audiocom -ladspa -lv2 -mpg123 -portmixer -sbsms -test% -twolame -vamp -wavpack (-mad%*)"
Comment 1 Mike Gilbert gentoo-dev 2024-04-01 19:26:06 UTC
Please attach the full build log.
Comment 2 Matt Whitlock 2024-04-01 21:00:57 UTC
Created attachment 889231 [details]
debug.log.xz

(In reply to Mike Gilbert from comment #1)
> Please attach the full build log.

Dangit. Sorry about that. I did try to attach it when I opened this report, but it is greater than 1000 KB and evidently was silently dropped. Here it is, compressed with xz this time to bring it under the limit.
Comment 3 mehw 2024-04-02 01:42:30 UTC
Hello,

The culprit seems to be '-lv2' ('lv2' use flag disabled).

I just replicated the bug with the following:

USE="alsa ffmpeg flac id3tag ladspa mpg123 ogg opus portmixer sbsms twolame vamp vorbis wavpack -audiocom -lv2 -test" ABI_X86="(64)"

The proposed fix https://github.com/gentoo/gentoo/pull/35887 is from upstream, and after applying it media-sound/audacity-3.4.2 compiles fine with USE="-lv2".
Comment 4 Larry the Git Cow gentoo-dev 2024-04-02 10:28:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f3b7274ed135a62f48821833e86413d42ad947

commit 02f3b7274ed135a62f48821833e86413d42ad947
Author:     Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
AuthorDate: 2024-04-02 10:19:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-02 10:28:03 +0000

    media-sound/audacity: fix build with USE="-lv2" in 3.4.2
    
    Due to a bug in the upstream, Audacity 3.4.2 can't be built with USE="-lv2".
    At the same time, there is a fix available in the upstream.
    
    Closes: https://bugs.gentoo.org/928380
    Co-authored-by: Chris Mayo <aklhfex@gmail.com>
    Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/35887
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/audacity/audacity-3.4.2.ebuild         |  3 ++
 ...audacity-3.4.2-fix-build-with-use-lv2-off.patch | 36 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)
Comment 5 Chiitoo gentoo-dev 2024-04-03 05:35:12 UTC
*** Bug 928429 has been marked as a duplicate of this bug. ***