[MacPorts] #69230: kubeseal fails to install due to error with Go YAML

MacPorts noreply at macports.org
Mon Jan 29 10:23:47 UTC 2024


#69230: kubeseal fails to install due to error with Go YAML
-------------------------+----------------------
 Reporter:  tux-o-matic  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  kubeseal
-------------------------+----------------------
 Since some 0.24.x version and still with current version 0.25.0 of the
 kubeseal port, an error prevents the installation.

 {{{
 :notice:configure --->  Configuring kubeseal
 :debug:configure Preferred compilers: clang macports-clang-16 macports-
 clang-15 macports-clang-14 macports-clang-11 macports-clang-10 macports-
 clang-9.0
 :debug:configure Using compiler 'Xcode Clang'
 :debug:configure Executing org.macports.configure (kubeseal)
 :debug:configure Executing portconfigure::configure_finish
 :debug:configure Privilege de-escalation not attempted as not running as
 root.
 :debug:build build phase started at Mon Jan 29 10:54:53 CET 2024
 :notice:build --->  Building kubeseal
 :debug:build Executing org.macports.build (kubeseal)
 :debug:build port disallows a parallel build, setting build jobs to 1
 :debug:build port disallows a parallel build, setting build jobs to 1
 :debug:build Environment:
 :debug:build CC='REDACTED/kubeseal/work/compwrap/cc/usr/bin/clang'
 :debug:build CC_PRINT_OPTIONS='YES'
 :debug:build
 CC_PRINT_OPTIONS_FILE='REDACTED/kubeseal/work/.CC_PRINT_OPTIONS'
 :debug:build CPATH='REDACTED/macports/include'
 :debug:build CXX='REDACTED/kubeseal/work/compwrap/cxx/usr/bin/clang++'
 :debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
 :debug:build F77=''
 :debug:build F90=''
 :debug:build FC=''
 :debug:build GOARCH='amd64'
 :debug:build GOOS='darwin'
 :debug:build GOPATH='REDACTED/kubeseal/work/gopath'
 :debug:build LIBRARY_PATH='REDACTED/macports/lib'
 :debug:build MACOSX_DEPLOYMENT_TARGET='14.0'
 :debug:build MACPORTS_LEGACY_SUPPORT_DISABLED='1'
 :debug:build OBJC='REDACTED kubeseal/work/compwrap/objc/usr/bin/clang'
 :debug:build
 OBJCXX='REDACTED/kubeseal/work/compwrap/objcxx/usr/bin/clang++'
 :debug:build
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk'
 :info:build Executing:  cd "REDACTED/kubeseal/work/gopath/src/github.com
 /bitnami-labs/sealed-secrets" && make -w kubeseal
 :debug:build system:  cd "REDACTED kubeseal/work/gopath/src/github.com
 /bitnami-labs/sealed-secrets" && make -w kubeseal
 :info:build make: Entering directory
 `REDACTED/kubeseal/work/gopath/src/github.com/bitnami-labs/sealed-secrets'
 :info:build go build -o kubeseal  -ldflags "-X main.VERSION=v0.25.0"
 ./cmd/kubeseal
 :info:build # gopkg.in/yaml.v3
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/yaml.go:230:11:
 undefined: encoder
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/decode.go:173:9:
 undefined: shortTag
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/decode.go:178:12:
 undefined: resolve
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/decode.go:242:17:
 undefined: mergeTag
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/decode.go:245:16:
 undefined: strTag
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/decode.go:255:28:
 undefined: seqTag
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/decode.go:271:27:
 undefined: mapTag
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/decode.go:355:12:
 undefined: seqTag
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/decode.go:355:29:
 undefined: mapTag
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/decode.go:362:94:
 undefined: shortTag
 :info:build ../../../../pkg/mod/gopkg.in/yaml.v3 at v3.0.1/decode.go:362:94:
 too many errors
 :info:build make: *** [kubeseal] Error 1
 :info:build make: Leaving directory `REDACTED
 kubeseal/work/gopath/src/github.com/bitnami-labs/sealed-secrets'
 :info:build Command failed:  cd "kubeseal/work/gopath/src/github.com
 /bitnami-labs/sealed-secrets" && make -w kubeseal
 :info:build Exit code: 2
 :error:build Failed to build kubeseal: command execution failed
 :debug:build Error code: CHILDSTATUS 99379 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 10)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69230>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list