Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362303 - app-emulation/xen uses -Werror during build (and fails to build with gcc-4.6)
Summary: app-emulation/xen uses -Werror during build (and fails to build with gcc-4.6)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Xen Devs
URL: http://blog.flameeyes.eu/2009/02/25/f...
Whiteboard:
Keywords:
Depends on:
Blocks: werror gcc-4.6
  Show dependency tree
 
Reported: 2011-04-06 14:14 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-10-13 19:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (xen-4.1.0:20110406-105210.log,57.05 KB, text/plain)
2011-04-06 14:14 UTC, Diego Elio Pettenò (RETIRED)
Details
xen-4.1.0.ebuild.diff (xen-4.1.0.ebuild.diff,477 bytes, patch)
2011-05-26 18:22 UTC, Markus Peloquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2011-04-06 14:14:07 UTC
Created attachment 268717 [details]
Build log

Hello,

you're receiving this canned bug because the package in summary uses the flag -Werror during build, which transforms warnings in errors, and is prone to break software when new GCC releases are added to Gentoo.

Please make sure your package does not use -Werror during build, so that it can be more future-proof for the new GCC releases.

Thanks,
Diego
Comment 1 Markus Peloquin 2011-05-26 18:22:52 UTC
Created attachment 274709 [details, diff]
xen-4.1.0.ebuild.diff

The first warning is completely bogus.  It is both unhelpful (it quotes code that doesn't exist in the source; the 'uninitialized' value is given in the wrong file) and false (the code looks pretty straightforward to me).  Fixing the code would just validate gcc, so I fixed all makefiles.
Comment 2 Alexey Shvetsov archtester gentoo-dev 2011-10-13 19:21:08 UTC
Fixed in tree