Bug 43143 - Mesa 7.11.1 fails to build at main/dlist.c:4532 with error message: "format not a string literal and no format arguments"
Mesa 7.11.1 fails to build at main/dlist.c:4532 with error message: "format n...
Status: RESOLVED FIXED
Product: Mesa
Classification: Unclassified
Component: Mesa core
7.11
Other Linux (All)
: medium major
Assigned To: mesa-dev
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-21 08:54 UTC by Giovanni Mariani
Modified: 2011-11-23 01:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Log of a failed build (157.72 KB, text/plain)
2011-11-21 08:54 UTC, Giovanni Mariani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni Mariani 2011-11-21 08:54:59 UTC
Created attachment 53742 [details]
Log of a failed build

I'm running Mandriva 2010.2 x86_64 and I'm trying to build a package of Mesa 7.11.1 for my distro (gcc 4.4.3).
The build process always pass the -Werror=format-security to the compiler as per this Wiki page: http://wiki.mandriva.com/en/Problems_and_issues_with_packaging;
but, starting with the recent release 7.11.1 this causes the build to fail at
mail/dlist.c with the error "format not a string literal and no format arguments".

With the older Mesa 7.11 tarball or by forcing the build system to not pass the -Werror=format-security switch to gcc, the build succeeds.
Comment 1 Henri Verbeet 2011-11-21 09:01:22 UTC
We should cherry pick 5485192, I guess.
Comment 2 Brian Paul 2011-11-21 10:42:13 UTC
Agreed.  Can you take care of that?
Comment 3 Henri Verbeet 2011-11-21 11:08:10 UTC
Sure, pushed.
Comment 4 Giovanni Mariani 2011-11-23 01:54:59 UTC
That solves build the problem for me.
Thanks.
Making resolved fixed.