pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Set MKPIE_SUPPORTED=no - thanks to tnn@ for the fix
Module Name: pkgsrc-wip
Committed By: David Brownlee <abs%absd.org@localhost>
Pushed By: abs
Date: Tue Mar 3 19:15:50 2026 +0000
Changeset: 1d4415f83918e1cdacdbe53ac8199f2c5d7d444f
Modified Files:
syncthing/Makefile
Removed Files:
syncthing/TODO
Log Message:
Set MKPIE_SUPPORTED=no - thanks to tnn@ for the fix
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1d4415f83918e1cdacdbe53ac8199f2c5d7d444f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
syncthing/Makefile | 3 +++
syncthing/TODO | 13 -------------
2 files changed, 3 insertions(+), 13 deletions(-)
diffs:
diff --git a/syncthing/Makefile b/syncthing/Makefile
index 4fe2b63b42..8ad9707ced 100644
--- a/syncthing/Makefile
+++ b/syncthing/Makefile
@@ -21,6 +21,9 @@ LICENSE= mpl-2.0
# The 'zillode' dependency calls the compiler on certain archs.
USE_LANGUAGES= c
+# Otherwise binary fails to start with "Cannot write-enable text segment"
+MKPIE_SUPPORTED= no
+
WRKSRC= ${WRKDIR}/syncthing
NO_CONFIGURE= yes
INSTALLATION_DIRS= bin share/applications
diff --git a/syncthing/TODO b/syncthing/TODO
deleted file mode 100644
index 1fc53132ff..0000000000
--- a/syncthing/TODO
+++ /dev/null
@@ -1,13 +0,0 @@
-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
-
-Could be related to the switch to sqlite?
-
-"GOFLAGS+=-buildmode=pie" did not seem to help. I tried a quick brute
-force test of also adding "CFLAGS+=-fPIC" and "LDFLAGS+=-pie" (which
-probably gives a clear idea of how vague my understanding is :), which
-also did not help :(
Home |
Main Index |
Thread Index |
Old Index