Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642576 - [Prefix bootstrap] dev-libs/mpc-1.0.3-r1: fails at stage2 with 'Cannot find the latest automake! Tried 1.15:1.15'
Summary: [Prefix bootstrap] dev-libs/mpc-1.0.3-r1: fails at stage2 with 'Cannot find t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 642300
Blocks:
  Show dependency tree
 
Reported: 2017-12-28 22:59 UTC by hanetzer
Modified: 2017-12-29 13:08 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_642576.txt,8.34 KB, text/plain)
2017-12-28 23:01 UTC, hanetzer
Details
stage2.log (stage2.log.gz,303.15 KB, application/gzip)
2017-12-28 23:04 UTC, hanetzer
Details
dev-libs/mpc-1.0.3-r1 build.log (build.log,1.98 KB, text/x-log)
2017-12-28 23:07 UTC, hanetzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hanetzer 2017-12-28 22:59:04 UTC
When attempting to bootstrap prefix (either with `bootstrap-prefix.sh` or
`bootstrap-rap.sh`, with or without the 'existing gentoo' shortcut), all
goes well up until the point it attempts to install dev-libs/mpc-1.0.3-r1,
at which point it fails.

Reproducible: Always

Steps to Reproduce:
1. run either bootstrap-prefix.sh or bootstrap-rap.sh
2. use defaults (I bumped make jobs to 12)
3. fail.
Actual Results:  
Failure to bootstrap a prefix/rap

Expected Results:  
Successful installation of gentoo prefix.

I'm currently on default/linux/amd64/17.1, with ~amd64
Comment 1 hanetzer 2017-12-28 23:01:45 UTC
Created attachment 511902 [details]
emerge --info

Yes, some of the overlays may be troubling, but ::musl is masked off and I use
it purely in my crossdev backed musl toolchain. Same for ::mingw-w64, its a
project I'm working on.
Comment 2 hanetzer 2017-12-28 23:04:58 UTC
Created attachment 511904 [details]
stage2.log
Comment 3 hanetzer 2017-12-28 23:07:03 UTC
Created attachment 511906 [details]
dev-libs/mpc-1.0.3-r1 build.log
Comment 4 hanetzer 2017-12-28 23:43:34 UTC
ok, this is probably a bad idea/hack, but doing
`WANT_AUTOMAKE=1.11 ./boostrap-rap.sh $EPREFIX stage2` let the process finish.
Trying stage3 now.
Comment 5 Benda Xu gentoo-dev 2017-12-29 03:59:58 UTC
mpc-1.0.3-r1 calls eautoreconf, which is not available at stage2.
Comment 6 Larry the Git Cow gentoo-dev 2017-12-29 10:43:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66cdca4a0b121ae77b2530b080e414f96569206a

commit 66cdca4a0b121ae77b2530b080e414f96569206a
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-12-29 10:43:01 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-12-29 10:43:26 +0000

    dev-libs/mpc: remove eautoreconf call from ebuild, bug #642300
    
    As mpc is one of bootstrap libraries it's highly undesirable
    to depend on autotools. Early autotools requirement breaks
    prefix bootstrap for example. See https://bugs.gentoo.org/642300
    
    The change updates patch to modify both configure.ac and configure.
    
    Bug: https://bugs.gentoo.org/642576
    Closes: https://bugs.gentoo.org/642300
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-libs/mpc/files/mpc-1.0.3-mpfr-4.0.0.patch | 44 +++++++++++++++++++++++++++
 dev-libs/mpc/mpc-1.0.3-r1.ebuild              |  3 +-
 2 files changed, 45 insertions(+), 2 deletions(-)}
Comment 7 Fabian Groffen gentoo-dev 2017-12-29 13:08:26 UTC
closing per comment #6