https://bugs.winehq.org/show_bug.cgi?id=50050
Bug ID: 50050 Summary: Wine 5.20 build fails on Ubuntu 16.04 Product: Wine Version: 5.20 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: windowscodecs Assignee: wine-bugs@winehq.org Reporter: dimesio@earthlink.net Distribution: ---
Created attachment 68503 --> https://bugs.winehq.org/attachment.cgi?id=68503 Failed build log
Newer distros had no problem, but the build failed on Ubuntu 16.04. Build log from the x86_64 build on the OBS attached; the i586 build failed in the same way.
https://bugs.winehq.org/show_bug.cgi?id=50050
--- Comment #1 from Esme Povirk madewokherd@gmail.com --- [ 1246s] In file included from /usr/include/zlib.h:34:0, [ 1246s] from /usr/include/libpng12/png.h:317, [ 1246s] from dlls/windowscodecs/libpng.c:46: [ 1246s] /usr/include/x86_64-linux-gnu/zconf.h:377:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Bytef' [ 1246s] typedef Byte FAR Bytef;
Is there something before this line in zconf.h that might explain this?
https://bugs.winehq.org/show_bug.cgi?id=50050
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=50050
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net --- Created attachment 68504 --> https://bugs.winehq.org/attachment.cgi?id=68504 zconf.h from zlib1g-dev package for xenial
Attaching the zconf.h from the AMD64 zlib1g-dev package in the Xenial repository.
https://bugs.winehq.org/show_bug.cgi?id=50050
--- Comment #3 from Esme Povirk madewokherd@gmail.com --- I'm going to guess it has something to do with the definition of FAR.
Would you be able to add -E to the failing gcc command?
https://bugs.winehq.org/show_bug.cgi?id=50050
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- System headers like png.h have to be included before Windows headers.
https://bugs.winehq.org/show_bug.cgi?id=50050
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #5 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
It affects Debian 8 Jessie (oldoldstable) too.
Errors are identical to the provided build log.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=50050
--- Comment #6 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
I submitted a patch that fix it for Debian 8:
https://source.winehq.org/patches/data/195022
Regards.
https://bugs.winehq.org/show_bug.cgi?id=50050
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |6aa8e179759ddba104b56829840 | |48a61922f85f7
https://bugs.winehq.org/show_bug.cgi?id=50050
--- Comment #7 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to Olivier F. R. Dierick from comment #6)
Hello,
I submitted a patch that fix it for Debian 8:
https://source.winehq.org/patches/data/195022
Regards.
The patch fixes the build on Ubuntu 16.04.
https://bugs.winehq.org/show_bug.cgi?id=50050
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |195d0b5308580a0584296c909c2 | |d76b799035423 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Should be fixed by commit 195d0b5308580a0584296c909c2d76b799035423.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=50050
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.21.