Opened 16 years ago
Last modified 15 years ago
#16560 closed defect
netpbm fails a parallel build — at Version 3
Reported by: | jjstickel@… | Owned by: | ryandesign@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | netpbm |
Description (last modified by jmroot (Joshua Root))
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.cIn 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 herepm_config.h:488: error: redefinition of typedef 'int32n'pm_config.h:179: error: previous declaration of 'int32n' was hereIn 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 heregnumake[3]: *** [libpm.o] Error 1gnumake[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 2gnumake[2]: *** Waiting for unfinished jobs....gcc-4.0 -no-cpp-precomp -o libopt -L/opt/local/lib libopt.ognumake[1]: *** [pgm/all] Error 2gnumake: *** [converter/all] Error 2Error: Status 1 encountered during processing.
Not allowing a parallel build resolved the problem. I have attached a diff to the portfile.
Change History (4)
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 |
Note: See
TracTickets for help on using
tickets.
portfile diff