Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172959 - kde-base/kdelibs-3.5.6-r5 fails with USE=branding
Summary: kde-base/kdelibs-3.5.6-r5 fails with USE=branding
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-01 02:11 UTC by Bo Ørsted Andresen (RETIRED)
Modified: 2010-07-27 13:38 UTC (History)
2 users (show)

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


Attachments
Fix. (fix_branding.patch,643 bytes, patch)
2007-04-01 13:15 UTC, Bo Ørsted Andresen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-04-01 02:11:14 UTC
/patches/kdelibs_3.5-cattlebrand.diff declares gentoo_append and then goes ahead and uses debian_append (which in turn is undeclared). Hence src_compile fails...

/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./.. -I../../kdecore/network -I./../kssl -I../kssl -I./../../interfaces  -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   -D_LARGEFILE64_SOURCE -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 -fno-builtin -g3 -fno-inline -march=pentium-m -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o kprotocolmanager.lo kprotocolmanager.cpp
/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./.. -I../../kdecore/network -I./../kssl -I../kssl -I./../../interfaces  -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   -D_LARGEFILE64_SOURCE -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 -fno-builtin -g3 -fno-inline -march=pentium-m -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o slave.lo slave.cpp
kprotocolmanager.cpp: In static member function 'static QString KProtocolManager::defaultUserAgent(const QString&)':
kprotocolmanager.cpp:460: error: 'debian_append' was not declared in this scope
kprotocolmanager.cpp:491: error: 'debian_append' was not declared in this scope
kprotocolmanager.cpp:453: warning: unused variable 'gentoo_append'
make[3]: *** [kprotocolmanager.lo] Error 1
Comment 1 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-04-01 02:11:48 UTC
Portage 2.1.2.3 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.19-suspend2-r3 i686)
=================================================================
System uname: 2.6.19-suspend2-r3 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.9
Timestamp of tree: Sat, 31 Mar 2007 23:00:08 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
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.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe -ggdb3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /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/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -Os -pipe -ggdb3"
DISTDIR="/opt/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict test userfetch userpriv"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
LANG="en_GB.utf8"
LINGUAS="da en en_GB"
MAKEOPTS="-j2"
PKGDIR="/opt/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60"
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="/var/repositories/gentoo"
PORTDIR_OVERLAY="/var/repositories/portage /var/repositories/wgetpaste /var/repositories/paludis-extras /var/repositories/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi aiglx alsa asf avahi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups dri dvd dvdr emboss encode fam fat fbcon ffmpeg firefox flac fortran gdbm gif gnokii gphoto2 gpm hal i8x0 iconv ieee1394 imagemagick irda irmc isdnlog jfs jpeg kcal kde kdehiddenvisibility lcd libg++ lm_sensors logitech-mouse mad midi mikmod mmx mmxext mp3 mpeg mplayer msn musicbrainz ncurses network nls nptl nptlonly nsplugin ntfs ogg opengl paludis paludis_hooks_eselect pam pcre pdf perl png ppds pppd python qt3 quicktime rdesktop readline real reflection reiser4 reiserfs ruby scanner sdl session slp sms spell spl sse sse2 ssl subversion svg svga syslog tcpd test tetex tiff truetype truetype-fonts type1-fonts unicode usb vcd vim vim-syntax vorbis wifi win32codecs x86 xcomposite xfs xine xml xorg xscreensaver xv xvid 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da en en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev fglrx i810 radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-04-01 08:41:11 UTC
The problem is caused by the kdelibs_3.5-cattlebrand.diff patch.

Whilst the kdelibs tarball isn't updated, you can emerge kdelibs with:

ebuild /usr/portage/kde-base/kdelibs/kdelibs-3.5.6-r5.ebuild clean
ebuild /usr/portage/kde-base/kdelibs/kdelibs-3.5.6-r5.ebuild unpack
cd /var/tmp/portage/kde-base/kdelibs-3.5.6-r5/work/kdelibs-3.5.6
patch -R ../kdelibs_3.5-cattlebrand.diff
sed s/debian_append/gentoo_append/ ../patches/kdelibs_3.5-cattlebrand.diff > ../test
patch ../test
rm ../test
ebuild /usr/portage/kde-base/kdelibs/kdelibs-3.5.6-r5.ebuild merge

That should do it.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-01 12:09:34 UTC
Oh my, didn't bother to rerun kdelibs for this triviality. Disabled it for now. Will reintroduce it with 3.5.7 or when another version bump is necessary.
Comment 4 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-04-01 13:15:55 UTC
Created attachment 115153 [details, diff]
Fix.

(In reply to comment #2)
> Whilst the kdelibs tarball isn't updated, you can emerge kdelibs with:
> [...]

Heh, I just applied this patch in the ebuild (conditionally on the branding use flag). It did compile just fine for me. :)
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-01 16:26:30 UTC
Bo, fixing the patch isn't the issue. It's just not worth issueing a new patch set or polluting cvs/rsync with this crap.
Comment 6 Bo Ørsted Andresen (RETIRED) gentoo-dev 2007-04-01 17:45:00 UTC
(In reply to comment #5)
> Bo, fixing the patch isn't the issue. It's just not worth issueing a new
> patch set or polluting cvs/rsync with this crap.

Well, I can understand that. That's why I didn't make it a reply to your comment.. and why I didn't reopen.. ;)