poudriere
poudriere copied to clipboard
installing to stage/etc causes problems
Opened by request. My direct issue is fixed, thank you for your help.
@bdrewery helped me track this one down.
Some of my ports were getting this message on build:
"/usr/ports/Mk/bsd.port.mk" line 1198: UNAME_r (12.2-RELEASE-p9) and OSVERSION (1300139) do not agree on major version number.
Some ports were OK.
The cause was an error in another port which, because of an undeclared variable, was installing to stage/etc.
@bdrewery said: "maybe I should set make.conf and login.conf to schg"
The cause:
PF_JAIL_PATH= ${FP_JAILS_DIR}/freshports
${INSTALL_SCRIPT} ${WRKSRC}/Jail/files/etc/make.conf ${STAGEDIR}${FP_JAIL_PATH}/etc
That PF
on the first line should be FP
.
This is the file in question, now properly installed:
root@13amd64-default-master-list:~ # cat /jails/freshports/etc/make.conf
# this avoids Abort trap when cc is invoked in a makefile
CC=echo
# OSVERSION
OSVERSION!= /sbin/sysctl -n kern.osreldate
To be clear, this file was accidentally installed to stage/etc/make.conf
instead of stage/jails/freshports/etc/make.conf
grepping old IRC logs, 2017-01-09.log has a discussion with mat. This might be why, but I'm not sure.
Conclusion: I have no idea why.
[07:23:40]
[07:29:06] <mat_> dvl, because some things it does are slightly different for different FreeBSD versions, so, it tells you that you have to tell it which version you really want
[07:56:12]