emulators/visualboyadvance-m fails to build
John Marino
freebsdml at marino.st
Wed Apr 10 07:56:57 UTC 2013
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
More information about the freebsd-ports
mailing list