I started porting iocaine, a garbage generator to "poison AI bots". I'm using poudriere.
I'm stuck in the configure phase with the error:
I followed the instructions in https://docs.freebsd.org/en/books/porters-handbook/makefiles/#makefile-wrksrc, because the tarball extracts to
I'm assuming the error means it's trying to create the dir, so I looked into
I also tried adding
but that did not change the error message (which I feel is strange, because the line I reference above explicitly mkdir the configure_wrksrc.
So I'm lost. I feel this is a trivial thing but I can't see and would appreciate some help in pointing me in the right direction
I'm stuck in the configure phase with the error:
Code:
=======================<phase: configure >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===> Configuring for iocaine-2.1.0
/bin/sh: cannot create /wrkdirs/usr/ports/www/iocaine/work/iocaine: Is a directory
*** Error code 2
I followed the instructions in https://docs.freebsd.org/en/books/porters-handbook/makefiles/#makefile-wrksrc, because the tarball extracts to
iocaine
instead of iocaine-2.1.0
:
Code:
PORTNAME= iocaine
DISTVERSION= 2.1.0
CATEGORIES= www
MAINTAINER= [email protected]
COMMENT= The deadliest poison known to AI.
WWW= https://iocaine.madhouse-project.org/
LICENSE= MIT
USES= cargo
USE_RC_SUBR= iocaine
MASTER_SITES= https://git.madhouse-project.org/${PORTNAME}/${PORTNAME}/archive/
WRKSRC= ${WRKDIR}/${PORTNAME}
USERS= www
GROUPS= www
.include <bsd.port.mk>
I'm assuming the error means it's trying to create the dir, so I looked into
bsd.ports.mk
, and the only relevant mkdir
I see is in https://github.com/freebsd/freebsd-...21289041488bae032c3ccbf6/Mk/bsd.port.mk#L3306, but it should be triggered if HAS_CONFIGURATION
is set, which is not the case. I also checked if cargo.mk
was overriding the configure phase and I don't see it. If this is not about creating a dir, I don't know where the steps are coded to check what's happening.I also tried adding
Code:
HAS_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKDIR}/${DISTNAME}
but that did not change the error message (which I feel is strange, because the line I reference above explicitly mkdir the configure_wrksrc.
So I'm lost. I feel this is a trivial thing but I can't see and would appreciate some help in pointing me in the right direction
