Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 155684

Summary: kdelibs-3.5.5-r6 fails to build
Product: Gentoo Linux Reporter: Jorg Pitts <jorgpitts>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jorg Pitts 2006-11-19 09:01:18 UTC
Calculating dependencies... done!
[ebuild     U ] kde-base/kdelibs-3.5.5-r6 [3.5.5-r5] USE="acl* alsa arts cups fam jpeg2k kerberos lua* openexr* spell ssl tiff utempter* -avahi% -debug -doc -kdeenablefinal -kdehiddenvisibility -legacyssl -xinerama -zeroconf" LINGUAS="-he" 0 kB

I compiled with and without avahi, does the same error

/usr/qt/3/bin/moc ./remoteservice.h -o remoteservice.moc
/bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kdecore -I../kio/kssl -I../kjs -I.. -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdecore/network -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -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  -c -o remoteservice.lo remoteservice.cpp
remoteservice.cpp: In member function 'void DNSSD::RemoteService::resolveAsync()':
remoteservice.cpp:105: error: invalid conversion from 'void (*)(_DNSServiceRef_t*, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const char*, void*)' to 'void (*)(_DNSServiceRef_t*, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const unsigned char*, void*)'
remoteservice.cpp:105: error:   initializing argument 7 of 'DNSServiceErrorType DNSServiceResolve(_DNSServiceRef_t**, DNSServiceFlags, uint32_t, const char*, const char*, const char*, void (*)(_DNSServiceRef_t*, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const unsigned char*, void*), void*)'
make[2]: *** [remoteservice.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.5-r6/work/kdelibs-3.5.5/dnssd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.5-r6/work/kdelibs-3.5.5'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.5.5-r6 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  kdelibs-3.5.5-r6.ebuild, line 142:   Called kde_src_compile
  kde.eclass, line 172:   Called kde_src_compile 'all'
  kde.eclass, line 342:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 338:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.


Here is my info

Portage 2.1.2_rc2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.6
Last Sync: Sun, 19 Nov 2006 11:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo"
LINGUAS="en_GB"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aalib aim alsa apache2 apm arts asf audiofile avahi avi berkdb bitmap-fonts bzip2 cario cdparanoia cdr cli cracklib crypt cups curl dbus directfb dlloader dri dv dvd dvdr dvdread eds elibc_glibc emacs emboss encode esd exif expat fam fbcon ffmpeg flac foomaticdb fortran freetype ftp gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv imagemagick imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jpeg jpeg2k kde kerberos kernel_linux lcms libcaca libg++ libnotify libsexy libwww linguas_en_GB lm_sensor mad maildir mbox mikmod mmx mng motif mp3 mpeg musepack mysql nas ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl php png ppds pppd python qt qt3 quicktime readline real reflection ruby samba sasl scanner sdl session sndfile soap sox speex spell spl sqlite sse ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_fbdev video_cards_radeon video_cards_vesa video_cards_vga video_cards_vmware vorbis win32codecs xine xml xml2 xmlrpc xorg xosd xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-19 09:57:00 UTC

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