From owner-freebsd-ports@FreeBSD.ORG Fri Apr 22 15:07:44 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2759A106567A for ; Fri, 22 Apr 2011 15:07:44 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from unimail.uni-dortmund.de (mx1.HRZ.Uni-Dortmund.DE [129.217.128.51]) by mx1.freebsd.org (Postfix) with ESMTP id 995A18FC1C for ; Fri, 22 Apr 2011 15:07:43 +0000 (UTC) Received: from [192.168.178.28] (dtmd-4db7a36b.pool.mediaWays.net [77.183.163.107]) (authenticated bits=0) by unimail.uni-dortmund.de (8.14.4/8.14.4) with ESMTP id p3MF7Gto021564 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Fri, 22 Apr 2011 17:07:21 +0200 (CEST) Message-ID: <4DB199A3.7080705@FreeBSD.org> Date: Fri, 22 Apr 2011 17:07:15 +0200 From: Matthias Andree Organization: FreeBSD User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110419 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org References: <20110422114116.GZ1553@albert.catwhisker.org> <20110422122006.GA1682@elch.exwg.net> In-Reply-To: <20110422122006.GA1682@elch.exwg.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: dinoex@FreeBSD.org, david@catwhisker.org Subject: Re: Errors during Upgrade netpbm-10.26.64_4 to netpbm-10.35.80_2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2011 15:07:44 -0000 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