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

Bug#994276: xutils-dev: imake shouldn't pass l to ar



Package: xutils-dev
Version: 1:7.7+5+b1
Severity: serious
Tags: patch
Justification: Makes xtel FTBFS

Hello,

xtel started failing to build in bullseye, e.g.
https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/xtel_3.3.0-24.rbuild.log.gz
“
ar clq libVideotex.a Videotex.o tvr_jpg.o tvr_hdr.o
ar: libdeps specified more than once
”

That's because imake passes clq to ar, but while the 'l' letter has been
ignored by ar for a long time, ar doesn't ignore it any more, and is
thus getting confused by imake passing it.

The attached patch fixes it by telling imask to use just "ar cq".

Samuel

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xutils-dev depends on:
ii  cpp    4:10.2.1-1
ii  libc6  2.31-17

xutils-dev recommends no packages.

xutils-dev suggests no packages.

-- no debconf information

-- 
Samuel
Pour un père, autant mourir que de faire plein de calculs et pas s'occuper
de son fils
 -+- y sur #ens-mim - sombres histoires de zombies -+-
---
 xorg-cf-files/linux.cf |    4 ++++
 1 file changed, 4 insertions(+)

--- a/xorg-cf-files/linux.cf
+++ b/xorg-cf-files/linux.cf
@@ -875,6 +875,10 @@ InstallNamedTargetNoClobber(install,file
 # endif
 #endif
 
+#ifndef ArCmd
+# define ArCmd ArCmdBase cq
+#endif
+
 /*
  * Some older distros still need /lib/cpp.  There's probably a better
  * test, but this handles the older Red Hat releases at least.

Reply to: