gnucash port won't install: ".../xml-generator.go:No such file or directory" [solved]

Graham Menhennitt graham at menhennitt.com.au
Sat Jan 6 11:15:30 UTC 2018


On 29/12/2017 07:51, Graham Menhennitt wrote:
> Hello all,
>
> I'm attempting to upgrade the finance/gnucash port from 2.6.18 to 
> 2.6.19 and I'm getting errors on the installation stage. I've read the 
> entry in UPDATING which says that I'm building the guile2 flavour by 
> default. I could try switching to guile1, but I suspect that just 
> delays the problem.
>
> The errors I'm getting are all of the form:
>
>     pkg-static: Unable to access file 
> /usr/ports_build/usr/data/FreeBSD/ports/finance/gnucash/work-guile2/stage/usr/local/%%GUILE2%%lib/gnucash/scm/ccache/2.0/build-config.go:No 
> such file or directory
>
> and there are a hundred or so of them. The full build log is below. 
> Does anybody have any clues, please?


Following up my own post...

If I explicitly say "make install FLAVOR=guile2", it works. I thought 
that this would be unnecessary since guile2 is the default, but leaving 
the FLAVOR= bit out causes it to fail.

Graham


More information about the freebsd-ports mailing list