DEVELOPER=YES DEV_WARNING_WAIT=0
It is suggested to use devel/poudriere-devel for testing instead of ports-mgmt/porttools.
make patch does not work well with Git-like patches:
diff --git a/config.def.h b/config.def.h index b41747f..eae969e 100644 --- a/config.def.h +++ b/config.def.h
It cannot understand what files it should patch so it will nag the user with a File to patch: prompt for every modified file in the patch. To avoid this it is necessary to:
diff --git a/config.def.h b/config.def.h index b41747f..eae969e 100644 --- ./config.def.h.orig +++ ./config.def.h
PATCH_STRIP, PATCH_DIST_STRIP (you can set those in PATCHFILES and EXTRA_PATCHES too). Example: EXTRA_PATCHES= ${FILESDIR}/bla.patch:-p1.
Also remember that it is possible to use git diff --no-prefix if you are in charge of generating those patches.
make config./etc/make.conf.make OPTIONS_FILE_SET=YOUROPTION.You probably forgot to add the following line to your Makefile:
.include <bsd.port.options.mk>
If you cannot find a mechanism you are looking for in the Porter's Handbook it is worth trying to look at the files in /usr/ports/Mk.
pkg uses the quarterly branch (mostly security update). To get the latest versions of software edit /etc/pkg/FreeBSD.conf and change it to the latest branch. See this answer on Unix Stack Exchange.It is easy to use. Really. It seems to be tough to set up but it's not. Give it a try.
Ideally, we would like to have a repository with our custom ports only, which could be easily integrated with Poudriere for testing. Generally, there isn't a canonical solution to this problem. Some good sould have suggested me a couple of solutions, however:
git rebase -i upstream/master from time to time to sync with the upstream.General hints:
/usr/local/poudriere/data/logs/bulk/${jailname}/latest//usr/local/etc/poudriere.d/optionsIn case of connection timeouts of:
poudriere ports -c -m svn+https -p subversive
try to use Git instead:
poudriere ports -c -m git -p subversive
You are probably missing /usr/ports/distfiles. Just create that directory.
If everything build and packaged fine and then you get this error then you might have a problem with conflicts. The package that you are testing might try to install files, which are conflicting with other already installed packages. Try poudriere testport in a fresh jail.