GNU bug report logs - #40929
go-sctp build failure: "protocol not supported"

Previous Next

Package: guix;

Reported by: Josh Holland <josh <at> inv.alid.pw>

Date: Tue, 28 Apr 2020 12:16:02 UTC

Severity: normal

Done: Josh Holland <josh <at> inv.alid.pw>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40929 in the body.
You can then email your comments to 40929 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40929; Package guix. (Tue, 28 Apr 2020 12:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Josh Holland <josh <at> inv.alid.pw>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 28 Apr 2020 12:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Josh Holland <josh <at> inv.alid.pw>
To: bug-guix <at> gnu.org
Subject: go-sctp build failure: "protocol not supported"
Date: Tue, 28 Apr 2020 13:15:34 +0100
Hi,

I was trying to install docker, which has go-sctp as a dependency.
However, it fails to build, with the following output:

$ guix build go-sctp
The following derivation will be built:
   /gnu/store/bc4sd2819gmy22dda1nhd179cacw7ny6-go-sctp-0.0.0-1.07191f8.drv
building /gnu/store/bc4sd2819gmy22dda1nhd179cacw7ny6-go-sctp-0.0.0-1.07191f8.drv...
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/bin:/gnu/store/cnqpra8vr2l5fz00rr4yj4bp3hr00cfw-tar-1.32/bin:/gnu/store/py3k9zla9fj3z7430v4crqj5pyrsd3qj-gzip-1.10/bin:/gnu/store/l86azr7r3p5631wj3kk329jl1y1mpjgy-bzip2-1.0.6/bin:/gnu/store/lbip9isk25isymvnb159l115xnacb5j8-xz-5.2.4/bin:/gnu/store/6jdshxwdrad9mlhcqc9k0g24yw45rqf1-file-5.33/bin:/gnu/store/58sq8iabw3jkv0fvf95hd7sq2g4xcsnz-diffutils-3.7/bin:/gnu/store/v76scv4n63ip08g119rczh2mrw31zwpd-patch-2.7.6/bin:/gnu/store/g9d3wv1d68iflx57yp3mcp3k3sv8spsl-findutils-4.6.0/bin:/gnu/store/2z9hsww76aag37p40671l9niq5pvvasx-gawk-5.0.1/bin:/gnu/store/afmvfw1yhfal48n1kjq6bk6kcw8sc3db-sed-4.7/bin:/gnu/store/7iyvxhp2g3v3655zqwr6biz2h0lqv7pr-grep-3.3/bin:/gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutils-8.31/bin:/gnu/store/b5vpfzkr59bpgcsg1k9vvad9h5rwvpgk-make-4.2.1/bin:/gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin:/gnu/store/nc5vlidpxbvngalng30nif8nb3j7gfy2-ld-wrapper-0/bin:/gnu/store/3hkdiscs4910r75njbrql10znxxn7chk-binutils-2.32/bin:/gnu/store/x3jx25cd3q363mr7nbgzrhrv1vza6cf7-gcc-7.4.0/bin:/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/bin:/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/sbin'
environment variable `BASH_LOADABLES_PATH' unset
environment variable `CPATH' set to `/gnu/store/l86azr7r3p5631wj3kk329jl1y1mpjgy-bzip2-1.0.6/include:/gnu/store/lbip9isk25isymvnb159l115xnacb5j8-xz-5.2.4/include:/gnu/store/6jdshxwdrad9mlhcqc9k0g24yw45rqf1-file-5.33/include:/gnu/store/2z9hsww76aag37p40671l9niq5pvvasx-gawk-5.0.1/include:/gnu/store/b5vpfzkr59bpgcsg1k9vvad9h5rwvpgk-make-4.2.1/include:/gnu/store/3hkdiscs4910r75njbrql10znxxn7chk-binutils-2.32/include:/gnu/store/x3jx25cd3q363mr7nbgzrhrv1vza6cf7-gcc-7.4.0/include:/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include:/gnu/store/7czrqpi0kwazras6pgyx0bhdn89pg0jl-linux-libre-headers-4.19.56/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/lib:/gnu/store/l86azr7r3p5631wj3kk329jl1y1mpjgy-bzip2-1.0.6/lib:/gnu/store/lbip9isk25isymvnb159l115xnacb5j8-xz-5.2.4/lib:/gnu/store/6jdshxwdrad9mlhcqc9k0g24yw45rqf1-file-5.33/lib:/gnu/store/2z9hsww76aag37p40671l9niq5pvvasx-gawk-5.0.1/lib:/gnu/store/3hkdiscs4910r75njbrql10znxxn7chk-binutils-2.32/lib:/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib:/gnu/store/qky1x5bb2jygy58bn6y95ygfsmpakf52-glibc-2.29-static/lib:/gnu/store/mmqp1xqffn6qw6v88i627c2bpbq36fcy-glibc-utf8-locales-2.29/lib'
environment variable `GUIX_LOCPATH' set to `/gnu/store/mmqp1xqffn6qw6v88i627c2bpbq36fcy-glibc-utf8-locales-2.29/lib/locale'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
using 'en_US.utf8' locale for category "LC_ALL"
phase `install-locale' succeeded after 0.0 seconds
starting phase `setup-go-environment'
phase `setup-go-environment' succeeded after 0.0 seconds
starting phase `unpack'
`/gnu/store/flhrga7qm4czsas6h0vd99wnydqxsgwh-go-sctp-0.0.0-1.07191f8-checkout/.gitignore' -> `/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp/.gitignore'
`/gnu/store/flhrga7qm4czsas6h0vd99wnydqxsgwh-go-sctp-0.0.0-1.07191f8-checkout/.travis.yml' -> `/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp/.travis.yml'
`/gnu/store/flhrga7qm4czsas6h0vd99wnydqxsgwh-go-sctp-0.0.0-1.07191f8-checkout/README.md' -> `/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp/README.md'
`/gnu/store/flhrga7qm4czsas6h0vd99wnydqxsgwh-go-sctp-0.0.0-1.07191f8-checkout/sctp.go' -> `/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp/sctp.go'
`/gnu/store/flhrga7qm4czsas6h0vd99wnydqxsgwh-go-sctp-0.0.0-1.07191f8-checkout/sctp_linux.go' -> `/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp/sctp_linux.go'
`/gnu/store/flhrga7qm4czsas6h0vd99wnydqxsgwh-go-sctp-0.0.0-1.07191f8-checkout/sctp_streams_test.go' -> `/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp/sctp_streams_test.go'
`/gnu/store/flhrga7qm4czsas6h0vd99wnydqxsgwh-go-sctp-0.0.0-1.07191f8-checkout/sctp_test.go' -> `/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp/sctp_test.go'
`/gnu/store/flhrga7qm4czsas6h0vd99wnydqxsgwh-go-sctp-0.0.0-1.07191f8-checkout/sctp_unsupported.go' -> `/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp/sctp_unsupported.go'
`/gnu/store/flhrga7qm4czsas6h0vd99wnydqxsgwh-go-sctp-0.0.0-1.07191f8-checkout/LICENSE' -> `/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp/LICENSE'
`/gnu/store/flhrga7qm4czsas6h0vd99wnydqxsgwh-go-sctp-0.0.0-1.07191f8-checkout/example/sctp.go' -> `/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp/example/sctp.go'
phase `unpack' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `build'
WORK=/tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/go-build625703083
github.com/ishidawataru/sctp
mkdir -p $WORK/b001/
cat >$WORK/b001/importcfg << 'EOF' # internal
# import config
packagefile bytes=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/bytes.a
packagefile encoding/binary=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/encoding/binary.a
packagefile fmt=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/fmt.a
packagefile io=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/io.a
packagefile net=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/net.a
packagefile strconv=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/strconv.a
packagefile strings=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/strings.a
packagefile sync=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/sync.a
packagefile sync/atomic=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/sync/atomic.a
packagefile syscall=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/syscall.a
packagefile time=/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/linux_amd64/time.a
EOF
cd /tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/src/github.com/ishidawataru/sctp
/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/tool/linux_amd64/compile -o $WORK/b001/_pkg_.a -trimpath "$WORK/b001=>" -p github.com/ishidawataru/sctp -complete -buildid Q1r1L3qH3YHBCsR6toPz/Q1r1L3qH3YHBCsR6toPz -goversion go1.13.9 -D "" -importcfg $WORK/b001/importcfg -pack -c=4 ./sctp.go ./sctp_linux.go
/gnu/store/xacmln5jbjx28yb73cmp0v3i2g2wca8g-go-1.13.9/pkg/tool/linux_amd64/buildid -w $WORK/b001/_pkg_.a # internal
cp $WORK/b001/_pkg_.a /tmp/go-cache/2b/2b41bc8c58fa2521411ed8cef888fe3c64490889db0d340a488431d7592f521f-d # internal
mkdir -p /tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/pkg/linux_amd64/github.com/ishidawataru/
mv $WORK/b001/_pkg_.a /tmp/guix-build-go-sctp-0.0.0-1.07191f8.drv-0/pkg/linux_amd64/github.com/ishidawataru/sctp.a
rm -r $WORK/b001/
phase `build' succeeded after 0.3 seconds
starting phase `check'
--- FAIL: TestStreams (0.01s)
    sctp_streams_test.go:34: failed to listen: protocol not supported
--- FAIL: TestSCTPListenerName (0.00s)
    sctp_test.go:71: protocol not supported
--- FAIL: TestSCTPConcurrentAccept (0.00s)
    sctp_test.go:86: protocol not supported
--- FAIL: TestSCTPCloseRecv (0.00s)
    sctp_test.go:126: protocol not supported
FAIL
FAIL	github.com/ishidawataru/sctp	0.018s
FAIL
command "go" "test" "github.com/ishidawataru/sctp" failed with status 1
builder for `/gnu/store/bc4sd2819gmy22dda1nhd179cacw7ny6-go-sctp-0.0.0-1.07191f8.drv' failed with exit code 1
build of /gnu/store/bc4sd2819gmy22dda1nhd179cacw7ny6-go-sctp-0.0.0-1.07191f8.drv failed
View build log at '/var/log/guix/drvs/bc/4sd2819gmy22dda1nhd179cacw7ny6-go-sctp-0.0.0-1.07191f8.drv.bz2'.
guix build: error: build of `/gnu/store/bc4sd2819gmy22dda1nhd179cacw7ny6-go-sctp-0.0.0-1.07191f8.drv' failed

I am running Guix on top of a foreign distro (Arch); I looked up some
recent builds of go-sctp on the CI server, with rather mixed results.
Some have succeeded, some failed, some never attempted (due to missing
dependencies, I assume), and most seem to have the output cut off.


--
Josh Holland




Information forwarded to bug-guix <at> gnu.org:
bug#40929; Package guix. (Sun, 03 May 2020 16:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 40929 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Josh Holland <josh <at> inv.alid.pw>
Cc: 40929 <at> debbugs.gnu.org
Subject: Re: bug#40929: go-sctp build failure: "protocol not supported"
Date: Sun, 3 May 2020 18:18:48 +0200
Dear,

On Tue, 28 Apr 2020 at 14:18, Josh Holland <josh <at> inv.alid.pw> wrote:

> I was trying to install docker, which has go-sctp as a dependency.
> However, it fails to build, with the following output:

Yes, Docker is broken on master because 'go-sctp' fails to build.

https://ci.guix.gnu.org/search?query=spec%3Aguix-master+system%3Ax86_64-linux+docker-19.03.7
https://ci.guix.gnu.org/build/2549650/details

However, it seems fixed on core-updates.

https://ci.guix.gnu.org/search?query=spec%3Acore-updates-core-updates+system%3Ax86_64-linux+docker-19.03.7


Well, a workaround could be:

  guix pull --branch=core-updates -p /tmp/core-updates
  /tmp/core-updates/bin/guix build go-sctp


Hope that helps,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#40929; Package guix. (Tue, 05 May 2020 14:21:01 GMT) Full text and rfc822 format available.

Message #11 received at 40929 <at> debbugs.gnu.org (full text, mbox):

From: Josh Holland <josh <at> inv.alid.pw>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 40929 <at> debbugs.gnu.org
Subject: Re: bug#40929: go-sctp build failure: "protocol not supported"
Date: Tue, 05 May 2020 15:20:03 +0100
Hi,

zimoun <zimon.toutoune <at> gmail.com> writes:
>
> However, it seems fixed on core-updates.
>
> https://ci.guix.gnu.org/search?query=spec%3Acore-updates-core-updates+system%3Ax86_64-linux+docker-19.03.7

Ah, that's good.  I'll just wait for the (hopefully soon) core-updates
merge since this isn't essential to me.  If it is fixed, then presumably
this bug can be closed?

Thanks,

--
Josh Holland




Information forwarded to bug-guix <at> gnu.org:
bug#40929; Package guix. (Tue, 12 May 2020 22:47:02 GMT) Full text and rfc822 format available.

Message #14 received at 40929 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Josh Holland <josh <at> inv.alid.pw>
Cc: 40929 <at> debbugs.gnu.org
Subject: Re: bug#40929: go-sctp build failure: "protocol not supported"
Date: Wed, 13 May 2020 00:46:14 +0200
Dear Josh,

On Tue, 5 May 2020 at 16:20, Josh Holland <josh <at> inv.alid.pw> wrote:

> Ah, that's good.  I'll just wait for the (hopefully soon) core-updates
> merge since this isn't essential to me.  If it is fixed, then presumably
> this bug can be closed?

Could you confirm that the bug is now fixed for you?
If yes, just reply to 40929-done <at> debbugs.gnu.org

Thank you in advance.

All the best,
simon




Reply sent to Josh Holland <josh <at> inv.alid.pw>:
You have taken responsibility. (Wed, 13 May 2020 09:32:02 GMT) Full text and rfc822 format available.

Notification sent to Josh Holland <josh <at> inv.alid.pw>:
bug acknowledged by developer. (Wed, 13 May 2020 09:32:02 GMT) Full text and rfc822 format available.

Message #19 received at 40929-done <at> debbugs.gnu.org (full text, mbox):

From: Josh Holland <josh <at> inv.alid.pw>
To: 40929-done <at> debbugs.gnu.org
Subject: Re: bug#40929: go-sctp build failure: "protocol not supported"
Date: Wed, 13 May 2020 10:31:15 +0100
This now builds fine (in fact, it was substituted when I checked just
now, but `guix build --check` works with no errors).


--
Josh Holland




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Jun 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.