IRC channel logs
IRC channel logs
2023-07-17.log
back to list of logs

civodul: the commits above that are for native building, starting with guile...

janneke: ah ok; if you think those 7 commits are "safe" enough, i guess we can go with that

do you need additional feedback on these?

civodul: yes, iwbn if someone looked at those -- and i believe jpoiret is doing that / has been doing that today?

why does (assoc-ref inputs "hello") not evaluate to the path of input hello but to #f (line 42)?

Use (this-package-input "hello"). This might require a quick conversion to gexps, but I'm not going to suggest %build-inputs.

ACTION didn't realise that the Disruptor would cross the bridge.

is there a reason to use ‘(this-package-input "hello")’ over a plain ‘#$hello’?

Yes, input substitution.

from transformations?

Yes. Hard-coding the exact hello package won't magically follow them.

Unfortunately.

got it

how new is ‘this-package-input’? it feels like i've only recently started seeing it, and previous things i submitted used plain ‘#$’ and no one complained

bjc: i'd like to second this question

nckx: the Disruptor?

There was this bot in the ol' Matrix room, I have no idea whose, that injects the cats into les chats.

Now that we're bridged, it joins in the fun with URLs on IRC.

bjc: I don't have a date for ya, but you could grep the log. It's not *that* new.

we talking months or years?

I... have no sense of time.

also: nckx: are you back from some kind of sabbatical or something (no need to comment)? i think didn't see you here for quite some time... just wanted to express my joy meeting you here again!

Yep.

how soon is now?

Thanks :3

bjc: Jul 14 2021 say the logs

huh. ok. thanks

Happy birthday this-package.

but i don't think i've ever seen it (not that this is any indication of anything :P)

freed from its bastiile

And France.

Damn it. Too slow.

oh wow, barely expected any activity in here... but this is func!

*fun!

#guix is pretty bursty.

soooo... what should i take away from this error message: `Unknown # object: "#<"' ?

i've changed the line in question to ,(this-package-input "hello")

That something got written to a builder than shouldn't, basically.

Did you switch to gexps?

i don't think so -- i only changed that line 42

(arguments (list #:phases #~(modify-phases ... #$(this-package-input "foo") ...) ...) ; roughly

ah.. i should have switched to gexps (:

After importing (guix gexp).

Sorry, I'd do it for you if I could.

WDYM "if I could"?

it's always a fun little adventure gexp-izing stuff, but please don't let me (or whatever it is) hold you back ;)

Just that I'm still stuck on a 'phone.

ah :) i see

i'll get there, eventually

I installed Emacs, but it doesn't come with a control key.

on. your. phone!?

Yeah.

It's in F-Droid now.

i know, but i thought this was either some kind of a joke or for people who actually use their phones or tablets or TVs or fridges with a keyboard

Apparently it's both.

lol

I actually do use Emacs in Termux (which thoughtfully includes a control key) several times a day, but it's not *fun*.

nckx: mate whats your XDG_RUNTIME_DIR?

normally systemd handles that for me :P

ACTION was away. XDG_RUNTIME_DIR=/run/user/1000. The last time I guessed who set it, I said elogind.

What's the point of using Termux in Emacs nckx ?

The other way 'round.

Oops

But still, can't emacs do what termux does ?

Like client / server architecture and stuff

it's the lack of a soft-keyboard Control key, i guess

Maybe it could if it provided a virtual control key.

I don't have a hardware keyboard.

So I can't say.

You mean like the "Windows" key ?

last time i tried to Ctrl-C something in Termux i ended up screenshotting a bunch of stuff while losing my shits pretty much simultaneously

Haa gotcha

No, the key (hopefully two) on your keyboard that says Ctrl or Strg or…

Yeah, bring back old hardware phone keyboards

with control, alt, shift AND meta keys

lol

and the good old ANY key while we're at it

You're more likely to get a hardware emoji keyboard.

i saw those recently! while re-watching Idiocracy

Meh, some emoji are "context-aware"

Like skin color and stuff

ok, now i get a "'replace' may only be used within 'modify-inputs'".. but i'm like.. at least 40% sure this part is actually correct!?

(modify-phases → #~(modify-phases ?

.. but why? i didn't change anything down there?

Same for (list "-march=rv64g").

You turned the arguments into a list call from a quoted sexp.

So all its contents change their nature too.

i did? or i should have done that?

Didn't you?

This is getting confusing fast.

well, the expression (still) starts with `(arguments (list ...))'

Didn't it start with (arguments `(… before?

but i changed all the expressions as you told me and now we're compiling so....

aaaaaaahhhh, yeah! you're right

thanks!

My plez.

hi all! here they can help with the question of installing guix or am I not here?

I assume this place is a perfect one to ask this kind of questions

I have a problem

when installing guix i get an error

$ guix install openssh

...

substitute: updating substitutes from '
'... 0.0%

substitute: updating substitutes from '
'... 0.0%

this line spins for a very long time and then reports an installation error

Can you ping this host ?

да, с моего ip я не могу зайти на эти сайты

Yes, I can't access these sites from my ip

lamer2000: well openssh would be a service not a package if you want to setup a server; if your goal is install the openssh client and guix package install openssh should work

I tried, unfortunately it didn't work

lamer2000: did you do guix pull first?

yes

this my first install guix

and you did the steps shown by guix after the pull correct?

naw my OS yesis de

*yes

and the guix service is running on your system?

(I am assuming you installed via a process like this:

no, in this moment my OS is devuan

and guix can't reach sites with repositories

lamer2000: can you ping ci.guix.gnu.org at all?

I'm suspecting a firewall issue

> (I am assuming you installed via a process like this:

no i install at graphic installation

> can you ping  ci.guix.gnu.org at all?

I can't open this site in my browser and curl can't reach me either

> I'm suspecting a firewall issue

yes, provider is blocking access to the ip address

I suggest using "bordeaux.guix.gnu.org" substitute server instead of "ci" one then

how do i use a mirror when installing a guix system?

For example, during the installation you can use --substitute-urls="
" option

do i need to put this in my config for it to work?

(public-key

(ecc

(curve Ed25519)

(q #7D602902D3A2DBB83F8A0FB98602A754C5493B0B778C8D1DD4E0F41DE14DE34F#)



afaik no

This link could be useful:


thank you!

thank you very much, I think it will help

hello it's me again

is there a way to install guix OS without internet connection?

I got the iso from the official site, but its installer requires mandatory network access

Are there any unofficial releases for offline installation somewhere?

You could create a release yourself. It's quite simple to generate a installation image with `guix system image` and if you include all the packages you're gonna use then it shouldn't need to download anything

Good morning

When building a system image in qcow2 format. fakeroot fails with "Not enough space to build

proposed filesystem while setting up superblock".

Any idea how to solve this?

do you have enough space in your /tmp? that'd be the first thing I'd check

is the size of the image 'guess?

can you build it with --no-grafts and have it fit?

efaim: thx. /tmp has 1.4 GB of space, which I expect to be enough for a small sample machine.

efaim: --no-grafts did not help

efraim: solved by *not* passing --image-size

efaim: and for --image-size I missed passing a size unit anyway :-/ — 10 bytes are obviously to small

should've used πfs


:-)

Thank you for time-machine by the way! Allowed me to time-travel back to when Gimp had Python 2 support yesterday!

ACTION got mail from a researcher because I accidentally checked a private key into guix.git. <
>

They helpfully attached a full copy of the sensitive secret in plaintext.

test

wow

You've made it.

nckx: lol - if the internet's security is based on such researchers it is lost

I’m trying to upgrade an x86_64 system that hasn’t been connected to the internet for maybe 6 months or so

Welcome back rekado, you have 1 message!

rekado, ngz says: Do you remember why "artistic2" license in texlive importer is bound to gpl3+ instead of artistic2.0?

I think that something could be wrong with ``frama-c`` package, as it fails to build on my system... I checked the logs and it failed on linking stuff with "ld: cannot find -lz: No such file or directory". I guess I should file a bug?

I’m getting a 504 response from ci.guix.gnu.org

sneek: later tell ngz The artistic2.0 -> gpl3+ thing looks like a mistake

Okay.

sneek: botsnake


it get the 504 response for lzip substitutes

wget doesn’t have a problem with the URL

works again ¯\_(ツ)_/¯

i'm trying to get a Jenkins pipeline to work with my Guix based shell and i'm having troubles updating Guix on that (non-guix) machine. i `guix pull`ed both with and without `sudo -i` and restarted the service but for the unprivileged user `guix -V` still reports 1.2.0 :( what am i missing?

phpenjoyer: Thank you! I'm building it here, let's see what's going on. I also see there's a new version, let's see if it builds…

gabber: As far as I remember, you also need to do "hash guix" or something like this, and probably source your guix profile, because your environment variables could be referring to an older guix installation

(And use ‘type guix’, not ‘which guix’, to check.)

phpenjoyer + nckx: thanks you two!

hey!

\o

hello, why guix is still using by default linux-6.3.13 [EOL] ?

Feels like a trick question, but: because it's not out of date in any meaningful sense and nobody has updated the default yet. Possibly because of aarch64 build issues, if memory serves. lfam is the best person to ask but they aren't here.

Rather, my initial ‘…because it hasn't been bumped to 6.4’ felt like a trick answer.

the EOL announcement was 6 days ago only

6.4 is on its way too

(on Guix i mean)

It's there, just not bound to linux-libre.

(The announcement is also a releas, so there's some time barring any weirdo CVEs.)

*e

it could be bumped to 6.4 or 6.1 both cases are better than EOL, isn't it?

Not if 6.4's broken on aarch64.

I don't see why 6.1 is better, but I recommend simply using linux-libre-6.4 yourself if you're worried about this.

‘EOL’ doesn't mean ‘stop using ASAP’.

Can anyone get ‘guix shell tome4 -- tome4’ to display a menu? Or anything more than a white screen?

nckx: didn’t expect a game to pop up when running the command, heh

it flashed a screen up briefly for me before it turned white, but i couldn't tell what it was. some kind of game, i guess

I just ran it and I hear repetitive music, a very quick flash of some image, and then a white screen

this is w/ sway

this is in Gnome

the game cursor is rendered, though

i just mean its with wayland, maybe its different with x

I'm on Sway too.

OK, so it's not my oldish GPU. Thanks all.

i'm on an igpu from skylake, so it's not exactly new either

ACTION won't trick you into gaming again.

Loading WebCore: Failed loading /gnu/store/frrmxhg0vkkf564lq5ik25wkf625yhbj-tome4-1.7.4/share/tome4/libte4-web.so

That's… worse.

When I run it with DISPLAY=, it segfaults.

ocalhost vmunix: [14821.690780] t-engine[30293]: segfault at 968 ip 00007fa73cb80f50 sp 00007fffea290970 error 4 in libX11.so.6.4.0[7fa73cb64000+87000] likely on CPU 16 (core 5, socket 0)

maybe it doesn't like 24 cores?

now I see this

int main() { nibble nr_cores; /* should be enough for anyone */ … }

s/nibble/nybble/

I bet you spell it ‘automagically’, too.

for hysterical raisins

nckx: it works for me when I edit ~/.t-engine/4.0/settings/resolution.cfg to contain window.size = '800x600 Windowed'

I tried that already and it makes no difference, but it's good to know there's a working configuration out there.

Correction: it makes the white screen a black window.

I tried again with Sway explicitly configured not to tile it from the start (so it doesn't get a resize event), but no difference.

it did not work with the detected default resolution

I had to lower it to 800x600 to get a window with actual contents other than white

800x600 is all I tried.

(Coincidence; and nostalgia; I guess.)

My nouveau driver makes a kernel panic on GNU Guix with Libre Kernel.  There are also tons of gran_size warnings.  I bootet Trisquel 11 and  there is nothing.  I only have that issue if I want to use my GPU on GNU Guix.

With my Intel iGPU is nothing as well.

It can't be a hardware issue since other distributions work.

Guest28: efraim just posted this link

I had that issue already with Kernel 5.x

I want to create a named environment that I can run "guix shell" on for common tasks. I have a packages->manifest defined for video downloading with yt-dlp. Right now I need to pass the path with -m. Should I turn this into a package with no source and no version?

RavenJoad: “guix shell” (without any arguments) will use the manifest in the current directory, once authorized.

rekado: These are not project shells, but convenience shells. They pull together packages I use for occasional tasks. It is a QoL thing, but I do not want to have to cd to the directory with the manifest to open a shell.

have you considered defining a shell alias then?

what's the magic incantation to get ‘make check’ to just run the tests from a specific tests/foo.scm file?


make check TESTS=tests/foo.scm

thanks

There is advanced support for space-based arrays.

rekado: I had not. I already have my own channel, so I figured I could piggyback off of Guix's method of finding packages to find my shells.

Is there something like file-prepend function? I cannot find it in the programming index, but file-append seems to care about what argument is what.

(kinda maybe sorta belongs here): whats a cheap wifi card i could put in my thinkpad e130 with foss firmware available to it?

I'm getting "ld: cannot find -lrt: No such file or directory" in guix shell when trying to build stuff with rust or haskell. gcc-toolchain and rust/haskell stuff installed. What package has -lrt?

mumi seems to be down

Retropikzel[m]: I tried searching but currently I do not even now what it is. So even that knowledge would be nice

Retropikzel[m]: i think this is the compiler_rt library; this should be part of calng-toolchain or a standalone packege

s/compiler_rt/compiler\_rt/, s/calng/clang/, s/packege/package/

mfg[m]: Ah the package is clang-runtime

mfg[m]: Thank you very much!

Retropikzel[m]: Since I'm compiling it seems that clang-toolchain is needed, clang-runtime is not enough. Problem solved anyway :)

Surely there's a path to -lrt without pulling in an entire second compiler toolchain.

is there a reason we segregate static to its own output?

I like doing so to discourage static linking. And very occasionally, size.

without the -static flag, won't shared be used when possible anyway?

Yes?

i don't see much point to it, then, although it was at least pretty harmless until recently

now, though, it appears to me the calculus has changed

Why?

We still don't want packages to silently link statically.

because the removal of -lpthread and -lrt have caused a fair amount of gnashing of teeth

I see: I was talking generally.

You were not.

maybe then the best option is to add the stub .a compat files for them, then

I'm not against adding those specific files back if they were recently split off.

But in general Guix packages installing .a files that can be silently linked into dependents is IMO not a good thing.

glibc merged them into libc, and provides empty .a files for them for compatibility

so the current solution when you need them is to pull in the entire static toolchain, which seems like a pretty bad option

hello! so can someone like give a list of what wifi cards/wifi dongles i could get that guix supports(since it obviously blacklists non foss firmware)

Hey guys

How are you?

I am having a lot of problems in a fresh guix install

My OS and home declaration were working perfectly on the same machine, but a different SSD

Just reinstalled it in my main ssd and now a lot of stuff is broken

Can't even run guix pull


I sent it to issues.guix.gnu.org

But still don't have any response

I sent it on friday I think

Also even weechat is broken now, I don't know if I am properly using the emacs irc client, it would be helpful to see someone's message here

ACTION uploaded an image: (150KiB) <
>

Right

Did you change the filesystem? Does the SSD may have problems? Other than that I have no clue

No

Same filesystem

My ssd has no problems

Also I used the exact same iso that I used to install in the other ssd

Hmmm, so the initial install is with the same commit if you use the same install ISO.  Well, one of the reasons people use Guix is for it consistency and ironically it complete broke

I can't help you (not experienced enough) but could you maybe just try again and see if it works?

anemofilia: did you receive an issue number?

the output you posted looks like file system corruption to me

I did, but the site doesn't even load anymore here for some reason

for me as well

anemofilia: what’s the issue number?


I tried to pull multiple times

Even with --no-substitutes

Or just enabling a specific mirror as substitute url

Always the same error

502 bad gateways for issues.guix.gnu.org

Guest28: it’s fine now

you accessed it right when I restarted it

ah yep

did it crash?

(there is a problem with debbugs.gnu.org; we can’t reach its rsync daemon)

I can acess the site now

If rekado means filesystem corruption, the ssd where system is installed on, or do you mean maybe the device from the iso itself?

anemofilia: I’ll try to reproduce this by running “guix pull” myself

Ok

Yesterday I installed Guix with a USB stick that had a lot of io issues.  Got many different kind of weird errors, too.

the backtrace looks like the guix client doesn’t talk well with the daemon

anemofilia: this is Guix System, right? Not Guix on top of a foreign distribution?

rekado: Yes, I am running the guix system

FWIW “guix pull” just completed for me without erros

*errors

Well, he said with the exact same ISO worked last time.  So I guess the commit itself should be fine

Using the same compute-guix-derivation?

Ah, I misunderstood.  The installation went fine but now the OS is in some weird state that guix pull, wechat and so on is not working

what does the weechat error look like?

Well, since I can't run `guix pull` I wouldn't say it went fine, but yes

It's not an error, it starts fine

but doesn't load the channels after a long time

do you have a working network connection?

And everything I type can't be `erased` forgot the word

when I try to remove the text I get some strange things

No, my network is fine, I guess


rekado: Yes, my network is working properly

ok

have you run fsck to rule out file system corruption?

bjc: Agreed.

rekado: I didn't, actually. How can I do this?

anemofilia: I’m not convinced it’s file system corruption, but it’s a good idea to make sure before getting lost in the weeds

(we can get lost later, there’s no rush)

I boot on a pendrive and run fsck /dev/sda1? Just that?

Or boot with fsck.mode=force.

Ok

Be right back

No trailing ‘.’.

I don't know how to use irc on emacs yet. Is it working now?

rekado: I've fschecked the partition and seems it's fine

But still am getting the compute-guix-derivation error

Yes, we can see your messages.

Ah, good then

Hey everyone - does anyone have access to the guix-devel email list admin? I'm trying to unsubscribe from the mailing list but I never get the confirmation email when I request it.

uh, I have some access to the controls

I'm trying to build an install image and it's throwing an error trying to install grub: "failed to get canonical path of " - Why does it even need to look at my hard drive partitions?

I tried with --no-bootloader and it didn't help

efraim: You taken care of it?

janneke: hey! i'm (finally!) looking at the bottom of the hurd-team branch

there are -boot0 packages that refer to cgit-generated tarballs as their source

i think we should avoid that, because those generated tarballs tend to change over time

(the file therein remain the same, but metadata changes)

is there an issue on guix-patches for this part?

the hurd/gnumach/mig updates in commencement.scm are required to build glibc 2.37, right?

mirai: you 'round? i'm unsure what you meant in

civodul: no, i haven't created an issue (yet)


yes, those updates are required

civodul: i was hoping that the cgit tarball would either be stable, or that software heritage help us out if it ever changed

janneke: we cannot count too much on that; at least we never do that, 'guix lint' warns against it (but for github.com, not for cgit instances)

i mean SWH + our Disarchive job may archive it before it changes, but that sounds too risky

also there's currently no fallback upon hash mismatches

civodul: ow, crap

so right now we have neither cross-compilation support nor native compilation, right?

that's right

uh

yeah, terrible; i believed we were nearly there

i think we should try to merge chunks that get us from known-good to known-good :-)

and also, that we had a nice solution going forward

(modulo bugs, of course)

yeah

we'll probably see quite some updates that upstream doesn't make releases for

well there's a lot of great work there waiting for us on the branch!

we just need to find the right path

so jpoiret and i figured: use cgit/tarballs for commencement, use git for hurd.scm

sure

to me generated tarballs remain something to avoid, even more so for core components

hmm tricky

i'd just "make dist" the things and upload them

so, would your solving your 2) problem (iirc) be feasible, i.e., breaking the git cyclic dependency

and mention it to upstream, just so they know

yeah, that seems to be the best alternative right now

to solve the cycle issue with git-fetch, i think we'll add a new "built-in builder":

but that's a long-term solution: we won't be able to assume guix-daemon supports it

another option might be to play tricks with fixed-output derivations

but right now we're looking for a hot-fix kind of solution :-)

cross building was okay until the mig update was reverted because it broke the data service

i'm trying to get the branch working with the spanw patches

Can I make a package->manifest show up with guix search? Or does that only find packages?

jpoiret: yeah; specifically the mig update made it impossible to compute derivations for i586-gnu

yep, i hadn't thought of that before pushing, since native compilation was broken anyways

but if the cgit tarballs are not possible, then it's going to be a bit more painful

right it's easily overlooked, too many things to pay attention to

re cgit, here's a hack:

it sorta mitigates the fact that we're relying on unstable tarballs

by stacking another fixed-output derivation on top of it, one that's equivalent to a Git checkout

actually we can prolly simplify this

ooh, that would help!

well, cannot really be simplified

we cannot use Guile HTTP client on the build side at this stage

more verbose but hopefully clearer variant:

instead of using (method git-fetch)

you write: (method (git-fetch-from-tarball (origin ...)))

a hack, but at least we'd get some help from SWH

and we'd be mostly immune to changes of the generated tarball

all that said...

i can't reconfigure right now because no childhurd

shouldn't we upload a mig tarball and reinstate the mig upgrade to use it?

jpoiret: WDYT?