FreeBSD 13.0-RELEASE on a rpi4. puppetserver7 installed via pkg. puppetserver won't start and reports: Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour and: [code] root@raven:~ # unzip -l /usr/local/share/puppetserver/puppet-server-release.jar | egrep libjffi 138344 09-13-12 21:50 jni/x86_64-SunOS/libjffi-1.2.so 91704 10-30-18 17:19 jni/arm-Linux/libjffi-1.2.so 80909 09-13-12 05:04 jni/i386-Linux/libjffi-1.2.so 92947 05-16-17 13:30 jni/sparcv9-Linux/libjffi-1.2.so 93328 10-27-19 13:24 jni/x86_64-DragonFlyBSD/libjffi-1.2.so 132742 11-06-14 08:59 jni/ppc64-Linux/libjffi-1.2.so 116541 11-06-14 06:41 jni/ppc64le-Linux/libjffi-1.2.so 90382 09-13-12 05:38 jni/x86_64-Linux/libjffi-1.2.so 146475 03-15-13 15:30 jni/ppc-AIX/libjffi-1.2.a 509169 11-23-16 08:29 jni/x86_64-OpenBSD/libjffi-1.2.so 172832 02-12-20 08:59 jni/Darwin/libjffi-1.2.jnilib 55724 09-13-12 21:44 jni/i386-SunOS/libjffi-1.2.so 94386 09-22-16 09:15 jni/aarch64-Linux/libjffi-1.2.so 115104 09-25-19 01:36 jni/mips64el-Linux/libjffi-1.2.so 83762 08-04-12 04:16 jni/x86_64-FreeBSD/libjffi-1.2.so 63184 09-18-12 10:45 jni/sparcv9-SunOS/libjffi-1.2.so 169145 05-07-18 19:06 jni/ppc64-AIX/libjffi-1.2.a root@raven:~ # [/code] Shows that there is no libjffi for arm64-FreeBSD
Good catch. Only and64 makes sense ATM.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2845a89c8e554cdbd4d0adc4a1325e93b2eb2198 commit 2845a89c8e554cdbd4d0adc4a1325e93b2eb2198 Author: Romain Tartière <romain@FreeBSD.org> AuthorDate: 2022-07-08 19:55:42 +0000 Commit: Romain Tartière <romain@FreeBSD.org> CommitDate: 2022-07-08 20:03:57 +0000 sysutils/puppetserver7: Restrict to amd64 arch The jar contain libjffi for which only a amd64 FreeBSD library is provided. PR: 256521 Reported by: tony.albers@gmx.com With hat: puppet sysutils/puppetserver7/Makefile | 2 ++ 1 file changed, 2 insertions(+)
Thanks!