Summary: | net-mail/safecat fails to build with parallel make | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | net-mail+disabled |
Priority: | High | Flags: | robbat2:
Bugday+
|
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
ebuild patch - fix Makefile dependency |
Description
Diego Elio Pettenò (RETIRED)
2009-12-04 22:04:49 UTC
Created attachment 212099 [details]
Build log
Created attachment 226901 [details, diff]
ebuild patch - fix Makefile dependency
i was clicking through this relating the bugday blogposts.
The upstream Makefile seems to have a dependency issue. tempfile.c also needs to depend on the uint64.h target (this target creates the .h, after a ./configure-like check). Diego's buildlog (grep for "> uint64.h") shows this target is called before tempfile.c's compile, but completes after (grep for "rm -f tryulong64.o).
this racecondition is triggered by the -j14 make option.
i've attached a proposed quick fix, adding the missing dependency with a sed in src_unpack.
Fixed in safecat-1.13 that was just added to CVS. |