Synth fails with fetch prebuilt packages

I install packages to my servers from the FreeBSD repository, but I have a build host running synth because a few packages need modified options. To avoid problems, the local ports tree is cloned from the quarterly branch so that packages built will be version-matched to the FreeBSD repository. The handful of modified packages are then copied to a local repository (apache vhost) with a higher priority. With this setup I can set 'fetch prebuilt packages' to true in synth so I only build what I have changed.

This used to work perfectly, but now it doesn't. Executing a 'synth just-build origin/port' command fails with an error that one or more packages could not be downloaded. I can see that the build dependencies have actually been downloaded to /var/synth/packages/All/Hashed, with the file names partly mangled, but do not get moved into /var/synth/packages/All. The log files do not provide any explanation for the failure.

If I change 'fetch prebuilt packages' to false then everything works, but I have to spend hours building hundreds of packages I don't need. The only things that have changed on the build host are updated versions of pkg and synth, so I suspect something there has broken this functionality that used to work properly.
 
Hi LloydSystems,

have you found any solution? E.g., would it be possible to download the packages needed for the build process to
/somewhere, and point synth to /somewhere?

Kindest regards,

M
 
Back
Top