cciss_vol_status fails to build if the kernel sources are not available. How-To-Repeat: # mv /usr/src /usr/src.tmp # cd /usr/ports/sysutils/cciss_vol_status # make install clean # mv /usr/src.tmp /usr/src
Responsible Changed From-To: freebsd-ports-bugs->mm Over to maintainer (via the GNATS Auto Assign Tool)
mm 2007-12-25 19:49:15 UTC FreeBSD ports repository Modified files: sysutils/cciss_vol_status Makefile Log: - Add IGNORE if kernel sources are not installed PR: ports/118946 Submitted by: Beat Gaetzi <beat at chruetertee.ch> Revision Changes Path 1.2 +4 -0 ports/sysutils/cciss_vol_status/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!
This seems broken on 12-STABLE. Adding some ugly debugging like so .if !exists(${SRC_BASE}/sys/dev/ciss/cissio.h) TMPDEBUG!= ls -l /usr/src/sys/dev/ciss/cissio.h IGNORE= cciss_vol_status requires kernel sources of the ciss driver in ${SRC_BASE}. ls: ${TMPDEBUG}. .endif produces [00:00:09] [01] [00:00:00] Building sysutils/cciss_vol_status | cciss_vol_status-1.12 [00:00:09] [01] [00:00:00] Finished sysutils/cciss_vol_status | cciss_vol_status-1.12: Ignored: cciss_vol_status requires kernel sources of the ciss driver in /usr/src. ls: -rw-r--r-- 1 root wheel 6457 Nov 6 16:54 /usr/src/sys/dev/ciss/cissio.h. The port builds fine after changing ${SRC_BASE} to /usr/src in the .if !exists() expression; it does not seem like ${SRC_BASE} is being properly expanded here.