Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258438 - media-video/mplayerthumbs fails to build due to undefined reference to ThumbCreator::~ThumbCreator()
Summary: media-video/mplayerthumbs fails to build due to undefined reference to ThumbC...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 13:36 UTC by Rahul Jain
Modified: 2009-02-10 14:55 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 Rahul Jain 2009-02-10 13:36:24 UTC
media-video/mplayerthumbs-1.1 (from portage) fails to build because in the function VideoPreview::~VideoPreview() there is an undefined reference to ThumbCreator::~ThumbCreator().

The relevant build log is below:

[100%] Building CXX object src/CMakeFiles/mplayerthumbsconfig.dir/mplayerthumbs.o                                
CMakeFiles/videopreview.dir/videopreview.o: In function `VideoPreview::~VideoPreview()':                         
videopreview.cpp:(.text+0x4bd): undefined reference to `ThumbCreator::~ThumbCreator()'                           
CMakeFiles/videopreview.dir/videopreview.o: In function `VideoPreview::~VideoPreview()':                         
videopreview.cpp:(.text+0x597): undefined reference to `ThumbCreator::~ThumbCreator()'                           
CMakeFiles/videopreview.dir/videopreview.o: In function `VideoPreview::~VideoPreview()':                         
videopreview.cpp:(.text+0x661): undefined reference to `ThumbCreator::~ThumbCreator()'                           
CMakeFiles/videopreview.dir/videopreview.o:(.data.rel.ro._ZTI12VideoPreview[typeinfo for VideoPreview]+0x18): undefined reference to `typeinfo for ThumbCreator'                                                                  
collect2: ld returned 1 exit status                                                                              
make[2]: *** [lib/videopreview.so] Error 1                                                                       
make[1]: *** [src/CMakeFiles/videopreview.dir/all] Error 2                                                       
make[1]: *** Waiting for unfinished jobs....                                                                     
Linking CXX executable mplayerthumbsconfig                                                                       
[100%] Built target mplayerthumbsconfig                                                                          
make: *** [all] Error 2                                                                                          
 *                                                                                                               
 * ERROR: media-video/mplayerthumbs-1.1 failed.                                                                  
 * Call stack:                                                                                                   
 *               ebuild.sh, line   49:  Called src_compile                                                       
 *             environment, line 3089:  Called kde4-base_src_compile                                             
 *             environment, line 2242:  Called kde4-base_src_make                                                
 *             environment, line 2302:  Called cmake-utils_src_make                                              
 *             environment, line  798:  Called die                                                               
 * The specific snippet of code:                                                                                 
 *           emake "$@" || die "Make failed!";                                                                   
 *  The die message:                                                                                             
 *   Make 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/mplayerthumbs-1.1/temp/build.log'.           
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayerthumbs-1.1/temp/environment'.
 *

>>> Failed to emerge media-video/mplayerthumbs-1.1

emerge --info
googly rahul # emerge --info
Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-tuxonice-r1 i686)
=================================================================                                              
System uname: Linux-2.6.28-tuxonice-r1-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-glibc2.0                 
Timestamp of tree: Tue, 10 Feb 2009 12:45:01 +0000                                                             
app-shells/bash:     3.2_p48-r1                                                                                
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                          
dev-lang/python:     2.5.4-r2                                                                                  
dev-util/cmake:      2.6.2-r1                                                                                  
sys-apps/baselayout: 2.0.0                                                                                     
sys-apps/openrc:     0.4.2                                                                                     
sys-apps/sandbox:    1.3.5                                                                                     
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.19.1                                                                                    
sys-devel/gcc-config: 1.4.1                                                                                    
sys-devel/libtool:   2.2.6a                                                                                    
virtual/os-headers:  2.6.28-r1                                                                                 
ACCEPT_KEYWORDS="x86 ~x86"                                                                                     
CBUILD="i686-pc-linux-gnu"                                                                                     
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"                                                        
CHOST="i686-pc-linux-gnu"                                                                                      
CONFIG_PROTECT="/etc /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                       
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"                                                        
DISTDIR="/usr/portage/distfiles"                                                                                 
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                    
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"                                           
LDFLAGS="-Wl,-O1"                                                                                                
LINGUAS="en en_GB en_US hi"                                                                                      
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/layman/kde-testing /usr/local/portage/layman/bugzilla"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli cracklib crypt css ctype cups curl curlwrappers cxx dbus dga directfb djvu dri dts dvd dvdr dvdread emboss encode evoexif fam fbcon ffmpeg firefox flac fontconfig fortran gd gdbm gif gimp gnutls gphoto2 gpm hal hddtemp htmlhandbook iconv ieee1394 imagemagick ipv6 isdnlog java java5 java6 javascript joystick jpeg jpeg2k kde ldap libnotify mad midi mikmod mmx mono motif mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcmcia pcre pdf perl png posix ppds pppd python qt3support qt4 quicktime readline reflection samba scanner sdl session smp sndfile spell spl sse sse2 ssl startup-notification svg svga sysfs syslog tcpd theora threads tiff truetype type1 unicode usb v4l2 vcd vim-syntax vorbis wavpack win32codecs wmf x86 xcomposite xine xinerama xml xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1xens1370 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 ladspalfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions aliasauth_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 keyboard mouse synapticsjoystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US hi" USERLAND="GNU" VIDEO_CARDS="intel fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-02-10 14:10:48 UTC
Fixed in the tree.
Sorry for the mess and thanks for the report.
Comment 2 Rahul Jain 2009-02-10 14:55:47 UTC
Thanks! :)