Am 22.04.2011 14:20, schrieb Christoph Moench-Tegeder:
> ## David Wolfskill (david@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[1]: *** [ppm/all] Error 2
>> gmake[1]: 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
> the compiler.
Which would then have to be fixed through CPPFLAGS such that the local
headers take preference over system headers.
I know errors like these go unnoticed in tinderbox (perhaps tinderbox
should try to install the previous version for a 2nd build attempt to
uncover these...) - but "port test" should find them.
Dirk, please report this to the upstream as well.
David, please file a PR so this doesn't get lost.
--
Matthias Andree
FreeBSD ports committer
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"