Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653080 - >sys-devel/autoconf-archive-2017.08.14: AX_BOOST_BASE breaks because while uname -m returned "ppc", host_cpu uses "powerpc"
Summary: >sys-devel/autoconf-archive-2017.08.14: AX_BOOST_BASE breaks because while un...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-04-13 06:33 UTC by Luke-Jr
Modified: 2021-04-25 21:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
AX_BOOST_BASE patch for latest autoconf archive git (ax_boost_base_fix.patch,762 bytes, patch)
2018-04-13 06:33 UTC, Luke-Jr
Details | Diff
AX_BOOST_BASE patch for older autoconf archive versions (fixes a similar bug too) (ax_boost_base_fix_2.patch,789 bytes, patch)
2018-04-13 06:33 UTC, Luke-Jr
Details | Diff
Lone fix for other extra-comma bug (ax_boost_base_extra_comma.patch,1.01 KB, patch)
2018-04-13 06:57 UTC, Luke-Jr
Details | Diff

Note You need to log in before you can comment on or make changes to this 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 gentoo-dev Security 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-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?