Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 653080

Summary: >sys-devel/autoconf-archive-2017.08.14: AX_BOOST_BASE breaks because while uname -m returned "ppc", host_cpu uses "powerpc"
Product: Gentoo Linux Reporter: Luke-Jr <luke-jr+gentoobugs>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: AX_BOOST_BASE patch for latest autoconf archive git
AX_BOOST_BASE patch for older autoconf archive versions (fixes a similar bug too)
Lone fix for other extra-comma bug

Description Luke-Jr 2018-04-13 06:33:03 UTC
Created attachment 527246 [details, diff]
AX_BOOST_BASE patch for latest autoconf archive git

AX_BOOST_BASE was broken on PPC64 on 2017-08-15:

http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commitdiff;h=eec38689ce1b47910b60d4cfa1848b9394237214

(This breaks it because while uname -m returned "ppc", host_cpu uses "powerpc")

I have sent the patch upstream, but for now, I suggest:

1) Remove the ppc64 keywords from affected versions.
2) Bump both versions (since only one is currently stable on ppc64) with the fix (maybe leave the bumps unkeyworded on non-ppc64 arches since they don't need it?).

Note that I have not evaluated whether this may affect non-64-bit PPC as well.
Comment 1 Luke-Jr 2018-04-13 06:33:51 UTC
Created attachment 527248 [details, diff]
AX_BOOST_BASE patch for older autoconf archive versions (fixes a similar bug too)
Comment 2 Luke-Jr 2018-04-13 06:57:59 UTC
Created attachment 527250 [details, diff]
Lone fix for other extra-comma bug

For reference, this patch fixes another bug in 2017.09.28: the extra comma caused all arches other than amd64, sparc64, and aarch64, to fail because their lib dirs were never even checked. (It was fixed upstream in 2017-11-27.)
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2018-04-14 13:56:43 UTC
> I have sent the patch upstream,
I cannot find it in upstream mailing list/bug tracker. Where exactly did you send it to?
Comment 4 Luke-Jr 2018-04-14 18:00:35 UTC
The listed author for AX_BOOST_BASE (Thomas Porschberg) directly.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-31 23:37:07 UTC
(In reply to Luke-Jr from comment #4)
> The listed author for AX_BOOST_BASE (Thomas Porschberg) directly.

Any update?