Package `guile-newt' cannot be cross-compiled

  • Done
  • quality assurance status badge
Details
2 participants
  • Jean Pierre De Jesus DIAZ
  • Mathieu Othacehe
Owner
unassigned
Submitted by
Jean Pierre De Jesus DIAZ
Severity
normal
J
J
Jean Pierre De Jesus DIAZ wrote on 7 Aug 2022 15:00
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
tVKu5GFOqq-0l0EDDcSl318GNyFUUPR2v8B6LHhQN2OENKD_PZ6-Nt2DoZE6a6qacPw4pd7vKXdgFIfIV6tQ5YaBDpGowTXlspC6neGpLmE=@jeandudey.tech
The `guile-newt' package that is used for the installation UI can't
be cross-compiled as it tries to load the `newt' dynamic library when
the Guile code is compiled. I've tried to find a solution/fix but I
don't know much about how Guile byte-code compilation works.

The compilation error can be reproduced with (#56536 was pushed a few
hours ago, so a git pull may be needed):

./pre-inst-env guix build guile-newt --target=aarch64-linux-gnu

I think this is one of the last remaining bits before being able to
fully cross compile an installation image.

Jean-Pierre De Jesus DIAZ
M
M
Mathieu Othacehe wrote on 8 Aug 2022 10:58
(name . Jean Pierre De Jesus DIAZ)(address . me@jeandudey.tech)(address . 57037-done@debbugs.gnu.org)
87pmhbyuvd.fsf@gnu.org
Hello,

Toggle quote (5 lines)
> The `guile-newt' package that is used for the installation UI can't
> be cross-compiled as it tries to load the `newt' dynamic library when
> the Guile code is compiled. I've tried to find a solution/fix but I
> don't know much about how Guile byte-code compilation works.

Fixed with bde902cb78c529174155e2d46ed814123182619f.

Toggle quote (3 lines)
> I think this is one of the last remaining bits before being able to
> fully cross compile an installation image.

I think that guile-parted will also be problematic.

Thanks,

Mathieu
Closed
?