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
The title is wrong. Please be careful There is no 'gmp' flag on rtmpdump Could you provide an emerge -pv rtmpdump please?
[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
(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)
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