https://bugs.winehq.org/show_bug.cgi?id=54166
Bug ID: 54166 Summary: Compilation fails with gcc 4.8.4 (error: ‘HTTP_STATUS_CONTINUE’ undeclared) Product: Wine Version: 8.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: version2013@protonmail.com Distribution: ---
Created attachment 73692 --> https://bugs.winehq.org/attachment.cgi?id=73692 log.txt
Compiling in 32 bit distro with:
compiler version 4.8.4 # gcc --version
glibc 2.19 # ldd --version
config line: configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686"
Compile error in wine-8.0-rc1
In function ‘cups_write_doc’ error: ‘HTTP_STATUS_CONTINUE’ undeclared (first use in this function)
https://bugs.winehq.org/show_bug.cgi?id=54166
--- Comment #1 from Nathan Bennett version2013@protonmail.com --- Previous wine version, 7.22, compilation fails with bug https://bugs.winehq.org/show_bug.cgi?id=54060
Can compilation hit Bug A first, and Bug B still exist within that wine version, but later in the compilation? i.e. if Bug A was not in that wine version, then compilation would hit Bug B?
Unsure if bisect would help.
https://bugs.winehq.org/show_bug.cgi?id=54166
--- Comment #2 from Nathan Bennett version2013@protonmail.com --- my attempt at bisecting:
bisect good = compilation fail with https://bugs.winehq.org/show_bug.cgi?id=54060 bisect bad = compilation fail with https://bugs.winehq.org/show_bug.cgi?id=54166
# git clone git://source.winehq.org/git/wine.git wine-git/ # cd wine-git/
# git bisect start # git bisect good wine-7.22 # git bisect bad wine-8.0-rc1
# CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686" --verbose --disable-tests && make # git bisect good
# CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686" --verbose --disable-tests && make # git bisect bad
# CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686" --verbose --disable-tests && make # git bisect good
# CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686" --verbose --disable-tests && make # git bisect good
# CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686" --verbose --disable-tests && make # git bisect bad
# CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686" --verbose --disable-tests && make # git bisect good
# CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686" --verbose --disable-tests && make # git bisect bad
# CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686" --verbose --disable-tests && make # git bisect bad
# CC="gcc -m32" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i686 -mtune=i686" --verbose --disable-tests && make # git bisect good 4b59142f34bbc19b67786c5c4cf29af55487ae03 is the first bad commit commit 4b59142f34bbc19b67786c5c4cf29af55487ae03 Author: Alexandre Julliard julliard@winehq.org Date: Wed Dec 7 10:05:07 2022 +0100
winebuild: Avoid quoting section names.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54060
:040000 040000 83dcf7c70271a7f7a3e0f9338e6e1272749ce513 e6371824e71cd961da4c72e96580bf723bfb9e13 M tools
https://bugs.winehq.org/show_bug.cgi?id=54166
--- Comment #3 from Nathan Bennett version2013@protonmail.com --- Compiling in 64 bit distro with:
compiler version 4.8.4 # gcc --version
glibc 2.19 # ldd --version
config line: configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --enable-win64 --libdir=/usr/lib64 CFLAGS="-O2"
wine64-8.0-rc1 result: wine build complete
https://bugs.winehq.org/show_bug.cgi?id=54166
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |4b59142f34bbc19b67786c5c4cf | |29af55487ae03 CC| |julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=54166
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|4b59142f34bbc19b67786c5c4cf |b09f8714ae87ab35fe799767a6e |29af55487ae03 |6089a44349c17
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- That's the SHA1 for the build failure in bug 54060, not for this bug. HTTP_STATUS_CONTINUE is probably caused by b09f8714ae87ab35fe799767a6e6089a44349c17.
https://bugs.winehq.org/show_bug.cgi?id=54166
novae.harpist06@icloud.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |novae.harpist06@icloud.com
--- Comment #5 from novae.harpist06@icloud.com --- Still affects 8.0-rc4. This is the last bug blocking compilation of wine on EL7. After "fixing" it (by copying the definition on the top of the file) the following configure compiles successfully:
configure --with-dbus --with-x --enable-win64 --without-oss --without-opencl --without-capi --without-netapi
Currently this is the oldest mainstream distro still supported by the vendor, so probably a good support target.
https://bugs.winehq.org/show_bug.cgi?id=54166
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Is this still an issue? I can't reproduce the issue, even with wine-4.0-rc4 and gcc 4.7. Can't get gcc 4.8 to work...
https://bugs.winehq.org/show_bug.cgi?id=54166
--- Comment #7 from Nathan Bennett version2013@protonmail.com --- (In reply to Fabian Maurer from comment #6) Still an issue with wine-8.9. I will test on newer wine releases soon.
https://bugs.winehq.org/show_bug.cgi?id=54166
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- Created attachment 74748 --> https://bugs.winehq.org/attachment.cgi?id=74748 Patch
Attaching a patch that *should* fix the issue. According to the preprocessor, HTTP_STATUS_CONTINUE is part of cups.h. It seems reasonable to assume old versions of cups simply lack it.
Since I don't have an old distro, could you please test?
https://bugs.winehq.org/show_bug.cgi?id=54166
--- Comment #9 from Nathan Bennett version2013@protonmail.com --- (In reply to Fabian Maurer from comment #8) Compiling wine-8.11 without patch results in same compilation fail. Compiling wine-8.11 with patch results in "wine build complete".
Thank you.
https://bugs.winehq.org/show_bug.cgi?id=54166
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |cc3f61e7dd82968ffe2e90132c2 | |23adb3f8755f0 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Fabian Maurer dark.shadow4@web.de --- Fixed by https://gitlab.winehq.org/wine/wine/-/commit/cc3f61e7dd82968ffe2e90132c223ad...
https://bugs.winehq.org/show_bug.cgi?id=54166
Vitaly Lipatov lav@etersoft.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lav@etersoft.ru
https://bugs.winehq.org/show_bug.cgi?id=54166
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.13.
https://bugs.winehq.org/show_bug.cgi?id=54166
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0.x