unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* guix build python2 --with-source fails?
@ 2020-06-18 11:28 zimoun
  2020-06-18 11:39 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2020-06-18 11:28 UTC (permalink / raw)
  To: help-guix

Dear,

As an exercise about rebuilding old versions (e.g. used by old
scientific paper), I have tried to rebuild say the very old Python 2.5.

My naive attempt is to start with:

--8<---------------cut here---------------start------------->8---
wget https://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz
tar -xzvf Python-2.5.2.tgz

guix build python2 --with-source=/tmp/Python-2.5.2
guix build: warning: transformation 'with-source' had no effect on python2@2.7.17
The following graft will be made:
   /gnu/store/ck7swzbk6h7mc7splsih93xsixc6z4ni-python2-2.7.17.drv
[...]
--8<---------------cut here---------------end--------------->8---

Why is it not possible to use '--with-source' with the package python2?
I was expecting fail to build, not fail to apply the transformation.

I mean, I thought that "guix build foo --with-source" was somehow
equivalent to:

--8<---------------cut here---------------start------------->8---
cd /tmp/Python-2.5.2
guix environment -C python2
./configure
make
--8<---------------cut here---------------end--------------->8---

which works.  Is it not?


Thank you in advance.

All the best,
simon


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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 11:28 guix build python2 --with-source fails? zimoun
2020-06-18 11:39 ` Tobias Geerinckx-Rice
2020-06-18 13:04   ` zimoun

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