naivesystems / analyze

NaiveSystems Analyze is a static analysis tool for code security and compliance.
GNU General Public License v3.0
174 stars 24 forks source link

执行make -C podman_image build-en时报错log #2

Closed Cruxssssss closed 12 months ago

Cruxssssss commented 12 months ago
make: Entering directory '/home/lilith/code/analyze/podman_image'
make build-base LIMIT=100000 NUM_WORKERS=4 LANG="en" IMAGE_NAME="naive.systems/analyzer/misra:dev_en"
make[1]: Entering directory '/home/lilith/code/analyze/podman_image'
bazel build  -c opt @llvm-project//clang && cp ../bazel-bin/external/llvm-project/clang/clang clang
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang:clang (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang:clang (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang:clang up-to-date:
  bazel-bin/external/llvm-project/clang/clang
INFO: Elapsed time: 1.054s, Critical Path: 0.22s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @llvm-project//clang:clang-extdef-mapping && cp ../bazel-bin/external/llvm-project/clang/clang-extdef-mapping clang-extdef-mapping
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang:clang-extdef-mapping (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang:clang-extdef-mapping (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[2 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang:clang-extdef-mapping up-to-date:
  bazel-bin/external/llvm-project/clang/clang-extdef-mapping
INFO: Elapsed time: 0.228s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @llvm-project//clang-tools-extra:clang-query && cp ../bazel-bin/external/llvm-project/clang-tools-extra/clang-query clang-query
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang-tools-extra:clang-query (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang-tools-extra:clang-query (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang-tools-extra:clang-query up-to-date:
  bazel-bin/external/llvm-project/clang-tools-extra/clang-query
INFO: Elapsed time: 0.225s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @llvm-project//clang-tools-extra:clang-tidy && cp ../bazel-bin/external/llvm-project/clang-tools-extra/clang-tidy clang-tidy
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang-tools-extra:clang-tidy (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang-tools-extra:clang-tidy (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang-tools-extra:clang-tidy up-to-date:
  bazel-bin/external/llvm-project/clang-tools-extra/clang-tidy
INFO: Elapsed time: 0.349s, Critical Path: 0.04s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @com_google_protobuf//:protoc
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @com_google_protobuf//:protoc (0 packages loaded, 0 targets configured)
INFO: Analyzed target @com_google_protobuf//:protoc (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @com_google_protobuf//:protoc up-to-date:
  bazel-bin/external/com_google_protobuf/protoc
INFO: Elapsed time: 0.188s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
go install google.golang.org/protobuf/cmd/protoc-gen-go
make -C ../ pb.go
make[2]: Entering directory '/home/lilith/code/analyze'
/home/lilith/code/analyze/out/bin/protoc -I/home/lilith/code/analyze -I/home/lilith/code/analyze/third_party/github.com/protocolbuffers/protobuf/src --go_out=/home/lilith/code/analyze /home/lilith/code/analyze/analyzer/proto/analyzer.proto
/home/lilith/code/analyze/out/bin/protoc -I/home/lilith/code/analyze -I/home/lilith/code/analyze/third_party/github.com/protocolbuffers/protobuf/src --go_out=/home/lilith/code/analyze /home/lilith/code/analyze/analyzer/proto/results.proto
/home/lilith/code/analyze/out/bin/protoc -I/home/lilith/code/analyze -I/home/lilith/code/analyze/third_party/github.com/protocolbuffers/protobuf/src --go_out=/home/lilith/code/analyze /home/lilith/code/analyze/analyzer/proto/suppression.proto
make[2]: Leaving directory '/home/lilith/code/analyze'
make -C ../third_party/cppcheck && make -C ../misra/analyzer/cmd/ LIMIT=100000 NUM_WORKERS=4 LANG=en
make[2]: Entering directory '/home/lilith/code/analyze/third_party/cppcheck'
make[2]: 'cppcheck' is up to date.
make[2]: Leaving directory '/home/lilith/code/analyze/third_party/cppcheck'
make[2]: Entering directory '/home/lilith/code/analyze/misra/analyzer/cmd'
go generate naive.systems/analyzer/misra/...
pkg-config --cflags --static /home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/../../../../out/lib/pkgconfig/libgit2.pc failed: exit status 1: Failed to open '/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/../../../../out/lib/pkgconfig/libgit2.pc': No such file or directory
No package '/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/../../../../out/lib/pkgconfig/libgit2.pc' found

/usr/local/go/src/time/zoneinfo_wasip1.go:8:5: platformZoneSources redeclared in this block
/usr/local/go/src/time/zoneinfo_unix.go:21:5:   other declaration of platformZoneSources
/usr/local/go/src/time/zoneinfo_wasip1.go:10:6: initLocal redeclared in this block
/usr/local/go/src/time/zoneinfo_unix.go:28:6:   other declaration of initLocal
/usr/local/go/src/internal/syscall/unix/at_wasip1.go:12:2: UTIME_OMIT redeclared in this block
/usr/local/go/src/internal/syscall/unix/at_sysnum_linux.go:18:2:    other declaration of UTIME_OMIT
/usr/local/go/src/internal/poll/fd_wasip1.go:13:6: SysFile redeclared in this block
/usr/local/go/src/internal/poll/fd_unixjs.go:11:6:  other declaration of SysFile
/usr/local/go/src/internal/poll/fd_wasip1.go:87:6: dupCloseOnExecOld redeclared in this block
/usr/local/go/src/internal/poll/fd_unixjs.go:29:6:  other declaration of dupCloseOnExecOld
/usr/local/go/src/internal/poll/fd_wasip1.go:44:19: method SysFile.init already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:16:19
/usr/local/go/src/internal/poll/fd_wasip1.go:56:19: method SysFile.destroy already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:18:19
/usr/local/go/src/internal/poll/fd_wasip1.go:92:15: method FD.Fchdir already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:41:15
/usr/local/go/src/internal/poll/fd_wasip1.go:123:15: method FD.ReadDirent already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:52:15
/usr/local/go/src/internal/poll/fd_wasip1.go:164:15: method FD.Seek already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:73:15
/usr/local/go/src/internal/poll/fd_wasip1.go:103:50: undefined: syscall.Dircookie
/usr/local/go/src/internal/poll/fd_wasip1.go:45:7: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:46:5: s.RefCount undefined (type *SysFile has no field or method RefCount)
/usr/local/go/src/internal/poll/fd_wasip1.go:47:22: s.RefCount undefined (type *SysFile has no field or method RefCount)
/usr/local/go/src/internal/poll/fd_wasip1.go:47:5: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:52:20: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:53:32: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:53:17: unknown field RefCountPtr in struct literal of type SysFile
/usr/local/go/src/internal/poll/fd_wasip1.go:57:7: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:57:47: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:97:26: fd.Path undefined (type *FD has no field or method Path)
/usr/local/go/src/internal/poll/fd_wasip1.go:109:21: undefined: syscall.ReadDir
/usr/local/go/src/internal/poll/fd_wasip1.go:124:31: fd.Dircookie undefined (type *FD has no field or method Dircookie)
/usr/local/go/src/internal/poll/fd_wasip1.go:149:26: undefined: syscall.Dircookie
/usr/local/go/src/internal/poll/fd_wasip1.go:149:6: fd.Dircookie undefined (type *FD has no field or method Dircookie)
/usr/local/go/src/internal/poll/fd_wasip1.go:172:22: undefined: syscall.Filetype
/usr/local/go/src/internal/poll/fd_wasip1.go:172:53: fd.Filetype undefined (type *FD has no field or method Filetype)
/usr/local/go/src/internal/poll/fd_wasip1.go:174:25: undefined: syscall.FILETYPE_UNKNOWN
/usr/local/go/src/internal/poll/fd_wasip1.go:179:19: stat.Filetype undefined (type "syscall".Stat_t has no field or method Filetype)
/usr/local/go/src/internal/poll/fd_wasip1.go:180:26: fd.Filetype undefined (type *FD has no field or method Filetype)
/usr/local/go/src/internal/poll/fd_wasip1.go:183:25: undefined: syscall.FILETYPE_DIRECTORY
/usr/local/go/src/internal/poll/fd_wasip1.go:188:7: fd.Dircookie undefined (type *FD has no field or method Dircookie)
/usr/local/go/src/internal/poll/fd_wasip1.go:207:38: invalid argument: "syscall".Dirent has no single field Namlen
/usr/local/go/src/internal/poll/fd_wasip1.go:207:95: syscall.Dirent{}.Namlen undefined (type "syscall".Dirent has no field or method Namlen)
/usr/local/go/src/internal/poll/fd_wasip1.go:211:38: invalid argument: "syscall".Dirent has no single field Next
/usr/local/go/src/internal/poll/fd_wasip1.go:211:93: syscall.Dirent{}.Next undefined (type "syscall".Dirent has no field or method Next)
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:70:13: undefined: Transport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:28:9: undefined: Delta
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:36:9: undefined: DiffLineType
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:52:9: undefined: ErrorClass
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:55:9: undefined: ErrorCode
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:18:54: undefined: RegisteredSmartTransport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:39:43: undefined: Remote
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:39:62: undefined: Transport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:39:74: undefined: SmartSubtransport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:74:59: undefined: SmartServiceAction
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:74:80: undefined: SmartSubtransportStream
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:11:8: undefined: DeltaUnmodified
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:12:8: undefined: DeltaAdded
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:13:8: undefined: DeltaDeleted
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:14:8: undefined: DeltaModified
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:15:8: undefined: DeltaRenamed
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:16:8: undefined: DeltaCopied
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:17:8: undefined: DeltaIgnored
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:18:8: undefined: DeltaUntracked
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:19:8: undefined: DeltaTypeChange
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:20:8: undefined: DeltaUnreadable
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:21:8: undefined: DeltaConflicted
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:29:19: undefined: Delta
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:11:8: undefined: DiffLineContext
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:12:8: undefined: DiffLineAddition
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:13:8: undefined: DiffLineDeletion
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:14:8: undefined: DiffLineContextEOFNL
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:15:8: undefined: DiffLineAddEOFNL
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:16:8: undefined: DiffLineDelEOFNL
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:17:8: undefined: DiffLineFileHdr
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:18:8: undefined: DiffLineHunkHdr
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:19:8: undefined: DiffLineBinary
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:11:8: undefined: ErrorClassNone
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:12:8: undefined: ErrorClassNoMemory
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:13:8: undefined: ErrorClassOS
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:14:8: undefined: ErrorClassInvalid
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:15:8: undefined: ErrorClassReference
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:16:8: undefined: ErrorClassZlib
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:17:8: undefined: ErrorClassRepository
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:18:8: undefined: ErrorClassConfig
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:19:8: undefined: ErrorClassRegex
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:20:8: undefined: ErrorClassOdb
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:21:8: undefined: ErrorClassIndex
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:22:8: undefined: ErrorClassObject
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:23:8: undefined: ErrorClassNet
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:24:8: undefined: ErrorClassTag
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:25:8: undefined: ErrorClassTree
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:26:8: undefined: ErrorClassIndexer
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:27:8: undefined: ErrorClassSSL
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:28:8: undefined: ErrorClassSubmodule
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:29:8: undefined: ErrorClassThread
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:30:8: undefined: ErrorClassStash
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:31:8: undefined: ErrorClassCheckout
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:32:8: undefined: ErrorClassFetchHead
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:33:8: undefined: ErrorClassMerge
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:34:8: undefined: ErrorClassSSH
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:35:8: undefined: ErrorClassFilter
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:36:8: undefined: ErrorClassRevert
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:37:8: undefined: ErrorClassCallback
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:38:8: undefined: ErrorClassRebase
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:39:8: undefined: ErrorClassPatch
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:11:8: undefined: ErrorCodeOK
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:12:8: undefined: ErrorCodeGeneric
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:13:8: undefined: ErrorCodeNotFound
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:14:8: undefined: ErrorCodeExists
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:15:8: undefined: ErrorCodeAmbiguous
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:16:8: undefined: ErrorCodeBuffs
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:17:8: undefined: ErrorCodeUser
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:18:8: undefined: ErrorCodeBareRepo
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:19:8: undefined: ErrorCodeUnbornBranch
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:20:8: undefined: ErrorCodeUnmerged
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:21:8: undefined: ErrorCodeNonFastForward
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:22:8: undefined: ErrorCodeInvalidSpec
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:23:8: undefined: ErrorCodeConflict
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:24:8: undefined: ErrorCodeLocked
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:25:8: undefined: ErrorCodeModified
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:26:8: undefined: ErrorCodeAuth
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:27:8: undefined: ErrorCodeCertificate
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:28:8: undefined: ErrorCodeApplied
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:29:8: undefined: ErrorCodePeel
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:30:8: undefined: ErrorCodeEOF
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:31:8: undefined: ErrorCodeInvalid
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:32:8: undefined: ErrorCodeUncommitted
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:33:8: undefined: ErrorCodeDirectory
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:34:8: undefined: ErrorCodeMergeConflict
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:35:8: undefined: ErrorCodePassthrough
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:36:8: undefined: ErrorCodeIterOver
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:37:8: undefined: ErrorCodeRetry
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:38:8: undefined: ErrorCodeMismatch
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:39:8: undefined: ErrorCodeIndexDirty
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:40:8: undefined: ErrorCodeApplyFail
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:19:9: undefined: NewRegisteredSmartTransport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:23:2: undefined: globalRegisteredSmartTransports
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:24:8: undefined: globalRegisteredSmartTransports
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:27:15: undefined: globalRegisteredSmartTransports
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:30:19: undefined: newRegisteredSmartTransport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:34:3: undefined: globalRegisteredSmartTransports
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:46:7: undefined: ProxyTypeNone
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:48:7: undefined: ProxyTypeAuto
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:50:7: undefined: ProxyTypeSpecified
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:78:7: undefined: SmartServiceActionUploadpackLs
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:81:7: undefined: SmartServiceActionUploadpack
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:88:7: undefined: SmartServiceActionReceivepackLs
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:91:7: undefined: SmartServiceActionReceivepack
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:219:59: undefined: CredentialTypeUserpassPlaintext
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:48:29: undefined: git2go.Repository
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:49:29: undefined: git2go.Tree
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:50:29: undefined: git2go.Tree
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:144:46: undefined: git2go.Diff
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:144:61: undefined: git2go.DiffHunk
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:182:69: undefined: git2go.DiffHunk
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:108:28: undefined: git2go.NewOid
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:112:29: undefined: git2go.NewOid
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:116:22: undefined: git2go.OpenRepository
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:145:30: undefined: git2go.DiffHunk
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:146:44: undefined: git2go.DiffDelta
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:146:81: undefined: git2go.DiffForEachHunkCallback
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:153:12: undefined: git2go.DiffDetailLines
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:147:32: undefined: git2go.DiffHunk
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:147:50: undefined: git2go.DiffForEachLineCallback
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:149:33: undefined: git2go.DiffLine
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:210:22: undefined: git2go.DiffOptions
gotext: extract failed: : : couldn't load packages due to errors: internal/syscall/unix, time, internal/poll and 2 more
main.go:21: running "../../../out/bin/gotext": exit status 1
make[2]: *** [Makefile:6: all] Error 1
make[2]: Leaving directory '/home/lilith/code/analyze/misra/analyzer/cmd'
make[1]: *** [Makefile:41: build-base] Error 2
make[1]: Leaving directory '/home/lilith/code/analyze/podman_image'
make: *** [Makefile:66: build-en] Error 2
make: Leaving directory '/home/lilith/code/analyze/podman_image'
xjia1 commented 12 months ago

The libgit2.pc error was resolved by running make -C third_party in the project root. Remaining errors are migrated to #3.