Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2014 01:17:26 GMT
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190157: [ports/devel/glib20] Fix build error when installed ports/lang/gcc
Message-ID:  <201405240117.s4O1HQ2H028449@cgiserv.freebsd.org>
Resent-Message-ID: <201405240120.s4O1K0rV010877@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190157
>Category:       ports
>Synopsis:       [ports/devel/glib20] Fix build error when installed ports/lang/gcc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 24 01:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Norikatsu Shigemura
>Release:        FreeBSD/amd64 11.0-CURRENT
>Organization:
Personal
>Environment:
FreeBSD pelsia.ninth-nine.com 11.0-CURRENT FreeBSD 11.0-CURRENT #11 r266591M: Sat May 24 07:35:50 JST 2014     nork@pelsia.ninth-nine.com:/usr/obj/usr/src/sys/PELSIA  amd64
>Description:
ports/lang/gcc installed libffi.so.
And if ports/lang/gcc install before ports/devel/libffi,
so ports/devel/glib20 found ports/lang/gcc's libffi
instead of ports/devel/libffi's one.

As the result, ports/devel/glib20 doesn't compile by not found libffi.so.
>How-To-Repeat:
$ ldconfig -r | grep ffi
        275:-lffi.6 => /usr/local/lib/libffi.so.6
        712:-lffi.4 => /usr/local/lib/gcc47/libffi.so.4

>Fix:
Please apply following patch.

Patch attached with submission follows:

Index: ports/devel/glib20/Makefile
===================================================================
--- ports/devel/glib20/Makefile	(revision 354968)
+++ ports/devel/glib20/Makefile	(working copy)
@@ -20,7 +20,7 @@
 .if !defined(REFERENCE_PORT)
 
 LIB_DEPENDS+=	libpcre.so:${PORTSDIR}/devel/pcre \
-		libffi.so:${PORTSDIR}/devel/libffi
+		libffi.so.6:${PORTSDIR}/devel/libffi
 
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405240117.s4O1HQ2H028449>