Your message dated Wed, 02 Feb 2022 16:06:50 +0000
with message-id <[email protected]>
and subject line Bug#1004747: fixed in r-base 4.1.2-2
has caused the Debian Bug report #1004747,
regarding r-base: Please include patch to fix build on alpha
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.)
--
1004747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004747
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: r-base
Version: 4.1.2-1
Severity: normal
User: [email protected]
Usertags: alpha
X-Debbugs-Cc: [email protected],[email protected]
Hi!
r-base currently FTBFS on alpha with:
gfortran -fno-optimize-sibling-calls -fpic -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -c xxxpr.f -o xxxpr.o
gcc -std=gnu99 -shared -fopenmp -Wl,-z,relro -o libR.so CommandLineArgs.o
Rdynload.o Renviron.o RNG.o agrep.o altclasses.o altrep.o apply.o arithmetic.o
array.o attrib.o bind.o builtin.o character.o coerce.o colors.o complex.o
connections.o context.o cum.o dcf.o datetime.o debug.o deparse.o devices.o
dotcode.o dounzip.o dstruct.o duplicate.o edit.o engine.o envir.o errors.o
eval.o format.o gevents.o gram.o gram-ex.o graphics.o grep.o identical.o
inlined.o inspect.o internet.o iosupport.o lapack.o list.o localecharset.o
logic.o main.o mapply.o match.o memory.o names.o objects.o options.o paste.o
patterns.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o
printvector.o printutils.o qsort.o radixsort.o random.o raw.o registration.o
relop.o rlocale.o saveload.o scan.o seq.o serialize.o sort.o source.o split.o
sprintf.o startup.o subassign.o subscript.o subset.o summary.o sysutils.o
times.o unique.o util.o version.o g_alab_her.o g_cntrlify.o g_fontdb.o
g_her_glyph.o xxxpr.o `ls ../unix/*.o ../appl/*.o ../nmath/*.o`
../extra/tre/libtre.a -lblas -lgfortran -lm -lreadline -lpcre2-8 -llzma
-lbz2 -lz -ltirpc -lrt -ldl -lm -licuuc -licui18n
platform.o: in function `machar':
./src/main/machar.c:128:(.text+0x21dc): relocation truncated to fit: GPREL16
against `.rodata.cst16'
../nmath/pnchisq.o: in function `Rf_pnchisq_raw':
./src/nmath/pnchisq.c:125:(.text+0x48c): relocation truncated to fit: GPREL16
against `.rodata.cst16'
./src/nmath/pnchisq.c:230:(.text+0x818): relocation truncated to fit: GPREL16
against `.rodata.cst16'
./src/nmath/pnchisq.c:230:(.text+0xb08): relocation truncated to fit: GPREL16
against `.rodata.cst16'
collect2: error: ld returned 1 exit status
Adrian Bunk found out that this is an issue of linking with -fpic instead of
-fPIC. Adjusting the
flags fixes the linker error. Attaching a patch which patches both configure.ac
and configure. The
latter is necessary since the package currently doesn't regenerate the
configure before build auto-
matically.
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - [email protected]
`. `' Freie Universitaet Berlin - [email protected]
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Index: r-base-4.1.2/configure.ac
===================================================================
--- r-base-4.1.2.orig/configure.ac
+++ r-base-4.1.2/configure.ac
@@ -1316,7 +1316,7 @@ if test "${GCC}" = yes; then
## has 32k and so can use -fpic.
## However, although the gcc docs do not mention it, it seems s390/s390x
## also supports and needs -fPIC
- sparc*|ppc64*|powerpc64*|s390*)
+ alpha*|sparc*|ppc64*|powerpc64*|s390*)
cpicflags="-fPIC"
;;
*)
@@ -1327,7 +1327,7 @@ if test "${GCC}" = yes; then
fi
if test "${ac_cv_fc_compiler_gnu}" = yes; then
case "${host_cpu}" in
- sparc*|ppc64*|powerpc64*|s390*)
+ alpha*|sparc*|ppc64*|powerpc64*|s390*)
fpicflags="-fPIC"
;;
*)
@@ -1343,7 +1343,7 @@ case "${FC}" in
esac
if test "${GXX}" = yes; then
case "${host_cpu}" in
- sparc*|ppc64*|powerpc64*|s390*)
+ alpha*|sparc*|ppc64*|powerpc64*|s390*)
cxxpicflags="-fPIC"
;;
*)
Index: r-base-4.1.2/configure
===================================================================
--- r-base-4.1.2.orig/configure
+++ r-base-4.1.2/configure
@@ -28883,7 +28883,7 @@ if test "${GCC}" = yes; then
## has 32k and so can use -fpic.
## However, although the gcc docs do not mention it, it seems s390/s390x
## also supports and needs -fPIC
- sparc*|ppc64*|powerpc64*|s390*)
+ alpha*|sparc*|ppc64*|powerpc64*|s390*)
cpicflags="-fPIC"
;;
*)
@@ -28894,7 +28894,7 @@ if test "${GCC}" = yes; then
fi
if test "${ac_cv_fc_compiler_gnu}" = yes; then
case "${host_cpu}" in
- sparc*|ppc64*|powerpc64*|s390*)
+ alpha*|sparc*|ppc64*|powerpc64*|s390*)
fpicflags="-fPIC"
;;
*)
@@ -28910,7 +28910,7 @@ case "${FC}" in
esac
if test "${GXX}" = yes; then
case "${host_cpu}" in
- sparc*|ppc64*|powerpc64*|s390*)
+ alpha*|sparc*|ppc64*|powerpc64*|s390*)
cxxpicflags="-fPIC"
;;
*)
--- End Message ---
--- Begin Message ---
Source: r-base
Source-Version: 4.1.2-2
Done: Dirk Eddelbuettel <[email protected]>
We believe that the bug you reported is fixed in the latest version of
r-base, 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.
Dirk Eddelbuettel <[email protected]> (supplier of updated r-base 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: SHA256
Format: 1.8
Date: Wed, 02 Feb 2022 07:17:35 -0600
Source: r-base
Architecture: source
Version: 4.1.2-2
Distribution: unstable
Urgency: medium
Maintainer: Dirk Eddelbuettel <[email protected]>
Changed-By: Dirk Eddelbuettel <[email protected]>
Closes: 1004747
Changes:
r-base (4.1.2-2) unstable; urgency=medium
.
* debian/patches/use-fPIC-on-alpha: Applying patch to permit build on
alpha platform also by now applied upstream (Closes:
#1004747)
* debian/patches/series: Activated patch
Checksums-Sha1:
9523b69b9b1c7a0b286f3a70e69579357302fab8 3014 r-base_4.1.2-2.dsc
a8130669ae862f3e44f8e9d3e1a6302b9d1a3325 97808 r-base_4.1.2-2.debian.tar.xz
34c66937a31ef71736ade431cc590779daf9001a 16417 r-base_4.1.2-2_amd64.buildinfo
Checksums-Sha256:
f6547a792562e0d694e27b6b9e5352078ee6f46417b092634f3d22a90b13ad98 3014
r-base_4.1.2-2.dsc
9c34056068e8df55609f3fbd4c9b52fb9d5f2afbdcf17a120be4fb9fa878f282 97808
r-base_4.1.2-2.debian.tar.xz
c588e9c9ab099853802abc199431a4d5ec048c7b70629e8ccd786e0973729036 16417
r-base_4.1.2-2_amd64.buildinfo
Files:
b136615084b992b7463589ecc7561f77 3014 gnu-r optional r-base_4.1.2-2.dsc
7da67d23193ee74908a1f46c19fa5bee 97808 gnu-r optional
r-base_4.1.2-2.debian.tar.xz
caa388d1cd1af8f37f8cf30c06f6b9ea 16417 gnu-r optional
r-base_4.1.2-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIVAwUBYfqmlKFIn+KrmaIaAQjiZA/8CK9ZzMWlTibL1P7GFtoTIvYVEjXfN1Cj
A4ix4TSoyohBM55Mbto9U3uagkPr7mI/itrM4HSbbAnVdVCkoKVu0oJu9Au86726
1DquRYjtBQ0rqiCdGr5FUGTBm5aqP+AwSkI7wMQeXg0Q9ZtUBEK0lZ6lIeK1uU/A
fku9vm8+IJiBbwh5MFftvLCx5Ua4j9/Fp4SzIeLCNcugCXxEE5sep/MwfS83F5Hw
zg8vLQGekGa5G2aoT1zraCtaPmsXzrG19zVIsmAPL/7LIvzI21WspYNzvvUZPJAe
GLBbi9OpONLI8yhwbQlkuPMxEOdfnR3fW4M8/M4iWfI153lq7JczXQDOLh+hLq5L
A7rahcoGagVzIFpwO+WPnh5HQVzzGTpMeyqQyquPdtONz16Ev0MGjrDcTuRqB035
hoAO2H/XsTyeXI7pwZ/kav5rlYhZUbJPO881+2Sdlo1Tifhz0aUJcM0FcG8lh/pS
xUaDapSt6zHhEdqowC6LKxynC7kR+hK8OjXbLwzv0hwo9IxC1AMMoAAJ6PRtqIki
k/05mHvgVv6tgMDkVxoBI9X/6LHraYOhS4kHBCiLTRH5qYiw9I2kyAPWZOXwIwTG
xFJ59mAr7M03C/GtdxZsNFHAJ6KMDWJIik+UW6CeSCKpB0r2gn/HlmIMkNLUBIEu
9AWaYq/TD9s=
=XWAV
-----END PGP SIGNATURE-----
--- End Message ---