Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753140 - media-libs/sratom-0.6.6 should DEPEND on media-libs/lv2 instead of RDEPEND: configure failed
Summary: media-libs/sratom-0.6.6 should DEPEND on media-libs/lv2 instead of RDEPEND: c...
Status: RESOLVED INVALID
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:
Depends on:
Blocks:
 
Reported: 2020-11-04 17:10 UTC by Dominique Michel
Modified: 2020-11-13 08:53 UTC (History)
2 users (show)

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


Attachments
emerge --info '=media-libs/sratom-0.6.6::gentoo' (environment,19.28 KB, text/plain)
2020-11-04 17:17 UTC, Dominique Michel
Details
environment file (environment,103.89 KB, text/plain)
2020-11-04 17:24 UTC, Dominique Michel
Details
build log (build.log,3.93 KB, text/x-log)
2020-11-04 17:28 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2020-11-04 17:10:26 UTC
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
Comment 1 Dominique Michel 2020-11-04 17:17:40 UTC
Created attachment 670016 [details]
emerge --info '=media-libs/sratom-0.6.6::gentoo'
Comment 2 Dominique Michel 2020-11-04 17:20:57 UTC
# 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)"
Comment 3 Dominique Michel 2020-11-04 17:23:09 UTC
0.6.0-r1 was in the old proaudio overlay. As it is in portage now, it was removed from the overlay.
Comment 4 Dominique Michel 2020-11-04 17:24:54 UTC
Created attachment 670019 [details]
environment file
Comment 5 Dominique Michel 2020-11-04 17:28:10 UTC
Created attachment 670022 [details]
build log
Comment 6 Dominique Michel 2020-11-04 18:12:06 UTC
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.
Comment 7 Dominique Michel 2020-11-04 20:40:08 UTC
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.
Comment 8 Miroslav Šulc gentoo-dev 2020-11-13 08:53:39 UTC
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.