Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202576 - dev-embedded/avrdude-5.5 can't be built in parallel
Summary: dev-embedded/avrdude-5.5 can't be built in parallel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-17 13:57 UTC by Lukas Sandström
Modified: 2007-12-21 08:29 UTC (History)
1 user (show)

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 Lukas Sandström 2007-12-17 13:57:39 UTC
avrdude needs to be built with MAKEOPTS=-j1, otherwise the compilation sometimes fails with "no such file or directory: config_gram.h".



Reproducible: Sometimes

Steps to Reproduce:
1.MAKEOPTS=-j1 emerge avrdude
2.
3.
Comment 1 christian.roeder 2007-12-17 18:09:51 UTC
I can confirm this, the reason is this line in the ebuild:

# let the build system re-generate these, bug #120194
rm -f lexer.c config_gram.c config_gram.h

So these files have to be generated before compiling starts, which does not work when building in in parallel.
Comment 2 Denis Dupeyron (RETIRED) gentoo-dev 2007-12-21 08:29:51 UTC
Sorry, I removed the -j1 because I thought I had tested this thoroughly enough. I still can't reproduce it but since it has been reported to me by other users I believed it. So I looked for a clean way to patch the autothings files instead of just re-adding -j1, but couldn't find one. Some day I'll understand how the autothings work. Maybe.

In the meantime I'm re-adding -j1.

Denis.