#16560 closed defect (fixed)
netpbm fails a parallel build
Reported by: | jjstickel@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | netpbm |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
a parallel build on Tiger (10.4.11) with recent XCode and Macports failed with the following:
gcc-4.0 -no-cpp-precomp -c -O3 -I/opt/local/include -o libopt.o \-DSHLIBPREFIXLIST="\"lib\"" \ \ libopt.c In file included from pm.h:16, from libpm.c:42: pm_config.h:487: error: redefinition of typedef 'uint32n' pm_config.h:178: error: previous declaration of 'uint32n' was here pm_config.h:488: error: redefinition of typedef 'int32n' pm_config.h:179: error: previous declaration of 'int32n' was here In file included from pm.h:16, from libpm.c:42: pm_config.h:623: error: redefinition of typedef 'pm_filepos' pm_config.h:314: error: previous declaration of 'pm_filepos' was here gnumake[3]: *** [libpm.o] Error 1 gnumake[2]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_netpbm/work/netpbm-10.26.51/lib/libnetpbm.dylib] Error 2 gnumake[2]: *** Waiting for unfinished jobs.... gcc-4.0 -no-cpp-precomp -o libopt -L/opt/local/lib libopt.o gnumake[1]: *** [pgm/all] Error 2 gnumake: *** [converter/all] Error 2 Error: Status 1 encountered during processing.
Not allowing a parallel build resolved the problem. I have attached a diff to the portfile.
Attachments (1)
Change History (8)
Changed 16 years ago by jjstickel@…
Attachment: | Portfile-netpbm.diff added |
---|
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | ticketformatting added; netpbm removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | netpbm added |
Status: | new → assigned |
Indeed, it fails for me now too on a dual-core MacBook Pro. This is unfortunate since I enabled the parallel build in r38586. I don't enable the parallel build in ports if I haven't tested it... but that's the fun thing about parallel builds -- they can work sometimes and then fail other times.
comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
I disabled the parallel build in r40029. The authors of netpbm should still be informed about this problem in their software.
comment:3 Changed 16 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Keywords: | ticketformatting removed |
comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I sent an email to developer Bryan Henderson (there is no bug tracker or mailing list).
comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Bryan responded saying he would fix it:
From: bryanh@giraffe-data.com (Bryan Henderson) Date: September 24, 2008 12:45:05 CDT To: ryandesign@macports.org Subject: Re: netpbm fails parallel build I have added dependencies so a parallel make should work in current releases in a few days. -- Bryan Henderson San Jose, California
Marcus re-enabled the parallel build in r43004 but this caused problems again; see #17516.
portfile diff