[MacPorts] #16560: netpbm fails a parallel build

MacPorts noreply at macports.org
Thu Sep 18 18:59:35 PDT 2008


#16560: netpbm fails a parallel build
--------------------------------+-------------------------------------------
  Reporter:  jjstickel at vcn.com  |       Owner:  ryandesign at macports.org
      Type:  defect             |      Status:  assigned               
  Priority:  Normal             |   Milestone:  Port Bugs              
 Component:  ports              |     Version:  1.6.0                  
Resolution:                     |    Keywords:                         
      Port:  netpbm             |  
--------------------------------+-------------------------------------------
Changes (by jmr at macports.org):

  * keywords:  ticketformatting =>


Old description:

> 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.

New description:

 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.

--

-- 
Ticket URL: <http://trac.macports.org/ticket/16560#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list