Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169289 - kde-base/kdesdk{,-kioslaves} cannot find Subversion libraries with dev-libs/apr-1.2.8
Summary: kde-base/kdesdk{,-kioslaves} cannot find Subversion libraries with dev-libs/a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 181271 182829 (view as bug list)
Depends on: 167522
Blocks:
  Show dependency tree
 
Reported: 2007-03-04 14:29 UTC by Davide Pesavento
Modified: 2007-07-15 23:10 UTC (History)
9 users (show)

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


Attachments
${FILESDIR}/kdesdk-3.5.6-apr-1.patch (kdesdk-3.5.6-apr-1.patch,2.67 KB, patch)
2007-03-17 01:11 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
${FILESDIR}/kdesdk-kioslaves-3.5.6-apr-1.patch (kdesdk-kioslaves-3.5.6-apr-1.patch,2.13 KB, patch)
2007-03-17 01:14 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
kdesdk-3.5.6_ebuilds.patch (kdesdk-3.5.6_ebuilds.patch,479 bytes, patch)
2007-03-17 01:23 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
Single combined patch (_kdesdk-3.5.6.patch,8.08 KB, patch)
2007-03-17 19:28 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
Patch to 3.5.5 and 3.5.6 (kdesdk-3.5.5+3.5.6.patch,8.56 KB, patch)
2007-03-25 16:40 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
Updated patch to 3.5.5 and 3.5.6 (kdesdk-3.5.5+3.5.6.patch,8.65 KB, patch)
2007-04-28 22:50 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
Updated patch to 3.5.6-r1 and 3.5.7 (kdesdk.patch,5.38 KB, patch)
2007-05-27 18:10 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
Updated patch to 3.5.6-r1 and 3.5.7 (kdesdk.patch,5.29 KB, patch)
2007-06-22 17:08 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
Updated patch to 3.5.6-r1 and 3.5.7 (kdesdk.patch,5.43 KB, patch)
2007-06-23 16:58 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Pesavento gentoo-dev 2007-03-04 14:29:16 UTC
The problem reported by kdesdk-kioslaves configure script is the following:

checking for APR... ./configure: line 33303: apr-config: command not found
./configure: line 33303: /usr/local/apr/bin/apr-config: No such file or directory
found
./configure: line 33318: /usr/local/apr/bin/apr-config: No such file or directory
./configure: line 33319: /usr/local/apr/bin/apr-config: No such file or directory
./configure: line 33320: /usr/local/apr/bin/apr-config: No such file or directory
checking for APR util... ./configure: line 33338: apu-config: command not found
./configure: line 33338: /usr/local/apr/bin/apu-config: No such file or directory
not found
./configure: line 33351: --includes: command not found
./configure: line 33352: --link-ld: command not found
checking for Subversion svn-config... not found
checking for Subversion headers... found
checking for Subversion libraries... found
checking if kioslave should be compiled... yes
configure: creating ./config.status
wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1244.
config.status: creating Makefile
config.status: creating kioslave/Makefile
config.status: creating kioslave/svn/Makefile
config.status: creating kioslave/svn/icons/Makefile
config.status: creating kioslave/svn/ksvnd/Makefile
config.status: creating kioslave/svn/svnhelper/Makefile
config.status: creating config.h
config.status: executing depfiles commands

You're missing Subversion libraries (1.x)
KDE will not be able to browse Subversion repositories without it,
consider installing it.
Look at kioslave/svn/README for more information

Then the merging goes on but nothing gets compiled and the only installed files are:

>>> Merging kde-base/kdesdk-kioslaves-3.5.6 to /
--- /usr/
--- /usr/kde/
--- /usr/kde/3.5/
--- /usr/kde/3.5/share/
--- /usr/kde/3.5/share/doc/
--- /usr/kde/3.5/share/doc/kdesdk-kioslaves-3.5.6/
>>> /usr/kde/3.5/share/doc/kdesdk-kioslaves-3.5.6/README.bz2
--- /usr/share/
--- /usr/share/doc/

I think this is caused by dev-libs/apr-1.2.8 && dev-libs/apr-util-1.2.8. Until before portage-2.1.2.1 I had both apr-0.9.12 and apr-1.2.8 installed (in different slots), but with portage-2.1.2.1 the new `emerge --depclean` code decided to unmerge the old versions of apr and apr-util.
Maybe kdesdk-kioslaves should depend on =dev-libs/apr-util-0.9* or <dev-libs/apr-util-1.0 ?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-04 14:35:31 UTC
Re-emerge subversion and try again. This pretty sure is not a KDE bug.
Comment 2 Davide Pesavento gentoo-dev 2007-03-04 15:08:47 UTC
I had already re-emerged subversion because of dynamic linking breakage after unmerging apr-0.9.12 and apr-util-0.9.12, but the problem with kdesdk-kioslaves is still there: I am seeing the same error/warning messages as before. Reopening bug.
Comment 3 Davide Pesavento gentoo-dev 2007-03-04 15:25:58 UTC
Forgot my emerge --info...

Portage 2.1.2.1 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Sun, 04 Mar 2007 10:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
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.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -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/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.unina.it/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
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/crossdev /usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/portage/local/layman/xeffects /usr/portage/local/layman/lila-theme"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acpi alsa audiofile avahi bash-completion bitmap-fonts bzip2 cairo caps cdinstall cdparanoia cdr cli cracklib crypt cups curl curlwrappers dbus dri dts dv dvd dvdr dvdread eds emacs emboss encode exif expat fam fbcon ffmpeg fftw firefox flac fuse gd gdbm gif glut gnutls gpm gstreamer hal iconv icq ieee1394 imagemagick imlib innodb ipv6 isdnlog jabber jack java javascript jbig jpeg jpeg2k kde kdeenablefinal kdexdeltas libg++ lua mad matroska midi mikmod mmx mng mono mp3 mpeg mplayer msn mule musepack mysql mysqli ncurses nls nptl nptlonly nsplugin ocaml offensive ogg opengl oscar oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sasl sdl session slang speex spell spl sqlite sqlite3 sse sse2 ssl subversion svg svga symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs wmf x264 x86 xcb xcomposite xine xml xorg xpm xscreensaver xv xvid yahoo zeroconf zlib" ALSA_CARDS="intel8x0" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Christian Lemke 2007-03-06 09:45:23 UTC
I have the same problem with apr-1.2.8 only.


$ emerge --info
Portage 2.1.2.1 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Tue, 06 Mar 2007 00:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
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
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -mfpmath=sse -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 /var/www/localhost/htdocs"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /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"
CXXFLAGS="-O2 -march=prescott -mfpmath=sse -pipe"
DISTDIR="/mnt/D/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.tu-ilmenau.de/Mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/local/portage /usr/portage/local/layman/vmware /usr/portage/local/layman/sunrise /usr/portage/local/layman/lila-theme"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acpi alsa arts bash-completion berkdb bitmap-fonts bzip2 cairo cdinstall cdparanoia cdr cli cracklib crypt cups dbus doc dri dts 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 libg++ lm_sensors mad matroska midi mmx mng mp3 musepack mysql ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdf perl pertty png ppds pppd python qt3 qt4 readline reflection samba sasl scanner sdl session slang source spl sqlite sqlite3 sse sse2 ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts usb vcd vim-syntax vorbis win32codecs x86 xine xml xorg xprint xv xvid xvmc zlib" ALSA_CARDS="emu10k1 hda-intel" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="v4l nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-17 01:06:27 UTC
KDESDK's configure script with --with-subversion checks for apr-config and apu-config,  but apr-1.* provides apr-1-config and apu-1-config. 4 source files should be changed appropriately. apr-1.* is newer than apr-0.* so the order should be "ap[ru]-1-config ap[ru]-config /usr/local/apr/bin/ap[ru]-1-config /usr/local/apr/bin/ap[ru]-config".

I'm attaching appropriate patches.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-17 01:11:18 UTC
Created attachment 113533 [details, diff]
${FILESDIR}/kdesdk-3.5.6-apr-1.patch
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-17 01:14:32 UTC
Created attachment 113535 [details, diff]
${FILESDIR}/kdesdk-kioslaves-3.5.6-apr-1.patch
Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-17 01:23:01 UTC
Created attachment 113536 [details, diff]
kdesdk-3.5.6_ebuilds.patch
Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-17 01:27:06 UTC
I have also reported this upstream:
https://bugs.kde.org/show_bug.cgi?id=143083
Comment 10 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-17 19:28:36 UTC
Created attachment 113600 [details, diff]
Single combined patch

To apply this patch, save the attachment as /tmp/kdesdk.patch and run:
  cd /usr/portage
  patch -p0 < /tmp/kdesdk.patch
  ebuild kde-base/kdesdk/kdesdk-3.5.6.ebuild digest
  ebuild kde-base/kdesdk-kioslaves/kdesdk-kioslaves-3.5.6.ebuild digest
Comment 11 Davide Pesavento gentoo-dev 2007-03-20 11:19:13 UTC
Your patch works fine here. Please consider a revision bump for this, it is causing a major loss of functionality IMHO, and apr-1.2.8 is already stable on x86 and there is a pending stabilization request for amd64 (bug #171042).
Thanks a lot!
Comment 12 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-22 15:42:10 UTC
(In reply to comment #11)
> Please consider a revision bump for this

No need for this. Using revdep-rebuild is sufficient.

> apr-1.2.8 is already stable on x86 and there is a pending stabilization
> request for amd64 (bug #171042).

So the patch should be also applied to already stable kdesdk{,-kioslaves}-3.5.5 or  kde{,libs,sdk{,-kioslaves}} should be stabilized.
Comment 13 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-03-25 16:40:45 UTC
Created attachment 114385 [details, diff]
Patch to 3.5.5 and 3.5.6

The main patches provided by this patch are identical, the using of them was only backported to 3.5.5.
Comment 14 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-04-28 22:50:23 UTC
Created attachment 117602 [details, diff]
Updated patch to 3.5.5 and 3.5.6

(No need for re-emerging.)
Comment 15 Carsten Lohrke (RETIRED) gentoo-dev 2007-05-09 11:51:27 UTC
Please test kdesdk-kioslaves-3.5.6-r1 and close the upstream bug, if it works as it should.
Comment 16 Davide Pesavento gentoo-dev 2007-05-10 14:04:41 UTC
No, kdesdk-kioslaves-3.5.6-r1 doesn't work here. It seems that the patch is not even applied and the output of configure is the same...

I'm testing on a different machine this time:
emerge --info
Portage 2.1.2.7 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo-mactel x86_64)
=================================================================
System uname: 2.6.21-gentoo-mactel x86_64 Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz
Gentoo Base System release 2.0.0_alpha2
Timestamp of tree: Thu, 10 May 2007 12:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/                  ftp://ftp.unina.it/pub/linux/distributions/gentoo"
LANG="it_IT"
LC_ALL="it_IT"
LINGUAS="it"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi aim alsa amd64 avahi bash-completion bitmap-fonts blas bluetooth bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt curl curlwrappers dbus directfb dri dts dv dvd dvdr dvdread emboss encode evo exif expat fam fbcon ffmpeg fftw firefox flac ftp gd gdbm gif glut gnutls gpm graphviz hal iconv icq idn ieee1394 imagemagick imlib ipod ipv6 isdnlog jabber java javascript jbig jpeg jpeg2k kde kdeenablefinal kdexdeltas lapack libg++ libsamplerate lirc lm_sensors lua mad mailwrapper matroska midi mikmod mmap mmx mng mp3 mpeg mplayer msn musepack musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg opengl oscar oss pam pcmcia pcre pdf perl plotutils png posix pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sasl sdl session slang sndfile snmp sockets socks5 speex spell spl sqlite sqlite3 sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis wifi wmf x264 xcomposite xine xinerama xml xorg xpm xv xvid yahoo 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="inputlirc sir" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 17 Christian Lemke 2007-05-10 15:57:42 UTC
For me the new release do not work, too.
I get the following errors after checking the archive:

 * checking kdesdk-3.5.6.tar.bz2 ;-) ...                                                                              [ ok ]
/usr/portage/kde-base/kdesdk-kioslaves/kdesdk-kioslaves-3.5.6-r1.ebuild: line 17: svn-config: command not found
/usr/portage/kde-base/kdesdk-kioslaves/kdesdk-kioslaves-3.5.6-r1.ebuild: line 23: svn-config: command not found
>>> Unpacking source...
Comment 18 Carsten Lohrke (RETIRED) gentoo-dev 2007-05-11 18:36:11 UTC
Hm. Please sync and try again. Apparently Subversion 1.4.x doesn't come with svn-config.
Comment 19 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-05-11 19:49:12 UTC
You forgot about --with-apu-config=...

(In reply to comment #18)
> Please sync and try again.

You forgot about kde-base/kdesdk-3.5.6-r1.ebuild.

(In reply to comment #15)
> close the upstream bug

It will be opened untill upstream will distribute incorrect sources.
Comment 20 Davide Pesavento gentoo-dev 2007-05-12 13:33:34 UTC
Just synced... 3.5.6-r1 still doesn't compile as expected. Errors reported in comment #17 are gone, but no patch is applied.
Comment 21 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-05-13 15:05:11 UTC
Davide Pesavento, after "Bug 169289 blocks:" type 176297 and press Enter, please. People in bug 176297 complain that they have only one dependent bug, so we must help them :) .
Comment 22 Carsten Lohrke (RETIRED) gentoo-dev 2007-05-15 10:07:48 UTC
(In reply to comment #19)
> You forgot about --with-apu-config=...

Yes, wasn't aware that apr and apr-util versions are bound to each other.

> (In reply to comment #18)
> > Please sync and try again.
> 
> You forgot about kde-base/kdesdk-3.5.6-r1.ebuild.

No. Purposefully didn't.
 
> (In reply to comment #15)
> > close the upstream bug
> 
> It will be opened untill upstream will distribute incorrect sources.
>

Uh, more directly then: As there are the necessary configure flags, any patch is pointless. Moreso you patch is wrong. configure is a generated file. Usually it's configure.in which has to be patched, in case of KDE it's the relevant configure.in.in.


Will have to take care of subversion first...
Comment 23 Christian Lemke 2007-05-16 07:34:31 UTC
For me it works now (after I created a symlink from /usr/bin/apu-1-config to /usr/bin/apu-config).
So either the apr-util package has to be patched or the kdesdk-kioslaves.
Comment 24 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-05-17 16:03:03 UTC
(In reply to comment #22)
> Usually it's configure.in which has to be patched, in case of KDE it's the
> relevant configure.in.in.

https://bugs.kde.org/attachment.cgi?id=20006&action=view patches:
 kdesdk-3.5.6/configure
 kdesdk-3.5.6/configure.in
 kdesdk-3.5.6/kioslave/svn/README
 kdesdk-3.5.6/kioslave/svn/configure.in.in
So removing the first part (2 files) of that patch, changing directory to appropriate one and invoking `patch -pN < path_to_patch`, where N>0, is sufficient.


(In reply to comment #23)
> So either the apr-util package has to be patched or the kdesdk-kioslaves.

Patching or sedding kdesdk{,-kioslaves} is better.
You could even drop apr{,-util}:0 support completely :) :
 In ebuilds in src_unpack():
  sed -i -e "s/apr-config/apr-1-config/g;s/apu-config/apu-1-config/g" some_files
Comment 25 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-05-27 18:10:58 UTC
Created attachment 120472 [details, diff]
Updated patch to 3.5.6-r1 and 3.5.7

Updated patch.
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2007-06-08 06:39:03 UTC
*** Bug 181271 has been marked as a duplicate of this bug. ***
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2007-06-21 22:09:53 UTC
*** Bug 182829 has been marked as a duplicate of this bug. ***
Comment 28 sulfinu 2007-06-22 16:31:24 UTC
Guys, whatever you do here, please do not use svn-config anymore. It's officially dead and burried.
See bug 182870.
Comment 29 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-22 17:08:31 UTC
Created attachment 122820 [details, diff]
Updated patch to 3.5.6-r1 and 3.5.7

Updated patch.

(I don't refer to svn-config.)
Comment 30 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-22 17:14:48 UTC
I'd like to notice that both apr-1 and kdesdk{,-kioslaves}-3.5.5 ARE already marked stable for some time now and therefore building it even on stable systems is impossible.
Comment 31 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-22 17:24:43 UTC
(In reply to comment #30)
> I'd like to notice that both apr-1 and kdesdk{,-kioslaves}-3.5.5 ARE already
> marked stable for some time now and therefore building it even on stable
> systems is impossible.

I know and I hope that bug 176297 will be fixed soon :) .
Comment 32 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-23 00:38:01 UTC
And what about patching 3.5.5?
Comment 33 sulfinu 2007-06-23 08:34:14 UTC
To Arfrever Frehtes Taifersar Arahesis:
You've already replaced this test

[[ -n "$(svn-config --includes | grep -o /usr/include/apr-0)" ]]

with 

[[ -n "$(ldd /usr/bin/svn | grep -o libapr-0)" ]]

Make the very same replacement once again in line 53 of the kdesdk-3.5.6-r1 and kdesdk-3.5.7 ebuilds. It works, in spite of the fact that it doesn't find svn-config at some point during config.
Comment 34 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-23 15:14:20 UTC
(In reply to comment #33)
> Make the very same replacement once again in line 53 of the kdesdk-3.5.6-r1 and
> kdesdk-3.5.7 ebuilds. It works, in spite of the fact that it doesn't find
> svn-config at some point during config.

I don't understand you. There's no reference to svn-config after applying my patch.
Comment 35 sulfinu 2007-06-23 16:11:27 UTC
Open your patch file, type 'Ctrl+F' and then 'svn-config', hit Enter a few times and you'll understand me.
Comment 36 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-23 16:58:06 UTC
Created attachment 122906 [details, diff]
Updated patch to 3.5.6-r1 and 3.5.7
Comment 37 Marcus D. Hanwell (RETIRED) gentoo-dev 2007-07-15 23:10:16 UTC
I have updated the kdesdk and kdesdk-kioslaves 3.5.7 ebuilds to also set the correct apu-config. Seems to work here, please test and reopen if not. I have also updated the kdesdk ebuild to use ldd as the split ebuild does. Thanks  Arfrever Frehtes Taifersar Arahesis for your work on this bug. I think the current error messages are more transparent than the ones you suggested - users see versions rather than slots.

We are working on getting 3.5.7 stabilised and so have only applied the patch to these ebuilds.