[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#698987: audit: FTBFS on x32: Needs libtool update



Source: audit
Version: 1:1.7.18-1.1
Severity: wishlist
Tags: patch
User: debian-x32@lists.debian.org
Usertags: port-x32 ftbfs-libtool

The audit source package is getting build failures on x32.

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=audit&arch=x32&ver=1%3A1.7.18-1.1&stamp=1359145640>
...
/bin/bash ../libtool --tag=CC   --mode=link gcc -fPIC -DPIC
-D_GNU_SOURCE -g -O2 -Wl,-z,relro -Wl,--as-needed -o libaudit.la
-rpath /usr/lib libaudit.lo message.lo netlink.lo lookup_table.lo
audit_logging.lo deprecated.lo
../libtool: line 4424: test: : integer expression expected
../libtool: line 4424: test: : integer expression expected
creating reloadable object files...
../libtool: line 4459: test: : integer expression expected
../libtool: line 4459: test: : integer expression expected
../libtool: line 4459: test: : integer expression expected
../libtool: line 4459: test: : integer expression expected
../libtool: line 4459: test: : integer expression expected
creating a temporary reloadable object file: .libs/libaudit.la-6.o
/usr/bin/ld -m elf_i386 -r -o .libs/libaudit.la-1.o .libs/libaudit.o
/usr/bin/ld: Relocatable linking with relocations from format
elf32-x86-64 (.libs/libaudit.o) to format elf32-i386
(.libs/libaudit.la-1.o) is not supported
make[6]: *** [libaudit.la] Error 1
make[6]: Leaving directory
`/build/buildd-audit_1.7.18-1.1-x32-7k9Mh6/audit-1.7.18/debian/build/lib'
make[5]: *** [all-recursive] Error 1
...

The fix is to update libtool using the Debian package from sid (>=
2.4.2-1.2) to get the x32 support.  I'm attaching a debdiff for the
patch I'm using here, to use dh_autoreconf to do this at build time.
-- 
Daniel Schepler

Attachment: audit.debdiff
Description: Binary data


Reply to: