Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490324 - media-video/rtmpdump-2.4_p20131018 missing dependency dev-libs/nettle[gmp]
Summary: media-video/rtmpdump-2.4_p20131018 missing dependency dev-libs/nettle[gmp]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-03 23:24 UTC by Herbert Wantesh
Modified: 2013-11-11 14:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert Wantesh 2013-11-03 23:24:25 UTC
comping without nettle installed:

x86_64-pc-linux-gnu-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -march=native -O2 -pipe   -c -o rtmpdump.o rtmpdump.c
x86_64-pc-linux-gnu-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -march=native -O2 -pipe   -c -o rtmpgw.o rtmpgw.c
make[1]: Entering directory `/tmp/tmerge/portage/media-video/rtmpdump-2.4_p20131018/work/librtmp'
x86_64-pc-linux-gnu-gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS  -fPIC -O2 -fPIC -march=native -O2 -pipe   -c -o rtmp.o rtmp.c
rtmp.c:57:27: fatal error: nettle/base64.h: No such file or directory
compilation terminated.
make[1]: *** [rtmp.o] Error 1
make[1]: Leaving directory `/tmp/tmerge/portage/media-video/rtmpdump-2.4_p20131018/work/librtmp'


after installing nettle without gmp useflag enabled:

p -lz 
ar: creating librtmp.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lhogweed
collect2: error: ld returned 1 exit status
make[1]: *** [librtmp.so.1] Error 1

only with nettle [gmp] rmpdump compiles here..


Reproducible: Always
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-11-06 17:00:43 UTC
The title is wrong. Please be careful

There is no 'gmp' flag on rtmpdump


Could you provide an emerge -pv rtmpdump please?
Comment 2 Herbert Wantesh 2013-11-06 20:31:56 UTC
[ebuild   R   ~] media-video/rtmpdump-2.4_p20131018  USE="gnutls polarssl ssl" 0 kB
[ebuild   R    ] dev-libs/nettle-2.7.1:0/4  USE="gmp -doc (-neon) -static-libs {-test}" 1,523 kB

Total: 2 packages (2 reinstalls), Size of downloads: 1,523 kB

umounting tmpfs....     done

 # ldd /usr/bin/rtmpdump
        linux-vdso.so.1 (0x0000037ca3124000)
        librtmp.so.1 => /usr/lib64/librtmp.so.1 (0x0000037ca2ce5000)
        libc.so.6 => /lib64/libc.so.6 (0x0000037ca293e000)
        libgnutls.so.28 => /usr/lib64/libgnutls.so.28 (0x0000037ca2626000)
        libhogweed.so.2 => /usr/lib64/libhogweed.so.2 (0x0000037ca23f4000)
        libnettle.so.4 => /usr/lib64/libnettle.so.4 (0x0000037ca21c0000)
        libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x0000037ca1f43000)
        libz.so.1 => /lib64/libz.so.1 (0x0000037ca1d2b000)
        /lib64/ld-linux-x86-64.so.2 (0x0000037ca2f04000)

i ment rtmpdump needs nettle with gmp use flag enabled
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2013-11-10 20:46:29 UTC
(In reply to puchu from comment #2)
> [ebuild   R   ~] media-video/rtmpdump-2.4_p20131018  USE="gnutls polarssl
> ssl" 0 kB
> [ebuild   R    ] dev-libs/nettle-2.7.1:0/4  USE="gmp -doc (-neon)
> -static-libs {-test}" 1,523 kB
> 
> Total: 2 packages (2 reinstalls), Size of downloads: 1,523 kB
> 
> umounting tmpfs....     done
> 
>  # ldd /usr/bin/rtmpdump
>         linux-vdso.so.1 (0x0000037ca3124000)
>         librtmp.so.1 => /usr/lib64/librtmp.so.1 (0x0000037ca2ce5000)
>         libc.so.6 => /lib64/libc.so.6 (0x0000037ca293e000)
>         libgnutls.so.28 => /usr/lib64/libgnutls.so.28 (0x0000037ca2626000)
>         libhogweed.so.2 => /usr/lib64/libhogweed.so.2 (0x0000037ca23f4000)
>         libnettle.so.4 => /usr/lib64/libnettle.so.4 (0x0000037ca21c0000)
>         libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x0000037ca1f43000)
>         libz.so.1 => /lib64/libz.so.1 (0x0000037ca1d2b000)
>         /lib64/ld-linux-x86-64.so.2 (0x0000037ca2f04000)
> 
> i ment rtmpdump needs nettle with gmp use flag enabled

I don't understand how is this possible

rtmpdump depends on gnutls which needs nettle[gmp]

Please provide a full build.log in order to be able to reproduce this problem

(versions of rtmpdump, gnutls, etc)
Comment 4 Herbert Wantesh 2013-11-11 14:25:12 UTC
it seems the error was fixed in net-libs/gnutls-3.2.6 - now it pulls in nettle with gmp use flag as dependecy. bug fixed. thanks for your help