Bug 176467 - [PATCH] devel/gobject-introspection: configure fails when gcc46 is installed
Summary: [PATCH] devel/gobject-introspection: configure fails when gcc46 is installed
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: 2013-02-27 07:00 UTC by hiroto.kagotani
Modified: 2013-03-20 02:50 UTC (History)
1 user (show)

See Also:


Attachments
gobject-introspection-0.10.8_3.patch (450 bytes, patch)
2013-02-27 07:00 UTC, hiroto.kagotani
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hiroto.kagotani 2013-02-27 07:00:00 UTC
lang/gcc46 (and maybe other gcc's) installs its own libffi.so in
/usr/local/lib/gcc46.  Although this library is found by lib-depends
(or ldconfig -r) in bsd.ports.mk, but the configure script for
gobject-introspection searchs for it in /usr/local/lib and fails.

[DESCRIBE CHANGES]

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)

Fix: This fix is just a workaround.
When gcc46 (or 47) port installs newer libffi, the same problem will occur.
How-To-Repeat: Install lang/gcc46.
Make sure devel/libffi is NOT installed.
Do "make configure" in devel/gobject-introspection.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-27 07:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2013-03-20 02:39:57 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-03-20 02:40:02 UTC
Author: mezz
Date: Wed Mar 20 02:39:49 2013
New Revision: 314706
URL: http://svnweb.freebsd.org/changeset/ports/314706

Log:
  Readd the shared library version in libffi. The gcc46 has its own libffi
  library too.
  
  # ldconfig -r | grep libffi
          225:-lffi.6 => /usr/local/lib/libffi.so.6
          314:-lffi.4 => /usr/local/lib/gcc46/libffi.so.4
  
  PR:		ports/176467
  Submitted by:	Hiroto Kagotani <hiroto.kagotani@gmail.com>

Modified:
  head/devel/gobject-introspection/Makefile

Modified: head/devel/gobject-introspection/Makefile
==============================================================================
--- head/devel/gobject-introspection/Makefile	Wed Mar 20 02:12:31 2013	(r314705)
+++ head/devel/gobject-introspection/Makefile	Wed Mar 20 02:39:49 2013	(r314706)
@@ -13,7 +13,7 @@ COMMENT=	Generate interface introspectio
 
 # we need cairo otherwise the generated Cairo gir is broken
 BUILD_DEPENDS=	cairo-trace:${PORTSDIR}/graphics/cairo
-LIB_DEPENDS=	ffi:${PORTSDIR}/devel/libffi
+LIB_DEPENDS=	ffi.6:${PORTSDIR}/devel/libffi
 
 USES=		bison pathfix
 USE_XZ=		yes
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"