Date: Tue, 16 Dec 2014 23:08:56 +0000 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 Message-ID: <bug-196041-6497-mEvqeYxuDq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-196041-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-196041-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Don Lewis <truckman@FreeBSD.org> has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'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 =======================<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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196041-6497-mEvqeYxuDq>