Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650230 - sys-devel/automake-1.16-r1 fails with -j>1: help2man: can't get `--help' info from aclocal-1.16
Summary: sys-devel/automake-1.16-r1 fails with -j>1: help2man: can't get `--help' info...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-11 17:54 UTC by Alex Xu (Hello71)
Modified: 2019-05-04 08:26 UTC (History)
2 users (show)

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


Attachments
build log. (build.log,14.58 KB, text/plain)
2019-03-12 20:11 UTC, lperkins
Details
emerge --info (info.txt,5.58 KB, text/plain)
2019-03-12 20:12 UTC, lperkins
Details
build.log using -j31 (build-working.log,22.47 KB, text/plain)
2019-03-12 21:22 UTC, Thomas Deutschmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Xu (Hello71) 2018-03-11 17:54:15 UTC
running make again or using -j1 fixes problem.
Comment 1 Thomas Deutschmann gentoo-dev Security 2018-03-11 22:23:56 UTC
Please attach build.log and `emerge --info` output.
Comment 2 lperkins 2019-03-12 20:11:22 UTC
Created attachment 568902 [details]
build log.
Comment 3 lperkins 2019-03-12 20:12:45 UTC
Created attachment 568914 [details]
emerge --info
Comment 4 lperkins 2019-03-12 20:14:56 UTC
Just ran into this on my system.  As far as I can tell it's a race condition in the automake build process.  I'm not sure exactly where though.
Comment 5 Thomas Deutschmann gentoo-dev Security 2019-03-12 21:19:30 UTC
After discussion on IRC I am going to drop "CONFIRMED" status. We still don't have a reproducer. Ben noticed that 

> ln bin/aclocal bin/aclocal-1.16

and 

> ln bin/automake bin/automake-1.16

are missing in attached build.log which looks like 

> install-exec-hook:
>     @$(POST_INSTALL)
>     @for p in $(bin_SCRIPTS); do \
>       f=`echo $$p | sed -e 's,.*/,,' -e '$(transform)'`; \
>       fv="$$f-$(APIVERSION)"; \
>       rm -f "$(DESTDIR)$(bindir)/$$fv"; \
>       echo " $(LN) '$(DESTDIR)$(bindir)/$$f' '$(DESTDIR)$(bindir)/$$fv'"; \
>       $(LN) "$(DESTDIR)$(bindir)/$$f" "$(DESTDIR)$(bindir)/$$fv"; \
>     done

from $src/bin/local.mk didn't run for some reason...
Comment 6 Thomas Deutschmann gentoo-dev Security 2019-03-12 21:22:22 UTC
Created attachment 568918 [details]
build.log using -j31
Comment 7 Alex Xu (Hello71) 2019-03-13 02:09:57 UTC
maybe it would be worth adding a check if make fails and if so, print a warning to retry the build with instructions to post build log to this bug?
Comment 8 Alex Xu (Hello71) 2019-03-13 02:10:42 UTC
pressed submit too early.

I think it's probably not worth forcing -j1 for the apparent majority of users that have no problem, even if the difference is only a few seconds.
Comment 9 Lionel Bouton 2019-05-04 08:26:09 UTC
I can confirm the failure and the fix (MAKEOPTS=-j1) on one of my system.