Bug 154985 - crash on compilation with gentoo ebuilds
Summary: crash on compilation with gentoo ebuilds
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdecore (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-02 20:07 UTC by Pryan
Modified: 2008-01-02 21:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pryan 2008-01-02 20:07:58 UTC
Version:           kdelibs-3.97.0 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc versión 4.2.2 (Gentoo 4.2.2 p1.0) 
OS:                Linux

when i execute ebuild /usr/portage/local/layman/kde/kde-base/kdelibs/kdelibs-9999.4.ebuild merge it crashes on compilation


[ 92%] Generating kcm_crypto_automoc.cpp
Scanning dependencies of target kcm_crypto
Linking CXX executable testkateregression
/usr/lib/qt4/libQt3Support.so: undefined reference to `QSqlRecord::fieldPtr(QString const&) const'
/usr/lib/qt4/libQt3Support.so: undefined reference to `QSqlRecord::fieldPtr(int) const'
/usr/lib/qt4/libQt3Support.so: undefined reference to `QSqlIndex::toStringList(QString const&, bool) const'
/usr/lib/qt4/libQt3Support.so: undefined reference to `QSqlIndex::toString(QString const&, QString const&, bool) const'
collect2: ld devolvió el estado de salida 1
make[2]: *** [kate/testkateregression] Error 1
make[1]: *** [kate/CMakeFiles/testkateregression.dir/all] Error 2
make[1]: *** Se espera a que terminen otras tareas....
[ 93%] Building CXX object security/crypto/CMakeFiles/kcm_crypto.dir/kcm_crypto_automoc.o
[ 93%] Building CXX object security/crypto/CMakeFiles/kcm_crypto.dir/crypto.o
[ 93%] Building CXX object security/crypto/CMakeFiles/kcm_crypto.dir/certexport.o
[ 93%] Building CXX object security/crypto/CMakeFiles/kcm_crypto.dir/kdatetimedlg.o
/var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/security/crypto/crypto.cpp:1336: aviso: parámetro 'id' sin uso
Linking CXX shared module ../../lib/kcm_crypto.so
[ 93%] Built target kcm_crypto
make: *** [all] Error 2


Pryan windows # emerge --info
Portage 2.1.4_rc11 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.23 i686)
=================================================================
System uname: 2.6.23 i686 AMD Sempron(tm) Processor 3000+
Timestamp of tree: Wed, 02 Jan 2008 15:00:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.3-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
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.7.9-r1, 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-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp.udc.es/gentoo/ ftp://ftp.udc.es/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://212.219.56.133/sites/www.ibiblio.org/gentoo/"
LANG="es"
LC_ALL="es_ES@euro"
LINGUAS="es"
MAKEOPTS="-j2"
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/layman/kde /usr/portage/local/layman/pda"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups dbus dhcp dri fbcon fortran gdbm gif gpm gtk iconv ipv6 isdnlog java jpeg jpeg2k kqemu lm_sensors midi mp3 mudflap mysql ncurses nls nptl nptlonly nvidia opengl openmp oss pam pcre perl png pppd python readline reflection sdl session spl ssl tcl tcpd tiff truetype-fonts type1-fonts unicode x86 xorg 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pino Toscano 2008-01-02 20:11:29 UTC
> /usr/lib/qt4/libQt3Support.so: undefined reference to `QSqlRecord::fieldPtr(QString const&) const'

Go reporting the problem to gentoo, as it does not compile Qt4 (Qt3Support in the case) properly.
Comment 2 Dennis Nienhüser 2008-01-02 21:50:29 UTC
Please don't report the problem to Gentoo as the ebuild is from an overlay. revdep-rebuild probably fixes your problem, if not, please use genkdesvn's support as outlined in their Documentation:

SUPPORT:
On IRC - Channel #genkdesvn on irc.freenode.net
On the Gentoo Forums - http://tinyurl.com/3a9awh, http://forums.gentoo.org/viewtopic-t-530111.html (Part 1)
Through the Genkdesvn project bugtracker - See http://genkdesvn.sourceforge.net/

Please stop using the ebuild executable like you did, emerge is what you want. See the Portage documentation if you want to skip certain phases like overwriting files on unpacking or cleaning the environment.