Date: Fri, 22 Apr 2011 17:07:15 +0200 From: Matthias Andree <mandree@FreeBSD.org> To: freebsd-ports@FreeBSD.org Cc: dinoex@FreeBSD.org, david@catwhisker.org Subject: Re: Errors during Upgrade netpbm-10.26.64_4 to netpbm-10.35.80_2 Message-ID: <4DB199A3.7080705@FreeBSD.org> In-Reply-To: <20110422122006.GA1682@elch.exwg.net> References: <20110422114116.GZ1553@albert.catwhisker.org> <20110422122006.GA1682@elch.exwg.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB199A3.7080705>