pkgsrc-Users archive

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

Re: Debugging a go build



On 3/17/26 19:42, Benny Siegert wrote:
Search for lines like

# path/to/package

FTR, issuing a second 'make' after the failed build ('go import') will re-try and nicely list the culprits:

% make PKG_VERBOSE=1
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Invoking ``all'' after barrier for mattermost-11.5.1
===> Checking for vulnerabilities in mattermost-11.5.1
===> Building for mattermost-11.5.1
modernc.org/sqlite/lib
github.com/mattermost/mattermost/server/v8/channels/store
github.com/mattermost/mattermost/server/v8/cmd/mmctl/client
github.com/mattermost/mattermost/server/v8/cmd/mmctl/mocks
github.com/mattermost/mattermost/server/v8/einterfaces
# github.com/mattermost/mattermost/server/v8/channels/store
channels/store/store.go:388:59: undefined: model.ReportPostQueryParams
channels/store/store.go:388:90: undefined: model.ReportPostListResponse
channels/store/store.go:1149:57: undefined: model.AccessControlPolicyActiveUpdate
channels/store/store.go:1166:52: undefined: model.Translation
channels/store/store.go:1167:85: undefined: model.Translation
channels/store/store.go:1168:57: undefined: model.Translation
channels/store/store.go:1169:26: undefined: model.Translation
channels/store/store.go:1170:34: undefined: model.TranslationState
channels/store/store.go:1170:96: undefined: model.Translation
channels/store/store.go:1188:92: undefined: model.Translation
channels/store/store.go:1188:92: too many errors
# github.com/mattermost/mattermost/server/v8/cmd/mmctl/client
cmd/mmctl/client/client.go:178:58: undefined: model.ReportPostOptions
cmd/mmctl/client/client.go:178:90: undefined: model.ReportPostOptionsCursor
cmd/mmctl/client/client.go:178:123: undefined: model.ReportPostListResponse
# github.com/mattermost/mattermost/server/v8/einterfaces
einterfaces/autotranslation.go:47:102: undefined: model.Translation
einterfaces/autotranslation.go:52:85: undefined: model.Translation
# github.com/mattermost/mattermost/server/v8/cmd/mmctl/mocks
cmd/mmctl/mocks/client_mock.go:1248:76: undefined: model.ReportPostOptions
cmd/mmctl/mocks/client_mock.go:1248:106: undefined: model.ReportPostOptionsCursor cmd/mmctl/mocks/client_mock.go:1248:139: undefined: model.ReportPostListResponse cmd/mmctl/mocks/client_mock.go:1251:28: undefined: model.ReportPostListResponse
# modernc.org/sqlite/lib
../../.gopath/pkg/mod/modernc.org/sqlite@v1.39.1/lib/sqlite_netbsd_amd64.go:112447:5: mu.enter undefined (type mutex has no field or method enter) ../../.gopath/pkg/mod/modernc.org/sqlite@v1.39.1/lib/sqlite_netbsd_amd64.go:112448:11: mu.leave undefined (type mutex has no field or method leave)
*** Error code 1
%

Upstreamed as <https://github.com/mattermost/mattermost/issues/35690>.

Cheerio,
Hauke

--
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email	        Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index