Source: glibc
Version: 2.31-7
Severity: important
User: debian-...@lists.debian.org

The builds on kfreebsd-* currently fail during the patching step
because one of the kfreebsd specific patches fails to apply.

Fixing this issue is trivial and simply requires a refresh of the patch
(attached).

However, this trivial fix is not sufficient. The build then fails with:

*** On GNU/kFreeBSD systems it is normal to compile GNU libc with the
*** `fbtl' add-on.  Without that, the library will be
*** incompatible with normal GNU/kFreeBSD systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.

The package build tries to enable the fbtl add-on. The call to
configure contains:

        $(CURDIR)/configure \
        --host=x86_64-kfreebsd-gnu \
        --build=$configure_build --prefix=/usr \
        --enable-add-ons=libidn,"fbtl " \

However, the configure script does not have an --enable-add-ons option,
so this is ignored. (Option is not listed by ./configure --help, nor
found by grepping for it.)

        Mattias

tst-unique is not supported by the FreeBSD ELF OSABI

--- a/elf/Makefile
+++ b/elf/Makefile
@@ -145,7 +145,7 @@ tests += loadtest restest1 preloadtest loadfail multiload origtest resolvfail \
 	 unload3 unload4 unload5 unload6 unload7 unload8 tst-global1 order2 \
 	 tst-audit1 tst-audit2 tst-audit8 tst-audit9 \
 	 tst-addr1 tst-thrlock \
-	 tst-unique1 tst-unique2 $(if $(CXX),tst-unique3 tst-unique4 \
+	 $(if $(CXX),tst-unique3 tst-unique4 \
 	 tst-nodelete tst-dlopen-nodelete-reloc) \
 	 tst-initorder tst-initorder2 tst-relsort1 tst-null-argv \
 	 tst-tlsalign tst-tlsalign-extern tst-nodelete-opened \
@@ -207,8 +207,6 @@ modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
 		unload7mod1 unload7mod2 \
 		unload8mod1 unload8mod1x unload8mod2 unload8mod3 \
 		order2mod1 order2mod2 order2mod3 order2mod4 \
-		tst-unique1mod1 tst-unique1mod2 \
-		tst-unique2mod1 tst-unique2mod2 \
 		tst-auditmod9a tst-auditmod9b \
 		$(if $(CXX),tst-unique3lib tst-unique3lib2 tst-unique4lib \
 		  tst-nodelete-uniquemod tst-nodelete-rtldmod \

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to