From: "Ian Eure" <ian@retrospec.tv>
To: help-guix@gnu.org
Subject: Re: Packaging Proton Bridge: cryptic compilation failure
Date: Sat, 30 Nov 2024 17:29:12 +0000 [thread overview]
Message-ID: <02deb824-d886-4f7c-a12d-7ad80d208e8d@app.fastmail.com> (raw)
In-Reply-To: <2208743.irdbgypaU6@aisaka>
Hi Marek,
On Sat, Nov 30, 2024, at 4:26 PM, Marek Paśnikowski wrote:
> 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:
>
> [snip]
>
> The entire package code is on my personal channel, in "proton-bridge" branch.
> There is one external dependency on the Efraim’s DFSG channel.
>
I'm not able to replicate your failure, because your channel has some other dependencies I'm missing:
$ guix build -v 3 -KL /tmp/sovereign/ proton-bridge --cores=1
guix build: warning: failed to load '(sovereign devices amd64)':
no code for module (dfsg main golang)
guix build: warning: failed to load '(sovereign packages bradenaw)':
no code for module (dfsg main golang)
guix build: warning: failed to load '(sovereign systems aisaka)':
no code for module (suweren commons sudoers)
guix build: warning: failed to load '(sovereign systems akashi)':
no code for module (machines thinkpad-x200)
guix build: warning: failed to load '(sovereign systems ayase)':
no code for module (suweren commons sudoers)
guix build: warning: failed to load '(sovereign systems mcdowell)':
no code for module (users id1000)
guix build: error: proton-bridge: unknown package
$
The Guix manual has a Debugging Build Failures[1] section, which has some good general advice for these kinds of problems. I also suggest opening the build log file (its path should be printed near the end of the build's stdout) and reading through there -- the build-system output makes things noisier in a way that can sometimes make it hard to see the true cause of the failure. For whatever reason, it's usually easier for me to spot the problem when I'm paging through the log file, rather than looking at the same output on the terminal.
-- Ian
[1]: https://guix.gnu.org/manual/devel/en/html_node/Debugging-Build-Failures.html
next prev parent reply other threads:[~2024-11-30 17:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-30 16:26 Packaging Proton Bridge: cryptic compilation failure Marek Paśnikowski
2024-11-30 17:29 ` Ian Eure [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=02deb824-d886-4f7c-a12d-7ad80d208e8d@app.fastmail.com \
--to=ian@retrospec.tv \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).