[Pkg-qof-maintainers] Bug#463392: qof: erronous check for *linux* to detect symbols versioning support

Aurelien Jarno aurel32 at debian.org
Thu Jan 31 11:04:44 UTC 2008


Package: qof
Version: 0.7.4-1
Severity: important
Tags: patch

qof wrongly checks for *linux* to detect symbols versioning support.
The Linux kernel is nothing related with symbols versioning, all the job
is done by the toolchain. That is qof will fails to compile on a
Linux/uClibc platform.

On the contrary GNU/kFreeBSD and GNU/Hurd, as they are using a GNU
libc and a GNU toolchain do support symbols versioning.

As the check is wrong, and as debian/*.symbols files have been added 
recently, qof do not build anymore on GNU/kFreeBSD and GNU/Hurd.

Please find below a patch to fix that.

--- qof-0.7.4.orig/configure.in
+++ qof-0.7.4/configure.in
@@ -84,7 +84,7 @@
 
 AC_MSG_CHECKING(whether to implement symbol versioning)
 case $host_os in
-  *linux*)
+  *gnu*)
 	LINKER_SCRIPT="-Wl,--version-script=\$(srcdir)/libqof.ver"
 	AC_MSG_RESULT(yes)
 	;;
--- qof-0.7.4.orig/configure
+++ qof-0.7.4/configure
@@ -22805,7 +22805,7 @@
 { echo "$as_me:$LINENO: checking whether to implement symbol versioning" >&5
 echo $ECHO_N "checking whether to implement symbol versioning... $ECHO_C" >&6; }
 case $host_os in
-  *linux*)
+  *gnu*)
 	LINKER_SCRIPT="-Wl,--version-script=\$(srcdir)/libqof.ver"
 	{ echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }


-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 6.3-1-em64t-p4
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash






More information about the Pkg-qof-maintainers mailing list