pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

golang "Cannot write-enable text segment" issue (net/syncthing)



Just took a look at updating net/syncthing to 2.x, and the package
fails to start on NetBSD with

/usr/pkg/bin/syncthing: text relocations
/usr/pkg/bin/syncthing: Cannot write-enable text segment: Permission denied

Adding NOT_PAX_MPROTECT_SAFE to test just gets a segfault

The most significant syncthing change is the switch to sqlite, which
apparently has also made it too hard for them to provide native NetBSD
binaries.

Would anyone have any thoughts on how to debug this?

Have pushed a package which easily demonstrates this to
pkgsrc/wip/syncthing - you don't even need to try to do anything
useful to trigger the issue - just "syncthing" after build is enough

Thanks

David


Home | Main Index | Thread Index | Old Index