Debian Bug report logs -
#876771
squeak-plugins-scratch FTCBFS: uses the build architecture compiler and pkg-config
Reported by: Helmut Grohne <helmut@subdivi.de>
Date: Mon, 25 Sep 2017 17:51:02 UTC
Severity: normal
Tags: patch
Found in version squeak-plugins-scratch/1.4.0.2~svn.r83-2.1
Fixed in version squeak-plugins-scratch/1.4.0.2~svn.r83-3.1
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Miriam Ruiz <little_miry@yahoo.es>:
Bug#876771; Package src:squeak-plugins-scratch.
(Mon, 25 Sep 2017 17:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Helmut Grohne <helmut@subdivi.de>:
New Bug report received and forwarded. Copy sent to Miriam Ruiz <little_miry@yahoo.es>.
(Mon, 25 Sep 2017 17:51:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: squeak-plugins-scratch
Version: 1.4.0.2~svn.r83-2.1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
squeak-plugins-scratch fails to cross build from source, because it uses
the build architecture compiler and pkg-config. After adding the host
architecture as a prefix to these tools, it cross builds successfully.
Please consider applying the attached patch.
Helmut
[squeak-plugins-scratch_1.4.0.2~svn.r83-2.2.debdiff (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Miriam Ruiz <miriam@debian.org>:
Bug#876771; Package src:squeak-plugins-scratch.
(Thu, 01 Dec 2022 20:27:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Miriam Ruiz <miriam@debian.org>.
(Thu, 01 Dec 2022 20:27:03 GMT) (full text, mbox, link).
Message #10 received at 876771@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I am uploading an NMU fixing reproducible builds and cross-building
issues:
diff -Nru squeak-plugins-scratch-1.4.0.2~svn.r83/debian/changelog squeak-plugins-scratch-1.4.0.2~svn.r83/debian/changelog
--- squeak-plugins-scratch-1.4.0.2~svn.r83/debian/changelog 2018-11-09 03:16:26.000000000 -0800
+++ squeak-plugins-scratch-1.4.0.2~svn.r83/debian/changelog 2022-12-01 12:18:32.000000000 -0800
@@ -1,3 +1,15 @@
+squeak-plugins-scratch (1.4.0.2~svn.r83-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Chris Lamb ]
+ * Make the build reproducible. (Closes: #942006)
+
+ [ Helmut Grohne ]
+ * Fix cross-building (Closes: #876771)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org> Thu, 01 Dec 2022 12:18:32 -0800
+
squeak-plugins-scratch (1.4.0.2~svn.r83-3) unstable; urgency=medium
* Cleaned up many lintian warnings
diff -Nru squeak-plugins-scratch-1.4.0.2~svn.r83/debian/rules squeak-plugins-scratch-1.4.0.2~svn.r83/debian/rules
--- squeak-plugins-scratch-1.4.0.2~svn.r83/debian/rules 2018-11-09 03:16:26.000000000 -0800
+++ squeak-plugins-scratch-1.4.0.2~svn.r83/debian/rules 2022-12-01 12:18:32.000000000 -0800
@@ -1,9 +1,15 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
+
export DH_ALWAYS_EXCLUDE=.svn
+ifeq ($(origin CC),default)
+CC = $(DEB_HOST_GNU_TYPE)-gcc
+endif
+PKG_CONFIG ?= $(DEB_HOST_GNU_TYPE)-pkg-config
LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined
-CFLAGS=-std=gnu89
+CFLAGS=-std=gnu89 $(shell dpkg-buildflags --get CFLAGS)
config: config-stamp
config-stamp:
@@ -17,21 +23,21 @@
build-stamp: config
dh_testdir
cd camera/ && \
- gcc $(CFLAGS) -g -fPIC -c *.c
+ $(CC) $(CFLAGS) -g -fPIC -c *.c
cd camera/ && \
- gcc $(LDFLAGS) -g -shared *.o -lv4l2 -ldl -o so.CameraPlugin
+ $(CC) $(LDFLAGS) -g -shared *.o -lv4l2 -ldl -o so.CameraPlugin
cd scratch/ && \
- gcc $(CFLAGS) -g -fPIC -c *.c
+ $(CC) $(CFLAGS) -g -fPIC -c *.c
cd scratch/ && \
- gcc $(LDFLAGS) -g -shared *.o -lm -o so.ScratchPlugin
+ $(CC) $(LDFLAGS) -g -shared *.o -lm -o so.ScratchPlugin
cd unicode/ && \
- gcc $(CFLAGS) -g -fPIC -c `pkg-config --cflags pangocairo` *.c
+ $(CC) $(CFLAGS) -g -fPIC -c `$(PKG_CONFIG) --cflags pangocairo` *.c
cd unicode/ && \
- gcc $(LDFLAGS) -g -shared *.o `pkg-config --libs pangocairo` -lc -o so.UnicodePlugin
+ $(CC) $(LDFLAGS) -g -shared *.o `$(PKG_CONFIG) --libs pangocairo` -lc -o so.UnicodePlugin
cd wedo/ && \
- gcc $(CFLAGS) -g -fPIC -c *.c
+ $(CC) $(CFLAGS) -g -fPIC -c *.c
cd wedo/ && \
- gcc $(LDFLAGS) -g -shared *.o -o so.WeDoPlugin
+ $(CC) $(LDFLAGS) -g -shared *.o -o so.WeDoPlugin
touch $@
clean:
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Thu, 01 Dec 2022 20:57:05 GMT) (full text, mbox, link).
Notification sent
to Helmut Grohne <helmut@subdivi.de>:
Bug acknowledged by developer.
(Thu, 01 Dec 2022 20:57:05 GMT) (full text, mbox, link).
Message #15 received at 876771-close@bugs.debian.org (full text, mbox, reply):
Source: squeak-plugins-scratch
Source-Version: 1.4.0.2~svn.r83-3.1
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
We believe that the bug you reported is fixed in the latest version of
squeak-plugins-scratch, 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 876771@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated squeak-plugins-scratch 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, 01 Dec 2022 12:18:32 -0800
Source: squeak-plugins-scratch
Architecture: source
Version: 1.4.0.2~svn.r83-3.1
Distribution: unstable
Urgency: medium
Maintainer: Miriam Ruiz <miriam@debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 876771 942006
Changes:
squeak-plugins-scratch (1.4.0.2~svn.r83-3.1) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Chris Lamb ]
* Make the build reproducible. (Closes: #942006)
.
[ Helmut Grohne ]
* Fix cross-building (Closes: #876771)
Checksums-Sha1:
2a3cdf1ee8af47a20bd21c328d21cfc8ebdaa371 1698 squeak-plugins-scratch_1.4.0.2~svn.r83-3.1.dsc
32137d3f7875279257caedbdad0eb20e63833b25 4264 squeak-plugins-scratch_1.4.0.2~svn.r83-3.1.debian.tar.xz
Checksums-Sha256:
fc9b8913934523a0f734545f1274a89e421aadb0a5faf32e3011fc14782f61b0 1698 squeak-plugins-scratch_1.4.0.2~svn.r83-3.1.dsc
a55a8f33515eb3433b57b80996335037263d95efbc05a06a1fe31aad143da493 4264 squeak-plugins-scratch_1.4.0.2~svn.r83-3.1.debian.tar.xz
Files:
7c7ed49c7931412ae58c80b0104de337 1698 devel optional squeak-plugins-scratch_1.4.0.2~svn.r83-3.1.dsc
9632da847e8b4e902bc130727c7d8fe7 4264 devel optional squeak-plugins-scratch_1.4.0.2~svn.r83-3.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY4kOaCAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqmtNAQDhgL66B5x6dT6w
ruPOvFUOikmT/igbMm97DLd/dpt9WQEAh+BCh6AZGDOHKP12dz5/ldchEGmC+BEF
mgCwJ/GptAc=
=RjNR
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 30 Dec 2022 07:29:07 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:13:43 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.