configure fail to find lv2 >= 1.16.0 Reproducible: Always Steps to Reproduce: 1. emerge ... world 2. 3. Actual Results: >>> Configuring source in /var/tmp/portage/media-libs/sratom-0.6.6/work/sratom-0.6.6 ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure 'CCFLAGS=-march=native -O2 -pipe' 'LINKFLAGS=-march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed' 'PKGCONFIG=x86_64-pc-linux-gnu-pkg-config' '/var/tmp/portage/media-libs/sratom-0.6.6/work/sratom-0.6.6/waf' '--prefix=/usr' '--docdir=/usr/share/doc/sratom-0.6.6' '--libdir=/usr/lib32' '--docdir=/usr/share/doc/sratom-0.6.6' 'configure' Setting top to : /var/tmp/portage/media-libs/sratom-0.6.6/work/sratom-0.6.6-abi_x86_32.x86 Setting out to : /var/tmp/portage/media-libs/sratom-0.6.6/work/sratom-0.6.6-abi_x86_32.x86/build Checking for 'gcc' (C compiler) : x86_64-pc-linux-gnu-gcc -m32 Checking for flag '-std=c99' : yes Checking for program 'pkg-config' : x86_64-pc-linux-gnu-pkg-config Checking for 'lv2 >= 1.16.0' : not found The configuration failed (complete log in /var/tmp/portage/media-libs/sratom-0.6.6/work/sratom-0.6.6-abi_x86_32.x86/build/config.log) * ERROR: media-libs/sratom-0.6.6::gentoo failed (configure phase): * configure failed
Created attachment 670016 [details] emerge --info '=media-libs/sratom-0.6.6::gentoo'
# emerge -pqv '=media-libs/sratom-0.6.6::gentoo' [ebuild U ] media-libs/sratom-0.6.6 [0.6.0-r1] USE="-doc -static-libs -test" ABI_X86="32 (64) (-x32)"
0.6.0-r1 was in the old proaudio overlay. As it is in portage now, it was removed from the overlay.
Created attachment 670019 [details] environment file
Created attachment 670022 [details] build log
media-libs/lv2 is installed, the live (-9999) version of proaudio. What is very strange is than, if I go into $S and just run './waf --configure', waf find lv2. It also search for and find media/serd and media-sord, which show than they are needed at configure and build time, not only at run time. If I go into /var/tmp/portage/media-libs/sratom-0.6.6/work/sratom-0.6.6-abi_x86_32.x86/ and run waf as per portage, it succed and give: # CCFLAGS="-march=native -O2 -pipe" LINKFLAGS="-march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed" PKGCONFIG=x86_64-pc-linux-gnu-pkg-config /var/tmp/portage/media-libs/sratom-0.6.6/work/sratom-0.6.6/waf '--prefix=/usr' '--docdir=/usr/share/doc/sratom-0.6.6' '--libdir=/usr/lib32' '--docdir=/usr/share/doc/sratom-0.6.6' 'configure' Setting top to : /var/tmp/portage/media-libs/sratom-0.6.6/work/sratom-0.6.6-abi_x86_64.amd64 Setting out to : /var/tmp/portage/media-libs/sratom-0.6.6/work/sratom-0.6.6-abi_x86_64.amd64/build Checking for 'gcc' (C compiler) : /usr/bin/gcc Checking for flag '-std=c99' : yes Checking for program 'pkg-config' : x86_64-pc-linux-gnu-pkg-config Checking for 'lv2 >= 1.16.0' : yes Checking for 'serd-0 >= 0.30.0' : yes Checking for 'sord-0 >= 0.14.0' : yes Install prefix : /usr C Flags : -O2 -DNDEBUG -fshow-column -std=c99 Debuggable : no Build documentation : no Unit tests : no 'configure' finished successfully (2.158s) That output show also than portage find my CFLAGS: -march=native -O2 -pipe but than waf add -DNDEBUG Maybe -DNDEBUG must be filtered with an USE flag.
I sorted out the mess into my system. It was a long time ago it wasn't updated, The installed live version of lv2 from proaudio was wrong for sratom-0.6.6::gentoo. Updating that lv2 ebuild to a full multilib installation fixed sratom installation and portage was able to install it successfully. Anyway, it remain than media-libs/sratom need lv2, serd and sord both at build and run time.
according to this code snippet from sratom-0.6.6.ebuild these three libraries are both in RDEPEND and DEPEND: RDEPEND=" dev-libs/serd dev-libs/sord media-libs/lv2 " DEPEND="${RDEPEND} ${PYTHON_DEPS} doc? ( app-doc/doxygen ) virtual/pkgconfig" anyway, i'm glad you resolved your issue.