Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2013 09:56:54 +0200
From:      John Marino <freebsdml@marino.st>
To:        David Demelier <demelier.david@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: emulators/visualboyadvance-m fails to build
Message-ID:  <51651B46.70802@marino.st>
In-Reply-To: <CAO%2BPfDcUQ59UVPb9BOpZzo5P52nn68P-No-Ni3gVt6Qa906u0A@mail.gmail.com>
References:  <CAO%2BPfDcUQ59UVPb9BOpZzo5P52nn68P-No-Ni3gVt6Qa906u0A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51651B46.70802>