[Bug 196041] New: [patch] unbreak x11/gnome-shell stage-qa on FreeBSD 8

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 16 23:08:57 UTC 2014


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 at FreeBSD.org
          Reporter: truckman at FreeBSD.org
             Flags: maintainer-feedback?(gnome at FreeBSD.org)
          Assignee: gnome at 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 at FreeBSD.org> ---
Auto-assigned to maintainer gnome at FreeBSD.org

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


More information about the freebsd-ports-bugs mailing list