Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15349 closed defect (fixed)

ppmtomd 1.5 should depend on netpbm

Reported by: talmage@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: ppmtomd Cc:
Port:

Description

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.

Change History (4)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ryandesign@…

Assigning to maintainer.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newassigned
Summary: ppmtomd 1.5 returned build error upon vanilla installppmtomd 1.5 should depend on netpmb

Confirmed on 10.4.11 Intel. I'll add the missing dependency.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Summary: ppmtomd 1.5 should depend on netpmbppmtomd 1.5 should depend on netpbm

Fixed in r37040. Thanks for reporting the problem!

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.