Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2014 23:08:56 +0000
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
Message-ID:  <bug-196041-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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
=======================<phase: Interactive    >============================


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 <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer gnome@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



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