You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to build the project from source and running into few issues.
steps to reproduce are following:
docker run --name wolfi --rm -it cgr.dev/chainguard/wolfi-base:latest sh
Once we have the shell available, we can run the following command:
apk add git go
git clone https://github.com/containers/prometheus-podman-exporter -b v1.13.3
apk add gpgme-dev btrfs-progs-dev # build-time deps
cd prometheus-podman-exporter
go build .
I run into the following issue:
/prometheus-podman-exporter # go build .# github.com/mattn/go-sqlite3
In function'sqlite3Strlen30',
inlined from 'sqlite3ParseUri' at sqlite3-binding.c:181224:18:
sqlite3-binding.c:34654:28: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
34654 |return 0x3fffffff & (int)strlen(z);| ^~~~~~~~~
In function'sqlite3ParseUri':
cc1: note: source object is likely at address zero
I'm attempting to build the project from source and running into few issues.
steps to reproduce are following:
Once we have the shell available, we can run the following command:
I run into the following issue:
tracking the issue, I ended up here where somebody faced an exact issue and opened an issue in upstream sqlite project (https://www.sqlite.org/forum/forumpost/f68e85b2c9)
Reading this, it was mentioned that it's a gcc issue which is being tracked on this bugzilla thread (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115274#c15)
Please note that when I'm using
CGO_ENABLED=0
then the project is building fine but not withCGO_ENABLED
set to 1.The text was updated successfully, but these errors were encountered: