Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2015 13:47:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204778] sysutils/conky with lua enabled fails to build under poudriere
Message-ID:  <bug-204778-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 204778
           Summary: sysutils/conky with lua enabled fails to build under
                    poudriere
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: walkerd@pamandduncan.co.uk
                CC: ntarmos@ceid.upatras.gr
                CC: ntarmos@ceid.upatras.gr
             Flags: maintainer-feedback?(ntarmos@ceid.upatras.gr)

Created attachment 163473
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163473&action=edit
Poudriere build log for conky-1.9.0_5

Build system:  FreeBSD 10.2-RELEASE-p7 on AMD64 with poudriere 3.1.9

Build fails when attempting to build sysutils/conky under poudriere with the
LUA bindings enabled as per the following options:

---Begin OPTIONS List---
===> The following configuration options are available for conky-1.9.0_5:
     APCUPSD=off: Monitor APCUPSD
     AUDACIOUS=off: Control Audacious sound player
     INOTIFY=off: Monitor file changes via Inotify
     LUA=on: Lua scripting language support
     METAR=off: Display METAR weather reports
     MOC=off: Control MOC (Music On Console)
     MPD=off: Control MPD (Music Player Daemon)
     NCURSES=off: Use ncurses to draw on terminals
     RSS=off: Display RSS feeds
     X11=on: X11 (graphics) support
     XMMS2=off: Control XMMS2 media player
     XOAP=off: Display XOAP weather reports
====> X11 (graphics) support
     ARGB=on: Use an ARGB visual to draw on X11
     DOUBLE_BUFFER=on: Enable X11 double buffering
     IMLIB2=on: Imlib 2 image library support
     XFT=on: Xft font library support
     LUA_CAIRO=on: Lua-Cairo binding
     LUA_IMLIB2=on: Lua-Imlib2 binding
===> Use 'make config' to modify these settings
---End OPTIONS List---

The following configure error is reported:

configure: error: tolua++, tolua++5.1, or tolua++-5.1 is required for Lua
extras.
===>  Script "configure" failed unexpectedly.
Please report the problem to ntarmos@ceid.upatras.gr [maintainer] and attach
the "/wrkdirs/usr/ports/sysutils/conky/work/conky-1.9.0/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1


Possible solution:

If the Makefile is amended to add a libdepends for tolua++ MLUA_CAIRO and
MLUA_IMLIB2 is checked and LUA_COMPS is set then the build succeeds.

The relevant section of the Makefile possibly needs amendment from:

.if ${PORT_OPTIONS:MLUA_CAIRO} || ${PORT_OPTIONS:MLUA_IMLIB2}
LUA_COMPS=              toluaxx
.endif

to

.if ${PORT_OPTIONS:MLUA_CAIRO} || ${PORT_OPTIONS:MLUA_IMLIB2}
LUA_COMPS=              toluaxx
LIB_DEPENDS+=           libtolua++-5.1.so:${PORTSDIR}/lang/tolua++
.endif


Full poudriere build log attached.

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