Summary: | kde-base/artsplugin-xine-3.5.8 fails on make install in thumbnail | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Haney <mhaney> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | frank, jkomar, rossi.f, schiotz, tomka |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark Haney
2008-02-11 20:07:22 UTC
> * If you need support, post the topmost build error
We need the lines *above*
My bad. I cut and pasted the bottom section twice. Didn't mean to. Here's the build error: Good - your configure finished. Start make now make all-recursive make[1]: Entering directory `/var/tmp/portage/kde-base/artsplugin-xine-3.5.8/work/artsplugin-xine-3.5.8' make[2]: Entering directory `/var/tmp/portage/kde-base/artsplugin-xine-3.5.8/work/artsplugin-xine-3.5.8' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/var/tmp/portage/kde-base/artsplugin-xine-3.5.8/work/artsplugin-xine-3.5.8' make[1]: Leaving directory `/var/tmp/portage/kde-base/artsplugin-xine-3.5.8/work/artsplugin-xine-3.5.8' >>> Source compiled. >>> Test phase [not enabled]: kde-base/artsplugin-xine-3.5.8 >>> Install artsplugin-xine-3.5.8 into /var/tmp/portage/kde-base/artsplugin-xine-3.5.8/image/ category kde-base Making install in tools make[1]: Entering directory `/var/tmp/portage/kde-base/artsplugin-xine-3.5.8/work/artsplugin-xine-3.5.8/xine_artsplugin/tools' Making install in thumbnail make[2]: Entering directory `/var/tmp/portage/kde-base/artsplugin-xine-3.5.8/work/artsplugin-xine-3.5.8/xine_artsplugin/tools/thumbnail' /usr/qt/3/bin/moc ./videocreator.h -o videocreator.moc /bin/sh ../../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include/arts -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -pipe -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o videocreator.lo videocreator.cpp /bin/sh ../../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include/arts -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -pipe -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o videoscaler.lo videoscaler.cpp /bin/sh ../../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -pipe -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o videothumbnail.la -rpath /usr/kde/3.5/lib64/kde3 -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -pthread videocreator.lo videoscaler.lo -lkdecore .libs/videocreator.o: In function `xine_timeout_routine(void*)': videocreator.cpp:(.text+0x22f): undefined reference to `xine_exit' .libs/videocreator.o: In function `findBestFrame(xine_video_port_s*, xine_video_frame_t*)': videocreator.cpp:(.text+0x2d3): undefined reference to `xine_get_next_video_frame' videocreator.cpp:(.text+0x3d9): undefined reference to `xine_free_video_frame' videocreator.cpp:(.text+0x458): undefined reference to `xine_free_video_frame' .libs/videocreator.o: In function `VideoCreator::create(QString const&, int, int, QImage&)': videocreator.cpp:(.text+0x739): undefined reference to `xine_new_framegrab_audio_port' videocreator.cpp:(.text+0x746): undefined reference to `xine_new_framegrab_video_port' videocreator.cpp:(.text+0x759): undefined reference to `xine_stream_new' videocreator.cpp:(.text+0x77d): undefined reference to `xine_open' videocreator.cpp:(.text+0x796): undefined reference to `xine_dispose' videocreator.cpp:(.text+0x7a3): undefined reference to `xine_close_audio_driver' videocreator.cpp:(.text+0x7ae): undefined reference to `xine_close_video_driver' videocreator.cpp:(.text+0x810): undefined reference to `xine_get_pos_length' videocreator.cpp:(.text+0x834): undefined reference to `xine_play' videocreator.cpp:(.text+0x9e5): undefined reference to `xine_free_video_frame' videocreator.cpp:(.text+0xa09): undefined reference to `xine_stop' videocreator.cpp:(.text+0xa1c): undefined reference to `xine_close' videocreator.cpp:(.text+0xa31): undefined reference to `xine_open' videocreator.cpp:(.text+0xa3d): undefined reference to `xine_play' videocreator.cpp:(.text+0xcb1): undefined reference to `xine_new' videocreator.cpp:(.text+0xcf4): undefined reference to `xine_config_load' videocreator.cpp:(.text+0xd00): undefined reference to `xine_init' collect2: ld returned 1 exit status make[2]: *** [videothumbnail.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/kde-base/artsplugin-xine-3.5.8/work/artsplugin-xine-3.5.8/xine_artsplugin/tools/thumbnail' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kde-base/artsplugin-xine-3.5.8/work/artsplugin-xine-3.5.8/xine_artsplugin/tools' make: *** [install-recursive] Error 1 Same problem here. Maybe it has something to do with xine-lib latest version? I get this at configure: checking for xine-config... /usr/bin/xine-config checking for XINE-LIB version >= 1.0.0... *** 'xine-config --version' returned -1717986918.1072798105.-1717986918, butXINE (1072798105.858993459.1076114227) *** was found! If xine-config was correct, then it is best *** to remove the old version of XINE. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If xine-config was wrong, set the environment variable XINE_CONFIG *** to point to the correct copy of xine-config, and remove the file config.cache *** before re-running configure no and then same error at make install emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686) ================================================================= System uname: 2.6.23-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Timestamp of tree: Tue, 12 Feb 2008 15:30:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 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 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-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/udev/rules.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="el_GR.utf8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu" LINGUAS="en en_US el" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa audiofile berkdb bitmap-fonts branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups curl dbus dri dts dvd dvdr dvdread eds emboss encode evo exif expat fam ffmpeg firefox flac fortran gdbm gif gnome gnutls gpm gstreamer gtk gtkhtml hal hddtemp iconv idn imagemagick isdnlog ithreads java jpeg jpeg2k kde kdehiddenvisibility kerberos keyring lame lcms libnotify libsamplerate lm_sensors mad madwifi midi mikmod mmap mmx mng mp3 mpeg mplayer mudflap ncurses nfs nls nntp nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session smp sndfile spell spl sse sse2 ssl svg tcpd theora threads tiff tracker truetype truetype-fonts type1-fonts unicode v4l vorbis wifi win32codecs x264 x86 xcb xcomposite xine xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="snd-emu10k1" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US el" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I found the reason: There is a new version of xine-lib: 1.1.10.1 The old version of xine-lib was 1.1.8 The configure script of artsplugin-xine used a wrong way to test for the correct version of xine-lib: WRONG: xine-config --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/' This produces '1.1', because the version string of xine-config has now 4 levels, and not 3 like the previous version. My suggestion: substitute the 'sed' by 'cut' in this way: SUGGESTION: xine-config --version | cut -d'.' -f1 So I have created a patch for configure.in.in, and this solves the problem: <===== BEGIN PATCH --- xine_artsplugin/configure.in.in.orig 2005-09-10 10:20:09.000000000 +0200 +++ xine_artsplugin/configure.in.in 2008-02-15 09:39:43.000000000 +0100 @@ -69,11 +69,11 @@ XINE_CFLAGS=`$XINE_CONFIG $xine_config_args --cflags` XINE_LIBS=`$XINE_CONFIG $xine_config_args --libs` xine_config_major_version=`$XINE_CONFIG $xine_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + cut -d'.' -f 1` xine_config_minor_version=`$XINE_CONFIG $xine_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + cut -d'.' -f 2` xine_config_sub_version=`$XINE_CONFIG $xine_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + cut -d'.' -f 3` xine_script_dir=`$XINE_CONFIG $xine_config_args --scriptdir` xine_plugin_dir=`$XINE_CONFIG $xine_config_args --plugindir` xine_locale_dir=`$XINE_CONFIG $xine_config_args --localedir` <===== END PATCH I think, kde-base/kdemultimedia should get a similar problem Yes, the patch works like a charm. Thanks! *** This bug has been marked as a duplicate of bug 209849 *** |