Errors during Upgrade netpbm-10.26.64_4 to netpbm-10.35.80_2
cmt at burggraben.net
Fri Apr 22 12:21:40 UTC 2011
## David Wolfskill (david at catwhisker.org):
> cc -c -I/common/ports/graphics/netpbm/work/netpbm-10.35.80/converter/ppm/ppmtompeg/headers -I/usr/local/includeetpbm/work/netpbm-10.35.80/converter/ppm'
> gmake: *** [ppm/all] Error 2
> gmake: Leaving directory `/common/ports/graphics/netpbm/work/netpbm-10.35.80/converter'
> gmake: *** [converter/all] Error 2
> *** Error code 1
> Stop in /common/ports/graphics/netpbm.
Does your transcript miss stderr?
THe current graphics/netpbm port does not compile if there's an older
version of netpbm installed - /usr/local/include/pm.h from the older
netpbm takes precedence over the port's lib/pm.h but misses some macros
(well, it's an upgrade...) as PM_GNU_PRINTF_ATTR(a, b) which then confuse
pkg_delete -f the old netpbm and re-install the port, worked for me.
More information about the freebsd-ports