Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529404 - autotools.eclass: parallel eautoreconf is racy when sharing AC_CONFIG_MACRO_DIR or AC_CONFIG_AUX_DIR
Summary: autotools.eclass: parallel eautoreconf is racy when sharing AC_CONFIG_MACRO_D...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 419685 426596 445768 446408 468556 503866 509652 510684 513830 517856 518000 518038
  Show dependency tree
 
Reported: 2014-11-15 23:26 UTC by Alexander Tsoy
Modified: 2014-11-21 10:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2014-11-15 23:26:29 UTC
It is not safe to run eautoreconf in parallel. Just a few examples:

1. Race between libtoolize and aclocal:

sci-mathematics/4ti2:
bug 509652
bug 518000

dev-libs/cyrus-sasl:
bug 445768
bug 446408
bug 468556
bug 513830

net-libs/gnutls:
bug 503866
bug 517856
bug 518038

2. Race between multiple autoconfs:

net-libs/courier-authlib:
bug 510684

3. eautoreconf succeeds, but a broken libtool is generated:

dev-libs/cyrus-sasl:
bug 426596


In most cases developers cannot figure out what's happening or reporters closing their bugs because subsequent emerge succeeds. Also since this kind of bugs is very hard to reproduce I guess many bugs were never reported. Please consider reverting this commit:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?r1=1.145&r2=1.146
Comment 1 SpanKY gentoo-dev 2014-11-21 09:19:51 UTC
i've deleted the multiprocessing code for now and documented the problems in the eclass.  it's not an intractable problem, but being written in bash does not make the job easy.  thanks for the summary bug ... i'll close out all the dependent ones and unroll any hacks people have deployed.

http://sources.gentoo.org/eclass/autotools.eclass?r1=1.169&r2=1.170