Bug#946836: Build failure on powerpc architectures

2020-03-25 Thread Dirk Eddelbuettel
On 25 March 2020 at 09:45, John Paul Adrian Glaubitz wrote: | Thanks for fixing the issue upstream, much appreciated. Seconded. I'll make a fixed release of 3.6.3 with an updated patch as well, just in case. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

Bug#946836: Build failure on powerpc architectures

2020-03-25 Thread John Paul Adrian Glaubitz
Hi Martin! On 3/25/20 9:27 AM, Martin Maechler wrote: > Thanks a lot, Adrian! > > { When I had added __PPC64__ it was because it "seemed clear" > (by the OP, I don't have access to these architectures) that the > clause should only be used for powerpc architectures where > -mlong-double-

Bug#946836: Build failure on powerpc architectures

2020-03-25 Thread Martin Maechler
> John Paul Adrian Glaubitz > on Tue, 24 Mar 2020 20:32:14 +0100 writes: > Hi! > On 3/24/20 8:01 PM, John Paul Adrian Glaubitz wrote: >> It would be nice if this bug could be fixed as the missing r-base package >> is blocking a lot of other packages on powerpc. >

Bug#946836: Build failure on powerpc architectures

2020-03-24 Thread Dirk Eddelbuettel
Tomas, Martin, The issue is still the long double. The log pointed to by John reveals gcc -std=gnu99 -I../../src/extra -I. -I../../src/include -I../../src/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror

Bug#946836: Build failure on powerpc architectures

2020-03-24 Thread John Paul Adrian Glaubitz
On 3/24/20 8:32 PM, Dirk Eddelbuettel wrote: > In r-devel I see > > #if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE) > # ifdef __PPC64__ > // PowerPC 64 (when gcc has -mlong-double-128) fails constant folding with > LDOUBLE > # define q_1_eps (1 / LDBL_EPSILON) > # else > static LDO

Bug#946836: Build failure on powerpc architectures

2020-03-24 Thread John Paul Adrian Glaubitz
Hi! On 3/24/20 8:01 PM, John Paul Adrian Glaubitz wrote: > It would be nice if this bug could be fixed as the missing r-base package > is blocking a lot of other packages on powerpc. This can be easily fixed by replacing __PPC64__ with __powerpc__ which is defined on all PowerPC architectures (p

Bug#946836: Build failure on powerpc architectures

2020-03-24 Thread John Paul Adrian Glaubitz
(Re-sent as the bug report had to be unarchived first) Control: reopen -1 User: debian-powe...@lists.debian.org Usertags: powerpc X-Debbugs-CC: debian-powe...@lists.debian.org Hello! This bug is still present [1], not sure why this bug report was closed. A Debian powerpc/ppc64 porterbox is avai

Bug#946836: Build failure on powerpc architectures

2019-12-17 Thread Martin Maechler
> Sebastien Bacher > on Tue, 17 Dec 2019 09:44:11 +0100 writes: > Hey Dirk, Le 16/12/2019 à 22:55, Dirk Eddelbuettel a > écrit : >> Nice. I applied that, and prepare a 'local' package. >> Sebastien, could you test it to be sure? > I've tested your package in a ppa

Bug#946836: Build failure on powerpc architectures

2019-12-17 Thread Sebastien Bacher
Hey Dirk, Le 16/12/2019 à 22:55, Dirk Eddelbuettel a écrit : > Nice. I applied that, and prepare a 'local' package. Sebastien, could you > test it to be sure? I've tested your package in a ppa and it builds fine on all architectures, including ppc, seems good to go to me :-) Thanks!

Bug#946836: Build failure on powerpc architectures

2019-12-16 Thread Dirk Eddelbuettel
On 16 December 2019 at 22:04, Martin Maechler wrote: | Oops, no! | Tomas the expert has explained me why that would not be good enough, | instead recommending a macro (which would be "constant folded" i.e., | computed at compile time were available); | If I conditionalize that .. in order to be

Bug#946836: Build failure on powerpc architectures

2019-12-16 Thread Martin Maechler
On Mon, Dec 16, 2019 at 8:29 PM Martin Maechler wrote: > > Thank you, Dirk, for keeping me in the loop. I'm happy if you test to > see if the change works. > > As a matter of fact, I think a slightly different patch should be used > rather than the one proposed. > Given what I've learned in the m

Bug#946836: Build failure on powerpc architectures

2019-12-16 Thread Martin Maechler
Thank you, Dirk, for keeping me in the loop. I'm happy if you test to see if the change works. As a matter of fact, I think a slightly different patch should be used rather than the one proposed. Given what I've learned in the meantime, I think I'd rather use Index: src/main/arithmetic.c ==

Bug#946836: Build failure on powerpc architectures

2019-12-16 Thread Sebastien Bacher
Le 16/12/2019 à 15:23, Dirk Eddelbuettel a écrit : > Can you remind if/how I could get shell access to PowerPC to test? https://wiki.debian.org/PorterBoxHowToUse should have the details needed Seems like the ppc boxes have restricted access though... I can test a patch/package on an Ubuntu porte

Bug#946836: Build failure on powerpc architectures

2019-12-16 Thread Dirk Eddelbuettel
Hi Sebastian, On 16 December 2019 at 13:52, Sebastien Bacher wrote: | Package: r-base | Version: 3.6.2-1 | | The current upload failed to build on powerpc | https://buildd.debian.org/status/fetch.php?pkg=r-base&arch=powerpc&ver=3.6.2-1&stamp=1576151048&raw=0 | | gcc -std=gnu99 -I../../src/ext

Bug#946836: Build failure on powerpc architectures

2019-12-16 Thread Sebastien Bacher
Package: r-base Version: 3.6.2-1 The current upload failed to build on powerpc https://buildd.debian.org/status/fetch.php?pkg=r-base&arch=powerpc&ver=3.6.2-1&stamp=1576151048&raw=0 gcc -std=gnu99 -I../../src/extra -I. -I../../src/include -I../../src/include -I../../src/nmath -DHAVE_CONFIG_H