[Bug 226858] devel/py-libzfs: Build fails with IGNORE'd error even though kernel sources are installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 22 23:39:07 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226858
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 at FreeBSD.org
Reporter: skh1002 at hotmail.com
Flags: maintainer-feedback?(wg at FreeBSD.org)
Assignee: wg at FreeBSD.org
FreeBSD 11.1-RELEASE-p8
I am trying to build py-libzfs with portmaster and even though system sources
are installed properly, it still fails with the error:
===>>> Port directory: /usr/ports/devel/py-libzfs
===>>> This port is marked IGNORE
===>>> requires kernel source files in /usr/src
===>>> 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 the
port Makefile:
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= 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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list