I've noticed that the package would no longer build with the updated dependency:

$ dpkg-buildpackage -uc -us -b
dpkg-buildpackage: info: source package sbctl
dpkg-buildpackage: info: source version 0.13-1
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Faidon Liambotis <parav...@debian.org>
dpkg-buildpackage: info: host architecture arm64
 dpkg-source --before-build .
 debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang --with=golang
   dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/home/erebion/git/sbctl'
make clean
make[2]: Entering directory '/home/erebion/git/sbctl'
rm -f docs/sbctl.8
rm -f sbctl
make[2]: Leaving directory '/home/erebion/git/sbctl'
rm -rf contrib/completions/
make[1]: Leaving directory '/home/erebion/git/sbctl'
   dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_clean -O--builddirectory=_build -O--buildsystem=golang
 debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang --with=golang
   dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
        cd _build && go install -trimpath -v -p 8 github.com/foxboron/sbctl github.com/foxboron/sbctl/certs github.com/foxboron/sbctl/cmd/sbctl github.com/foxboron/sbctl/dmi github.com/foxboron/sbctl/fs github.com/foxboron/sbctl/hierarchy github.com/foxboron/sbctl/logging github.com/foxboron/sbctl/quirks github.com/foxboron/sbctl/stringset src/github.com/foxboron/sbctl/keys.go:18:2: cannot find package "github.com/foxboron/go-uefi/efi/pecoff" in any of:         /usr/lib/go-1.24/src/github.com/foxboron/go-uefi/efi/pecoff (from $GOROOT) /home/erebion/git/sbctl/_build/src/github.com/foxboron/go-uefi/efi/pecoff (from $GOPATH) src/github.com/foxboron/sbctl/keys.go:19:2: cannot find package "github.com/foxboron/go-uefi/efi/pkcs7" in any of:         /usr/lib/go-1.24/src/github.com/foxboron/go-uefi/efi/pkcs7 (from $GOROOT) /home/erebion/git/sbctl/_build/src/github.com/foxboron/go-uefi/efi/pkcs7 (from $GOPATH) dh_auto_build: error: cd _build && go install -trimpath -v -p 8 github.com/foxboron/sbctl github.com/foxboron/sbctl/certs github.com/foxboron/sbctl/cmd/sbctl github.com/foxboron/sbctl/dmi github.com/foxboron/sbctl/fs github.com/foxboron/sbctl/hierarchy github.com/foxboron/sbctl/logging github.com/foxboron/sbctl/quirks github.com/foxboron/sbctl/stringset returned exit code 1
make: *** [debian/rules:10: binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

The newer version no longer includes the following folders:

efi/pecoff
efi/pkcs7

It did build fine with golang-github-foxboron-go-uefi-dev_0.0~git20231219.b6c4a74-1_all.deb, though. (Which I've build from the Salsa repo before it was uploaded.)

The build process still looks for something which clearly it should no longer be looking for.

I don't know go, but I thought this might be helpful. Have a nice day. :)

erebion

On Mon, 17 Feb 2025 00:28:19 +0100 Simon Josefsson <si...@josefsson.org> wrote:
> Faidon Liambotis <parav...@debian.org> writes:
>
> > On Thu, Feb 06, 2025 at 10:59:58AM +0100, Simon Josefsson wrote:
> >> I have updated/finished packaging of the go-uefi dependency and uploaded
> >> it to NEW:
> >>
> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095271
> >>
> >> I hope to upload 'sbctl' as well eventually, but latest 0.16 release
> >> requires landlock+libcap, see errors below.
> >> here:
> >
> > Thank you for finishing up my packaging, uploading it and offering to
> > maintain it in the long run, much appreciated!
>
> Thanks for doing most of the work! I'm happy that I think we are
> getting closer to getting libcap's golang packages into Debian right
> now, which will allow 'sbctl' to finally be uploaded too.
>
> /Simon

--
erebion

XMPP: ereb...@erebion.eu

My languages: German, English, Swedish, Norwegian, Danish
Yes, I'm a language nerd. Feel free to write to me in any of the aforementioned 
languages.

Attachment: OpenPGP_0x8EAF40326E02AE7D.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to