Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215252

Summary: =net-im/naim-0.11.8.3.2 parallel build failure
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: Current packagesAssignee: Gentoo Net-im project <net-im>
Status: RESOLVED WONTFIX    
Severity: normal CC: david, flameeyes, tanderson
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 176276, 205492    
Bug Blocks:    
Attachments: Parallel build patch
Ebuild patch
Updated patch
overrides -j in MAKEOPTS with -j 1

Description SpanKY gentoo-dev 2008-03-28 21:46:51 UTC
looks like events.o lacks depend on conio_cmds.h, so building in parallel fails:
root@G5[ppc] 0:0 src # make events.o
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../include -I../libfiretalk -I../libltdl -Wall -O2 -mcpu=970 -pipe -g -c events.c
events.c:14:24: error: conio_cmds.h: No such file or directory
Comment 1 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-06-02 22:22:28 UTC
Created attachment 155285 [details, diff]
Parallel build patch

Ebuild patch coming...
Comment 2 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-06-02 22:23:08 UTC
Created attachment 155287 [details, diff]
Ebuild patch

Works with MAKEOPTS="-j15", whereas without these patches it dies.
Comment 3 SpanKY gentoo-dev 2008-06-03 14:01:44 UTC
shouldnt it also declare ${srcdir}/events.c ?  and i dont think conio_cmds.h lives in srcdir, so you'll need to drop the prefix on that
Comment 4 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-06-03 14:17:47 UTC
Created attachment 155367 [details, diff]
Updated patch

With regards to your first question, my bad. Fixed in the new patch.

As to your concern that conio_cmds.h doesn't live in ${srcdir}, negative. naim-xxx/src/Makefile/ defines srcdir to equal '.'
Comment 5 SpanKY gentoo-dev 2008-06-03 15:35:01 UTC
that isnt how srcdir works.  you configured in the source tree, so srcdir and builddir will be the same (".").  if the header is a generated file, then a srcdir prefix is incorrect.  you could use ${builddir}/, but i'm not aware of any setup where builddir != pwd and so most code ive seen assumes this.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-11 12:26:10 UTC
*** Bug 240758 has been marked as a duplicate of this bug. ***
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-08-09 06:55:13 UTC
*** Bug 273716 has been marked as a duplicate of this bug. ***
Comment 8 David Gardner 2009-08-11 01:31:08 UTC
Could the pending removal flag be removed from this package?
Also is simply disabling the -j switch on make for this package an option, especially since it is rather small.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2009-09-22 18:37:22 UTC
(In reply to comment #8)
> Could the pending removal flag be removed from this package?
> Also is simply disabling the -j switch on make for this package an option,
> especially since it is rather small.
> 

Maybe, but what about bugs 176276 and 205492 (The depending ones.) ? They've been open since ages and noone seems to care.
Comment 10 David Gardner 2009-09-23 03:43:22 UTC
Created attachment 204990 [details, diff]
overrides -j in MAKEOPTS with -j 1
Comment 11 David Gardner 2009-09-23 03:49:05 UTC
I just posted a patch to override the -j switch in MAKEOPTS. 
The two bugs you mentioned are for the older 11.7.2 version of naim, which was released in 2004.

I realize this is the version that both of the 11.8 versions are keyword masked, but 11.7.2 could be dropped keeping the other two. 

> 
> Maybe, but what about bugs 176276 and 205492 (The depending ones.) ? They've
> been open since ages and noone seems to care.
> 

Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-09-23 08:43:38 UTC
Comment on attachment 204990 [details, diff]
overrides -j in MAKEOPTS with -j 1

Unmasked naim in tree and forced -j1. Leaving this bug open, because it's not a real solution.

There's also version bump available.
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2010-04-06 17:31:58 UTC
Removed from tree.