xdeb-org / xdeb-install

Simple tool to automatically download, convert, and install DEB packages on Void Linux via the awesome xdeb tool.
MIT License
5 stars 2 forks source link

devcontainer shell warning when using xdeb #13

Closed thetredev closed 11 months ago

thetredev commented 11 months ago

xdeb version: current master: https://github.com/toluschr/xdeb/tree/c61c12ec06f90a6ec67dfa1e4631d1714b0483f1

Within the devcontainer, running

$ go run main.go deb <package>

works, but running xdeb prints the following warning a couple times:

/usr/local/bin/xdeb: line 59: warning: command substitution: ignored null byte in input

This does not affect non-container usage. Probably has to do with the base image which is primarily used for CI environments and has other XBPS repositories enabled.

thetredev commented 11 months ago

Using default XBPS repositories doesn't fix the problem either.

thetredev commented 11 months ago

Running

$ xdeb -Sde <deb file>

manually results in the same warnings.

thetredev commented 11 months ago

Found the issue: It was because we were using the voidlinux-buildroot base image. Switching to ghcr.io/void-linux/void-glibc-full:20231003R1 did the trick.

thetredev commented 11 months ago

Fixed with e8dcc54