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
When building maddy via build.sh, it fails with the error -buildmode=pie not supported on openbsd/amd64:
Steps to reproduce
build.sh (at the time of writing this) has existing issues on BSD systems, related to the version of getopt native to those systems, that doesn't support the necessary GNU extensions. As such, gnugetopt must be installed and referenced in order to get this far. Details below.
Install go from packages.
Install bash from packages.
Install gnugetopt from packages.
Modify build.sh so line 3 references gnugetopt instead of getopt.
bash-5.0# ./build.sh
_| _|
_|_|_| _|_| _|_|_| _|_|_| _|_|_| _| _|
_| _| _| _| _| _| _| _| _| _| _|
_| _| _| _| _| _| _| _| _| _| _|
_| _| _| _|_|_| _|_|_| _|_|_| _|_|_|
_|
All-in-one composable mail server. _|_|
--- Using system Go toolchain (1.15.2, /usr/local/bin/go).
--- WARNING: Source tree is not a Git repository and no version specified.
--- Downloading dependencies...
go: downloading github.com/foxcpp/go-mockdns v0.0.0-20200531120619-ae750bbf9d73
--- Building main executable...
-buildmode=pie not supported on openbsd/amd64
Environment information
OpenBSD version: 6.8 amd64
maddy version: 0.4.2
go version: 1.15.2
gnugetopt version: 1.1.6p2
bash version: 5.0.18
Notes
There was apparently a patch for Go that would appear to have enabled buildmode=pie on OpenBSD, for Go 1.11. Seems strange it's cropping up here given that. cmd/go: static linking fails on OpenBSD 6.2
The text was updated successfully, but these errors were encountered:
Describe the bug
When building maddy via
build.sh
, it fails with the error-buildmode=pie not supported on openbsd/amd64
:Steps to reproduce
build.sh
(at the time of writing this) has existing issues on BSD systems, related to the version ofgetopt
native to those systems, that doesn't support the necessary GNU extensions. As such,gnugetopt
must be installed and referenced in order to get this far. Details below.go
from packages.bash
from packages.gnugetopt
from packages.build.sh
so line 3 referencesgnugetopt
instead ofgetopt
../build.sh
:Environment information
Notes
There was apparently a patch for Go that would appear to have enabled
buildmode=pie
on OpenBSD, for Go 1.11. Seems strange it's cropping up here given that.cmd/go: static linking fails on OpenBSD 6.2
The text was updated successfully, but these errors were encountered: