From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 16 23:08:57 2014 Return-Path: Delivered-To: freebsd-ports-bugs@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 3AE07226 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 21BC7FFD for ; Tue, 16 Dec 2014 23:08:57 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBGN8vAS010159 for ; Tue, 16 Dec 2014 23:08:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196041] New: [patch] unbreak x11/gnome-shell stage-qa on FreeBSD 8 Date: Tue, 16 Dec 2014 23:08:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: truckman@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2014 23:08:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196041 Bug ID: 196041 Summary: [patch] unbreak x11/gnome-shell stage-qa on FreeBSD 8 Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: truckman@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org 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/symlinks/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/symlinks/gecko/ /bin/mkdir -p /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/symlinks/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/symlinks/opera/ /bin/mkdir -p /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/symlinks/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/symlinks/opera-devel/ /bin/mkdir -p /wrkdirs/usr/ports/x11/gnome-shell/work/stage/usr/local/lib/browser_plugins/symlinks/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/symlinks/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 -- You are receiving this mail because: You are the assignee for the bug.