You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since GtS 0.16.0 there is a way to build with a SQLite driver that we access through WASM, which would lift the amd64 restriction currently in place as a consequence of using the modernc transpiled driver:
# on FreeBSD, the modernc.org/* packages do not work on arm64:
# "imports modernc.org/libc/errno: build constraints exclude all Go files in /usr/ports/net-im/gotosocial/work/gotosocial-0.5.2/vendor/modernc.org/libc/errno"
# BUG: does not build on Sun
# to unblock: https://github.com/ncruces/go-sqlite3/issues/85
ONLY_FOR_PLATFORM= *-*-x86_64
There was initially an issue with that driver on the BSD family but that was resolved in the driver before we cut this release. It's safe to use and expected to perform just fine.
We're currently keeping it behind a go build tag, wasmsqlite3, and we do consider it slightly experimental. However, the plan is to switch to this Soon™ and a number of people including two of the maintainers run this build on their own instances without any issues.
I'm not familiar enough with how pkgsrc works, but if there's some kind of way to give people the option to try it out if they want to run on aarch64, this could be a way of achieving that already before the next release.
Getting any feedback on whether this build works out well for folks running it on NetBSD would also be very helpful.
I've followed that discussion, but didn't see that there's a go build-tag for that now.
Usually "not released", "up for testing" and similar states unless they fix a grave issue etc mean that this is a no-go for pkgsrc by default.
There should be no build difference, so I'm leaning towards just committing this, given the (probably) smaller userbase of pkgsrc gotosocial users
It should be fine on 32-bit and 64-bit platforms currently. The wazero WASM runtime should be fine, and afaik there shouldn't be any issues with the SQLite driver either. So I would expect netbsd/386, netbsd/amd64, netbsd/arm and netbsd/arm64 to work.
However, I don't think anyone's tested 32-bit GtS on anything other than Linux. It's the only platform we ship 32-bits builds for as well, and only on ARM.
Activity
nikkicoon commentedon Jun 18, 2024
I've followed that discussion, but didn't see that there's a go build-tag for that now.
Usually "not released", "up for testing" and similar states unless they fix a grave issue etc mean that this is a no-go for pkgsrc by default.
There should be no build difference, so I'm leaning towards just committing this, given the (probably) smaller userbase of pkgsrc gotosocial users
nikkicoon commentedon Jun 18, 2024
@daenney is the restriction limited to 64bits still, or what's the limitation now?
nikkicoon commentedon Jun 18, 2024
The tag is now turned on as an option by default in the pkgsrc package, can be turned off in custom builds.
daenney commentedon Jun 18, 2024
It should be fine on 32-bit and 64-bit platforms currently. The wazero WASM runtime should be fine, and afaik there shouldn't be any issues with the SQLite driver either. So I would expect netbsd/386, netbsd/amd64, netbsd/arm and netbsd/arm64 to work.
However, I don't think anyone's tested 32-bit GtS on anything other than Linux. It's the only platform we ship 32-bits builds for as well, and only on ARM.
gotosocial: add option (turned on by default) to build with wasmsqlite3
giflib[-util]: Update to 5.2.2. Libtoolize.
www/ruby-webrick: update to 1.8.2
Update to 20240903
(geography/R-s2)% Updatd 1.0.6 to 1.1.7
(geography/R-wk) Updated 0.6.0 to 0.9.4
www/ruby-jekyll-archives: update to 2.3.0
Update to 20250105
xca: update to 2.8.0.
textproc/hs-citeproc: update to citeproc-0.8.1.2
121 remaining items
emulators/jgenesis: update to 0.9.0
security/rbw: update to 1.13.2
shells/yash: update to 2.59
www/ruby-jekyll-sass-converter: update to 3.1.0
editors/reovim: update to 0.8.1
libsidplayfp: update to 2.16.0.
libfyaml: update to 0.9.4.
devel/serie: update to 0.7.1
filesystems/fuse-bindfs: update to 1.18.4
devel/ruby-marcel: update to 1.2.1
p5-XML-LibXML: update to 2.0213.
Update to 0.41
www/php-http4: update to 4.3.1
net/xfr: update to 0.9.25
misc/rozi: update to 0.0.31