| Summary: | media-video/kmplayer-0.11.0a compilation error | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Konstantinos Tzanis <tzankon> |
| Component: | New packages | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alet.roux, bugs, gentoo, lucmatt |
| Priority: | High | ||
| Version: | 2008.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build log of failed kmplayer-0.11.0a emerge
kmplayer-0.11.0a-partbase-fix.diff |
||
|
Description
Konstantinos Tzanis
2009-02-14 19:07:54 UTC
I can confirm: I am also on x86. #emerge -av kmplayer [ebuild U ] media-video/kmplayer-0.11.0a [0.11.0] USE="cairo npp -htmlhandbook% -kdeprefix" 0 kB emerge log: see attachment #emerge --info Portage 2.2_rc20 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-glibc2.0 Timestamp of tree: Sun, 15 Feb 2009 13:05:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe" 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/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe" DISTDIR="/usr/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de en" MAKEOPTS="-j3" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa bash-completion bluetooth branding bzip2 cairo cddb cdr cjk cli crypt cups dbus dri dts dvd dvdr dvdread emboss encode evo fam ffmpeg firefox flac fortran gdbm gif glibc-omitfp glitz gnutls hal iconv ieee1394 isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libnotify libv4l2 mad midi mikmod mmx mmxext mp3 mpeg mudflap musepack ncurses network-cron nls nptl nptlonly nsplugin ogg openexr opengl openmp pam pch pdf png ppds pppd qt3 qt3support qt4 quicktime readline reflection samba schroedinger sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs theora threads tiff truetype unicode usb v4l2 vcd vorbis win32codecs x264 x86 xattr xcomposite xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear metermmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 182131 [details]
build log of failed kmplayer-0.11.0a emerge
Same problem here, on amd64. Here is the output of emerge --info: Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5 Timestamp of tree: Mon, 16 Feb 2009 19:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -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.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://de-mirror.org/distro/gentoo/ http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://213.186.33.38/gentoo-distfiles/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en_GB" MAKEOPTS="-j3" 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="/usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X acl acpi addbookmarks alias alsa amarok amazon amd64 arts artswrappersuid autoreplace bash-completion berkdb bittorrent branding bzip2 calendar cardbus cddb chm cli connectionstatus cracklib crypt css cups cxx dbus dga dhcp djvu doc dri dvb dvd dvdr dvdread ebook encode examples excel exif extra fam fame fat ffmpeg fftw firefox flash font-server fortran ftp gcj gd gdbm gif gimp glep glsa glut gmail gmp gnuplot google-gadgets gphoto2 gpm grammar graphics graphviz gs gsl hal hdaps highlight history html htmlhandbook humanities iconv id3 idn ieee1394 imagemagick imap inkjar ipv6 irc isdnlog jabber java jingle jpeg jpeg2k kde kdehiddenvisibility kdepim kdeprefix kig-scripting kpathsea lame laptop latex lcms ldap logrotate mad maildir math midi mime mjpeg mmx mng mp3 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz ncurses netmeeting nls nocd nowlistening npp nptl nptlonly nsplugin ntfs nvidia octave ofx ogg opengl openmp oss pam pcmcia pcre pdf perl pgf plasma plotutils png postscript ppds pppd pstricks publishers python qt3 qt3support qt4 quicktime quotes rar readline realmedia reflection regex rss ruby scanner science sdl semantic-desktop session spell spl sql sqlite sqlite3 sse sse2 ssl startup-notification statistics subversion svg svgz sysfs tcl tcpd thesaurus tidy tiff timidity tk transcode truetype unicode usb v4l v4l2 vcd videos vorbis vram wifi winpopup wlm wma wmf wmp wordperfect wxwindows xcomposite xforms xine xml xorg xosd xscreensaver xv xvid yahoo zeroconf zlib" ALSA_CARDS="intel-hda usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actionsalias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_hostauthz_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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS kmplayer_part.o references functions located in kmplayerpartbase.o only, yet this object is not included when linking to create libkmplayerpart.so, hence the failure. Simply including the missing kmplayerpartbase.o object creates a tail chasing exercise where we then get masses of undefined references that it in turn references. So, an easy fix is to duplicate the small section of offending source from kmplayerpartbase.cpp and stick it in it's proper location in kmplayer_part.cpp You'll also still need to have 'npp' USE flag enabled or build will fail (Bug #258870). Not sure how this could have been tested by upstream before release. Anyway, patch attached ... Created attachment 182382 [details, diff]
kmplayer-0.11.0a-partbase-fix.diff
Thanks for the patch. Added into the tree :] |