[GH-ISSUE #195] Go test fails with "Unformatted code" #91

Open
opened 2026-10-13 21:03:31 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @xolophreny on GitHub (Sep 15, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-go/issues/195

Hello, trying to package this for Void Linux, facing an issue with build checks failing with "Unformatted code". I am entirely unfamiliar with Go software, so would like to know if there is anything that could be done about this. Other than that, the software seems to build and work alright
Using Go version 1.27.1, amneziawg-go archive from tag v3.1.20260828

Build and check output:
log.txt

You should be able to reproduce the packaging process by:

  • Cloning this repo
  • Installing XBPS package manager, for example as instructed in this readme section
  • Building and checking with ./xbps-src -Q check amneziawg-go
  • After that you can examine the build directory in ./masterdir-<arch>/builddir/

Please let me know if there's more info required, thank you!

Originally created by @xolophreny on GitHub (Sep 15, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-go/issues/195 Hello, trying to package this for Void Linux, facing an issue with build checks failing with "Unformatted code". I am entirely unfamiliar with Go software, so would like to know if there is anything that could be done about this. Other than that, the software seems to build and work alright Using Go version 1.27.1, amneziawg-go archive from tag [v3.1.20260828](https://github.com/amnezia-vpn/amneziawg-go/releases/tag/v3.1.20260828) Build and check output: [log.txt](https://github.com/user-attachments/files/32244713/log.txt) You should be able to reproduce the packaging process by: - Cloning [this repo](https://github.com/xolophreny/void-packages/tree/amneziawg) - Installing XBPS package manager, for example as instructed in [this readme section](https://github.com/xolophreny/void-packages/tree/amneziawg#using-xbps-src-in-a-foreign-linux-distribution) - Building and checking with `./xbps-src -Q check amneziawg-go` - After that you can examine the build directory in `./masterdir-<arch>/builddir/` Please let me know if there's more info required, thank you!
Sign in to join this conversation.
No labels
pull-request
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
amnezia-vpn/amneziawg-go#91
No description provided.