#62928 closed defect (fixed)
saml2aws: cannot find package "github.com/versent/saml2aws/v2/cmd/saml2aws/commands" in any of:
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | jamesog@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | jamesog (James O'Gorman) | |
Port: | saml2aws |
Description
saml2aws doesn't build on any buildbot builder:
cmd/saml2aws/main.go:13:2: cannot find package "github.com/versent/saml2aws/v2/cmd/saml2aws/commands" in any of: /opt/local/lib/go/src/github.com/versent/saml2aws/v2/cmd/saml2aws/commands (from $GOROOT) /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_security_saml2aws/saml2aws/work/gopath/src/github.com/versent/saml2aws/v2/cmd/saml2aws/commands (from $GOPATH) cmd/saml2aws/main.go:14:2: cannot find package "github.com/versent/saml2aws/v2/pkg/flags" in any of: /opt/local/lib/go/src/github.com/versent/saml2aws/v2/pkg/flags (from $GOROOT) /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_security_saml2aws/saml2aws/work/gopath/src/github.com/versent/saml2aws/v2/pkg/flags (from $GOPATH) Command failed: cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_security_saml2aws/saml2aws/work/gopath/src/github.com/Versent/saml2aws" && /opt/local/bin/go build -trimpath -ldflags "-s -w -X main.Version=2.30.0" ./cmd/saml2aws Exit code: 1
Comments on [bc53423fcbb07af94ca474bf3b1b2fa0d1e2748d/macports-ports] mention the problem is a difference in case between "Versent" and "versent".
Change History (7)
comment:1 Changed 3 years ago by jamesog (James O'Gorman)
comment:2 Changed 3 years ago by jamesog (James O'Gorman)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 3 years ago by jamesog (James O'Gorman)
comment:4 Changed 3 years ago by jamesog (James O'Gorman)
Hi Ryan,
In 8b2f1b5581bedbdf55fe8a13c2af03a9704ffc3e/macports-ports I added a block to try and skip builds on older macOS versions, but from looking at BuildBot builds, I'm wondering if it has skipped builds on all versions instead.
Are you able to help check if that's really what happened, please?
Thank you.
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
The change looks correct to me. Buildbot will of course skip builds that have already happened successfully.
comment:6 Changed 3 years ago by jamesog (James O'Gorman)
Ah, that makes sense! Thanks for confirming.
comment:7 Changed 3 years ago by jamesog (James O'Gorman)
Cc: | jamesog added |
---|
Note: See
TracTickets for help on using
tickets.
I believe this PR should fix it: https://github.com/macports/macports-ports/pull/11117
I created a case-sensitive APFS volume, moved my
portdbpath
there and ran the build both with and without thego.package
fix.