[MacPorts] #15349: ppmtomd 1.5 returned build error upon vanilla install
#15349: ppmtomd 1.5 returned build error upon vanilla install --------------------------------+------------------------------------------- Reporter: talmage@zero.ad.jp | Owner: macports-tickets@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
#15349: ppmtomd 1.5 returned build error upon vanilla install ---------------------------------+------------------------------------------ Reporter: talmage@zero.ad.jp | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ppmtomd ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/15349#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15349: ppmtomd 1.5 should depend on netpmb ---------------------------------+------------------------------------------ Reporter: talmage@zero.ad.jp | Owner: ryandesign@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ppmtomd ---------------------------------+------------------------------------------ Changes (by ryandesign@macports.org): * status: new => assigned * summary: ppmtomd 1.5 returned build error upon vanilla install => ppmtomd 1.5 should depend on netpmb Comment: Confirmed on 10.4.11 Intel. I'll add the missing dependency. -- Ticket URL: <http://trac.macports.org/ticket/15349#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15349: ppmtomd 1.5 should depend on netpbm ---------------------------------+------------------------------------------ Reporter: talmage@zero.ad.jp | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ppmtomd ---------------------------------+------------------------------------------ Changes (by ryandesign@macports.org): * status: assigned => closed * resolution: => fixed * summary: ppmtomd 1.5 should depend on netpmb => ppmtomd 1.5 should depend on netpbm Comment: Fixed in r37040. Thanks for reporting the problem! -- Ticket URL: <http://trac.macports.org/ticket/15349#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts