IRC channel logs

2024-11-30.log

back to list of logs

<dsmith>First bad commit: v3.0.10-93-g7379049d3 psyntax: Factor module-variable use to helpers
<dsmith>(via git bisect)
<dsmith>How does psyntax-pp.scm get regenerated? Will that happen automatically or does something need to be done by hand?
<rlb>dsmith: from the makefiles, and just offhand, I wonder if "make -C module ice-9/psyntax-pp.scm.gen" does it.
<dsmith>rlb, Hah! Just sussed that out about a minute ago!
<dsmith>Oh, and when I run that, I get this. (look familar?)
<dsmith>Pre-boot error; key: unbound-variable, args: (#f "Unbound variable: ~S" (error) #f)make: *** [Makefile:2590: ice-9/psyntax-pp.scm.gen] Aborted
<rlb>Yes, that's I think the current main bug -- bb7154fb800eb410fb7cc4c353975787353f2246 is "fine", and I haven't narrowed it down further than that.
<rlb>I did glance at "args" for a bit in "git log -p", but didn't notice anything recent/obvious.
<rlb>(that looked like it might be a problem, but I didn't spend that much time on it either)
<dsmith>It's that an error from the error message printer?
<rlb>No idea -- offhand, I just assumed it was something throwing unbound-variable for "args" somewhere.
<dsmith>sIt
<dsmith>s/It's/Isn't/
<sneek>dsmith: wb!!
<dsmith>Hmm. I assumed "args" was generic arguments, not command-line args
<dsmith>sneek, botsnack
<sneek>:)
<rlb>I just guessed it was a var name somewhere...
<rlb>(or other binding0
<rlb>s/0/)/
<dsmith>So, the commit that bisect stops at only happens to tickle some bug that actually is in an earlier commit.
<rlb>Oh, ok.
<dsmith>My installed 3.10 guile gens the psyntax-pp.scm file with no error indication.
<dsmith>rlb, Do you happen to know a make target that builds and links all the C code? (so that meta/guile can be used)
<rlb>Hmm, you mean other than just "make"?
<rlb>I assume.
<dsmith>Yes. I want to stop after the executable is built, and then just run compile-psyntax.scm using the psyntax.scm the bisect stopped at.
<dsmith>s/then just/then used that to only/
<dsmith>Bah! s/used/use/
<dsmith>(my edits have edits!)
<rlb>:)
<rlb>And not sure -- maybe try "make -C libguile guile"...
<dsmith>Close. But some things are missing
<dsmith>Need to build lib,meta first. So `for dir in lib meta libguile; do make -C $dir; done`
<dsmith>But I'm not sure this plan will work.
<dsmith>So. Mikael Djurfeldt has a fix!
<dsmith>sneek, later tell wingo https://lists.gnu.org/archive/html/guile-devel/2024-11/msg00057.html
<sneek>Okay.