[pkg-go] Bug#971182: go-mtpfs: FTBFS: src/github.com/hanwen/go-mtpfs/main.go:68:11: undefined: fuse.NewLockingRawFileSystem

Lucas Nussbaum lucas at debian.org
Sun Sep 27 20:06:28 BST 2020


Source: go-mtpfs
Version: 0.0~git20180209.d6f8f3c-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=golang --with=golang
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
> dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_auto_build -O--buildsystem=golang
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> 	cd obj-x86_64-linux-gnu && go install -trimpath -v -p 1 github.com/hanwen/go-mtpfs github.com/hanwen/go-mtpfs/fs github.com/hanwen/go-mtpfs/mtp
> internal/unsafeheader
> internal/cpu
> internal/bytealg
> runtime/internal/atomic
> runtime/internal/sys
> runtime/internal/math
> runtime
> internal/reflectlite
> errors
> math/bits
> math
> unicode/utf8
> strconv
> internal/race
> sync/atomic
> sync
> unicode
> reflect
> sort
> internal/fmtsort
> io
> internal/oserror
> syscall
> internal/syscall/unix
> time
> internal/poll
> internal/syscall/execenv
> internal/testlog
> os
> fmt
> strings
> flag
> bytes
> context
> path/filepath
> io/ioutil
> log
> github.com/hanwen/go-fuse/splice
> encoding/binary
> golang.org/x/sys/internal/unsafeheader
> golang.org/x/sys/unix
> os/exec
> path
> github.com/hanwen/go-fuse/fuse
> github.com/hanwen/go-fuse/fuse/nodefs
> runtime/cgo
> github.com/hanwen/usb
> # github.com/hanwen/usb
> cgo-gcc-prolog: In function ‘_cgo_afe072e410cc_Cfunc_libusb_set_debug’:
> cgo-gcc-prolog:662:2: warning: ‘libusb_set_debug’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
> In file included from src/github.com/hanwen/usb/usb.go:8:
> /usr/include/libusb-1.0/libusb.h:1325:18: note: declared here
>  1325 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
>       |                  ^~~~~~~~~~~~~~~~
> math/rand
> regexp/syntax
> regexp
> github.com/hanwen/go-mtpfs/mtp
> github.com/hanwen/go-mtpfs/fs
> github.com/hanwen/go-mtpfs
> # github.com/hanwen/go-mtpfs
> src/github.com/hanwen/go-mtpfs/main.go:68:11: undefined: fuse.NewLockingRawFileSystem
> dh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p 1 github.com/hanwen/go-mtpfs github.com/hanwen/go-mtpfs/fs github.com/hanwen/go-mtpfs/mtp returned exit code 2
> make: *** [debian/rules:6: build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/09/26/go-mtpfs_0.0~git20180209.d6f8f3c-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-go-maintainers mailing list