/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99 `top_builddir="../.." ../../vlc-config --cflags plugin svg` -march=nocona -O2 -ggdb -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -rpath '/usr/lib64/vlc/misc' -avoid-version -module -no-undefined -shrext .so -export-dynamic `top_builddir="../.." ../../vlc-config --ldflags plugin svg` -o libsvg_plugin.la libsvg_plugin_la-svg.lo ../../src/libvlc.la `top_builddir="../.." ../../vlc-config -libs plugin svg` x86_64-pc-linux-gnu-gcc -std=gnu99 -shared .libs/libgnutls_plugin_la-gnutls.o -Wl,--rpath -Wl,/var/tmp/portage/media-video/vlc-0.9.0_alpha20080228/work/vlc-0.9.0-svn/src/.libs ../../src/.libs/libvlc.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../lib64 -L/usr/lib64 -lpthread /usr/lib64/libgnutls.so -march=nocona -Wl,-z -Wl,defs -Wl,-soname -Wl,libgnutls_plugin.so -o .libs/libgnutls_plugin.so libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../lib64/libhal.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../lib64/libdbus-1.la' seems to be moved .libs/libgnutls_plugin_la-gnutls.o: In function `gnutls_Init': /var/tmp/portage/media-video/vlc-0.9.0_alpha20080228/work/vlc-0.9.0-svn/modules/misc/gnutls.c:172: undefined reference to `gcry_control' collect2: ld returned 1 exit status make[4]: *** [libgnutls_plugin.la] Error 1 make[4]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -std=gnu99 -shared .libs/libsvg_plugin_la-svg.o -Wl,--rpath -Wl,/var/tmp/portage/media-video/vlc-0.9.0_alpha20080228/work/vlc-0.9.0-svn/src/.libs ../../src/.libs/libvlc.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../lib64 -L/usr/lib64 -lpthread /usr/lib64/librsvg-2.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -march=nocona -Wl,-z -Wl,defs -Wl,-soname -Wl,libsvg_plugin.so -o .libs/libsvg_plugin.so creating libsvg_plugin.la (cd .libs && rm -f libsvg_plugin.la && ln -s ../libsvg_plugin.la libsvg_plugin.la) make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080228/work/vlc-0.9.0-svn/modules/misc' make[3]: *** [all-modules] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080228/work/vlc-0.9.0-svn/modules/misc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080228/work/vlc-0.9.0-svn/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080228/work/vlc-0.9.0-svn' make: *** [all] Error 2 * * ERROR: media-video/vlc-0.9.0_alpha20080228 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3643: Called die * The specific snippet of code: * emake || die "make of VLC failed" * The die message: * make of VLC failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-video/vlc-0.9.0_alpha20080228/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-0.9.0_alpha20080228/temp/environment'. emerge --info: Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r3 x86_64) ================================================================= System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz Timestamp of tree: Thu, 28 Feb 2008 13:30:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.5.1-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -ggdb -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -ggdb -pipe" DISTDIR="/distfiles" EMERGE_DEFAULT_OPTS="--nospinner --with-bdeps y --alphabetical" FEATURES="collision-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY=" " SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acpi alisp alsa amd64 amr amrnb amrwb ao archive audiofile bash-completion bitmap-fonts boost branding bzip2 cairo captury cdda cdio chm cli context cracklib crypt css curl cyrillic dbus dhcp djbfft djvu doc dri dts dvd dvdr dvdread dynamic eap-tls emovix encode exif extra extrafilters fam fame ffmpeg fftw firefox fits flac fluidsynth fontconfig fpx games gd gdbm gif glitz gmp gnuplot gnutls graphics graphviz gs gtk hal hdri hpn htmlhandbook humanities hyperestraier iconv icu id3tag idea idn imagemagick imlib inotify ipv6 isdnlog ithreads java javascript jbig jce joystick jpeg jpeg2k jsapi kde kig-scripting kipi ktts ladspa lame latex lcms libedit libnotify libwww lm_sensors lzo mad matroska mbrola midi mjpeg mmap mmx mng mod modplug mp3 mp4 mpeg mudflap musepack music ncurses network network-cron networkmanager nls nptl nptlonly nsplugin nuv odbc offensive ogg omega openexr opengl openmp oscar pam pango paste64 pcre pdf pg-intdatetime plotutils png portaudio postgres ppds pppd pstricks pth publishers python qt3 qt3support qt4 quicktime rdesktop readline reflection rle rtsp sasl science sdl sdl-image session slang smp sndfile sound soundtouch speex spell spl sql sse sse2 ssl startup-notification stream subversion svg symlink theora threads tiff toolbar truetype truetype-fonts type1-fonts unicode usb utempter vamp vcd visualization vlc vlm vnc vorbis vorbis-psy wavpack wideband wifi wmf wxwindows x264 xcb xcomposite xetex xforms xml xmp xorg xprint xscreensaver xv xvid xvmc zip zlib zrtp" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev joystick mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS revdep-rebuild shows no problems, in particular with dbus and hal, so I don't know what is causing the libtool warnings. I guess they are related, but I'm not sure.
Attach a full emerge log with MAKEOPTS="-j1" please.
Created attachment 144882 [details] Full build log with MAKEOPTS="-j1", part 0
Created attachment 144883 [details] Full build log with MAKEOPTS="-j1", part 1
Reopen...
please give me the output of: emerge -pv gnutls vlc
Right away: These are the packages that would be merged, in order: Calculating dependencies ..... done! [ebuild R ] net-libs/gnutls-2.2.2 USE="-bindist doc -guile lzo nls zlib" 0 kB [ebuild U ] media-video/vlc-0.9.0_alpha20080228 [0.9.0_alpha20080128] USE="(-3dfx) X a52 aac -aalib alsa (-altivec) -arts -avahi -bidi cdda -cddb cdio -daap dbus -dc1394 -debug -directfb dts -dvb dvd -esd -fbcon ffmpeg flac fluidsynth -ggi -gnome gnutls hal -httpd id3tag -jack -libcaca -libgcrypt libnotify -lirc -live -lua matroska mmx modplug mp3 mpeg musepack -musicbrainz ncurses nsplugin ogg opengl -optimisememory -oss png -pulseaudio% -pvr qt4 rtsp -samba sdl sdl-image -seamonkey -shout -skins speex sse stream svg (-svga) -taglib theora truetype -twolame -upnp -v4l -v4l2 vcd -vcdx vlm vorbis (-win32codecs) wxwindows x264 -xinerama xml -xosd -xulrunner xv" 0 kB Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 kB
*** Bug 211854 has been marked as a duplicate of this bug. ***
(In reply to comment #6) > [ebuild R ] net-libs/gnutls-2.2.2 USE="-bindist doc -guile lzo nls zlib" 0 > kB this is really weird: $ emerge -pv gnutls These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-libs/gnutls-2.2.2 USE="lzo nls zlib -bindist -doc -guile" 0 kB and what's the output of the command: $ strings /usr/lib/libgnutls.so | grep gcry_control Here I get: gcry_control also, could you please attach config.log that is in the build dir ? Perhaps it will help
config.log: http://pastebin.ca/923175
(In reply to comment #8) > (In reply to comment #6) > > [ebuild R ] net-libs/gnutls-2.2.2 USE="-bindist doc -guile lzo nls zlib" 0 > > kB > > > this is really weird: > > $ emerge -pv gnutls > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] net-libs/gnutls-2.2.2 USE="lzo nls zlib -bindist -doc -guile" > 0 kB The only difference I can see is the doc USE flag. What's weird about it? > and what's the output of the command: > $ strings /usr/lib/libgnutls.so | grep gcry_control > > Here I get: > gcry_control Same here.
well, my first thoughts were wrong: I thought that gnutls was supposed to export gcry_control. In fact, the gnutls useflag really requires libgcrypt since that's it which exports gcry_control. It was a bad idea to have two useflags for that, so I merged them. This should fix the build problems. Thanks for the report !
Created attachment 144935 [details] build.log from build directory
ok, compiled with the libgcrypt USE... Now, one need to add those infos to the ebuild...
erf, already added...:)