Created attachment 188730 [details] Poudriere build log I'm using Poudriere on a 11.1 machine. Please see the attached log file.
Have opened upstream issue: https://github.com/fish-shell/fish-shell/issues/4589
Looks like arm and arm64 alone define wchar_t as unsigned. On other architectures, it's signed. I don't have access to an arm machine, but I'll give you a patch that you can try.
Created attachment 188733 [details] Fix the build on arm and arm64 Please try this patch. I can't test it on arm myself, but it didn't break anything on amd64.
I'll toss it into my upcoming run.
linimon, no need. brd showed me how to build it with qemu. I started a build before I left work. I'll see in the morning whether it passed.
A commit references this bug: Author: asomers Date: Tue Dec 12 18:17:40 UTC 2017 New revision: 456179 URL: https://svnweb.freebsd.org/changeset/ports/456179 Log: shells/fish: fix 2.7.0 build for arm and arm64 PR: 224254 Reported by: marcel@herrbischoff.com Sponsored by: Spectra Logic Corp Changes: head/shells/fish/files/ head/shells/fish/files/patch-src_wgetopt.h
Thanks, this patch appears to do the trick. I was able to successfully build and run it on an armv6 machine. I believe this should be submitted upstream as you commented that it seems to be a architectural peculiarity.
Upstream pull request: https://github.com/fish-shell/fish-shell/pull/4593