Debian Bug report logs -
#986704
xaw3dg: FTCBFS -- uses build compiler during cross build
Reported by: Nilesh Patra <nilesh@debian.org>
Date: Fri, 9 Apr 2021 20:36:01 UTC
Severity: normal
Tags: patch
Found in version xaw3d/1.5+F-1
Fixed in version xaw3d/1.5+F-1.1
Done: Vagrant Cascadian <vagrant@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, nilesh@debian.org, nilesh@debian.org, debian-cross@lists.debian.org, Francesco Paolo Lovergine <frankie@debian.org>:
Bug#986704; Package xaw3dg.
(Fri, 09 Apr 2021 20:36:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Nilesh Patra <nilesh@debian.org>:
New Bug report received and forwarded. Copy sent to nilesh@debian.org, nilesh@debian.org, debian-cross@lists.debian.org, Francesco Paolo Lovergine <frankie@debian.org>.
(Fri, 09 Apr 2021 20:36:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: xaw3dg
Version: 1.5+F-1
Severity: normal
Tags: patch
User: debian-cross@lists.debian.org
X-Debbugs-Cc: nilesh@debian.org, nilesh@debian.org, debian-cross@lists.debian.org
Dear Maintainer,
xaw3dg fails to cross build because it uses build compiler rather than
the host compiler whilst cross building.
The attached patch fixes the situation, please consider applying
Nilesh
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 xaw3dg depends on:
ii libc6 2.31-3
ii libice6 2:1.0.9-2
ii libsm6 2:1.2.3-1
ii libx11-6 2:1.7.0-2
ii libxext6 2:1.3.3-1+b2
ii libxmu6 2:1.1.2-2+b3
ii libxpm4 1:3.5.12-1
ii libxt6 1:1.1.5-1+b3
xaw3dg recommends no packages.
xaw3dg suggests no packages.
-- no debconf information
[cross.patch (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Francesco Paolo Lovergine <frankie@debian.org>:
Bug#986704; Package xaw3dg.
(Thu, 29 Dec 2022 18:42:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Francesco Paolo Lovergine <frankie@debian.org>.
(Thu, 29 Dec 2022 18:42:03 GMT) (full text, mbox, link).
Message #10 received at 986704@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags 991180 pending
Control: tags 986704 pending
I have uploaded an NMU to DELAYED/10 fixing reproducible builds and
cross-building issues, as well as some pending issues already merged in
git found by Debian Janitor.
Merge request also available:
https://salsa.debian.org/debian/xaw3dg/-/merge_requests/3
Full debdiff follows (including changes already in git, in particular,
whitespace changes):
diff -Nru xaw3d-1.5+F/debian/changelog xaw3d-1.5+F/debian/changelog
--- xaw3d-1.5+F/debian/changelog 2021-01-07 10:57:42.000000000 -0800
+++ xaw3d-1.5+F/debian/changelog 2022-12-29 10:16:57.000000000 -0800
@@ -1,3 +1,20 @@
+xaw3d (1.5+F-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Debian Janitor ]
+ * Trim trailing whitespace.
+ * Update standards version to 4.6.1, no changes needed.
+
+ [ Vagrant Cascadian ]
+ * debian/rules: Pass CFLAGS with file-prefix-map in dh_auto_build.
+ (Closes: #991180)
+
+ [ Nilesh Patra ]
+ * Fix cross-building. (Closes: #986704)
+
+ -- Vagrant Cascadian <vagrant@debian.org> Thu, 29 Dec 2022 10:16:57 -0800
+
xaw3d (1.5+F-1) unstable; urgency=medium
* Reassembled original tarball to cope with dquilt.
@@ -13,7 +30,7 @@
* Non-maintainer upload.
* debian/control: Drop explicit Pre-Depends on multiarch-support (Closes:
- #870564).
+ #870564).
-- Aurelien Jarno <aurel32@debian.org> Sat, 20 Jan 2018 14:50:00 +0100
@@ -42,7 +59,7 @@
* Added patch XawIm.c to prevent gv segfaulting.
(closes: #573474)
* Added ${misc:Depends} to both binary packages to make lintian happy.
- * Added xaw3dg.lintian-overrides to override the
+ * Added xaw3dg.lintian-overrides to override the
package-name-doesnt-match-sonames lintian warning.
* Added debian/README.source.
@@ -50,8 +67,8 @@
xaw3d (1.5+E-17) unstable; urgency=low
- * Bumped replace to conflicts with pre -16 version. That's needed for
- moving of the .so link
+ * Bumped replace to conflicts with pre -16 version. That's needed for
+ moving of the .so link
(closes: #492302)
-- Francesco Paolo Lovergine <frankie@debian.org> Fri, 25 Jul 2008 09:47:14 +0200
@@ -99,7 +116,7 @@
* Removed libxaw8-dev fake dependency, because it has been dropped in xorg
roadmap.
* Removed all X11 -dev dependencies in xaw3dg-dev, and the old
- libc-dev|libc6-dev now superfluous dependency too. Packages now have to
+ libc-dev|libc6-dev now superfluous dependency too. Packages now have to
declare explicitly their own -dev build-deps.
(closes: #241280)
@@ -107,7 +124,7 @@
xaw3d (1.5+E-11) unstable; urgency=low
- * Changed to xorg 7 conformancy in paths:
+ * Changed to xorg 7 conformancy in paths:
/usr/X11R6/lib -> /usr/lib
/usr/X11R6/include -> /usr/include
(closes: #362074, #363578)
@@ -189,8 +206,8 @@
xaw3d (1.5+E-1) unstable; urgency=low
- * Ready for unstable.
- Changing release version for a smooth upgrading from experimental.
+ * Ready for unstable.
+ Changing release version for a smooth upgrading from experimental.
(closes: #117325,#196439,#144877)
-- Francesco Paolo Lovergine <frankie@debian.org> Tue, 19 Aug 2003 00:35:30 +0200
@@ -295,12 +312,12 @@
xaw3d (1.5-15) unstable; urgency=low
* Added -DARROW_SCROLLBAR in rules file for EXTRA_DEFINES.
- The trick described in old scrollbars doc is no longer working due
+ The trick described in old scrollbars doc is no longer working due
to changes in rules file: EXTRA_DEFINES in lib/Xaw3d/Imakefile are ignored.
That obsolete document has been removed.
Emacs folks will be happy :)
- This seems also closing an old bug report about scrolling in
+ This seems also closing an old bug report about scrolling in
emacs21 and xterm. Or hope so. I'll see if I could get some better
patches to have a rock solid correction.
(closes: #36736)
@@ -370,7 +387,7 @@
* The xaw3dg preinst did return an error when the "medium" debconf
note wasn't displayed. I added " || true" to fix this.
(closes: #86599)
- * debian/shlibs: Generate a dependency on xaw3dg (>= 1.5-6).
+ * debian/shlibs: Generate a dependency on xaw3dg (>= 1.5-6).
-- Adrian Bunk <bunk@fs.tum.de> Tue, 20 Feb 2001 14:21:24 +0100
@@ -486,7 +503,7 @@
* Non-maintainer upload
* Handle ld.so.conf properly in postrm as well
-
+
-- Wichert Akkerman <wakkerma@debian.org> Tue, 21 Dec 1999 23:54:45 +0100
xaw3d (1.3-6.6) unstable; urgency=low
@@ -554,13 +571,13 @@
* now uses libc6
* included a shlibs file
* added xaw-wrappers file for axe
-
+
-- joost witteveen <joost@rulcmc.leidenuniv.nl> Sun, 3 Aug 1997 20:31:18 +0200
xaw3d (1.3-5) unstable; urgency=low
* Compiled with -D_REENTRANT
- * uses new, unreleased ld.so-1.8.9, so that the soname now can be
+ * uses new, unreleased ld.so-1.8.9, so that the soname now can be
libxaw3d, making everything somewhat easier.
-- joost witteveen <joost@rulcmc.leidenuniv.nl> Sun, 9 Feb 1997 10:56:39 +0100
@@ -584,7 +601,7 @@
* Changed /sbin/ldconfig to ldconfig in postinst, prerm.
* Included changelog.Debian
* gzipped /usr/doc/xaw3d/*
-
+
-- joost witteveen <joost@rulcmc.leidenuniv.nl> Fri, 27 Dec 1996 19:12:04 +0100
xaw3d (1.3-1) unstable; urgency=low
diff -Nru xaw3d-1.5+F/debian/control xaw3d-1.5+F/debian/control
--- xaw3d-1.5+F/debian/control 2021-01-07 10:57:42.000000000 -0800
+++ xaw3d-1.5+F/debian/control 2022-12-29 09:53:07.000000000 -0800
@@ -12,7 +12,7 @@
,x11proto-xext-dev
,bison
,flex (>= 2.5.31-16)
-Standards-Version: 4.5.1
+Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/debian/xaw3dg
Vcs-Git: https://salsa.debian.org/debian/xaw3dg.git
diff -Nru xaw3d-1.5+F/debian/rules xaw3d-1.5+F/debian/rules
--- xaw3d-1.5+F/debian/rules 2021-01-07 10:57:42.000000000 -0800
+++ xaw3d-1.5+F/debian/rules 2022-12-29 09:54:46.000000000 -0800
@@ -12,8 +12,9 @@
override_dh_auto_build:
rm -rf $(SOURCE)/X11 && install -m755 -d $(SOURCE)/X11
cd $(SOURCE) && ln -sf ../ X11/Xaw3d && xmkmf
- $(MAKE) -C $(SOURCE) \
- EXTRA_DEFINES="-D_REENTRANT -DARROW_SCROLLBAR" SHLIBDEF="-D_REENTRANT -DARROW_SCROLLBAR"
+ dh_auto_build -- -C $(SOURCE) \
+ EXTRA_DEFINES="-D_REENTRANT -DARROW_SCROLLBAR" SHLIBDEF="-D_REENTRANT -DARROW_SCROLLBAR" \
+ CFLAGS="-ffile-prefix-map=$(CURDIR)=. -I."
override_dh_auto_clean:
rm -rf $(SOURCE)/X11 $(COMPAT) lib/Xaw3d/laygram.h
@@ -22,7 +23,7 @@
dh_clean `find . -name Makefile`
override_dh_auto_install:
- $(MAKE) -C $(SOURCE) install \
+ dh_auto_install -- -C $(SOURCE) install \
DESTDIR=$(CURDIR)/debian/tmp INCDIR=/usr/include \
SHLIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
USRLIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
@@ -31,4 +32,4 @@
dh_installexamples $(SOURCE)/app-defaults
override_dh_installdocs:
- dh_installdocs $(SOURCE)/README.XAW3D
+ dh_installdocs $(SOURCE)/README.XAW3D
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from Vagrant Cascadian <vagrant@reproducible-builds.org>
to 986704-submit@bugs.debian.org.
(Thu, 29 Dec 2022 18:42:03 GMT) (full text, mbox, link).
Reply sent
to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility.
(Sun, 08 Jan 2023 19:15:03 GMT) (full text, mbox, link).
Notification sent
to Nilesh Patra <nilesh@debian.org>:
Bug acknowledged by developer.
(Sun, 08 Jan 2023 19:15:03 GMT) (full text, mbox, link).
Message #17 received at 986704-close@bugs.debian.org (full text, mbox, reply):
Source: xaw3d
Source-Version: 1.5+F-1.1
Done: Vagrant Cascadian <vagrant@debian.org>
We believe that the bug you reported is fixed in the latest version of
xaw3d, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 986704@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated xaw3d package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 29 Dec 2022 10:16:57 -0800
Source: xaw3d
Architecture: source
Version: 1.5+F-1.1
Distribution: unstable
Urgency: medium
Maintainer: Francesco Paolo Lovergine <frankie@debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 986704 991180
Changes:
xaw3d (1.5+F-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Debian Janitor ]
* Trim trailing whitespace.
* Update standards version to 4.6.1, no changes needed.
.
[ Vagrant Cascadian ]
* debian/rules: Pass CFLAGS with file-prefix-map in dh_auto_build.
(Closes: #991180)
.
[ Nilesh Patra ]
* Fix cross-building. (Closes: #986704)
Checksums-Sha1:
4f7dc7d3e3e3fe2f6a034e5b721765b56e2cb519 1385 xaw3d_1.5+F-1.1.dsc
4bdb1c24a604956ca0e4eaf83929dd3aace1e801 16180 xaw3d_1.5+F-1.1.debian.tar.xz
55045c9e38fe961a6ed15dc0a9139267b082250a 6769 xaw3d_1.5+F-1.1_amd64.buildinfo
Checksums-Sha256:
ccb81f9bb194e0c46483b3b6f79f1678d96f65f1894c390ea2dff46737b89384 1385 xaw3d_1.5+F-1.1.dsc
0671c6e0bf1124a3307e7034042523b5a303a661869d9dca50d8883b6f939b71 16180 xaw3d_1.5+F-1.1.debian.tar.xz
b0cf9c744cbdd3105230ae19917991c0265767775fa04da20bea21901cc55085 6769 xaw3d_1.5+F-1.1_amd64.buildinfo
Files:
d524c894c12eb067da048e3c9263e192 1385 x11 optional xaw3d_1.5+F-1.1.dsc
0d1e8cd3f217c6cd31111fec8762e50a 16180 x11 optional xaw3d_1.5+F-1.1.debian.tar.xz
b5430337fdd4dc58938f070c8d8da7b8 6769 x11 optional xaw3d_1.5+F-1.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY63bNxMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqsWYA/3+UtaI3GwJmBVOhGZMSlLu0N+nImm++
jbmpPzoaQIlyAQDMFWWjen+/mVEk8g2L86uTlNPj5x2uG7IP4Gwp3zLHCg==
=aGbb
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 13 Feb 2023 07:25:20 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 11:14:10 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.