Acknowledgement sent
to Julien Lepiller <julien@lepiller.eu>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org.
(Sat, 17 Apr 2021 13:30:02 GMT) (full text, mbox, link).
Subject: [release 1.2.1] could not install on foreign distro
Date: Sat, 17 Apr 2021 15:29:27 +0200
Hi Guix!
I tried using the latest tarball to install guix, by modifying the
current script. To do that, I downloaded the latest installation script
from savannah and modified it a bit:
In guix_get_bin, I removed the tar.xz extension and the download of the
signature. I also commented out the verification with gpg.
In main, I commented out the call to guix_get_bin_list and replace the
call to guix_get_bin with
guix_get_bin "https://ci.guix.gnu.org/download/" "114" "$tmp_path"
(114 being obtained by looking at the latest build of the tarball:
https://ci.guix.gnu.org/jobset/tarball).
After these changes, I was able to run:
sudo -i $HOME/guix-install.sh
which initially asked me to get the key, then managed to download the
tarball, but failed like so:
https://www.gnu.org/software/guix/
Press return to continue...
Starting installation (Sat Apr 17 08:59:36 AM EDT 2021)
[ PASS ] verification of required commands completed
[ INFO ] init system is: systemd
[ WARN ] We recommend installing and/or starting your distribution
'nscd' service
[ WARN ] Please read 'info guix "Application Setup"' about "Name
Service Switch"
[ INFO ] system is x86_64-linux
[ INFO ] Downloading Guix release archive 114
100%[===================>] 85.11M 4.27MB/s in 19s
[ PASS ] download completed.
[ PASS ] unpacked archive
[ INFO ] Installing /var/guix and /gnu...
[ INFO ] Linking the root user's profile
/home/roptat/guix-install.sh: line 317:
/root/.config/guix/current/etc/profile: No such file or directory
Indeed, the tarball only has the following in var/guix:
/var/guix/
/var/guix/db/
/var/guix/db/db.sqlite
/var/guix/gcroots/
/var/guix/gcroots/profiles
/var/guix/profiles/
/var/guix/profiles/per-user/
/var/guix/profiles/per-user/root/
/var/guix/profiles/per-user/root/guix-profile
/var/guix/profiles/per-user/root/guix-profile-1-link
whereas the release (1.2.0) tarball contains:
/var/guix/
/var/guix/db/
/var/guix/db/db.sqlite
/var/guix/gcroots/
/var/guix/gcroots/profiles
/var/guix/profiles/
/var/guix/profiles/per-user/
/var/guix/profiles/per-user/root/
/var/guix/profiles/per-user/root/current-guix
/var/guix/profiles/per-user/root/current-guix-1-link
Note guix-profile <> current-guix
The manual still suggests to create a symlink to
/var/guix/profiles/per-user/root/current-guix and source the profile
from it.
Added indication that bug 47841 blocks47297
Request was from Leo Famulari <leo@famulari.name>
to control@debbugs.gnu.org.
(Sat, 17 Apr 2021 17:43:02 GMT) (full text, mbox, link).
Changed bug title to ''tarball' jobs on ci.guix.gnu.org install the wrong profile' from '[release 1.2.1] could not install on foreign distro'
Request was from Leo Famulari <leo@famulari.name>
to control@debbugs.gnu.org.
(Sat, 17 Apr 2021 18:59:01 GMT) (full text, mbox, link).
Information forwarded
to bug-guix@gnu.org: bug#47841; Package guix.
(Sat, 17 Apr 2021 19:00:03 GMT) (full text, mbox, link).
On Sat, Apr 17, 2021 at 03:29:27PM +0200, Julien Lepiller wrote:
> (114 being obtained by looking at the latest build of the tarball:
> https://ci.guix.gnu.org/jobset/tarball).
[...]
> /root/.config/guix/current/etc/profile: No such file or directory
I built the tarball as it's done by `make release` [0]:
`./pre-inst-env guix pack -C xz --fallback -s x86_64-linux --localstatedir --profile-name=current-guix guix`
And, this tarball seems right:
------
var/guix
var/guix/db
var/guix/db/db.sqlite
var/guix/gcroots
var/guix/gcroots/profiles
var/guix/profiles
var/guix/profiles/per-user
var/guix/profiles/per-user/root
var/guix/profiles/per-user/root/current-guix
var/guix/profiles/per-user/root/current-guix-1-link
------
So, I guess that the CI job for these tarballs needs to be adjusted.
I'm going to test installing with this tarball in a Debian ISO now.
[0] https://git.savannah.gnu.org/cgit/guix.git/tree/Makefile.am?id=b18f45c21f5d697d384a7bd5c9d3ee314bba9e35#n739
Subject: Re: bug#47841: [release 1.2.1] could not install on foreign distro
Date: Sat, 17 Apr 2021 15:22:37 -0400
On Sat, Apr 17, 2021 at 03:29:27PM +0200, Julien Lepiller wrote:
> I tried using the latest tarball to install guix, by modifying the
> current script. To do that, I downloaded the latest installation script
> from savannah and modified it a bit:
>
> In guix_get_bin, I removed the tar.xz extension and the download of the
> signature. I also commented out the verification with gpg.
>
> In main, I commented out the call to guix_get_bin_list and replace the
> call to guix_get_bin with
>
> guix_get_bin "https://ci.guix.gnu.org/download/" "114" "$tmp_path"
>
> (114 being obtained by looking at the latest build of the tarball:
> https://ci.guix.gnu.org/jobset/tarball).
Can you share your diff? I tried to alter guix-install.sh to download
the tarball I built from my server, but it's easier said than done.
Information forwarded
to bug-guix@gnu.org: bug#47841; Package guix.
(Sat, 17 Apr 2021 20:18:01 GMT) (full text, mbox, link).
On Sat, Apr 17, 2021 at 02:59:23PM -0400, Leo Famulari wrote:
> I'm going to test installing with this tarball in a Debian ISO now.
I installed "by hand" using this tarball, and it worked fine.
Since this bug is really about a broken CI job, and not the release
artifacts, I'm removing it from the list of release blockers.
Removed indication that bug 47841 blocks
Request was from Leo Famulari <leo@famulari.name>
to control@debbugs.gnu.org.
(Sat, 17 Apr 2021 20:19:02 GMT) (full text, mbox, link).
Information forwarded
to bug-guix@gnu.org: bug#47841; Package guix.
(Sat, 17 Apr 2021 21:55:02 GMT) (full text, mbox, link).
On Sat, Apr 17, 2021 at 03:22:37PM -0400, Leo Famulari wrote:
> Can you share your diff? I tried to alter guix-install.sh to download
> the tarball I built from my server, but it's easier said than done.
Julien shared a diff on #guix, and I adapted it a bit, as attached.
I named the binary tarball that I built 'guix-binary-0.tar.xz', so if
you choose another name, adjust guix-install.sh appropriately.
And of course, change the URL used in the invocation of guix_get_bin().
The example.com URL will not work.
Subject: Re: bug#47841: 'tarball' jobs on ci.guix.gnu.org install the wrong
profile
Date: Sun, 18 Apr 2021 09:36:29 +0200
Hello,
> I installed "by hand" using this tarball, and it worked fine.
>
> Since this bug is really about a broken CI job, and not the release
> artifacts, I'm removing it from the list of release blockers.
There's indeed a discrepancy between the Makefile and the (gnu ci)
release job. I'm testing this fix right now: 68a11045.
Thanks,
Mathieu
Information forwarded
to bug-guix@gnu.org: bug#47841; Package guix.
(Sun, 18 Apr 2021 09:01:02 GMT) (full text, mbox, link).
Hello,
there's a few enhancements to the installer
script waiting for review, comments and/or
merge there:
https://issues.guix.gnu.org/40601
That may make the kind of testing you've
done here easier.
The separate commits should be fairly
orthogonal and cherry-pickable independently.
I can resume working on those if there's
consensus about their usefulness.
Those patches also would probably help setting
up CI testing jobs to catch problems earlier in the release cycle.
Thanks
--
Vincent Legoll
Information forwarded
to bug-guix@gnu.org: bug#47841; Package guix.
(Sun, 18 Apr 2021 17:17:02 GMT) (full text, mbox, link).
Subject: Re: bug#47841: 'tarball' jobs on ci.guix.gnu.org install the wrong
profile
Date: Sun, 18 Apr 2021 13:15:54 -0400
On Sun, Apr 18, 2021 at 09:36:29AM +0200, Mathieu Othacehe wrote:
>
> Hello,
>
> > I installed "by hand" using this tarball, and it worked fine.
> >
> > Since this bug is really about a broken CI job, and not the release
> > artifacts, I'm removing it from the list of release blockers.
>
> There's indeed a discrepancy between the Makefile and the (gnu ci)
> release job. I'm testing this fix right now: 68a11045.
Okay, thanks! By the way, what is that '68a11045'? If it's a Git commit,
I can't figure out where it is.
Reply sent
to Mathieu Othacehe <othacehe@gnu.org>:
You have taken responsibility.
(Tue, 20 Apr 2021 12:18:02 GMT) (full text, mbox, link).
Notification sent
to Julien Lepiller <julien@lepiller.eu>:
bug acknowledged by developer.
(Tue, 20 Apr 2021 12:18:02 GMT) (full text, mbox, link).
Subject: Re: bug#47841: 'tarball' jobs on ci.guix.gnu.org install the wrong
profile
Date: Tue, 20 Apr 2021 14:17:11 +0200
Hey,
> Okay, thanks! By the way, what is that '68a11045'? If it's a Git commit,
> I can't figure out where it is.
Yeah, but it disappeared when I removed the wip branch. I pushed it on
master: 2ccb715ab3ebef5ddbc53d706cbc42b3b765d613.
I tried to install a CI produced tarball
(https://ci.guix.gnu.org/build/213975/details) on a foreign distribution
VM with success.
Closing this one,
Thanks,
Mathieu
bug archived.
Request was from Debbugs Internal Request <help-debbugs@gnu.org>
to internal_control@debbugs.gnu.org.
(Wed, 19 May 2021 11:24:06 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.