Ticket #16560 (closed defect: fixed)
netpbm fails a parallel build
| Reported by: | jjstickel@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | ||
| Port: | netpbm |
Description (last modified by ryandesign@…) (diff)
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
Change History
Note: See
TracTickets for help on using
tickets.


