Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2014 09:49:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195943] New: [patch] unbreak graphics/evince build on FreeBSD 8
Message-ID:  <bug-195943-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195943

            Bug ID: 195943
           Summary: [patch] unbreak graphics/evince build 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
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

Created attachment 150539
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150539&action=edit
patch to unbreak evince build on FreeBSD 8

The build of graphics/evince on FreeBSD 8 fails:

gmake[2]: Entering directory
'/wrkdirs/usr/ports/graphics/evince/work/evince-3.14.1/browser-plugin'
  GEN      EvBrowserPluginResources.c
  CXX      libevbrowserplugin_la-EvBrowserPluginToolbar.lo
  CXX      libevbrowserplugin_la-EvBrowserPluginMain.lo
  CC       libevbrowserplugin_la-EvBrowserPluginResources.lo
  CXX      libevbrowserplugin_la-EvBrowserPlugin.lo
  CXXLD    libevbrowserplugin.la
libtool: link: only absolute run-paths are allowed
Makefile:618: recipe for target 'libevbrowserplugin.la' failed
gmake[2]: *** [libevbrowserplugin.la] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/graphics/evince/work/evince-3.14.1/browser-plugin'
Makefile:704: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/graphics/evince/work/evince-3.14.1'
Makefile:568: recipe for target 'all' failed
gmake: *** [all] Error 2


Comparing config.log for FreeBSD 8 and FreeBSD 10, I found this difference:

FreeBSD 8:
BROWSER_PLUGIN_DIR='${libdir/mozilla/plugins}'

FreeBSD 10:
BROWSER_PLUGIN_DIR='${libdir}/mozilla/plugins'

The former looks incorrect, probably due to an unpatched shell bug in FreeBSD
8,
so I decided to try setting CONFIG_SHELL to bash in the port Makefile, which
avoided the shell bug and allowed the build to succeed.

--- 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-195943-13>