Date: Thu, 22 Mar 2018 23:39:05 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 226858] devel/py-libzfs: Build fails with IGNORE'd error even though kernel sources are installed Message-ID: <bug-226858-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226858 Bug ID: 226858 Summary: devel/py-libzfs: Build fails with IGNORE'd error even though kernel sources are installed Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: wg@FreeBSD.org Reporter: skh1002@hotmail.com Flags: maintainer-feedback?(wg@FreeBSD.org) Assignee: wg@FreeBSD.org FreeBSD 11.1-RELEASE-p8=20 I am trying to build py-libzfs with portmaster and even though system sourc= es are installed properly, it still fails with the error: =3D=3D=3D>>> Port directory: /usr/ports/devel/py-libzfs =3D=3D=3D>>> This port is marked IGNORE =3D=3D=3D>>> requires kernel source files in /usr/src =3D=3D=3D>>> If you are sure you can build it, remove the IGNORE line in the Makefile and try again. I am able to build the port normally if I remove the following lines from t= he port Makefile: .if !exists(${SRC_BASE}/sys/Makefile) IGNORE=3D requires kernel source files in ${SRC_BASE} .endif It looks like at the point of checking for ${SRC_BASE}/sys/Makefile, the variable SRC_BASE is not yet defined, always triggering the IGNORE error. If I move the .include <bsd.port.mk> in front of the check, it can be done normally and only triggers the error if ${SRC_BASE}/sys/Makefile is not present. This is not that much of a problem, but the way it is now, the kernel source check does not work, at least on my machine. --=20 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-226858-13>