Created attachment 181109 [details] graphviz-iffe.patch The current version of graphviz appears to try to start a shell script named iffe (from the root of the tarball) within the Makefile of lib/sfio, lib/sfio/Sfio_f and lib/vmalloc. However, said shell script does not contain a shebang, causing sh to throw an error: /bin/sh: ../../../iffe: not found The attached patch fixes this by adding a /bin/sh (by way if ${SH} in the port's Makefile) to the invocation of iffe. * Update Makefile's post-patch * Add patches for lib/sfio/Makefile.in, lib/sfio/Sfio_f/Makefile.in and lib/vmalloc/Makefile.in
Unable to reproduce the error the iffe is executed on FreeBSD 10.3 and FreeBSD 11.0 Which Version of FreeBSD do you use? Which Arch Which Shell?
I am on FreeBSD 11.0-RELEASE-p8 amd64. My shell is csh, but I've run into this problem within a poudriere jail as well, and I also tested just now with sh and it still fails for me. I'm really not sure how you haven't run into the problem, since the scripts do not have a shebang on them.
tested on FreeBSD 11.0-RELEASE-p10 The shell has no problem to execute the files. Official package is build is without error. Something in your local setup may differ. Unless we don't know the reason that causes the error, I won't apply the suggested patch.
I honestly have no idea why my current system cannot build without these patches. I tested in a clean VM with csh as the shell and it does indeed build without these patches. I know of nothing going on with my current system's setup that would be causing this to fail.
If you find further evidence that causes the failure, please reopen this pr or create a new one.