all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Difficulty updating Guix System or installing packages
@ 2024-10-13 15:58 Joshua Branson
  2024-10-13 17:18 ` Aleksej via
  2024-10-14 15:27 ` pelzflorian (Florian Pelz)
  0 siblings, 2 replies; 9+ messages in thread
From: Joshua Branson @ 2024-10-13 15:58 UTC (permalink / raw)
  To: help-guix


Hey guix people!

I'm using guix system on a T400.

joshua@dobby ~ (master)> guix describe
Generation 102	Oct 13 2024 09:03:40	(current)
  guix 8f0d761
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 8f0d76152a4496960f4c2ec219839c5a48b0568e

Generation 65	Sep 21 2024 01:44:05	(current)
  file name: /var/guix/profiles/system-65-link
  canonical file name: /gnu/store/xl6w0za0nhkc880y1pnvs01xrcy6cy3w-system
  label: GNU with Linux-Libre 6.9.7
  bootloader: grub
  root device: /dev/mapper/cryptroot
  kernel: /gnu/store/xnimc1w3c2mvhxypx55dvgaqmyrl5dgz-linux-libre-6.9.7/bzImage
  channels:
    nonguix:
      repository URL: https://gitlab.com/nonguix/nonguix
      branch: master
      commit: 831f3ff14260e20d4da31b707515891eeb49e752
    guix:
      repository URL: https://git.savannah.gnu.org/git/guix.git
      branch: master
      commit: 13f0f52314244f08eb9fdd626d907c0c3976e06a
  configuration file: /gnu/store/vnwxfqllbqx1lmf8zyxaxrbm9p7y34gp-configuration.scm

cat ~/.config/guix/channels.scm
(cons*
       %default-channels)               ;

My system configuration is here:
https://git.sr.ht/~gnucode/guix-config/tree/master/item/bare-bones-sway.scm

I just tried to run guix system reconfigure bare-bone-sway.scm, and this
is some of the output that I got. It's a little too much to paste. It
seems like it's trying to build from source a ton of rust stuff. I get
the same issue if I try to install simple packages. What am I doing
wrong? It shouldn't be this hard to update guix system right?

Thanks,

Joshua


  /gnu/store/w22yvvra9njrqhv0vqdkip47v6n727ki-module-import-compiled.drv
  /gnu/store/v1ha9bcm5yf11vd9wvyl3x1x67hn84mp-rustc-1.55.0-src.tar.zst.drv
  /gnu/store/cj14p97ncnyfxzy3a4hhjhyisaf7jr7g-rustc-1.55.0-src.tar.gz.drv
  /gnu/store/w98gifd7awpfcw81vy148cwb2phn2477-rustc-1.60.0-src.tar.zst.drv
  /gnu/store/h3a648dxns4zzg1hixa4kycxxhsl6ah9-rustc-1.60.0-src.tar.gz.drv
  /gnu/store/axkifwgbk2n3jbh9pwd5ckc8sf4jyql2-rustc-1.61.0-src.tar.zst.drv
  /gnu/store/942986fwxadcx518nv5nqii0ya2l4l0m-rustc-1.61.0-src.tar.gz.drv
  /gnu/store/hxyvgdy7lgv2ahwvplyvaqfvpgr17jcj-rustc-1.64.0-src.tar.zst.drv
  /gnu/store/h532xmk0kfdh3rny8lz6qlaxkm3vhwp7-rustc-1.64.0-src.tar.gz.drv
  /gnu/store/dz5mnswb28jrim7s7ar3v98waddvmv2g-rustc-1.66.1-src.tar.zst.drv
  /gnu/store/qyl9gji71qjgli2jgnvc94mlbqmf650r-rustc-1.66.1-src.tar.gz.drv
  /gnu/store/n3wnvrlkgjhadfn1cqrp3553wnfxf8vy-rustc-1.68.2-src.tar.zst.drv
  /gnu/store/z1xkyf9p4wiavzg9zcbwaky3233vm8xm-rustc-1.68.2-src.tar.gz.drv
  /gnu/store/vdcbp9fffw8xi97ymc32lhji5wz13ygl-rustc-1.70.0-src.tar.zst.drv
  /gnu/store/9mbsdwbkp98iiki3x8r8f6334ngsi64i-rustc-1.70.0-src.tar.gz.drv
  /gnu/store/pfd8yn55cdd9bqxy619d075ayprx92wa-rustc-1.73.0-src.tar.zst.drv
  /gnu/store/20l0rzn7x8173gcmvhy338p9ygmv9yj9-rustc-1.73.0-src.tar.gz.drv
  /gnu/store/jgq23lg3sd4l5gw5mb55k5ijmsixprqg-rustc-1.76.0-src.tar.zst.drv
  /gnu/store/i8zwf8dbq98x97hjirnwbg4x7bb1l1r6-rustc-1.76.0-src.tar.gz.drv

  /gnu/store/fv79p77j3gpcq0fhydcgkpipxds505p9-texlive-tex-ini-files-2024.2-checkout.drv
  /gnu/store/m0r9rmz8wshd3bql807xh3srni8zbv15-texlive-etex-2024.2.drv
  /gnu/store/s9y88xwp3pbazir65b64xyhmgldwbgkl-texlive-etex-2024.2-checkout.drv
  /gnu/store/zfykg10l75017w3wfb05mvnq5ha48dkw-texlive-pdftex-2024.2-checkout.drv
  /gnu/store/1kgiak909zwgpmafpfxsjz9q95hhg3nb-texlive-lualibs-2024.2-checkout.drv
  /gnu/store/8wq7dimddlk1l1zgmyp9dd8l8a4z5zxx-texlive-latex-2024.2.drv
  /gnu/store/9m75jd8szca5szlfisjy8fyavynld4sl-texlive-luaotfload-2024.2-checkout.drv
  /gnu/store/ak7d804iirzi46yjr2f3fhas9czfyv30-texlive-lua-uni-algos-2024.2.drv
  /gnu/store/dc42l2ngrzfx708lsh0ybqz0v4g22v85-texlive-lua-uni-algos-2024.2-checkout.drv
  /gnu/store/hpqzm97g1lwsvhplmijm3cyibhfqmgzv-texlive-lua-alt-getopt-2024.2.drv
  /gnu/store/a96q9x4l8y1nglazcjr0a15n3wr7mlg7-texlive-lua-alt-getopt-2024.2-checkout.drv
  /gnu/store/ifpdqsq6cfxf0p3fxmp7bvr68n3a5jz8-texlive-lm-2024.2.drv
  /gnu/store/dsbbfw2bgns1y66lxamannz8dg5nlwaw-texlive-lm-2024.2-checkout.drv
  /gnu/store/04j286rlhrzag55ich7db13bgx4r0ssp-texlive-mflogo-2024.2.drv
  /gnu/store/0x93zxfbc1mqldk21mp0bn8h8vxf5qxc-texlive-graphics-2024.2.drv
  /gnu/store/64s8g7gm0ws1y6xsmwfbrkpkg9zda879-texlive-graphics-cfg-2024.2.drv
  /gnu/store/qk01x7xcrx7apqpy2pigzfp7bs3dd8yw-texlive-graphics-cfg-2024.2-checkout.drv
  /gnu/store/icw9q2m2g28s068s6viyp0vmb5xrgl2w-texlive-graphics-def-2024.2.drv
  /gnu/store/5nd7q1jwqqfrwfx2mzczhx72ifn068iw-texlive-graphics-def-2024.2-checkout.drv




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

* Re: Difficulty updating Guix System or installing packages
  2024-10-13 15:58 Difficulty updating Guix System or installing packages Joshua Branson
@ 2024-10-13 17:18 ` Aleksej via
  2024-10-14 15:27 ` pelzflorian (Florian Pelz)
  1 sibling, 0 replies; 9+ messages in thread
From: Aleksej via @ 2024-10-13 17:18 UTC (permalink / raw)
  To: help-guix

Hi! The output you provided is not very descriptive, at least for me. For long logs you could use pastebin-like sites(e.g. https://paste.debian.net/ )

Try invoking "guix weather" it could help you identify if the problem is actually missing substitutes (see https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-weather.html )

Best regards,
Lesik Edelweiss

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

* Re: Difficulty updating Guix System or installing packages
  2024-10-13 15:58 Difficulty updating Guix System or installing packages Joshua Branson
  2024-10-13 17:18 ` Aleksej via
@ 2024-10-14 15:27 ` pelzflorian (Florian Pelz)
  2024-10-14 18:55   ` jbranso--- via
  1 sibling, 1 reply; 9+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-10-14 15:27 UTC (permalink / raw)
  To: Joshua Branson; +Cc: help-guix

Hello Joshua.

Joshua Branson <jbranso@dismail.de> writes:
> I just tried to run guix system reconfigure bare-bone-sway.scm, and this
> is some of the output that I got. It's a little too much to paste. It
> seems like it's trying to build from source a ton of rust stuff. I get
> the same issue if I try to install simple packages. What am I doing
> wrong? It shouldn't be this hard to update guix system right?

I’m guessing this T400 might be installed for i686-linux?

While Sway works fine for 32 bit, rust does not and seatd and greetd
need rust.

Regards,
Florian


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

* Re: Difficulty updating Guix System or installing packages
  2024-10-14 15:27 ` pelzflorian (Florian Pelz)
@ 2024-10-14 18:55   ` jbranso--- via
  2024-10-14 21:21     ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 9+ messages in thread
From: jbranso--- via @ 2024-10-14 18:55 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: help-guix

Nope.  I'm using 64 bit.  :)  I did delete old package profiles and system configurations followed by a guix gc.

Lots of stuff got deleted.   Maybe that'll help.

I'll probably end up using my own guide to properly update.

https://gnucode.me/guix-deploy-failed-to-update-my-guix-server.html

Joshua


October 14, 2024 at 11:27 AM, "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de mailto:pelzflorian@pelzflorian.de?to=%22pelzflorian%20(Florian%20Pelz)%22%20%3Cpelzflorian%40pelzflorian.de%3E > wrote:



> 
> Hello Joshua.
> 
> Joshua Branson <jbranso@dismail.de> writes:
> 
> > 
> > I just tried to run guix system reconfigure bare-bone-sway.scm, and this
> >  is some of the output that I got. It's a little too much to paste. It
> >  seems like it's trying to build from source a ton of rust stuff. I get
> >  the same issue if I try to install simple packages. What am I doing
> >  wrong? It shouldn't be this hard to update guix system right?
> > 
> I’m guessing this T400 might be installed for i686-linux?
> 
> While Sway works fine for 32 bit, rust does not and seatd and greetd
> need rust.
> 
> Regards,
> Florian
>

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

* Re: Difficulty updating Guix System or installing packages
  2024-10-14 18:55   ` jbranso--- via
@ 2024-10-14 21:21     ` pelzflorian (Florian Pelz)
  2024-10-15 14:14       ` Joshua Branson
  0 siblings, 1 reply; 9+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-10-14 21:21 UTC (permalink / raw)
  To: jbranso; +Cc: help-guix

jbranso@dismail.de writes:
> Nope.  I'm using 64 bit.  :)  I did delete old package profiles and system configurations followed by a guix gc.
>
> Lots of stuff got deleted.   Maybe that'll help.
>

guix gc “should” not make a difference, except sometimes software like
Icecat addons do embed store paths in user profiles.  Then guix gc
breaks these.

> I'll probably end up using my own guide to properly update.
>
> https://gnucode.me/guix-deploy-failed-to-update-my-guix-server.html
>
> Joshua

This “building guix from source” you suggest is a good escape hatch!

Oh yeah, sorry to hear of these troubles.  Old versions of Guix had one
important difference for example: The “builtin:git-download” builtin
builder for git downloads got added into the guix-daemon.  Therefore,
whether a guix-daemon with/without this feature is running changes
the derivation hash, therefore substitutes do not fit anymore.

commit 59587e2fda76c19b424fda9a987ff90d52ef217e
Author: Ludovic Courtès <ludo@gnu.org>
Date:   Thu Sep 28 10:50:14 2023 +0200

    gnu: guix: Update to d0438fc.
    
    This adds the “builtin:git-download” derivation builder to guix-daemon,
    added in commit 13b0cf85eb31e1b1ea674debbbfb0f35a32d1374.
    
    * gnu/packages/package-management.scm (guix): Update to d0438fc.

Regards,
Florian


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

* Re: Difficulty updating Guix System or installing packages
  2024-10-14 21:21     ` pelzflorian (Florian Pelz)
@ 2024-10-15 14:14       ` Joshua Branson
  2024-10-20 17:01         ` Felix Lechner via
  0 siblings, 1 reply; 9+ messages in thread
From: Joshua Branson @ 2024-10-15 14:14 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: help-guix

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> writes:

> jbranso@dismail.de writes:
>> Nope.  I'm using 64 bit.  :) I did delete old package profiles and
>> system configurations followed by a guix gc.
>>
>> Lots of stuff got deleted.   Maybe that'll help.
>>
>
> guix gc “should” not make a difference, except sometimes software like
> Icecat addons do embed store paths in user profiles.  Then guix gc
> breaks these.

I think it'll make a difference on my server, where I am also having
issues updating.  / was 99% full.  :)  It also only has 2GB of RAM with
maybe 20GB hard drive.  So it is about the mimimal hardware that guix
system works.  Maybe that's part of my issue.  I could increase the hard
drive size.

My laptop should be easier to update.  8GB of RAM, 1TB SSD.  I'll figure
it out eventually.

>> I'll probably end up using my own guide to properly update.
>>
>> https://gnucode.me/guix-deploy-failed-to-update-my-guix-server.html
>>
>> Joshua
>
> This “building guix from source” you suggest is a good escape hatch!
>
> Oh yeah, sorry to hear of these troubles.  Old versions of Guix had one
> important difference for example: The “builtin:git-download” builtin
> builder for git downloads got added into the guix-daemon.  Therefore,
> whether a guix-daemon with/without this feature is running changes
> the derivation hash, therefore substitutes do not fit anymore.
>
> commit 59587e2fda76c19b424fda9a987ff90d52ef217e
> Author: Ludovic Courtès <ludo@gnu.org>
> Date:   Thu Sep 28 10:50:14 2023 +0200
>
>     gnu: guix: Update to d0438fc.
>     
>     This adds the “builtin:git-download” derivation builder to guix-daemon,
>     added in commit 13b0cf85eb31e1b1ea674debbbfb0f35a32d1374.
>     
>     * gnu/packages/package-management.scm (guix): Update to d0438fc.
>
> Regards,
> Florian

Not meant as a criticism to guix...but I actually prefer NOT to use guix
on my librem 5.  apt vs. guix performance is wildly different!  May I
ask why apt is SOOOOOO much faster?

Joshua

-- 

Joshua Branson
Sent from the Hurd


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

* Re: Difficulty updating Guix System or installing packages
  2024-10-15 14:14       ` Joshua Branson
@ 2024-10-20 17:01         ` Felix Lechner via
  2024-10-23 20:05           ` jbranso
  0 siblings, 1 reply; 9+ messages in thread
From: Felix Lechner via @ 2024-10-20 17:01 UTC (permalink / raw)
  To: Joshua Branson; +Cc: pelzflorian (Florian Pelz), help-guix

Hi Joshua,

On Tue, Oct 15 2024, Joshua Branson wrote:

> It also only has 2GB of RAM with maybe 20GB hard drive.

That's small.  Please consider using a swap partition, if you aren't.

> May I ask why apt is SOOOOOO much faster?

Probably because there are 5000000 fewer symbolic links.

Kind regards
Felix


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

* Re: Difficulty updating Guix System or installing packages
  2024-10-20 17:01         ` Felix Lechner via
@ 2024-10-23 20:05           ` jbranso
  2024-10-23 21:33             ` jbranso
  0 siblings, 1 reply; 9+ messages in thread
From: jbranso @ 2024-10-23 20:05 UTC (permalink / raw)
  To: Felix Lechner; +Cc: pelzflorian (Florian Pelz), help-guix

October 20, 2024 at 1:01 PM, "Felix Lechner" <felix.lechner@lease-up.com mailto:felix.lechner@lease-up.com?to=%22Felix%20Lechner%22%20%3Cfelix.lechner%40lease-up.com%3E > wrote:



> 
> Hi Joshua,
> 
> On Tue, Oct 15 2024, Joshua Branson wrote:
> 
> > 
> > It also only has 2GB of RAM with maybe 20GB hard drive.
> > 
> That's small. Please consider using a swap partition, if you aren't.
> 
> > 
> > May I ask why apt is SOOOOOO much faster?
> > 
> Probably because there are 5000000 fewer symbolic links.

So I can't seem to run this command to build from source at the moment:

guix shell --fallback -D guix help2man git strace -CPW

build of /gnu/store/1aci9h5xv0di37v4wmrjxpd7bmca7fzr-strace-6.4.drv failed

It seems a test is strace maybe failing?

Would you mind trying the above command and see if it fals for you?

Thanks,

Joshua

P.S.  I'm currently using this command to build guix from source:

guix shell --fallback -D guix help2man git -CPW


> 
> Kind regards
> Felix
>


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

* Re: Difficulty updating Guix System or installing packages
  2024-10-23 20:05           ` jbranso
@ 2024-10-23 21:33             ` jbranso
  0 siblings, 0 replies; 9+ messages in thread
From: jbranso @ 2024-10-23 21:33 UTC (permalink / raw)
  To: Felix Lechner; +Cc: pelzflorian (Florian Pelz), help-guix

October 23, 2024 at 4:05 PM, jbranso@dismail.de mailto:jbranso@dismail.de  wrote:



> 
> October 20, 2024 at 1:01 PM, "Felix Lechner" <felix.lechner@lease-up.com mailto:felix.lechner@lease-up.com?to=%22Felix%20Lechner%22%20%3Cfelix.lechner%40lease-up.com%3E > wrote:
> 
> > 
> > Hi Joshua,
> >  
> >  On Tue, Oct 15 2024, Joshua Branson wrote:
> >  
> >  
> >  It also only has 2GB of RAM with maybe 20GB hard drive.
> >  
> >  That's small. Please consider using a swap partition, if you aren't.
> >  
> >  
> >  May I ask why apt is SOOOOOO much faster?
> >  
> >  Probably because there are 5000000 fewer symbolic links.
> > 
> So I can't seem to run this command to build from source at the moment:
> 
> guix shell --fallback -D guix help2man git strace -CPW
> 
> build of /gnu/store/1aci9h5xv0di37v4wmrjxpd7bmca7fzr-strace-6.4.drv failed
> 
> It seems a test is strace maybe failing?
> 
> Would you mind trying the above command and see if it fals for you?

More issues...I successfully compiled guix from source.  and I tried to reconfigure
via ./pre-inst-env.  1st I tried using the newest compiled guix daemon:

$ sudo herd stop guix-daemon
$ cd guix-src;  # I am not in a guix shell at the moment
$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild
  guix-daemon: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
$
$ guix shell --fallback -D guix help2man git
$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild
  guix-daemon: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
$ exit  # exiting guix shell

Ok, so I definely cannot use the newest compiled guix daemon.

$ sudo herd start guix-daemon  # I am currently in #guix-src
$ sudo -E ./pre-inst-env guix system reconfigure ../../guix/guix-config/bare-bones-sway.scm

and again, guix is trying to build several versions of rust...downloading a ton of stuff.
It seems like it is trying to bootstrap guix system.  Why would it be doing that?

Here's my guix system configuration:

https://git.sr.ht/~gnucode/guix-config/tree/master/item/bare-bones-sway.scm

> 
> Thanks,
> 
> Joshua
> 
> P.S. I'm currently using this command to build guix from source:
> 
> guix shell --fallback -D guix help2man git -CPW
> 
> > 
> > Kind regards
> >  Felix
> >
>


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

end of thread, other threads:[~2024-10-23 21:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-13 15:58 Difficulty updating Guix System or installing packages Joshua Branson
2024-10-13 17:18 ` Aleksej via
2024-10-14 15:27 ` pelzflorian (Florian Pelz)
2024-10-14 18:55   ` jbranso--- via
2024-10-14 21:21     ` pelzflorian (Florian Pelz)
2024-10-15 14:14       ` Joshua Branson
2024-10-20 17:01         ` Felix Lechner via
2024-10-23 20:05           ` jbranso
2024-10-23 21:33             ` jbranso

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.