[MacPorts] #15349: ppmtomd 1.5 returned build error upon vanilla install

MacPorts noreply at macports.org
Mon May 19 21:28:04 PDT 2008


#15349: ppmtomd 1.5 returned build error upon vanilla install
--------------------------------+-------------------------------------------
 Reporter:  talmage at zero.ad.jp  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  Port Bugs                            
Component:  ports               |     Version:  1.6.0                                
 Keywords:  ppmtomd             |  
--------------------------------+-------------------------------------------
 ppmtomd fails to build with a plain vanilla install of MacPorts 1.6 on OS
 10.5.2 with devkit.
 It seems ppmtomd requires the netpbm package as a dependency, yet the
 portfile must not include netpbm since it will not install the dependency
 and build fails returning errors of missing functions.

 After actually installing netpbm first via port, and then installing
 ppmtomd, the build seems to complete.

 Build log bellow.
 This was done on a vanilla install of MacPorts 1.6 install with no other
 ports installed.
 {{{
 bash:~ user$ sudo port install ppmtomd
 --->  Building ppmtomd with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ppmtomd/work/ppmtomd-1.5"
 && make all " returned error 2
 Command output: ppmtomd.c:2589: error: 'spotpixels' undeclared (first use
 in this function)
 ppmtomd.c:2664: warning: implicit declaration of function 'ppm_allocrow'
 ppmtomd.c:2670: warning: incompatible implicit declaration of built-in
 function 'malloc'
 ppmtomd.c:2686: warning: incompatible implicit declaration of built-in
 function 'malloc'
 ppmtomd.c:2703: warning: implicit declaration of function 'random'
 ppmtomd.c:2773: warning: implicit declaration of function 'ppm_readppmrow'
 ppmtomd.c:2823: error: parse error before 'p'
 ppmtomd.c:2825: warning: implicit declaration of function 'PPM_DEPTH'
 ppmtomd.c:2825: error: 'p' undeclared (first use in this function)
 ppmtomd.c:2873: warning: implicit declaration of function 'PPM_GETR'
 ppmtomd.c:2874: warning: implicit declaration of function 'PPM_GETG'
 ppmtomd.c:2875: warning: implicit declaration of function 'PPM_GETB'
 ppmtomd.c:2879: warning: implicit declaration of function 'PPM_LUMIN'
 ppmtomd.c:2990: warning: comparison between signed and unsigned
 ppmtomd.c:2993: warning: comparison between signed and unsigned
 ppmtomd.c:2996: warning: comparison between signed and unsigned
 ppmtomd.c:2999: warning: comparison between signed and unsigned
 ppmtomd.c:3126: warning: implicit declaration of function 'rand'
 ppmtomd.c:3174: warning: comparison between signed and unsigned
 ppmtomd.c:3184: warning: implicit declaration of function 'PPM_ASSIGN'
 ppmtomd.c:3256: warning: pointer targets in passing argument 1 of
 'packbits' differ in signedness
 ppmtomd.c:3256: warning: pointer targets in passing argument 3 of
 'packbits' differ in signedness
 ppmtomd.c:3256: warning: pointer targets in passing argument 4 of
 'packbits' differ in signedness
 ppmtomd.c:3293: warning: pointer targets in passing argument 1 of
 'sprintf' differ in signedness
 ppmtomd.c:3300: warning: pointer targets in passing argument 1 of
 'sprintf' differ in signedness
 ppmtomd.c:3307: warning: pointer targets in passing argument 1 of
 'sprintf' differ in signedness
 ppmtomd.c:3314: warning: pointer targets in passing argument 1 of
 'sprintf' differ in signedness
 ppmtomd.c:3322: warning: pointer targets in passing argument 1 of
 'sprintf' differ in signedness
 ppmtomd.c:3339: warning: pointer targets in passing argument 1 of
 'sprintf' differ in signedness
 make: *** [ppmtomd.o] Error 1

 Error: Status 1 encountered during processing.
 }}}

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


More information about the macports-tickets mailing list