all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Packaging Proton Bridge: cryptic compilation failure
@ 2024-11-30 16:26 Marek Paśnikowski
  2024-11-30 17:29 ` Ian Eure
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Marek Paśnikowski @ 2024-11-30 16:26 UTC (permalink / raw)
  To: Guix Help

[-- Attachment #1: Type: text/plain, Size: 2281 bytes --]

Hello Guix

I am towards the end of a first pass of packaging the Proton Bridge program to 
access my Proton Mail with KMail.

I have worked through and learned about many peculiarities of Golang build 
system.  As long as I had an error message, I was able to at least work around 
problems.  However, the latest build failure is completely cryptic to me, as 
its log contains zero error messages.  It works fine until I get a "build 
failed" summary:

[...]
/gnu/store/kw4dwavpd5638kxaxnyhchzbip2ihr7q-go-1.21.5/lib/go/pkg/tool/
linux_amd64/compile -o ./go-build882385907/b247/_pkg_.a -trimpath "/tmp/guix-
build-go-github-com-protonmail-go-proton-api-0.4.0.drv-0/src/golang.org/x/
text/encoding/ianaindex=>golang.org/x/text/encoding/ianaindex;$WORK/b247=>" -p 
golang.org/x/text/encoding/ianaindex -complete -buildid oeeEgL1OtT44tPEiSSgm/
oeeEgL1OtT44tPEiSSgm -goversion go1.21.5 -nolocalimports -importcfg ./go-
build882385907/b247/importcfg -pack ./src/golang.org/x/text/encoding/
ianaindex/ascii.go ./src/golang.org/x/text/encoding/ianaindex/ianaindex.go ./
src/golang.org/x/text/encoding/ianaindex/tables.go
/gnu/store/kw4dwavpd5638kxaxnyhchzbip2ihr7q-go-1.21.5/lib/go/pkg/tool/
linux_amd64/buildid -w $WORK/b247/_pkg_.a # internal
cp $WORK/b247/_pkg_.a /tmp/guix-build-go-github-com-protonmail-go-proton-
api-0.4.0.drv-0/go-build/
59/59c52b9f8132289a5cc9772aa1edea166f986e6eb6d79cd07cbaac8bcbf28c75-d # 
internal
Building 'github.com/ProtonMail/go-proton-api' failed.
[...]

The above is the result of this command:
$ guix build -v 3 -L ~/repositories/sovereign/ proton-bridge --cores=1

I have zero knowledge the Go language itself, which could explain why I have 
trouble understanding this failure.

I would very much appreciate any help from the resident Go packagers, as I am 
unable to make any further progress, and I desire to finally ditch the 
Proton’s web interface.

The entire package code is on my personal channel, in "proton-bridge" branch.  
There is one external dependency on the Efraim’s DFSG channel.

CGIT interface:
https://git.marekpasnikowski.pl/sovereign.git/tree/?h=proton-bridge

GIT clone URL:
https://git.marekpasnikowski.pl/sovereign.git

DFSG channel:
https://git.sr.ht/~efraim/my-guix

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-12-10 14:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-30 16:26 Packaging Proton Bridge: cryptic compilation failure Marek Paśnikowski
2024-11-30 17:29 ` Ian Eure
2024-11-30 18:08 ` Cayetano Santos
2024-11-30 18:56   ` Marek Paśnikowski
2024-11-30 19:22     ` Ian Eure
2024-12-05 16:37       ` sebastien
2024-12-06 13:34         ` woshilapin
2024-12-06 18:01         ` Marek Paśnikowski
2024-12-09 16:24 ` Packaging Proton Bridge: Progress Report #1 Marek Paśnikowski
2024-12-09 16:38   ` Ian Eure
2024-12-09 16:47     ` Marek Paśnikowski
2024-12-09 16:52       ` Ian Eure
2024-12-09 19:15         ` Marek Paśnikowski
2024-12-09 19:33           ` Ian Eure
2024-12-10 10:28 ` Packaging Proton Bridge: Progress Report #2 Marek Paśnikowski
2024-12-10 14:08   ` Suhail Singh

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.