https://bugs.winehq.org/show_bug.cgi?id=40391
Bug ID: 40391 Summary: Wine fails to build in maintainer mode. Product: Wine Version: 1.9.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jre.winesim@gmail.com Distribution: ---
Created attachment 54105 --> https://bugs.winehq.org/attachment.cgi?id=54105 Log of the failed build after configure --enable-maintainer-mode
Hi
Wine fails to build if configured with --enable-maintainer-mode, due to Werror=discarded-array-qualifiers when building dlls/msdaps/row_server_p.c. See the attached tail of the build log.
I don't know if these build failures are to be expected in maintainer mode, didn't find any specific documentation about that. My motivation for doing this, is for Debian building completely from source, without using pre-built stuff like the TrueType fonts.
Overriding CFLAGS with -Wno-error workarounds this.
$ gcc --version gcc (Debian 5.3.1-13) 5.3.1 20160323 $ git describe wine-1.9.6-271-gf34fd25 $ ./configure --enable-maintainer-mode --enable-win64
Greets jre
https://bugs.winehq.org/show_bug.cgi?id=40391
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE CC| |sebastian@fds-team.de Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Jens Reyer from comment #0)
I don't know if these build failures are to be expected in maintainer mode, didn't find any specific documentation about that. My motivation for doing this, is for Debian building completely from source, without using pre-built stuff like the TrueType fonts.
In this case its a known issue (see bug 39692). In general it seems like a bad idea to use maintainer mode for building packages though. Unless you use exactly the same build toolchain as Alexandre, there is always a risk of (harmless) compiler warnings.
*** This bug has been marked as a duplicate of bug 39692 ***
https://bugs.winehq.org/show_bug.cgi?id=40391
Jens Reyer jre.winesim@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jre.winesim@gmail.com
--- Comment #2 from Jens Reyer jre.winesim@gmail.com --- (In reply to Sebastian Lackner from comment #1)
[...] In general it seems like a bad idea to use maintainer mode for building packages though. Unless you use exactly the same build toolchain as Alexandre, there is always a risk of (harmless) compiler warnings.
Just to be sure: you see the risk only in the compiler warnings, and them being handled as errors in maintainer mode? But not in rebuilding fonts and icons?
Thanks!
https://bugs.winehq.org/show_bug.cgi?id=40391
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- (In reply to Jens Reyer from comment #2)
(In reply to Sebastian Lackner from comment #1)
[...] In general it seems like a bad idea to use maintainer mode for building packages though. Unless you use exactly the same build toolchain as Alexandre, there is always a risk of (harmless) compiler warnings.
Just to be sure: you see the risk only in the compiler warnings, and them being handled as errors in maintainer mode? But not in rebuilding fonts and icons?
There is definitely a risk too, particularly for fonts. They are supposed to be built with our forked version of fontforge (https://source.winehq.org/git/fontforge.git), that contains a couple of fixes compared to the upstream version.
https://bugs.winehq.org/show_bug.cgi?id=40391
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Closing duplicate bugs.