Your message dated Tue, 1 Feb 2022 09:43:13 -0600
with message-id <25081.21777.220845.206...@rob.eddelbuettel.com>
has caused the   report #1004747,
regarding r-base: Please include patch to fix build on alpha
to be marked as having been forwarded to the upstream software
author(s) Kurt Hornik <kurt.hor...@wu.ac.at>

(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 ow...@bugs.debian.org
immediately.)


-- 
1004747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004747
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Hi Kurt,

This looks pretty legit, our fellow Debian porters usually know what they are
doing (while we can question their sanity of holding on to platforms that
stopped being made decades ago ;-) :wink: Brian would sympathise though).

Can you review and if appropriate include upstream?

I can of course (and likely will) add a patch to 4.1.2; you can then follow
the build progress as usual at 
https://buildd.debian.org/status/package.php?p=r-base

(Note to my fellow Debianers: the pages is hence currently "lying" if it says
'build on Alpha 14 mins ago as 4.1.2-1' because it "hides" the patch here
from the version?  All good though -- appreciate the help and testing!)

Dirk

On 1 February 2022 at 16:15, John Paul Adrian Glaubitz wrote:
| Source: r-base
| Version: 4.1.2-1
| Severity: normal
| User: debian-al...@lists.debian.org
| Usertags: alpha
| X-Debbugs-Cc: debian-al...@lists.debian.org,b...@debian.org
| 
| 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 - glaub...@debian.org
| `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
|   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
| x[DELETED ATTACHMENT use-fPIC-on-alpha.patch, plain text]

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

--- End Message ---

Reply via email to