Date: Sat, 16 Feb 2013 03:37:16 GMT From: Stéphane Lapie <stephane.lapie@darkbsd.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/176182: Port "devel/lua-sysctl" : Missing build dependency on devel/pkgconf Message-ID: <201302160337.r1G3bGj5005907@red.freebsd.org> Resent-Message-ID: <201302160340.r1G3e1QE070970@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 176182 >Category: ports >Synopsis: Port "devel/lua-sysctl" : Missing build dependency on devel/pkgconf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 16 03:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Stéphane Lapie >Release: 9.1-STABLE >Organization: ASAHI Net >Environment: FreeBSD eirei-no-za.yomi.darkbsd.org 9.1-STABLE FreeBSD 9.1-STABLE #5 r245055: Thu Jan 17 13:12:59 JST 2013 darksoul@eirei-no-za.yomi.darkbsd.org:/usr/obj/usr/storage/tech/eirei-no-za.yomi.darkbsd.org/usr/src/sys/DARK-2012KERN amd64 >Description: build started at Sat Feb 16 04:30:54 JST 2013 port directory: /usr/ports/devel/lua-sysctl building for: 9.1-RELEASE amd64 maintained by: garga@FreeBSD.org Makefile ident: $FreeBSD: head/devel/lua-sysctl/Makefile 305298 2012-10-05 12:41:45Z garga $ ---Begin Environment--- OSVERSION=901000 UNAME_v=FreeBSD 9.1-RELEASE UNAME_r=9.1-RELEASE BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 PKG_EXT=txz FORCE_PACKAGE=yes tpid=34731 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKG_DELETE=/usr/local/sbin/pkg delete -y -f PKG_ADD=/usr/local/sbin/pkg add PWD=/usr/storage/tech/eirei-no-za.yomi.darkbsd.org/usr/ports LOGS=/usr/storage/tech/poudriere/data/logs HOME=/root USER=root SKIPSANITY=0 LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- =======================<phase: depends >========================== ===> lua-sysctl-0.2 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /usr/ports/packages/All/pkg-1.0.7.txz Installing pkg-1.0.7... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of lua-sysctl-0.2 ===> lua-sysctl-0.2 depends on shared library: lua-5.1.1 - not found ===> Verifying install for lua-5.1.1 in /usr/ports/lang/lua ===> Installing existing package /usr/ports/packages/All/lua-5.1.5_5.txz Installing lua-5.1.5_5... done ===> Returning to build of lua-sysctl-0.2 ====================================================================== ===> Cleaning for lua-sysctl-0.2 =======================<phase: check-config>========================== ====================================================================== =======================<phase: fetch >========================== ===> lua-sysctl-0.2 depends on file: /usr/local/sbin/pkg - found => lua-sysctl-0.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://files.kaworu.ch/lua-sysctl-0.2.tar.gz lua-sysctl-0.2.tar.gz 6472 B 24 kBps ====================================================================== =======================<phase: checksum >========================== ===> lua-sysctl-0.2 depends on file: /usr/local/sbin/pkg - found => SHA256 Checksum OK for lua-sysctl-0.2.tar.gz. ====================================================================== =======================<phase: extract >========================== ===> lua-sysctl-0.2 depends on file: /usr/local/sbin/pkg - found ===> Extracting for lua-sysctl-0.2 => SHA256 Checksum OK for lua-sysctl-0.2.tar.gz. ====================================================================== =======================<phase: patch >========================== ===> Patching for lua-sysctl-0.2 ===> Applying extra patch /usr/ports/devel/lua-sysctl/files/extra-patch-src__lua_sysctl.c ===> Applying FreeBSD patches for lua-sysctl-0.2 ====================================================================== =======================<phase: configure >========================== ===> lua-sysctl-0.2 depends on shared library: lua-5.1.1 - found ===> Configuring for lua-sysctl-0.2 ====================================================================== =======================<phase: build >========================== ===> Building for lua-sysctl-0.2 install -m 755 -d sysctl cc -shared -Wl,-soname,lua_sysctl -O2 -pipe -fno-strict-aliasing -Wall -Wextra -fPIC `pkg-config --cflags lua-5.1` -o sysctl/core.so src/lua_sysctl.c pkg-config: not found src/lua_sysctl.c:87:17: error: lua.h: No such file or directory src/lua_sysctl.c:88:21: error: lauxlib.h: No such file or directory src/lua_sysctl.c:89:20: error: lualib.h: No such file or directory src/lua_sysctl.c:98: error: expected ')' before '*' token src/lua_sysctl.c:121: error: expected ')' before '*' token src/lua_sysctl.c:142: error: expected ')' before '*' token src/lua_sysctl.c:161: error: expected ')' before '*' token src/lua_sysctl.c:208: error: expected ')' before '*' token src/lua_sysctl.c:229: error: expected ')' before '*' token src/lua_sysctl.c:253: error: expected ')' before '*' token src/lua_sysctl.c:400: error: expected ')' before '*' token src/lua_sysctl.c:541: error: expected ')' before '*' token src/lua_sysctl.c:550: error: expected ')' before '*' token src/lua_sysctl.c:563: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lua_sysctl' src/lua_sysctl.c:575: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' src/lua_sysctl.c: In function 'oidfmt': src/lua_sysctl.c:643: error: 'BUFSIZ' undeclared (first use in this function) src/lua_sysctl.c:643: error: (Each undeclared identifier is reported only once src/lua_sysctl.c:643: error: for each function it appears in.) src/lua_sysctl.c:643: warning: unused variable 'buf' *** [sysctl/core.so] Error code 1 Stop in /wrkdirs/usr/ports/devel/lua-sysctl/work/lua-sysctl-0.2. *** [do-build] Error code 1 Stop in /usr/ports/devel/lua-sysctl. ===> Cleaning for lua-sysctl-0.2 build of /usr/ports/devel/lua-sysctl ended at Sat Feb 16 04:31:23 JST 2013 >How-To-Repeat: Trying to build devel/lua-sysctl in a poudriere (or from a clean system) : poudriere bulk -j 91amd64 devel/lua-sysctl >Fix: I modified my ports tree and added the following line to devel/lua-sysctl's Makefile : BUILD_DEPENDS+= pkgconf:${PORTSDIR}/devel/pkgconf Trying to build the port via poudriere then yields the following trace: ====>> Mounting system devices for 91amd64 /etc/resolv.conf -> /usr/storage/tech/poudriere/jails/91amd64/etc/resolv.conf ====>> Starting jail 91amd64 ====>> Mounting ports from: /usr/storage/tech/poudriere/ports/default ====>> Mounting packages from: /usr/storage/tech/poudriere/data/packages/91amd64-default ====>> Mounting /var/db/ports from: /usr/storage/tech/eirei-no-za.yomi.darkbsd.org/usr/local/etc/poudriere.d/91amd64-options ====>> Appending to /etc/make.conf: /usr/storage/tech/eirei-no-za.yomi.darkbsd.org/usr/local/etc/poudriere.d/91amd64-make.conf ====>> Populating LOCALBASE ====>> Calculating ports order and dependencies ====>> Sanity checking the repository ====>> Deleting stale symlinks ====>> Cleaning the build queue ====>> Building 1 packages using 1 builders ====>> [01] Starting build of devel/lua-sysctl ====>> [01] Finished build of devel/lua-sysctl: Success ====>> Stopping 1 builders ====>> Creating pkgng repository tar: Removing leading '/' from member names >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302160337.r1G3bGj5005907>