From owner-freebsd-gnome@FreeBSD.ORG Tue Dec 16 23:08:57 2014 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11FF2225 for ; Tue, 16 Dec 2014 23:08:57 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E88F0FFC for ; Tue, 16 Dec 2014 23:08:56 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBGN8u3l010151 for ; Tue, 16 Dec 2014 23:08:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: maintainer-feedback requested: [Bug 196041] [patch] unbreak x11/gnome-shell stage-qa on FreeBSD 8 Date: Tue, 16 Dec 2014 23:08:56 +0000 X-Bugzilla-Type: request Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2014 23:08:57 -0000 Don Lewis has reassigned Bugzilla Automation 's request for maintainer-feedback to gnome@FreeBSD.org: Bug 196041: [patch] unbreak x11/gnome-shell stage-qa on FreeBSD 8 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196041 --- Description --- Attempting to build x11/gnome-shell on FreeBSD 8 fails with this error in stage-qa: gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11/gnome-shell/work/gnome-shell-3.14.2' /bin/mkdir -p /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/sym links/gecko /bin/ln -sf /usr/local/lib//libgnome-shell-browser-plugin.so /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/sym links/gecko/ /bin/mkdir -p /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/sym links/opera /bin/ln -sf /usr/local/lib//libgnome-shell-browser-plugin.so /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/sym links/opera/ /bin/mkdir -p /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/sym links/opera-devel /bin/ln -sf /usr/local/lib//libgnome-shell-browser-plugin.so /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/sym links/opera-devel/ /bin/mkdir -p /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/sym links/webkit-gtk2 /bin/ln -sf /usr/local/lib//libgnome-shell-browser-plugin.so /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/sym links/webkit-gtk2/ ====> Compressing man pages (compress-man) =========================================================================== ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%WEBPLUGIN_DIR%%mozilla/plugins}/libgnome-shell-browser-plugin.so ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%WEBPLUGIN_DIR%%libgnome-shell-browser-plugin.so ===> Error: Plist issues found. *** Error code 1 Stop in /usr/ports/x11/gnome-shell. ====>> Error: check-plist failures detected =================================================== The actual error is much earlier, during configure. Due to a bug in /bin/sh in FreeBSD 8, BROWSER_PLUGIN_DIR gets set to '/usr/local/lib//mozilla/plugins}' instead of '/usr/local/lib'. This line in configure gives an incorrect result when run in the FreeBSD 8 version of /bin/sh: BROWSER_PLUGIN_DIR="${BROWSER_PLUGIN_DIR:-"\${libdir}/mozilla/plugins"}" # /bin/sh # BROWSER_PLUGIN_DIR="${BROWSER_PLUGIN_DIR:-"\${libdir}/mozilla/plugins"}" # echo $BROWSER_PLUGIN_DIR ${libdir/mozilla/plugins} or if BROWSER_PLUGIN_DIR is already set: env BROWSER_PLUGIN_DIR=/usr/local/lib /bin/sh # BROWSER_PLUGIN_DIR="${BROWSER_PLUGIN_DIR:-"\${libdir}/mozilla/plugins"}" # echo $BROWSER_PLUGIN_DIR /usr/local/lib/mozilla/plugins} The correct results for these two cases are '${libdir}/mozilla/plugins' or the value of $BROWSER_PLUGIN_DIR. The attached patch works around this problem by using bash for $CONFIGURE_SHELL. --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer gnome@FreeBSD.org