<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>187318</bug_id>
          
          <creation_ts>2007-08-01 02:31 0000</creation_ts>
          <short_desc>dev-util/kdesvn-0.12.1 fails with --as-needed</short_desc>
          <delta_ts>2008-01-19 19:37:51 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>129413</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>steffen@hauihau.de</reporter>
          <assigned_to>george@gentoo.org</assigned_to>
          <cc>bug.hunter@gmx.net</cc>
    
    <cc>dev-tools@gentoo.org</cc>
    
    <cc>gentoo@chlhp.de</cc>
    
    <cc>kde@gentoo.org</cc>
    
    <cc>thoward1120@comcast.net</cc>
    
    <cc>zzam@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>steffen@hauihau.de</who>
            <bug_when>2007-08-01 02:31:18 0000</bug_when>
            <thetext>kdesvn failes to compile with LDFLAGS --as-needed.

[snip]
CMakeFiles/svnqt.dir/datetime.o: In function `svn::DateTime::SetRFC822Date(char const*)&apos;:
datetime.cpp:(.text+0x3c1): undefined reference to `apr_date_parse_rfc&apos;
collect2: ld returned 1 exit status
make[2]: *** [lib/libsvnqt.so.3.1.2] Error 1
make[1]: *** [src/svnqt/CMakeFiles/svnqt.dir/all] Error 2
[snip]

Reproducible: Always

Steps to Reproduce:
1. just emerge kdesvn-0.12.1 with LDFLAGS=&quot;-Wl,--as-needed&quot;




emerge --info
Portage 2.1.3_rc9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6-r0, 2.6.22.1 i686)
=================================================================
System uname: 2.6.22.1 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 31 Jul 2007 15:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium-m -O2 -msse3 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-march=pentium-m -O2 -msse3 -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ &quot;
LANG=&quot;de_DE.utf8&quot;
LC_ALL=&quot;de_DE.utf8&quot;
LDFLAGS=&quot;-Wl,-O1 -Wl,--as-needed -Wl,-znow -Wl,--sort-common -s&quot;
LINGUAS=&quot;de&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--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-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/portage/local/layman/xeffects&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X aac aalib accessibility acl acpi alsa apache2 arts bash-completion berkdb bidi bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli cpudetection cracklib crypt ctype cups curl dbus dedicated dga directfb dri dts dvd dvdr dvdread encode esd exif ffmpeg firefox flac foomaticdb fortran ftp gcj gdbm gif glitz glut gnutls gtk gtk2 hal iconv ieee1394 imagemagick imap imlib innodb ipod ipv6 java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms ldap libcaca libg++ libsamplerate lirc mad midi mikmod mmap mmx mng mono mp3 mpeg mplayer mudflap musepack musicbrainz mysql ncurses nls nnptl noseamonkey nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pcmcia pcre pdf perl php png posix ppds python qt3 qt4 quicktime readline real reflection rtc samba sasl sdl session sndfile snmp sockets spell spl splugin sqlite sse sse2 ssl svg symlink tcl tcpd theora threads tiff tk truetype truetype-fonts type1-fonts unicode usb userlocales vcd visualization vorbis win32codecs x264 x86 xcomposite xine xinerama xml xorg xosd xpm xscreensaver xv xvid zlib&quot; ALSA_CARDS=&quot;hda-intel&quot; ALSA_PCM_PLUGINS=&quot;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&quot; CAMERAS=&quot;canon casio fuji kodak konica minolta mustek panasonic samsung sonydscf1 sonydscf55 toshiba&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse synaptics&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;de&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;fglrx radeon vesa&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thoward1120@comcast.net</who>
            <bug_when>2007-08-12 02:04:37 0000</bug_when>
            <thetext>No trouble here on amd64.  Judging by the output posted, this comes from having the apache2 USE flag enabled:

&quot;undefined reference to `apr_date_parse_rfc&apos;&quot;

emerge --info anyway:

Portage 2.1.3.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.21-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.21-gentoo-r4 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 11 Aug 2007 22:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
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.50.0.18
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=nocona -O2 -pipe -fomit-frame-pointer -msse3 -ftracer -fweb -frename-registers&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;  
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/service&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-march=nocona -O2 -pipe -fomit-frame-pointer -msse3 -ftracer -fweb -frename-registers&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
EMERGE_DEFAULT_OPTS=&quot;--with-bdeps y&quot;
FEATURES=&quot;ccache distlocks multilib-strict parallel-fetch prelink sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.tera-byte.com/ http://www.gtlib.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/&quot;
LANG=&quot;en_US.UTF-8&quot;
LC_ALL=&quot;en_US.UTF-8&quot;
LDFLAGS=&quot;-Wl,-O1,--as-needed&quot;
LINGUAS=&quot;en&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_EXTRA_OPTS=&quot;--bwlimit=30 --progress --partial --verbose&quot;
PORTAGE_RSYNC_OPTS=&quot;--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-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;   
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;X a52 aac acl acpi alsa amd64 apm arts audiofile bash-completion berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cracklib crypt cscope ctype cups curl dbus directfb doc dri dv dvd dvdr dvdread encode evo examples exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm ggi gif gnutls gphoto2 gpm gtk hal iconv idn imagemagick imlib ipv6 jack java javascript joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos lcms lesstif libsamplerate lm_sensors lzo mad matroska midi mikmod mmap mmx mng mp3 mp4 mpeg mplayer mudflap musepack ncurses nfs nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pcre pdf perl plotutils png posix ppds pppd python qt3 qt3support qt4 quicktime readline reflection scanner sdl session shorten sndfile source sox spell sqlite sse sse2 ssl svg symlink szip tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 verbose vim-syntax vorbis wavpack wmf xcb xine xml xorg xosd xscreensaver xv xvid zlib&quot; ALSA_CARDS=&quot;hda-intel&quot; ALSA_PCM_PLUGINS=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;evdev joystick keyboard linuxinput mouse ps2mouse&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;en&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;i810&quot;
Unset:  CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2007-08-13 20:30:23 0000</bug_when>
            <thetext>I can confirm that the compilation fails:

Linking CXX shared library ../../lib/libsvnqt.so
CMakeFiles/svnqt.dir/datetime.o: In function `svn::DateTime::SetRFC822Date(char const*)&apos;:
datetime.cpp:(.text+0x3b1): undefined reference to `apr_date_parse_rfc&apos;



# emerge --info
Portage 2.1.3.5 (default-linux/x86/2006.1, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r1 i686)
=================================================================
System uname: 2.6.22-gentoo-r1 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 13 Aug 2007 16:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=prescott -mfpmath=sse -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/www/localhost/htdocs&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-O2 -march=prescott -mfpmath=sse -pipe&quot;
DISTDIR=&quot;/mnt/D/distfiles&quot;
FEATURES=&quot;distlocks sandbox sfperms strict unmerge-orphans userfetch&quot;
GENTOO_MIRRORS=&quot;http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo&quot;
LANG=&quot;de_DE@euro&quot;
LC_ALL=&quot;de_DE@euro&quot;
LDFLAGS=&quot;-Wl,-O1 -Wl,-z,now -Wl,--as-needed&quot;
LINGUAS=&quot;de en&quot;
MAKEOPTS=&quot;-j6&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_EXTRA_OPTS=&quot;--exclude-from=/etc/portage/rsync_excludes&quot;
PORTAGE_RSYNC_OPTS=&quot;--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-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/portage/local/layman/lila-theme /usr/portage/local/layman/zugaina /usr/portage/local/layman/sunrise /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/xwing /usr/portage/local/layman/vmware /usr/local/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;X aac acpi alsa arts bash-completion berkdb bitmap-fonts branding bzip2 cairo cdinstall cdparanoia cdr cli cracklib crypt cups d dbus doc dri dts dv dvd dvdr dvdread encode exif expat fbcon ffmpeg fuse gdbm gif glut gmp gphoto2 gpm hal iconv idn imagemagick ipv6 isdnlog java jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lm_sensors mad matroska midi mmx mng mp3 mudflap musepack mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl pertty png ppds pppd python qt3 qt4 rdesktop readline reflection samba sasl scanner sdl session slang source spl sqlite sqlite3 sse sse2 ssl svga tcpd theora threads tiff truetype truetype-fonts type1-fonts usb vcd vim-syntax vorbis win32codecs x86 xine xml xorg xprint xv xvid xvmc zlib&quot; ALSA_CARDS=&quot;emu10k1 hda-intel&quot; ALSA_PCM_PLUGINS=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;de en&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;v4l nvidia nv&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@chlhp.de</who>
            <bug_when>2007-09-29 09:59:07 0000</bug_when>
            <thetext>Anything new here? The ebuild still fails.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>drizzt@gentoo.org</who>
            <bug_when>2007-10-19 08:50:37 0000</bug_when>
            <thetext>Works for me :) (with ~ system)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>steffen@hauihau.de</who>
            <bug_when>2007-10-19 09:52:53 0000</bug_when>
            <thetext>Also fails with kdesvn-0.13.0, same error as in my first post.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>krissn@op.pl</who>
            <bug_when>2007-12-28 13:45:02 0000</bug_when>
            <thetext>Also fails with kdesvn-0.14.1. Compiled fine previously, but started failing after running emerge --depclean, which removed apr-0.9.12 and apr-utils-0.9.12-r1.

Error message is the same as in previous cases.

# emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-tuxonice-r5 x86_64)
=================================================================
System uname: 2.6.23-tuxonice-r5 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Fri, 28 Dec 2007 10:46:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
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.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.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS=&quot;amd64&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-Os -pipe -march=nocona -fno-ident&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /lib/initng/scripts /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d&quot;
CXXFLAGS=&quot;-Os -pipe -march=nocona -fno-ident&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch&quot;
GENTOO_MIRRORS=&quot;http://src.gentoo.pl http://gentoo.po.opole.pl&quot;
LANG=&quot;pl_PL&quot;
LC_ALL=&quot;pl_PL.UTF-8&quot;
LDFLAGS=&quot;-Wl,--as-needed -Wl,--hash-style=both -Wl,-O1&quot;
LINGUAS=&quot;pl&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--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-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/portage/local/layman/initng /usr/portage/local/layman/hanno-xgl /usr/portage/local/layman/arcon-portage /usr/portage/local/layman/xeffects /usr/portage/local/layman/custom-kernels /usr/local/portage /usr/portage/local/minefield&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;X a52 aac acpi alsa amd64 amr apache2 arts bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cddb cdr cli crypt css cups dbus divx dri dts dvb dvd dvdr dvdread eds emacs emboss emerald encode esd evo exif fam fbcon fbsplash ffmpeg firefox flac fortran gif gimp glitz gmedia gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kipi lzo mad matroska midi mikmod mmap mmx mmxext mp3 mpeg mudflap musepack mysql ncurses newspr nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline realmedia reflection rtc samba sdl session skey slang smp spell spl splash sse sse2 ssl ssse3 subversion svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd vorbis webdav wifi wma wmf wmp x264 xcomposite xforms xinerama xml xorg xv xvid xvmc zlib&quot; ALSA_CARDS=&quot;hda-intel usb-audio&quot; ALSA_PCM_PLUGINS=&quot;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&quot; APACHE2_MODULES=&quot;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&quot; ELIBC=&quot;glibc&quot; INITNG_PLUGINS=&quot;also bash_launcher chdir chroot conflict cpout critical ctrlaltdel debug_commands fmon fstat initctl interactive last limit logfile lockfile netdev netprobe idleprobe ngc4 nge pause provide reload renice simple_launcher stcmd stdout suid syncron syslog sysreq unneeded iparser envparser rlparser splash&quot; INPUT_DEVICES=&quot;evdev keyboard mouse synaptics&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;pl&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;vesa nv nvidia&quot;
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>krissn@op.pl</who>
            <bug_when>2007-12-30 20:24:28 0000</bug_when>
            <thetext>Created an attachment (id=139669)
/tmp/kdesvn/kdesvn-0.14.1-as-needed.patch

This patch fixes the build for me.

Patch reported upstream (http://kdesvn.alwins-world.de/ticket/246)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>steffen@hauihau.de</who>
            <bug_when>2007-12-30 20:41:35 0000</bug_when>
            <thetext>I can confirm this. With the attachted patch the build works fine for me. So is it possible to integrate this patch into portage?

Greets,
Steffen</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>philantrop@gentoo.org</who>
            <bug_when>2008-01-07 06:45:53 0000</bug_when>
            <thetext>I only now realised this is not kde herd&apos;s package. Sorry, George!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2008-01-19 19:34:08 0000</bug_when>
            <thetext>Hm, I could not reproduce the bug here, even with both apr and apr-util recompiled with --as-needed. Nonetheless I applied the patch to the current version (0.14.1), enjoy!


Actually, this is the 2nd --as-needed issue with this package. Looking at the timescale of this bug it is possible that the original issue concerned that first failure. Anyway, should be fine (again) now.

Krzysztof: thanks for the suggested fix. Just one note. With that prewious issue I also opened an issue on kdesvn website, but it was lagging in there for a few month and only was processed when I sent an email to the kdesvn mailing list. Just keep in mind, if the issue is not resolved in a while ;).

Closing the bug now.

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2008-01-19 19:37:51 0000</bug_when>
            <thetext>Um, actually closing the bug this time.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>139669</attachid>
            <date>2007-12-30 20:24 0000</date>
            <desc>kdesvn-0.14.1-as-needed.patch</desc>
            <filename>kdesvn-0.14.1-as-needed.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTmF1ciBrZGVzdm4tMC4xNC4xL3NyYy9zdm5xdC9DTWFrZUxpc3RzLnR4dCBrZGVzdm4t
MC4xNC4xLm5ldy9zcmMvc3ZucXQvQ01ha2VMaXN0cy50eHQKLS0tIGtkZXN2bi0wLjE0LjEvc3Jj
L3N2bnF0L0NNYWtlTGlzdHMudHh0CTIwMDctMDgtMzEgMTY6MjQ6MjguMDAwMDAwMDAwICswMjAw
CisrKyBrZGVzdm4tMC4xNC4xLm5ldy9zcmMvc3ZucXQvQ01ha2VMaXN0cy50eHQJMjAwNy0xMi0z
MCAyMDo1MjoxOS4wMDAwMDAwMDAgKzAxMDAKQEAgLTEzMiw3ICsxMzIsNyBAQAogU0VUKEFMTF9M
SU5LRkxBR1MgJHtBUFJfRVhUUkFfTElCRkxBR1N9KQogU0VUKEFMTF9MSU5LRkxBR1MgIiR7QUxM
X0xJTktGTEFHU30gJHtBUFVfRVhUUkFfTElCRkxBR1N9IikKIFNFVF9UQVJHRVRfUFJPUEVSVElF
Uygke3N2bnF0LW5hbWV9IFBST1BFUlRJRVMgTElOS19GTEFHUyAiJHtBTExfTElOS0ZMQUdTfSAk
e0xJTktfTk9fVU5ERUZJTkVEfSIpCi1UQVJHRVRfTElOS19MSUJSQVJJRVMoJHtzdm5xdC1uYW1l
fSAke1FUX0xJQlJBUklFU30gJHtTVUJWRVJTSU9OX0FMTF9MSUJTfSkKK1RBUkdFVF9MSU5LX0xJ
QlJBUklFUygke3N2bnF0LW5hbWV9ICR7UVRfTElCUkFSSUVTfSAke1NVQlZFUlNJT05fQUxMX0xJ
QlN9ICR7QVBSX0xJQlN9ICR7QVBVX0xJQlN9KQogCiBJRiAoV0lOMzIpCiAgICAgVEFSR0VUX0xJ
TktfTElCUkFSSUVTKCAke3N2bnF0LW5hbWV9IHdzb2NrMzIubGliICApCmRpZmYgLU5hdXIga2Rl
c3ZuLTAuMTQuMS9zcmMvc3ZucXQvY21ha2Vtb2R1bGVzL0ZpbmRTdWJ2ZXJzaW9uLmNtYWtlIGtk
ZXN2bi0wLjE0LjEubmV3L3NyYy9zdm5xdC9jbWFrZW1vZHVsZXMvRmluZFN1YnZlcnNpb24uY21h
a2UKLS0tIGtkZXN2bi0wLjE0LjEvc3JjL3N2bnF0L2NtYWtlbW9kdWxlcy9GaW5kU3VidmVyc2lv
bi5jbWFrZQkyMDA3LTA2LTExIDEzOjQzOjMzLjAwMDAwMDAwMCArMDIwMAorKysga2Rlc3ZuLTAu
MTQuMS5uZXcvc3JjL3N2bnF0L2NtYWtlbW9kdWxlcy9GaW5kU3VidmVyc2lvbi5jbWFrZQkyMDA3
LTEyLTMwIDIwOjUyOjAwLjAwMDAwMDAwMCArMDEwMApAQCAtNjQsNiArNjQsOSBAQAogICBFWEVD
X1BST0dSQU0oJHtBUFJfQ09ORklHfSBBUkdTICItLWxkZmxhZ3MgLS1saWJzIC0tbGluay1sZCIg
T1VUUFVUX1ZBUklBQkxFIEFQUl9FWFRSQV9MSUJGTEFHUykKICAgRVhFQ19QUk9HUkFNKCR7QVBV
X0NPTkZJR30gQVJHUyAiLS1sZGZsYWdzIC0tbGlicyAtLWxpbmstbGQiIE9VVFBVVF9WQVJJQUJM
RSBBUFVfRVhUUkFfTElCRkxBR1MpCiAKKyAgRVhFQ19QUk9HUkFNKCR7QVBSX0NPTkZJR30gQVJH
UyAiLS1saW5rLWxkIiBPVVRQVVRfVkFSSUFCTEUgQVBSX0xJQlMpCisgIEVYRUNfUFJPR1JBTSgk
e0FQVV9DT05GSUd9IEFSR1MgIi0tbGluay1sZCIgT1VUUFVUX1ZBUklBQkxFIEFQVV9MSUJTKQor
CiBFTkRJRiAoVU5JWCkKIAogI3NlYXJjaCBsaWJhcmllcyBmb3IgV2luZG93cwo=
</data>        

          </attachment>
    </bug>

</bugzilla>