Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244694 - dev-util/kdbg-2.1.0 - pgmargs.cpp:(.text+0x1c): undefined reference to `QMetaObjectCleanUp::
Summary: dev-util/kdbg-2.1.0 - pgmargs.cpp:(.text+0x1c): undefined reference to `QMeta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: [PATCH]
Keywords:
Depends on:
Blocks: kde3-on-kde4
  Show dependency tree
 
Reported: 2008-10-27 22:57 UTC by Dan Goodliffe
Modified: 2009-10-05 14:33 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,759.80 KB, text/plain)
2008-10-27 22:58 UTC, Dan Goodliffe
Details
kdbg-2.1.0.ebuild.patch (kdbg-2.1.0.patch,430 bytes, patch)
2008-11-29 11:28 UTC, Theofilos Intzoglou
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Goodliffe 2008-10-27 22:57:28 UTC
Compilation fails with numerous link failures.

Reproducible: Always

Steps to Reproduce:
1. emerge kdbg
Actual Results:  
Will attach build.log, it's quite big.

Expected Results:  
Installation to complete successfully.

Portage 2.2_rc12 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 i686)
=================================================================                                    
System uname: Linux-2.6.27-gentoo-r1-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-glibc2.0      
Timestamp of tree: Mon, 27 Oct 2008 05:45:01 +0000                                                   
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]                   
ccache version 2.4 [disabled]                                                                        
app-shells/bash:     3.2_p39                                                                         
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                
dev-lang/python:     2.4.4-r13, 2.5.2-r8                                                             
dev-python/pycrypto: 2.0.1-r6                                                                        
dev-util/ccache:     2.4-r8                                                                          
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-r3                                                                     
sys-devel/autoconf:  2.13, 2.63                                                                      
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1                                              
sys-devel/binutils:  2.18-r4                                                                         
sys-devel/gcc-config: 1.4.0-r4                                                                       
sys-devel/libtool:   2.2.6a                                                                          
virtual/os-headers:  2.6.27-r2                                                                       
ACCEPT_KEYWORDS="x86 ~x86"                                                                           
CBUILD="i686-pc-linux-gnu"                                                                           
CFLAGS="-Os -fomit-frame-pointer -march=native -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"
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="-Os -fomit-frame-pointer -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://defiant.random.lan/portage http://firebrand.random.lan/portage http://akira.random.lan/portage http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="-e ssh"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/MillerBros /usr/local/portage/tmp"
SYNC="rsync://portage@portage/gentoo-portage"
USE="3dnowext X a52 aac acl acpi alsa apm authdaemond b43 bash-completion berkdb bzip2 cairo cdda cddb cdparanoia cdr cli client cracklib crypt ctype curl dbus dell device-mapper dga dhcp disk-partition diskio divx dri dvb dvd dvdr dvdread exif fam fastcgi fbsplashfreetype frontendonly fuse gdbm glitz gnutls gtk hal hpn iconv id3 imagemagick imap imlib innodb inotify irc isdnlog java jpeg jpeg2k jpg kde kdeenablefinal laptop ldap lm_sensors logrotate maildir midi mjpeg mmx mmxext mng motif mp3 mp4 mpeg2 mpeg4 mplayer msn mudflap mysql mythtv ncurses network no-old-linux nocardbus nocd nohardenedkernel nptl nptlonly nsplugin ntfs ntp odbc offensive ogg oggvorbis opengl openmp pam pch pcre pdf perl png postgres pppd qt3 qt4 rdesktop readline real realmedia recode reflection remote resolvconf samba session sharedext sharedmem soap sockets spell spl sqlite sse sse-filters sse2 sse3 ssl startup-notification svg symlink sysfs tcpd themes threads tidy tiff unicode upnp usb v4l v4l2 vcd vim-pager vim-syntax vim-with-x vnc vorbis wifi win32codecs winbind wmf wmp x86 xcomposite xorg xosd xrandr xscreensaver xsl xulrunner xvid xvmc yahoo 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 ladspalfloat linear meter mmap_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 autoindexcache 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Dan Goodliffe 2008-10-27 22:58:44 UTC
Created attachment 170044 [details]
build.log
Comment 2 Theofilos Intzoglou 2008-11-29 11:28:24 UTC
Created attachment 173734 [details, diff]
kdbg-2.1.0.ebuild.patch

Applying this patch makes the ebuild work correctly. The problem is that gcc tries to link kdbg with the wrong kio libraries (that of kde4). The problem shouldn't occur if someone has only kde3 installed.
Comment 3 Dan Goodliffe 2008-11-29 17:48:06 UTC
Confirmed. The build now completes as expected.
Comment 4 Michael Prager 2009-01-18 11:24:17 UTC
I can confirm that the patch is working. Please update the ebuild in portage.
Comment 5 Staffan Palmroos 2009-09-03 20:20:15 UTC
It's now been 10+ months since the submitted patch was confirmed working (I can now re-confirm that it does indeed work) yet the ebuild in portage is still broken. Please update.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-03 22:15:25 UTC
The problem is not in patch but in that we in kde have noone whom is working on kde 3.
As you can read here:
http://archives.gentoo.org/gentoo-desktop/msg_a3e260bd0545cb4e763c81bc60f81de2.xml

So actualy noone has the chance to test+commit your patch, of course we can commit it blindly but it is kinda risky...

All devs are allowed to apply patches to kde3 stuff so if you find any dev using kde3 just tell him to test + commit the patch

Cheers
Comment 7 Sebastian Pipping gentoo-dev 2009-09-23 14:43:32 UTC
(In reply to comment #6)
> All devs are allowed to apply patches to kde3 stuff so if you find any dev
> using kde3 just tell him to test + commit the patch

If I understood  Theofilos correctly it affects KDE 4 users, not KDE 3 users.
That matches with me using KDE 3.5.x and that dev-util/kdbg-2.1.0 emerges just fine here.

Diffing configure from 2.1.0 to 2.1.1 (also in gentoo) it seems to me that the patch went upstream in the meantime:

==8<=====8<=====8<=====8<=====8<=====8<=====8<=====8<=====8<=====
 KDE_LDFLAGS="-L$kde_libraries"
 if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
- all_libraries="$all_libraries $KDE_LDFLAGS"
+ all_libraries="$KDE_LDFLAGS $all_libraries"
 fi
==8<=====8<=====8<=====8<=====8<=====8<=====8<=====8<=====8<=====

If you dislike patching configure we could patch acinclude.m4 alternatively (where it comes from) though a prettier patch doesn't really give anything in my eyes as a fix went upstream already.

So if you all use version 2.1.1 by now let's close it, otherwise my vote is for applying the patch.
Comment 8 Sebastian Pipping gentoo-dev 2009-10-03 20:08:35 UTC
Fixed, special thanks to Theofilos!

Adding hector to CC as he voted for the bug and might be interested that it's fixed now.  I hope that's in his interest.

http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/kdbg/ChangeLog?view=log