Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167299 - gcc-4.1 doesn't provide /usr/include/ffitarget.h, but g-wrap-1-.9.6 requires it to actually work.
Summary: gcc-4.1 doesn't provide /usr/include/ffitarget.h, but g-wrap-1-.9.6 requires ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-17 04:07 UTC by Michael T. Garrison Stuber
Modified: 2007-02-17 08:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael T. Garrison Stuber 2007-02-17 04:07:30 UTC
I've been trying to build the latest gnu-cash.  When building gnu-cash I kept getting g-wrap-wct.h errors.  On further investigation I found that the configurations script attempts to compile some headers provided by g-wrap.  (run the configure script in gnucash-2.0.4 to see this).  These basically attempt to compile /usr/include/g-wrap-wct.h, which includes a number of nested includes.  Eventually, it fails not being able to fine <ffitarget.h>.  GCC 4.1 provides this under /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/libffi/ffitarget.h.  If you make a symlink from there to /usr/include, and recompile g-wrap, gnucash will build.  

I'm not sure whether this is an issue with the ffi includes provided by GCC 4.1, or a bug in the headers provide by g-wrap.  It's a pain nonetheless.

(Yes, I suppose I could have downloaded, compiled, and installed libffi and that might have fixed it, but the 26 megabytes of download and compile motivated me to find another solution.

Reproducible: Always

Steps to Reproduce:
Move to compiler 4.1.1.  Do not include libffi.
Build guile, g-wrap-1.9.6, and gnucash-2.0.4
Gnucash will fail to build, complaining about g-wrap-wct.h
Actual Results:  
Build fails in configure step.  Sorry, I worked around it before I got around to posting a bug.

Expected Results:  
I should have to create scary symlinks to get it to compile.  (See description)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-17 08:09:30 UTC
Uhm, post some errors you get when compiling please.