First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 202576
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lukas Sandström <luksan@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 202576 depends on: Show dependency tree
Show dependency graph
Bug 202576 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-17 13:57 0000
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 From Christian Roeder 2007-12-17 18:09:51 0000 -------
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 From Denis Dupeyron 2007-12-21 08:29:51 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug