Your message dated Mon, 25 Jan 2021 17:49:50 +0000
with message-id <[email protected]>
and subject line Bug#979523: fixed in pari 2.13.1-1
has caused the Debian Bug report #979523,
regarding FTCBFS due to misuse of build system C compiler
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
979523: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979523
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pari
Version: 2.13.0-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: ftcbfs
PARI fails to cross build due to using 'cc' as the C compiler:
http://crossqa.debian.net/src/pari
With the attached patch, PARI successfully builds and the cross tests (by way
of QEMU user mode emulation) pass as well building for arm64. This also adds
support for the standard nocheck DEB_BUILD_OPTION.
What the origin Makefile syntax does is that, if CC is unset by the user
and is Make's implicit default, then it gets overridden with the appropriate
cross-compiler. This is the recommended solution [1] and has the bonus of
letting users override the compiler at build time should they please.
[1] https://wiki.debian.org/CrossBuildPackagingGuidelines
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing'), (2, 'unstable'), (1, 'testing-debug'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.9.0-5-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_USER, TAINT_WARN, TAINT_FIRMWARE_WORKAROUND
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
--- rules.orig 2020-10-22 11:41:11.000000000 -0400
+++ rules 2021-01-07 11:25:07.713665303 -0500
@@ -2,6 +2,7 @@
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Adapted for the PARI Debian package by Bill Allombert 2001-2011
+# SPDX-FileContributor: 2021 John Scott <[email protected]>
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -44,6 +45,11 @@
CFLAGS_LTO = $(CFLAGS) -flto
endif
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC = $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
libpkg = libpari-gmp-tls7
libtriplet = usr/lib/$(DEB_HOST_MULTIARCH)
inctriplet = usr/include/$(DEB_HOST_MULTIARCH)
@@ -53,31 +59,31 @@
config: config-stamp
config-stamp:
dh_testdir
- CC=cc CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" DLLDFLAGS="$(LDFLAGS)" \
+ CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" DLLDFLAGS="$(LDFLAGS)" \
./Configure --mt=pthread\
--prefix=/usr --host=$(PARI_CPU)-$(PARI_SYSTEM) \
--libdir=/$(libtriplet) --sysdatadir=/$(libtriplet)/pari \
--includedir=/$(inctriplet) \
--builddir=obj-dyn --graphic=X11 --with-gmp
- CC=cc CFLAGS="$(CFLAGS_NOMAP)" LDFLAGS="$(LDFLAGS)" DLLDFLAGS="$(LDFLAGS)" \
+ CC="$(CC)" CFLAGS="$(CFLAGS_NOMAP)" LDFLAGS="$(LDFLAGS)" DLLDFLAGS="$(LDFLAGS)" \
./Configure --mt=pthread\
--prefix=/usr --host=$(PARI_CPU)-$(PARI_SYSTEM) \
--libdir=/$(libtriplet) --sysdatadir=/$(libtriplet)/pari \
--includedir=/$(inctriplet) \
--builddir=obj-cfg --graphic=X11 --with-gmp
- CC=cc CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" DLLDFLAGS="$(LDFLAGS)" \
+ CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" DLLDFLAGS="$(LDFLAGS)" \
./Configure --mt=pthread \
--prefix=/usr --host=$(PARI_CPU)-$(PARI_SYSTEM) \
--libdir=/$(libtriplet) --sysdatadir=/$(libtriplet)/pari \
--includedir=/$(inctriplet) \
--builddir=obj-sta --graphic=X11 --with-gmp
- CC=cc CFLAGS="$(CFLAGS_LTO)" LDFLAGS="$(LDFLAGS)" DLLDFLAGS="$(LDFLAGS)" \
+ CC="$(CC)" CFLAGS="$(CFLAGS_LTO)" LDFLAGS="$(LDFLAGS)" DLLDFLAGS="$(LDFLAGS)" \
./Configure --mt=pthread \
--prefix=/usr --host=$(PARI_CPU)-$(PARI_SYSTEM) \
--libdir=/$(libtriplet) --sysdatadir=/$(libtriplet)/pari \
--includedir=/$(inctriplet) \
--builddir=obj-lto --graphic=X11 --with-gmp
- CC=cc CFLAGS="$(CFLAGS_DBG)" LDFLAGS="$(LDFLAGS)" DLLDFLAGS="$(LDFLAGS)" \
+ CC="$(CC)" CFLAGS="$(CFLAGS_DBG)" LDFLAGS="$(LDFLAGS)" DLLDFLAGS="$(LDFLAGS)" \
./Configure --mt=pthread \
--prefix=/usr --host=$(PARI_CPU)-$(PARI_SYSTEM) \
--libdir=/$(libtriplet) --sysdatadir=/$(libtriplet)/pari \
@@ -90,7 +96,7 @@
$(MAKE) -C obj-dyn lib-dyn #"LIBS=-lc -lm -lgmp"
$(MAKE) -C obj-sta lib-sta DLCFLAGS=
$(MAKE) -C obj-lto gp-sta RUNPTH=
-ifeq (,$(findstring notest,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) -C obj-dyn gp-dyn
$(MAKE) dobench -C obj-dyn
$(MAKE) dobench -C obj-sta
signature.asc
Description: This is a digitally signed message part.
--- End Message ---
--- Begin Message ---
Source: pari
Source-Version: 2.13.1-1
Done: Bill Allombert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pari, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bill Allombert <[email protected]> (supplier of updated pari 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 25 Jan 2021 11:19:31 +0100
Source: pari
Architecture: source
Version: 2.13.1-1
Distribution: unstable
Urgency: medium
Maintainer: Bill Allombert <[email protected]>
Changed-By: Bill Allombert <[email protected]>
Closes: 979523
Changes:
pari (2.13.1-1) unstable; urgency=medium
.
* New upstream release
* patch fix-gzip-path replaced by no_harcode_path
* debian/rules:
- test option nocheck instead of notest. Thanks John Scott.
- Do not override CC variable. Closes: #979523. Thanks John Scott
* debian/watch: use format 3
Checksums-Sha1:
457ad39ec2cf0a447e1d5e600c61b15fe170d213 2253 pari_2.13.1-1.dsc
40731c850cc50fb4994148fac49fda4f68ce6106 4760932 pari_2.13.1.orig.tar.gz
81885f22368d102e0a3e1142f617f938a9a3f455 833 pari_2.13.1.orig.tar.gz.asc
1bdfc1c4a05dd9aad168c32b2c084feb77208362 16544 pari_2.13.1-1.debian.tar.xz
e4914e122c605d2d486177e2862d44c71cf18e71 6709 pari_2.13.1-1_source.buildinfo
Checksums-Sha256:
c66e5610fee5e568958c097703a6498c32e55b269113fbceb58e3f6942e273e5 2253
pari_2.13.1-1.dsc
81ecf7d70ccdaae230165cff627c9ce2ec297b8f22f9f40742279d85f86dfcb1 4760932
pari_2.13.1.orig.tar.gz
55050e40cf56d9a29a46102eb4c002d6484c6066383938acbd80fcaf62a9813c 833
pari_2.13.1.orig.tar.gz.asc
b36dfb92ad9bca15c684b94586204f2bca1fcb1cb2bad9eef42e01bc4eb67f29 16544
pari_2.13.1-1.debian.tar.xz
70ab86278a5908846f7de00052c5e19384ef49e8fc7ca4f06822804d412f2b50 6709
pari_2.13.1-1_source.buildinfo
Files:
692d80b3862c5822f3fb8a24acc47f8b 2253 math optional pari_2.13.1-1.dsc
826064cf75af268be8a482ade6e27501 4760932 math optional pari_2.13.1.orig.tar.gz
08b523221fad56f7915a13d91fad7156 833 math optional pari_2.13.1.orig.tar.gz.asc
31c6313d662f1101d6e03dcd349f5b50 16544 math optional
pari_2.13.1-1.debian.tar.xz
7857fccd5529146613c247cfcebc696f 6709 math optional
pari_2.13.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQgKOpASi6dgKxFMUjw58K0Ui44cFAmAPAN4ACgkQjw58K0Ui
44edVRAAq2oHarxmrx/dY8LHfTtGrQvRRZWJ8hW1JS2NlgClVlhJSzw6IxfEEXqb
QyvFc2hhhBEj+7uWeYu4wk2umLi9Bi6pA3i5a4vUen4p2dgHsSEkIUdbEbwgM9Dn
sbxs7XFO89y89zNDSLvUUtjBrAYqMd4qf0UTimmh5oz/cngHsPdflvTsj4TO/e1u
PUl6Pj+cbIO5duydnGGQKL4oxHE5qpy1eBk/07bDTHp1/cx/Dirox6YatsjlKIjA
I7jypqaiAT+uaJBGoff3mgf5lrd3KF/pDWE20zrNu9NKmLZTeFs4NHHXHiEfAOZL
meGl6Rxl4IpB5tYScZqDydGiZqJTQkt79GD5Peu387pUG29IhFCiOMnKD5lXngJ6
WDatr+BkPCBodstqS6PyOaTnHx464Xra1TjWu3I8dXrqfQb5hafd4mxP26zWAriX
QwVRMRE3f749M0pkSwl6VkSK3gRGBYyjvTCK0tjr+iy6zoYwXHOlyXcrugMw+xqY
arqkD8xj/NG++xsgUttQX0MKNI9d0ElyMPL4z/ClvDGSBqMGmiTWtE7jqK6PIoz8
reDLxM5+okSWZKZNURVFlSdsdbPPqgiQqgAAv7w/ve4Pell/Kil0pI9Kveb55IzJ
m9cQtsLYcPClP/z8sFVLogDOzhCiKkXAKyYuR7FUmILpc43I9S8=
=834J
-----END PGP SIGNATURE-----
--- End Message ---