all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Svante Signell <svante.signell@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: I managed to build guix natively on Debian GNU/Hurd , what's next?
Date: Sun, 01 Sep 2019 11:11:56 +0200	[thread overview]
Message-ID: <60498ff6153c81ffa586c9088e35f2e403270827.camel@gmail.com> (raw)
In-Reply-To: <30bdaa745f0a41617e0e81fc6bc63b1228dab729.camel@gmail.com>

On Sat, 2019-08-31 at 19:27 +0200, Svante Signell wrote:

I have some further guix/guile questions when building and running guix on
GHU/Hurd natively

On the GNU/Hurd image:
download and unpack guix-1.0.1.tar.gz
cd guix-1.0.1

1) When building guix from source
./configure --with-courage --prefix=/usr 2>&1 | tee ../configure-with-
courage.log
make 2>&1 | tee ../make.log
ERROR: In procedure scm-error:
no code for module (bytestructures guile)
export GUILE_LOAD_PATH=~/DEBs/scheme-bytestructures/scheme-bytestructures
The above fixes that error. 

a) How do I add that module and in which *.scm file?

2) Building Hello

./pre-inst-env guix build --verbosity=10000 --keep-failed --log-file hello 2>&1
| tee build-hello-keep+log.log

a) Where do I find the build log, and where is the failed build directory?
b) After building the bootstrap tarballs on my GNU/Linux guix image:

ls /gnu/store/zb89702az7xx3c0y21ip6gsql5fxa8ws-bootstrap-tarballs-0
binutils-static-stripped-2.31.1-i586-pc-gnu.tar.xz
gcc-stripped-5.5.0-i586-pc-gnu.tar.xz
glibc-stripped-2.28-i586-pc-gnu.tar.xz
guile-static-stripped-2.2.4-i586-pc-gnu.tar.xz
static-binaries-0-i586-pc-gnu.tar.xz

and copying them to gnu/packages/bootstrap/i586-pc-gnu/
- Should they be as is *.xz or unpacked to *.tar or untarred?
- The manual says: 
http://guix.gnu.org/manual/en/html_node/Bootstrapping.html#index-bootstrap-binaries-1
How to make guix find these tarballs?

http://guix.gnu.org/manual/en/html_node/Porting.html#Porting
says:
...
Fortunately, Guix can cross compile those bootstrap binaries.
When everything goes well, and assuming the GNU tool chain supports the
target platform, this can be as simple as running a command like this
one:

guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs
My change here:
guix build --target=i586-pc-gnu --no-substitutes bootstrap-tarballs

For this to work, the glibc-dynamic-linker procedure in
(gnu packages bootstrap) must be augmented to return the right
file name for libc’s dynamic linker on that platform; likewise,
system->linux-architecture in (gnu packages linux) must be
taught about the new platform.

(should probably be changed to (gnu packages gnu) ??)

Once these are built, the (gnu packages bootstrap) module needs
to be updated to refer to these binaries on the target platform.

To which *.scm file to add e.g. (gnu packages bootstrap)?

Thanks!

  reply	other threads:[~2019-09-01  9:12 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-29 19:25 I managed to build guix natively on Debian GNU/Hurd , what's next? Svante Signell
2019-08-29 22:51 ` Svante Signell
2019-08-29 23:36   ` Ricardo Wurmus
2019-08-30 12:00     ` Svante Signell
2019-08-30 17:14       ` Julien Lepiller
2019-08-30 18:25         ` Svante Signell
2019-08-30 21:07           ` Svante Signell
2019-08-30 21:30             ` Ricardo Wurmus
2019-08-30 21:52               ` Svante Signell
2019-08-30 22:17                 ` Ricardo Wurmus
2019-08-31  8:06                   ` Svante Signell
2019-08-31  8:13                     ` Julien Lepiller
2019-08-31  9:24                       ` Svante Signell
2019-08-31  9:41                         ` Julien Lepiller
2019-08-31 12:12                     ` Ricardo Wurmus
2019-08-31 17:27                       ` Svante Signell
2019-09-01  9:11                         ` Svante Signell [this message]
2019-09-01  9:32                           ` Efraim Flashner
2019-09-01 13:28                           ` Svante Signell
2019-09-01 18:01                             ` Svante Signell
2019-09-03 12:07                               ` Status update+patches:Re: " Svante Signell
2019-09-03 12:58                                 ` Ricardo Wurmus
2019-09-03 13:56                                   ` Svante Signell
2019-09-03 14:34                                     ` Svante Signell
2019-09-03 21:13                                       ` Svante Signell
2019-09-03 21:26                                         ` Ricardo Wurmus
2019-09-03 21:46                                           ` Svante Signell
2019-09-03 22:01                                             ` Ricardo Wurmus
2019-09-04  4:31                                               ` Svante Signell
2019-09-04  6:25                                                 ` Svante Signell
2019-09-04  7:52                                                   ` Ricardo Wurmus
2019-09-04 18:24                                                     ` Svante Signell
2019-09-04 21:44                                                       ` Ricardo Wurmus
2019-09-08 20:55                                                         ` Ludovic Courtès
2019-09-10  8:10                                                           ` Svante Signell
2019-09-20 15:59                                                             ` Svante Signell
2019-09-20 17:03                                                               ` Ricardo Wurmus
2019-09-20 17:49                                                                 ` Svante Signell
2019-09-20 18:48                                                                   ` Svante Signell
2019-09-20 19:12                                                                     ` Jonathan Brielmaier
2019-09-21 11:26                                                                       ` Svante Signell
2019-09-21 16:47                                                                         ` Svante Signell
2019-09-22  8:45                                                                           ` Need help: Re: Status update+patches:Re: I managed to ... GNU/Hurd Svante Signell
2019-09-24 13:06                                                                             ` Summary Re: Need help: " Svante Signell
2019-09-20 22:18                                                               ` Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next? Ricardo Wurmus
2019-09-21  8:10                                                                 ` Svante Signell
2019-08-30 21:56           ` Julien Lepiller

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60498ff6153c81ffa586c9088e35f2e403270827.camel@gmail.com \
    --to=svante.signell@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /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.
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.