Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253519 - kde-base/kdebase-3.5.9-r3 fails to compile
Summary: kde-base/kdebase-3.5.9-r3 fails to compile
Status: RESOLVED DUPLICATE of bug 199856
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 07:23 UTC by Robert Hughes
Modified: 2009-01-19 15: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 Robert Hughes 2009-01-03 07:23:09 UTC
Emerged kde - compile fails

Reproducible: Always

Steps to Reproduce:
1.emerge kde
2.
3.

Actual Results:  
Make fails

Expected Results:  
Compile successfully
Comment 1 Robert Hughes 2009-01-03 07:25:09 UTC
Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5
Timestamp of tree: Fri, 02 Jan 2009 03:20:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.23-r3
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/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/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo "
LANG="C"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avahi berkdb bzip2 cdr cli cracklib crypt cups dbus directfb divx dri dvd ffmpeg flac fortran gdbm gif gnome gnutls gpm gtk hal iconv isdnlog jack java jpeg kde ldap midi mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt3 qt4 quicktime readline reflection samba session spl sse sse2 ssl sysfs tcpd tiff truetype unicode vcd xorg zlib" ALSA_CARDS="hda-intel" 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="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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Robert Hughes 2009-01-03 07:41:42 UTC
/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=nocona -O2 -pipe -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 -D_GNU_SOURCE   -Wl,-O1 -o ksysguard -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 SensorBrowser.o WorkSheet.o WorkSheetSettings.o Workspace.o ksysguard.o ksysguard_skel.o ksgrd/libksgrd.la SensorDisplayLib/libsensordisplays.la -lkdeui -lkio -lkdnssd 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkdnssd
collect2: ld returned 1 exit status
make[4]: *** [ksysguard] Error 1
make[4]: Leaving directory `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9/ksysguard/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9/ksysguard/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9/ksysguard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9'
make: *** [all] Error 2
 ESC[31;01m*ESC[0m 
 ESC[31;01m*ESC[0m ERROR: kde-base/kdebase-3.5.9-r3 failed.
 ESC[31;01m*ESC[0m Call stack:
 ESC[31;01m*ESC[0m               ebuild.sh, line   49:  Called src_compile
 ESC[31;01m*ESC[0m             environment, line 4223:  Called kde_src_compile
 ESC[31;01m*ESC[0m             environment, line 2990:  Called kde_src_compile 'all'
 ESC[31;01m*ESC[0m             environment, line 3115:  Called kde_src_compile 'myconf' 'configure' 'make'
 ESC[31;01m*ESC[0m             environment, line 3111:  Called die
 ESC[31;01m*ESC[0m The specific snippet of code:
 ESC[31;01m*ESC[0m                   emake || die "died running emake, $FUNCNAME:make"
 ESC[31;01m*ESC[0m  The die message:
 ESC[31;01m*ESC[0m   died running emake, kde_src_compile:make
 ESC[31;01m*ESC[0m 
 ESC[31;01m*ESC[0m If you need support, post the topmost build error, and the call stack if relevant.
 ESC[31;01m*ESC[0m A complete build log is located at '/var/tmp/portage/kde-base/kdebase-3.5.9-r3/temp/build.log'.
 ESC[31;01m*ESC[0m The ebuild environment file is located at '/var/tmp/portage/kde-base/kdebase-3.5.9-r3/temp/environment'.
 ESC[31;01m*ESC[0m 
Comment 3 Juanlu Pérez 2009-01-19 02:47:51 UTC
I have one more error related with kdebase package.

/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=athlon64 -O2 -pipe -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 -D_GNU_SOURCE   -Wl,-O1 -o ksysguard -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 SensorBrowser.o WorkSheet.o WorkSheetSettings.o Workspace.o ksysguard.o ksysguard_skel.o ksgrd/libksgrd.la SensorDisplayLib/libsensordisplays.la -lkdeui -lkio -lkdnssd 
libtool: link: cannot find the library `/usr/lib64/libavahi-qt3.la'
make[4]: *** [ksysguard] Error 1
make[4]: *** Se espera a que terminen otras tareas....
make[4]: se sale del directorio `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9/ksysguard/gui'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9/ksysguard/gui'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9/ksysguard'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9'
make: *** [all] Error 2


kde-base/kdebase should depend on kde-misc/kdnssd-avahi, which needs net-dns/avahi to be rebuilt with the "qt3" and "dbus" USE flags. Or kde-base/kdebase should check whether net-dns/avahi was built with the "qt3" USE flags.

I rebuilt net-dns/avahi with "qt3" USE flag and and kde-base/kdebase emerged. I already had "dbus" USE flag for this package.

(In reply to comment #0)
> Emerged kde - compile fails
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.emerge kde
> 2.
> 3.
> 
> Actual Results:  
> Make fails
> 
> Expected Results:  
> Compile successfully
> 

Comment 4 Juanlu Pérez 2009-01-19 02:54:34 UTC
kde-base/kdebase should check if kdnssd is installed.

(In reply to comment #2)
> /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=nocona -O2 -pipe -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 -D_GNU_SOURCE   -Wl,-O1 -o ksysguard -L/usr/kde/3.5/lib64
> -L/usr/qt/3/lib64 -L/usr/lib64    -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64
> -R /usr/qt/3/lib64 -R /usr/lib64 SensorBrowser.o WorkSheet.o
> WorkSheetSettings.o Workspace.o ksysguard.o ksysguard_skel.o ksgrd/libksgrd.la
> SensorDisplayLib/libsensordisplays.la -lkdeui -lkio -lkdnssd 
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
> cannot find -lkdnssd
> collect2: ld returned 1 exit status
> make[4]: *** [ksysguard] Error 1
> make[4]: Leaving directory
> `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9/ksysguard/gui'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9/ksysguard/gui'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9/ksysguard'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/kde-base/kdebase-3.5.9-r3/work/kdebase-3.5.9'
> make: *** [all] Error 2
>  ESC[31;01m*ESC[0m 
>  ESC[31;01m*ESC[0m ERROR: kde-base/kdebase-3.5.9-r3 failed.
>  ESC[31;01m*ESC[0m Call stack:
>  ESC[31;01m*ESC[0m               ebuild.sh, line   49:  Called src_compile
>  ESC[31;01m*ESC[0m             environment, line 4223:  Called kde_src_compile
>  ESC[31;01m*ESC[0m             environment, line 2990:  Called kde_src_compile
> 'all'
>  ESC[31;01m*ESC[0m             environment, line 3115:  Called kde_src_compile
> 'myconf' 'configure' 'make'
>  ESC[31;01m*ESC[0m             environment, line 3111:  Called die
>  ESC[31;01m*ESC[0m The specific snippet of code:
>  ESC[31;01m*ESC[0m                   emake || die "died running emake,
> $FUNCNAME:make"
>  ESC[31;01m*ESC[0m  The die message:
>  ESC[31;01m*ESC[0m   died running emake, kde_src_compile:make
>  ESC[31;01m*ESC[0m 
>  ESC[31;01m*ESC[0m If you need support, post the topmost build error, and the
> call stack if relevant.
>  ESC[31;01m*ESC[0m A complete build log is located at
> '/var/tmp/portage/kde-base/kdebase-3.5.9-r3/temp/build.log'.
>  ESC[31;01m*ESC[0m The ebuild environment file is located at
> '/var/tmp/portage/kde-base/kdebase-3.5.9-r3/temp/environment'.
>  ESC[31;01m*ESC[0m 
> 

Comment 5 Timo Gurr (RETIRED) gentoo-dev 2009-01-19 15:55:00 UTC

*** This bug has been marked as a duplicate of bug 199856 ***