Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 166723

Summary: media-libs/openal-0.0.8 GCC 4.2 patch
Product: Gentoo Linux Reporter: Ryan Hill (RETIRED) <rhill>
Component: [OLD] GCC PortingAssignee: Chris Gianelloni (RETIRED) <wolf31o2>
Severity: normal CC: esigra, gcc-porting, james.ausmus, saintdev, sound, turul16
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 162167    
Attachments: 004_all_gcc42.patch

Description Ryan Hill (RETIRED) gentoo-dev 2007-02-13 20:41:38 UTC
the attached patch prevents the following error when compiling packages such as dev-games/simgear with GCC 4.2:

  In file included from ../../simgear/sound/soundmgr_openal.hxx:50,
                   from visual_enviro.cxx:34:
  /usr/include/AL/alc.h:190: error: '<anonymous>' has incomplete type
  /usr/include/AL/alc.h:190: error: invalid use of 'ALCvoid'
  /usr/include/AL/alc.h:251: error: '<anonymous>' has incomplete type
  /usr/include/AL/alc.h:251: error: invalid use of 'ALCvoid'
  make[3]: *** [visual_enviro.o] Error 1

It matches what appears in upstream's SVN.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2007-02-13 20:42:33 UTC
Created attachment 110100 [details, diff]
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-02-13 21:10:58 UTC
Added to CVS... thanks for the patch!
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2007-06-10 17:12:32 UTC
*** Bug 180846 has been marked as a duplicate of this bug. ***
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2007-08-06 16:54:12 UTC
*** Bug 186544 has been marked as a duplicate of this bug. ***
Comment 5 James Ausmus 2007-08-29 18:34:38 UTC
This *needs* to have been a revision bump on the ebuild! If you had openal-0.0.8-r1 compiled prior to 2007-02-13, then you won't pick up this patch, and it has started to cause problems with other builds (see bug #165135) - this is the second time in a few weeks that I've run into issues with ebuilds and GCC 4.2 just because the updated ebuilds were never rev-bumped to cause a recompile with the patch - I don't understand the reasoning behind *not* rev-bumping the ebuild...
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-30 01:01:29 UTC
Simply put, current policy actually says that "build-time fixes" do not require a revision bump, so many developers don't do a bump to reduce the recompiling that people are forced to do.  This particular instance is a case where what we thought was only a compile-time fix really is not.

Anyway, I forced a bump for everyone this morning, before I even saw this.  In the future, please file a new bug for this sort of thing, as many of us are much less likely to notice comments on bugs we've already resolved.