--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: kdesdk: FTBFS on GNU/kFreeBSD: outdated libtool
- From: Aurelien Jarno <aurel32@debian.org>
- Date: Sun, 11 Sep 2005 18:21:14 +0200
- Message-id: <E1EEUZu-000Fot-LV@hertz.aurel32.net>
Package: kdesdk
Version: 4:3.4.2-2+libtool
Severity: important
Tags: patch
Hi,
The current version of kdesdk fails to build on GNU/kFreeBSD due to
outdated libtool script. Pleased find attached a patch to update
libtool.m4.in. The configure script will be correctly regenerated at
build time. It would be nice if you can include it in the next upload.
Thanks in advance,
Aurelien
-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages kdesdk depends on:
ii cervisia 4:3.4.2-2+libtool a graphical CVS front end for KDE
ii kapptemplate 4:3.4.2-2+libtool creates a framework to develop a K
ii kbabel 4:3.4.2-2+libtool PO-file editing suite for KDE
ii kbugbuster 4:3.4.2-2+libtool a front end for the KDE bug tracki
ii kcachegrind 4:3.4.2-2+libtool visualisation tool for valgrind pr
ii kdesdk-kfile-plugins 4:3.4.2-2+libtool KDE file dialog plugins for softwa
ii kdesdk-misc 4:3.4.2-2+libtool various goodies from the KDE Softw
ii kdesdk-scripts 4:3.4.2-2+libtool a set of useful development script
ii kmtrace 4:3.4.2-2+libtool a KDE memory leak tracer
ii kompare 4:3.4.2-2+libtool a KDE GUI for viewing differences
ii kspy 4:3.4.2-2+libtool examines the internal state of a Q
ii kuiviewer 4:3.4.2-2+libtool viewer for Qt Designer user interf
ii poxml 4:3.4.2-2+libtool tools for using PO-files to transl
ii umbrello 4:3.4.2-2+libtool UML modelling tool and code genera
kdesdk recommends no packages.
-- no debconf information
Author: aurel32
Status: in BTS
--- kdesdk-3.4.2.orig/debian/patches/kfreebsd.diff
+++ kdesdk-3.4.2/debian/patches/kfreebsd.diff
@@ -0,0 +1,82 @@
+--- kdesdk/admin/libtool.m4.in 23 Mar 2005 16:07:03 -0000
++++ kdesdk/admin/libtool.m4.in 13 Apr 2005 05:18:05 -0000
+@@ -1273,7 +1273,7 @@ freebsd1*)
+ dynamic_linker=no
+ ;;
+
+-freebsd*-gnu*)
++kfreebsd*-gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+@@ -2119,7 +2119,7 @@ darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+-freebsd*)
++freebsd* | kfreebsd*-gnu)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+@@ -2953,7 +2953,7 @@ case $host_os in
+ freebsd-elf*)
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+- freebsd*)
++ freebsd* | kfreebsd*-gnu)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+@@ -4599,7 +4599,7 @@ AC_MSG_CHECKING([for $compiler option to
+ ;;
+ esac
+ ;;
+- freebsd*)
++ freebsd* | kfreebsd*-gnu)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+@@ -5409,7 +5409,7 @@ EOF
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd*)
++ freebsd* | kfreebsd*-gnu)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+--- kdesdk/admin/ltmain.sh 12 Dec 2004 19:19:25 -0000
++++ kdesdk/admin/ltmain.sh 13 Apr 2005 05:18:05 -0000
+@@ -1276,9 +1276,6 @@ EOF
+ # These systems don't actually have a C or math library (as such)
+ continue
+ ;;
+- *-*-freebsd*-gnu*)
+- # prevent being parsed by the freebsd regexp below
+- ;;
+ *-*-mingw* | *-*-os2*)
+ # These systems don't actually have a C library (as such)
+ test "X$arg" = "X-lc" && continue
+@@ -1294,9 +1291,6 @@ EOF
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-freebsd*-gnu*)
+- # prevent being parsed by the freebsd regexp below
+- ;;
+ *-*-openbsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+@@ -3181,12 +3175,6 @@ EOF
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+- *-*-freebsd*-gnu*)
+- # Prevent $arg from being parsed by the freebsd regexp below.
+- if test "$build_libtool_need_lc" = "yes"; then
+- deplibs="$deplibs -lc"
+- fi
+- ;;
+ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
--- End Message ---