Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2019 07:39:06 -0500
From:      Larry Rosenman <ler@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r500971 - head/sysutils/lsof
Message-ID:  <20190508123906.z3ms4alujpfkjqdo@ler-imac.local>
In-Reply-To: <20190508080918.mkji7sr3534vzx2v@atuin.in.mat.cc>
References:  <201905071637.x47GbFkZ075592@repo.freebsd.org> <20190508080918.mkji7sr3534vzx2v@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help

--r7ba6pjrqmgivzn2
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 08, 2019 at 10:09:18AM +0200, Mathieu Arnold wrote:
> On Tue, May 07, 2019 at 04:37:15PM +0000, Larry Rosenman wrote:
> > Author: ler
> > Date: Tue May  7 16:37:15 2019
> > New Revision: 500971
> > URL: https://svnweb.freebsd.org/changeset/ports/500971
> >=20
> > Log:
> >   sysutils/lsof: put the SRC_BASE check back where it actually works in=
 poudriere.
> >=20
> > Modified:
> >   head/sysutils/lsof/Makefile
> >=20
> > Modified: head/sysutils/lsof/Makefile
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > --- head/sysutils/lsof/Makefile	Tue May  7 16:20:57 2019	(r500970)
> > +++ head/sysutils/lsof/Makefile	Tue May  7 16:37:15 2019	(r500971)
> > @@ -23,15 +23,15 @@ GH_ACCOUNT=3D	lsof-org
> > =20
> >  SHEBANG_FILES=3D	scripts/sort_res.perl5
> > =20
> > -.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
> > -IGNORE=3D		requires kernel sources
> > -.endif
> > -
> >  .include <bsd.port.pre.mk>
>=20
> This ^^ is not needed any more.
>=20
> >  CONFIGURE_SCRIPT=3D	Configure
> >  CONFIGURE_ARGS=3D	-n freebsd
> >  CONFIGURE_ENV=3D	LSOF_CC=3D"${CC}" FREEBSD_SYS=3D"${SRC_BASE}/sys"
> > +
> > +.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
> > +IGNORE=3D		requires kernel sources
> > +.endif
> > =20
> >  do-install:
> >  	${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin
> >=20
> >=20
>=20
> --=20
> Mathieu Arnold


Then why does this fail?

s=E2=8C=8282% [ler@borg.lerctr.org:~/FreeBSD/ports/sysutils/lsof] ports(1) =
=E2=80=A1 sudo poudriere testport -j p120-S-amd64 -p ler-checkout sysutils/=
lsof
[00:00:00] Creating the reference jail... done
[00:00:01] Mounting system devices for p120-S-amd64-ler-checkout
[00:00:01] Mounting ports/packages/distfiles
[00:00:01] Converting package repository to new format
[00:00:01] Stashing existing package repository
[00:00:01] Mounting ccache from: /var/cache/ccache
[00:00:01] Mounting packages from: /usr/local/poudriere/data/packages/p120-=
S-amd64-ler-checkout
[00:00:01] Copying /var/db/ports from: /usr/local/etc/poudriere.d/p120-S-am=
d64-options
[00:00:02] Appending to make.conf: /usr/local/etc/poudriere.d/p120-S-amd64-=
make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/.m/p120-S-amd64-ler-checkout/=
ref/etc/resolv.conf
[00:00:02] Starting jail p120-S-amd64-ler-checkout
[00:00:06] Ports supports: FLAVORS SELECTED_OPTIONS
[00:00:06] Logs: /usr/local/poudriere/data/logs/bulk/p120-S-amd64-ler-check=
out/2019-05-08_07h35m04s
[00:00:06] Loading MOVED for /usr/local/poudriere/data/.m/p120-S-amd64-ler-=
checkout/ref/usr/ports
[00:00:07] Gathering ports metadata
[00:00:08] Calculating ports order and dependencies
[00:00:08] pkg package missing, skipping sanity
[00:00:08] Skipping incremental rebuild and repository sanity checks
[00:00:08] Cleaning the build queue
[00:00:08] Sanity checking build queue
[00:00:08] Processing PRIORITY_BOOST
[00:00:08] Balancing pool
[00:00:08] Recording filesystem state for prepkg... done
[00:00:11] Building 2 packages using 2 builders
[00:00:11] Starting/Cloning builders
[00:00:12] Hit CTRL+t at any time to see build progress and stats
[00:00:12] [01] [00:00:00] Building ports-mgmt/pkg | pkg-1.10.5_5
[00:01:44] [01] [00:01:32] Finished ports-mgmt/pkg | pkg-1.10.5_5: Success
[00:01:44] [01] [00:00:00] Building devel/ccache | ccache-3.4.3_1
[00:01:52] [01] [00:00:08] Finished devel/ccache | ccache-3.4.3_1: Success
[00:01:52] Stopping 2 builders
[00:01:53] Creating pkg repository
Creating repository in /tmp/packages: 100%
Packing files for repository: 100%
[00:01:54] Committing packages to repository: /usr/local/poudriere/data/pac=
kages/p120-S-amd64-ler-checkout/.real_1557319018 via .latest symlink
[00:01:54] Removing old packages
[00:01:54] Building with flags:
[00:01:54] Removing existing /usr/local
build started at Wed May  8 07:36:58 CDT 2019
port directory: /usr/ports/sysutils/lsof
package name: lsof-4.93.1,8
building for: FreeBSD p120-S-amd64-ler-checkout 12.0-STABLE FreeBSD 12.0-ST=
ABLE 1200508 amd64
maintained by: ler@FreeBSD.org
Makefile ident:      $FreeBSD: head/sysutils/lsof/Makefile 500971 2019-05-0=
7 16:37:15Z ler $
Poudriere version: 3.3.99.20190311
Host OSVERSION: 1300021
Jail OSVERSION: 1200508
Job Id:

---Begin Environment---
SHELL=3D/bin/csh
OSVERSION=3D1200508
UNAME_v=3DFreeBSD 12.0-STABLE 1200508
UNAME_r=3D12.0-STABLE
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
TRYBROKEN=3Dyes
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.99.20190311
MASTERMNT=3D/usr/local/poudriere/data/.m/p120-S-amd64-ler-checkout/ref
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dxterm-256color
PWD=3D/usr/local/poudriere/data/.m/p120-S-amd64-ler-checkout/ref/.p
NO_WARNING_PKG_INSTALL_EOL=3Dyes
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3Dp120-S-amd64-ler-checkout
SCRIPTPREFIX=3D/usr/local/share/poudriere
OLDPWD=3D/usr/local/poudriere/data/.m/p120-S-amd64-ler-checkout/ref/.p/pool
SCRIPTPATH=3D/usr/local/share/poudriere/testport.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=3D
PKGENV=3DPACKAGES=3D/tmp/pkgs PKGREPOSITORY=3D/tmp/pkgs PKGLATESTREPOSITORY=
=3D/tmp/pkgs/Latest
FLAVOR=3D
DEPENDS_ARGS=3D
MAKE_ARGS=3D
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
ler@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
-n freebsd
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
LSOF_CC=3D"cc" FREEBSD_SYS=3D"/usr/src/sys" XDG_DATA_HOME=3D/wrkdirs/usr/po=
rts/sysutils/lsof/work  XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/sysutils/lsof/=
work  HOME=3D/wrkdirs/usr/ports/sysutils/lsof/work TMPDIR=3D"/tmp" PATH=3D/=
wrkdirs/usr/ports/sysutils/lsof/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/us=
r/local/sbin:/usr/local/bin:/root/bin SHELL=3D/bin/sh CONFIG_SHELL=3D/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=3D/wrkdirs/usr/ports/sysutils/lsof/work  XDG_CONFIG_HOME=3D/w=
rkdirs/usr/ports/sysutils/lsof/work  HOME=3D/wrkdirs/usr/ports/sysutils/lso=
f/work TMPDIR=3D"/tmp" PATH=3D/wrkdirs/usr/ports/sysutils/lsof/work/.bin:/s=
bin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=
=3Dyes MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_LINT=
=3DYES PREFIX=3D/usr/local  LOCALBASE=3D/usr/local  CC=3D"cc" CFLAGS=3D"-O2=
 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP=3D"cpp" CPPFLA=
GS=3D""  LDFLAGS=3D" -fstack-protector-strong " LIBS=3D""  CXX=3D"c++" CXXF=
LAGS=3D"-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREF=
IX=3D"/usr/local" BSD_INSTALL_PROGRAM=3D"install  -s -m 555"  BSD_INSTALL_L=
IB=3D"install  -s -m 0644"  BSD_INSTALL_SCRIPT=3D"install  -m 555"  BSD_INS=
TALL_DATA=3D"install  -m 0644"  BSD_INSTALL_MAN=3D"install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=3D12.0 PREFIX=3D%D LOCALBASE=3D/usr/local  RESETPREFIX=3D/usr/local L=
IB32DIR=3Dlib DOCSDIR=3D"share/doc/lsof"  EXAMPLESDIR=3D"share/examples/lso=
f"  DATADIR=3D"share/lsof"  WWWDIR=3D"www/lsof"  ETCDIR=3D"etc/lsof"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=3D/usr/local LOCALBASE=3D/usr/local  DATADIR=3D/usr/local/share/lsof=
 DOCSDIR=3D/usr/local/share/doc/lsof EXAMPLESDIR=3D/usr/local/share/example=
s/lsof  WWWDIR=3D/usr/local/www/lsof ETCDIR=3D/usr/local/etc/lsof
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=3Dyes
BATCH=3Dyes
WRKDIRPREFIX=3D/wrkdirs
PORTSDIR=3D/usr/ports
PACKAGES=3D/packages
DISTDIR=3D/distfiles
FORCE_PACKAGE=3Dyes
PACKAGE_BUILDING=3Dyes
PACKAGE_BUILDING_FLAVORS=3Dyes
#### /usr/local/etc/poudriere.d/p120-S-amd64-make.conf ####
#__EXIM__
LOG_FILE_PATH=3D"syslog:${LOGDIR}/%slog"
LOGDIR=3D/var/log/exim
#
DEFAULT_VERSIONS+=3Dssl=3Dopenssl111
DEFAULT_VERSIONS+=3Dapache=3D2.4
WITH_DEBUG_PORTS=3Dmail/dovecot mail/dovecot-pigeonhole
DEFAULT_VERSIONS+=3Dphp=3D7.2
DEFAULT_VERSIONS+=3Dpgsql=3D10
DEFAULT_VERSIONS+=3Dlinux=3Dc7
DEFAULT_VERSIONS+=3Dgssapi=3Dnone
DEFAULT_VERSIONS+=3Dpython=3D3.7
WITH_CCACHE_BUILD=3Dyes
CCACHE_DIR=3D/root/.ccache
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=3DFreeBSD clang version 8.0.0 (tags/RELEASE_800/final 3=
56365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd12.0 Thread mode=
l: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=3Dnone
_CXXINTERNAL_acaad9ca=3DFreeBSD clang version 8.0.0 (tags/RELEASE_800/final=
 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd12.0 Thread mo=
del: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-=
linker" "/libexec/ld-elf.so.1" "--hash-style=3Dboth" "--enable-new-dtags" "=
-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/u=
sr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-=
needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/cr=
tend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=3Dyes
CC_OUTPUT_921dbbb2_9bdba57c=3Dyes
CC_OUTPUT_921dbbb2_6a4fe7f5=3Dyes
CC_OUTPUT_921dbbb2_6bcac02b=3Dyes
CC_OUTPUT_921dbbb2_67d20829=3Dyes
CC_OUTPUT_921dbbb2_bfa62e83=3Dyes
CC_OUTPUT_921dbbb2_f0b4d593=3Dyes
CC_OUTPUT_921dbbb2_308abb44=3Dyes
CC_OUTPUT_921dbbb2_f00456e5=3Dyes
CC_OUTPUT_921dbbb2_65ad290d=3Dyes
CC_OUTPUT_921dbbb2_f2776b26=3Dyes
CC_OUTPUT_921dbbb2_b2657cc3=3Dyes
CC_OUTPUT_921dbbb2_380987f7=3Dyes
CC_OUTPUT_921dbbb2_160933ec=3Dyes
CC_OUTPUT_921dbbb2_fb62803b=3Dyes
_OBJC_CCVERSION_921dbbb2=3DFreeBSD clang version 8.0.0 (tags/RELEASE_800/fi=
nal 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd12.0 Thread=
 model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=3Dnone
ARCH=3Damd64
OPSYS=3DFreeBSD
_OSRELEASE=3D12.0-STABLE
OSREL=3D12.0
OSVERSION=3D1200508
PYTHONBASE=3D/usr/local
HAVE_COMPAT_IA32_KERN=3DYES
_SMP_CPUS=3D24
CONFIGURE_MAX_CMD_LEN=3D262144
HAVE_PORTS_ENV=3D1
#### Misc Poudriere ####
GID=3D0
UID=3D0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  2097152
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: check-sanity   >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  lsof-4.93.1,8 requires kernel sources.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/lsof
build of sysutils/lsof | lsof-4.93.1,8 ended at Wed May  8 07:36:59 CDT 2019
build time: 00:00:01
!!! build failure encountered !!!
[00:01:54] Error: Build failed in phase: check-sanity
[00:01:54] Cleaning up
[00:01:54] Unmounting file systems
=E2=8C=8274% [ler@borg.lerctr.org:~/FreeBSD/ports/sysutils/lsof] ports(1) 1=
 =E2=80=A1 cat Makefile
# Created by: David O'Brien <obrien@FreeBSD.org>
# $FreeBSD: head/sysutils/lsof/Makefile 500971 2019-05-07 16:37:15Z ler $

PORTNAME=3D	lsof
DISTVERSION=3D	4.93.1
PORTEPOCH=3D	8
CATEGORIES=3D	sysutils

MAINTAINER=3D	ler@FreeBSD.org
COMMENT=3D	Lists information about open files (similar to fstat(1))

LICENSE=3D	lsof
LICENSE_NAME=3D	lsof
LICENSE_FILE=3D	${FILESDIR}/LICENSE
LICENSE_PERMS=3D	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

USES=3D		shebangfix tar:bzip2

HAS_CONFIGURE=3D	yes

USE_GITHUB=3D	yes
GH_ACCOUNT=3D	lsof-org

SHEBANG_FILES=3D	scripts/sort_res.perl5


CONFIGURE_SCRIPT=3D	Configure
CONFIGURE_ARGS=3D	-n freebsd
CONFIGURE_ENV=3D	LSOF_CC=3D"${CC}" FREEBSD_SYS=3D"${SRC_BASE}/sys"

=2Eif !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
IGNORE=3D		requires kernel sources
=2Eendif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/Lsof.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/lsof.8
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/lsof
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${PREFIX}/share/lsof
	@${CHMOD} 0444 ${STAGEDIR}${PREFIX}/share/lsof/00*

=2Einclude <bsd.port.mk>
=E2=8C=8284% [ler@borg.lerctr.org:~/FreeBSD/ports/sysutils/lsof] ports(1) =
=E2=80=A1


--=20
Larry Rosenman                         https://people.FreeBSD.org/~ler/
Phone: +1 214-642-9640                 E-Mail: ler@FreeBSD.org
US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106

--r7ba6pjrqmgivzn2
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHBBAABCgCrFiEEHjgknedhWzvJgwVzaXyZsatIp30FAlzSzeotFIAAAAAAFQAP
cGthLWFkZHJlc3NAZ251cGcub3JnbGVyQEZyZWVCU0Qub3JnXxSAAAAAAC4AKGlz
c3Vlci1mcHJAbm90YXRpb25zLm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxRTM4
MjQ5REU3NjE1QjNCQzk4MzA1NzM2OTdDOTlCMUFCNDhBNzdEAAoJEGl8mbGrSKd9
+DcH/3MBJ0H+ehzfcRy7Hn1OlobPmWGvx2Nx2/HosYwoSSrLjhHyBTRAEt+1ifrY
iFhghviUti9v5B4AQzBh8Y+7sErWDEYd+ZWbbPJfEbZ6+CrorHwfzsDiDxLeeVhm
BfAG1vJifHmPIZGtY+ZVYpBSsKO/YdBlda/jVYhrlm+U/oE/9rDOB6ldMntFRj14
MksQ4S+CicEViZWq8GG4u2Lmy0P0YNQOKfF+v43Dv6sVf604Hc7FE0fgVJ85nrHx
HyO6vHFOMuXwmjhUDavyM3qPftGPL67UIq7RZAbuKMc522R3f5O8dgNYVH0Gc8BL
AjDIa6amC0RJz/bdr2O1mdX3eEg=
=5bwW
-----END PGP SIGNATURE-----

--r7ba6pjrqmgivzn2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190508123906.z3ms4alujpfkjqdo>