bug(packaging): Build fail in container with go version 1.18+ #7

Open
opened 2023-08-28 10:56:10 +03:00 by asandikci · 0 comments
Owner

Tested on 'asandikci/gobeb:latest'

Error Output:

go build -o /usr/bin/ahenk-go ./cmd/ahenk-go/
error obtaining VCS status: exit status 128
	Use -buildvcs=false to disable VCS stamping.
make: *** [Makefile:43: install] Error 1

Workaround:
remove git with apt remove git

See more info:
https://www.sobyte.net/post/2023-02/go-buildvcs/

Tested on 'asandikci/gobeb:latest' Error Output: ```sh go build -o /usr/bin/ahenk-go ./cmd/ahenk-go/ error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. make: *** [Makefile:43: install] Error 1 ``` Workaround: remove git with `apt remove git` See more info: https://www.sobyte.net/post/2023-02/go-buildvcs/
asandikci added the
Kind/Bug
Kind/Bug
packaging
Priority
Medium
Reviewed
Confirmed
labels 2023-08-28 10:56:44 +03:00
asandikci added the
Kind/Bug/godeb:latest
label 2023-08-28 10:57:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Liderahenk/ahenk-go#7
No description provided.