From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 24 17:30:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 500B71065673 for ; Fri, 24 Aug 2012 17:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 207DB8FC16 for ; Fri, 24 Aug 2012 17:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7OHU1x0045758 for ; Fri, 24 Aug 2012 17:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7OHU1Wa045757; Fri, 24 Aug 2012 17:30:01 GMT (envelope-from gnats) Resent-Date: Fri, 24 Aug 2012 17:30:01 GMT Resent-Message-Id: <201208241730.q7OHU1Wa045757@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alberto Villa Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAA1E106567D for ; Fri, 24 Aug 2012 17:25:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id BC9498FC12 for ; Fri, 24 Aug 2012 17:25:59 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7OHPx1r097234 for ; Fri, 24 Aug 2012 17:25:59 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7OHPxA5097206; Fri, 24 Aug 2012 17:25:59 GMT (envelope-from nobody) Message-Id: <201208241725.q7OHPxA5097206@red.freebsd.org> Date: Fri, 24 Aug 2012 17:25:59 GMT From: Alberto Villa To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170997: [patch] audio/gstreamer-plugins-flite: unresolvable links to libflite* X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 17:30:02 -0000 >Number: 170997 >Category: ports >Synopsis: [patch] audio/gstreamer-plugins-flite: unresolvable links to libflite* >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 24 17:30:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Alberto Villa >Release: FreeBSD 10-CURRENT >Organization: >Environment: FreeBSD woodstock.peanuts 10.0-CURRENT FreeBSD 10.0-CURRENT #12 r239638: Fri Aug 24 05:33:08 CEST 2012 root@woodstock.peanuts:/usr/obj/usr/src/sys/HPDV6 amd64 >Description: gstreamer-plugins-flite has a build dependency on flite assuming that it's linking to flite static library. Instead, libchk reports: Unresolvable link(s) found in: /usr/local/lib/gstreamer-0.10/libgstflite.so libflite.so.1 libflite_cmulex.so.1 libflite_cmu_us_kal.so.1 libflite_usenglish.so.1 >How-To-Repeat: # pkg install gstreamer-plugins-flite $ ldd /usr/local/lib/gstreamer-0.10/libgstflite.so | grep flite >Fix: The attached patch changes BUILD_DEPENDS to LIB_DEPENDS and bumps PORTREVISION for gstreamer-plugins-flite. It could be changed to make the plugin link to the static library, but I didn't want to dig into GStreamer configure nightmare, so this was my solution. Patch attached with submission follows: Index: audio/gstreamer-plugins-flite/Makefile =================================================================== --- audio/gstreamer-plugins-flite/Makefile (revision 303048) +++ audio/gstreamer-plugins-flite/Makefile (working copy) @@ -5,7 +5,7 @@ # $FreeBSD$ # -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= audio COMMENT= Gstreamer flite run-time speech synthesis engine plugin Index: multimedia/gstreamer-plugins/Makefile.common =================================================================== --- multimedia/gstreamer-plugins/Makefile.common (revision 303048) +++ multimedia/gstreamer-plugins/Makefile.common (working copy) @@ -285,10 +285,10 @@ ${GST_LIB_DIR}/libgstflac.so # flite -gst_flite_BUILD_DEPENDS+= ${LOCALBASE}/lib/libflite.a:${PORTSDIR}/audio/flite -gst_flite_PLIST_FILES= ${GST_LIB_DIR}/libgstflite.la \ - ${GST_LIB_DIR}/libgstflite.so -gst_flite_DIST= bad +gst_flite_LIB_DEPENDS+= flite.1:${PORTSDIR}/audio/flite +gst_flite_PLIST_FILES= ${GST_LIB_DIR}/libgstflite.la \ + ${GST_LIB_DIR}/libgstflite.so +gst_flite_DIST= bad # gconf gst_gconf_USE_GNOME+= gnomeprefix gconf2 >Release-Note: >Audit-Trail: >Unformatted: