unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40459: Non-reproducible behaviour in libtool < 2.2.7b bootstrapped ltmain.sh
@ 2020-04-05 21:31 Carl Dong
  2020-04-06  9:21 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Carl Dong @ 2020-04-05 21:31 UTC (permalink / raw)
  To: 40459

Hi Guix!

While investigating a libstdc++.a reproducibility issue, I found that libtool prior to 74c8993c (first included in version 2.2.7b, link: https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=74c8993c178a1386ea5e2363a01d919738402f30) did not sort find output. It seems that many packages (including all released gcc versions so far) are bootstrapped with a libtool < 2.2.7b.

There are probably many ways to approach this, and I propose that we could simply use a somewhat strict regex find and replace on ltmain.sh.

Would love feedback and better ideas!

Cheers,
Carl Dong

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

* bug#40459: Non-reproducible behaviour in libtool < 2.2.7b bootstrapped ltmain.sh
  2020-04-05 21:31 bug#40459: Non-reproducible behaviour in libtool < 2.2.7b bootstrapped ltmain.sh Carl Dong
@ 2020-04-06  9:21 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-04-06  9:21 UTC (permalink / raw)
  To: Carl Dong; +Cc: 40459

Hello!

Carl Dong <contact@carldong.me> skribis:

> While investigating a libstdc++.a reproducibility issue, I found that
> libtool prior to 74c8993c (first included in version 2.2.7b, link:
> https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=74c8993c178a1386ea5e2363a01d919738402f30)
> did not sort find output.

Right, good ol’days!

> It seems that many packages (including all released gcc versions so
> far) are bootstrapped with a libtool < 2.2.7b.

Ouch, I didn’t expect this.

> There are probably many ways to approach this, and I propose that we could simply use a somewhat strict regex find and replace on ltmain.sh.

Yes, we could add a standard build phase to do that.  We just need to
make sure we get the regexp right so it doesn’t break newer ‘ltmain.sh’
scripts.

WDYT?

Ludo’.

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

end of thread, other threads:[~2020-04-06  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-05 21:31 bug#40459: Non-reproducible behaviour in libtool < 2.2.7b bootstrapped ltmain.sh Carl Dong
2020-04-06  9:21 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

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).