Bug 109774 - libffi and g-wrap collision
Summary: libffi and g-wrap collision
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-03 01:30 UTC by Kostas Blekos
Modified: 2007-03-03 21:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kostas Blekos 2007-03-03 01:30:03 UTC
If devel/libffi (1.20_1) is installed, devel/g-wrap (1.9.6_1,1) cannot install, failing with message:

guile-runtime.c: In function `dynproc_smob_apply':
guile-runtime.c:497: error: `ffi_arg' undeclared (first use in this function)
guile-runtime.c:497: error: (Each undeclared identifier is reported only once
guile-runtime.c:497: error: for each function it appears in.)
gmake[4]: *** [guile-runtime.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/devel/g-wrap/work/g-wrap-1.9.6/guile/g-wrap'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/devel/g-wrap/work/g-wrap-1.9.6/guile/g-wrap'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/g-wrap/work/g-wrap-1.9.6/guile'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/g-wrap/work/g-wrap-1.9.6'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/g-wrap.
=========================================

Fix: 

Temporarily removing /usr/local/include/ffi.h lets devel/g-wrap install.
How-To-Repeat: make install devel/libffi
try to make install devel/g-wrap
Comment 1 Edwin Groothuis freebsd_committer 2007-03-03 05:23:56 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Jeremy Messenger freebsd_committer 2007-03-03 20:50:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

We'll take it.
Comment 3 dfilter service freebsd_committer 2007-03-03 20:54:56 UTC
mezz        2007-03-03 20:54:51 UTC

  FreeBSD ports repository

  Modified files:
    devel/g-wrap         Makefile 
  Log:
  Fix the build if devel/libffi is installed in system.
  
  PR:             ports/109774
  Reported by:    Kostas Blekos <mplekos@physics.upatras.gr>
  
  Revision  Changes    Path
  1.39      +5 -1      ports/devel/g-wrap/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Jeremy Messenger freebsd_committer 2007-03-03 20:55:12 UTC
State Changed
From-To: feedback->closed

I have committed a fix, wait for CVSup mirrors to catch up. Thanks for report!