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

Bug 257611

Summary: x11-libs/fox: header present but cannot be compiled
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Matti Bickel (RETIRED) <mabi>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://blog.flameeyes.eu/2009/02/04/brace-for-impact
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 303085, 303087    
Bug Blocks: 257596    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-04 14:06:10 UTC
Hi,

you're getting this template-based bug because the package in the subject hit a "header present but cannot be compiled" during ./configure execution. If you check my blog post in the URL, this is going to be a problem when autoconf-2.64 will be used so you should pay attention and consider fixing the issue (or let upstream know about it at least).

Thank you for your consideration. Share and enjoy!

x11-libs/fox-1.4.34-r1:20081117-081050.log:configure: WARNING: X11/extensions/XShm.h: present but cannot be compiled
x11-libs/fox-1.4.34-r1:20081117-081050.log:configure: WARNING: X11/extensions/Xrandr.h: present but cannot be compiled
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-12-24 14:00:31 UTC
I'm seeing this with Autoconf 2.65,

checking X11/extensions/XShm.h usability... no
checking X11/extensions/XShm.h presence... yes
configure: WARNING: X11/extensions/XShm.h: present but cannot be compiled
configure: WARNING: X11/extensions/XShm.h:     check for missing prerequisite headers?
configure: WARNING: X11/extensions/XShm.h: see the Autoconf documentation
configure: WARNING: X11/extensions/XShm.h:     section "Present But Cannot Be Compiled"
configure: WARNING: X11/extensions/XShm.h: proceeding with the preprocessor's result
configure: WARNING: X11/extensions/XShm.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for X11/extensions/XShm.h... yes

and the package is building fine.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-24 14:06:45 UTC
Is it running eautoreconf? Because if it's not then whatever autoconf is installed doesn't mean a thing.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-02-01 11:18:17 UTC
(In reply to comment #2)
> Is it running eautoreconf? Because if it's not then whatever autoconf is
> installed doesn't mean a thing.
> 

Yes, it's running eautoreconf and still doesn't fail.  That said, even if it doesn't fail, this is the old SLOT of x11-libs/fox, it should be cleaned out if nothing is using it...

http://tinderbox.x86.dev.gentoo.org/misc/dindex/x11-libs/fox
http://tinderbox.x86.dev.gentoo.org/misc/rindex/x11-libs/fox
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-06-25 17:08:32 UTC
+  25 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+  -files/1.4.34-gcc4-fix-includes.patch, -fox-1.4.34-r1.ebuild:
+  Remove old version wrt #257611.