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

Bug#978348: ipp-usb: FTBFS: src/github.com/OpenPrinting/ipp-usb/usbio_libusb.go:64:43: cannot use int32(err) (type int32) as type _Ctype_int in argument to _Cfunc_libusb_strerror



Source: ipp-usb
Version: 0.9.14-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f *.8 ipp-usb
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
>    dh_clean -O--builddirectory=_build -O--buildsystem=golang
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building ipp-usb using existing ./ipp-usb_0.9.14.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file ipp-usb.8, use --include-removal to override
> dpkg-source: info: building ipp-usb in ipp-usb_0.9.14-2.debian.tar.xz
> dpkg-source: info: building ipp-usb in ipp-usb_0.9.14-2.dsc
>  debian/rules binary
> dh binary --builddirectory=_build --buildsystem=golang --with=golang
>    dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
>    dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
>    dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
>    dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
> 	cd _build && go install -trimpath -v -p 4 github.com/OpenPrinting/ipp-usb
> internal/unsafeheader
> runtime/internal/sys
> runtime/internal/atomic
> internal/cpu
> internal/race
> runtime/internal/math
> sync/atomic
> unicode
> unicode/utf8
> internal/bytealg
> math/bits
> internal/testlog
> encoding
> math
> internal/nettrace
> container/list
> runtime/cgo
> runtime
> crypto/internal/subtle
> crypto/subtle
> unicode/utf16
> vendor/golang.org/x/crypto/cryptobyte/asn1
> vendor/golang.org/x/crypto/internal/subtle
> internal/reflectlite
> sync
> internal/singleflight
> math/rand
> errors
> sort
> internal/oserror
> io
> strconv
> syscall
> vendor/golang.org/x/net/dns/dnsmessage
> bytes
> strings
> reflect
> hash
> bufio
> hash/crc32
> internal/syscall/unix
> time
> internal/syscall/execenv
> crypto
> crypto/internal/randutil
> crypto/hmac
> crypto/rc4
> vendor/golang.org/x/crypto/hkdf
> vendor/golang.org/x/text/transform
> path
> context
> internal/poll
> os
> encoding/binary
> internal/fmtsort
> crypto/sha1
> crypto/sha512
> crypto/cipher
> fmt
> path/filepath
> net
> crypto/aes
> crypto/des
> io/ioutil
> crypto/ed25519/internal/edwards25519
> compress/flate
> encoding/xml
> github.com/OpenPrinting/goipp
> compress/gzip
> log
> math/big
> crypto/md5
> crypto/sha256
> encoding/hex
> encoding/base64
> net/url
> encoding/pem
> vendor/golang.org/x/crypto/chacha20
> vendor/golang.org/x/crypto/poly1305
> vendor/golang.org/x/sys/cpu
> vendor/golang.org/x/crypto/curve25519
> vendor/golang.org/x/crypto/chacha20poly1305
> vendor/golang.org/x/text/unicode/bidi
> crypto/rand
> crypto/elliptic
> encoding/asn1
> crypto/ed25519
> crypto/rsa
> crypto/dsa
> vendor/golang.org/x/crypto/cryptobyte
> crypto/x509/pkix
> vendor/golang.org/x/text/secure/bidirule
> vendor/golang.org/x/text/unicode/norm
> vendor/golang.org/x/net/http2/hpack
> crypto/ecdsa
> mime
> mime/quotedprintable
> net/http/internal
> os/signal
> runtime/debug
> vendor/golang.org/x/net/idna
> net/textproto
> crypto/x509
> vendor/golang.org/x/net/http/httpproxy
> vendor/golang.org/x/net/http/httpguts
> mime/multipart
> crypto/tls
> net/http/httptrace
> net/http
> github.com/OpenPrinting/ipp-usb
> # github.com/OpenPrinting/ipp-usb
> src/github.com/OpenPrinting/ipp-usb/usbio_libusb.go:64:43: cannot use int32(err) (type int32) as type _Ctype_int in argument to _Cfunc_libusb_strerror
> dh_auto_build: error: cd _build && go install -trimpath -v -p 4 github.com/OpenPrinting/ipp-usb returned exit code 2
> make: *** [debian/rules:6: binary] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/ipp-usb_0.9.14-2_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

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.


Reply to: