From: zimoun <zimon.toutoune@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: guix build python2 --with-source fails?
Date: Thu, 18 Jun 2020 13:28:14 +0200 [thread overview]
Message-ID: <86sgeswr3l.fsf@gmail.com> (raw)
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
next reply other threads:[~2020-06-18 11:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-18 11:28 zimoun [this message]
2020-06-18 11:39 ` guix build python2 --with-source fails? Tobias Geerinckx-Rice
2020-06-18 13:04 ` zimoun
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86sgeswr3l.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=help-guix@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.
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).