From owner-freebsd-ports@FreeBSD.ORG Wed Apr 10 07:56:57 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 36CDAD59 for ; Wed, 10 Apr 2013 07:56:57 +0000 (UTC) (envelope-from freebsdml@marino.st) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) by mx1.freebsd.org (Postfix) with ESMTP id 152EFA88 for ; Wed, 10 Apr 2013 07:56:56 +0000 (UTC) Received: from [10.31.9.111] (unknown [213.225.137.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 7202843BC1; Wed, 10 Apr 2013 02:56:55 -0500 (CDT) Message-ID: <51651B46.70802@marino.st> Date: Wed, 10 Apr 2013 09:56:54 +0200 From: John Marino User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: David Demelier Subject: Re: emulators/visualboyadvance-m fails to build References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2013 07:56:57 -0000 On 4/10/2013 08:59, David Demelier wrote: > Hello, > > On a very recent ports tree I could not build visualboyadvance-m, it > fails with the following error : > > /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-1.8.0r1001/fex/fex/Data_Reader.cpp:750: > error: initializing argument 1 of 'const char* > convert_gz_error(gzFile_s*)' > /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-1.8.0r1001/fex/fex/Data_Reader.cpp: > In member function 'void Gzip_File_Reader::close()': > /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-1.8.0r1001/fex/fex/Data_Reader.cpp:759: > error: invalid conversion from 'void*' to 'gzFile_s*' > /wrkdirs/usr/ports/emulators/visualboyadvance-m/work/visualboyadvance-m-1.8.0r1001/fex/fex/Data_Reader.cpp:759: > Here is the full error log : > http://packages.malikania.fr/logs/Melon/latest/logs/errors/visualboyadvance-m-1.8.0r1001_3.log > > Does anyone has the same issue? > I've seen that type of error a 100 times in other packages. It's caused by using zlib 1.26 or greater with software that mis-implemented the zlib interface. At version 1.26 a typedef change made the past error apparent. So some zlib must have been upgraded (base?). There's going to be a lot of fallout from that upgrade. DragonFly saw this very thing a few months ago when the base zlib was updated to 1.27 and suddenly pkgsrc packages started failing to build. John