all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jan Nieuwenhuizen <janneke@gnu.org>
To: dftxbs3e <dftxbs3e@free.fr>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: powerpc64[le]-linux port progress
Date: Sun, 23 Feb 2020 10:01:03 +0100	[thread overview]
Message-ID: <87mu99he40.fsf@gnu.org> (raw)
In-Reply-To: <13513d35-0775-5364-86d7-56e6f3f80400@free.fr> (dftxbs3e@free.fr's message of "Sun, 23 Feb 2020 02:34:28 +0100")

dftxbs3e writes:

Hi!

> On 2/22/20 1:34 PM, Jan Nieuwenhuizen wrote:
>> Have you tried building static gawk standalone and check it for that
>> bash?  You could do something like
>>
>>    grep -ao '/gnu/store/e*-bash' $(./pre-inst-env guix build -e '(@@ (gnu packages make-bootstrap) %static-binaries)')
>>
>> On my x86_64-linux system, I get
>>
>>    /gnu/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bash
> Yes! I used the strings utility. I get two references to bash-static in
> the store with 'eeeee'.

Ah, "good".

> Speaking of which, do you know if it's possible
> to be spawned into an environment where %static-binaries's gawk package
> (and only that one) sources are extracted, patched and configured? So
> that I can investigate the inclusion of bash-static comfortably.

You can either do something like

    ./pre-inst-env guix build -e '(@@ (gnu packages bootstrap) %static-binaries)' --keep-failed --no-offload

and edit the #:builder to return #f, or copy %static-binaries into a
%static-gawk where you strip out other stuff.

>> For the new Scheme-only bootstrap, I solved a similar problem for
>> %bootstrap-mes by replacing the /gnu/store/eee* store-references with
>> actual bootstrap file names; see `%bootstrap-mes-rewired' in
>> core-updates http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/commencement.scm?h=core-updates#n251
>>
> I hear, however that smells like a hack to me, I'd like to avoid
> resorting to such unless absolutely necessary.

I'm not entirely sure which is better; but we chose this in order not
having to touch the bootstrap binary for mes.  Also, I don't know "where
you are"; when trying to get "it to work", cutting corners initially
works for me :-)

> How come it's not
> possible to find where that bash-static reference is being inserted?

Computers are hard?  It's probably easy to find when you see it...

Greetings,
janneke

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

      reply	other threads:[~2020-02-23  9:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-22 11:39 powerpc64[le]-linux port progress dftxbs3e
2020-02-22 12:34 ` Jan Nieuwenhuizen
2020-02-23  1:34   ` dftxbs3e
2020-02-23  9:01     ` Jan Nieuwenhuizen [this message]

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=87mu99he40.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=dftxbs3e@free.fr \
    --cc=guix-devel@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.
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.