Bug#863139: mongo-tools FTBFS on arm64: _build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2

2017-06-07 Thread Edmund Grimley Evans
The fix is described here:

https://github.com/spacemonkeygo/spacelog/issues/6

Add golang-golang-x-sys-dev to the Build-Depends, and in capture_other.go
replace "syscall" with "golang.org/x/sys/unix",
and each "syscall." with "unix.".



Bug#863139: mongo-tools FTBFS on arm64: _build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: syscall.Dup2

2017-05-22 Thread Adrian Bunk
Source: mongo-tools
Version: 3.2.11-1
Severity: important

https://buildd.debian.org/status/fetch.php?pkg=mongo-tools=arm64=3.2.11-1=1481880888=0

...
make[1]: Entering directory '/«PKGBUILDDIR»'
for tool in bsondump mongodump mongoexport mongofiles mongoimport mongooplog 
mongorestore mongostat mongotop; do \
go install -v -tags="ssl sasl" -ldflags -extldflags=-Wl,-z,now,-z,relro 
$tool/main/$tool.go; \
done
gopkg.in/mgo.v2/internal/json
gopkg.in/mgo.v2/internal/sasl
gopkg.in/mgo.v2/internal/scram
github.com/jessevdk/go-flags
github.com/mongodb/mongo-tools/common/log
github.com/spacemonkeygo/openssl/utils
github.com/spacemonkeygo/spacelog
golang.org/x/crypto/ssh/terminal
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: 
syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: 
syscall.Dup2
github.com/howeyc/gopass
github.com/mongodb/mongo-tools/common/password
gopkg.in/mgo.v2/bson
gopkg.in/mgo.v2
github.com/mongodb/mongo-tools/common/util
github.com/mongodb/mongo-tools/common/json
github.com/mongodb/mongo-tools/common/signals
github.com/mongodb/mongo-tools/common/bsonutil
github.com/mongodb/mongo-tools/common/intents
github.com/mongodb/mongo-tools/common/text
github.com/spacemonkeygo/spacelog
github.com/mongodb/mongo-tools/common/progress
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: 
syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: 
syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: 
syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: 
syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: 
syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: 
syscall.Dup2
github.com/spacemonkeygo/spacelog
gopkg.in/tomb.v2
github.com/mongodb/mongo-tools/mongoimport/csv
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: 
syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: 
syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: 
syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: 
syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: 
syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: 
syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: 
syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: 
syscall.Dup2
github.com/spacemonkeygo/spacelog
# github.com/spacemonkeygo/spacelog
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:26: undefined: 
syscall.Dup2
_build/src/github.com/spacemonkeygo/spacelog/capture_other.go:30: undefined: 
syscall.Dup2
debian/rules:41: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2