IRC channel logs

2013-09-26.log

back to list of logs

<civodul>i've just enabled the complete distro build on core-updates
<civodul>so now it's busy
<civodul>and tomorrow we'll have a good idea of the state of things :-)
<civodul>until then, good night/day!
<civodul>Hello Guix!
<mark_weaver>good morning!
<civodul>:-)
<civodul>youlysses: how's your freeglut package? :-)
<youlysses>civodul: Sorry, I've been really busy with homework all yesterday and probably a fair-amount today.:^/
<youlysses>I think it's more-or-less right, but again -- I can't seem to find the module when running "./pre-inst-env guix build freeglut -K". :^P
<youlysses>Here's the more-or-less "complete" expression... :^U http://paste.lisp.org/display/139174
<youlysses>I'm going to take a nap, so I'll be lucid enough later to knock out the rest of my homework, so hopefully I'll be free the full hackathon. civodul: If you see anything obviously incorrect, feel free to mention it -- and I'll try very-hard to at least get freeglut ready to be submitted on the mailing list later tonight. Right now though, AFK for probably 4-5 hours.
<Steap>Naps and homework, somebody's lucky :)
<youlysses>Steap: Well, I also stay up a good 30 or-so hours on average, before I can go-down for a good 3-5 hours -- so that doesn't help, I'm sure and I often procrastinate with school-work. :^P
<youlysses>Anyways, yeah -- I'm really powering down for a bit, or attempting to do-so, so hopefully the rest of today will be somewhat productive... :^)
<youlysses>Peace people. AFK. o/
<civodul>youlysses: the package definition looks good to me; now we just need to see if it builds at all ;-)
<youlysses>civodul: Can't get to bed -- am I doing something wrong syntactically that is still spitting out this "unknown package" error, or?
<civodul>youlysses: ah you still have the error, after making the changes i wrote a couple of days ago?
<youlysses>civodul: Yup, and I'm not sure what could be the cause of it -- unless I'm doing something fundamentally wrong without knowing it...
<youlysses>Okay, I'm going to try and nap again. I'll be back around 2-3 hours, at the latest (assuming such-an attempt is successful).AFK again...
<civodul>youlysses: it was really just a matter of fixing the 'license' fields, and then it worked for me
<civodul>remember to check with ./pre-inst-env guile -c '(use-modules (gnu packages freeglut))'
<youlysses>civodul: From what I have in the paste, or prior?
<civodul>what you have in the paste looks good
<youlysses>civodul: Well, it seemed to eval'd fine, but then when I try to build it ... it's still unavailable. :^/
<youlysses>I mean, after I eval the module, shouldn't I just be able to "./pre-inst-env guix build freeglut"?
<civodul>yes, that should work
<youlysses>It doesn't though... :^U
<civodul>youlysses: it definitely works for me, with the version from the paste
<civodul>did you configure & install Guix correctly?
<civodul>last time you had not run ./configure IIRC
<youlysses>civodul: I'm pretty-darn sure it's right. When I check for a resulting .go file, I don't see one anywhere for freeglut, I'm thinking that's namely the problem...
<youlysses>I'm just going to re-install Guix and see if that's the problem, but just operating off the 0.3 tarball seemed like it was working fine. :^/
<civodul>youlysses: the .go is automatically compiled and goes under ~/.cache/guile
<civodul>but i'm not sure i understand: did you run ./configure && make && make check ?
<youlysses>civodul: Yeah; The problem with the initial install (non-release tarball, but from git) is I couldn't get autoconf to generate a configure file for me -- I'm familiar with the very basics of the GNU tool-chain, at least the generic install method. :^P
<youlysses>In the check process, the only thing that failed was guix-download.sh -- via the 0.3 tarball.
<youlysses>Weird, well it seems that it's more-or-less working now. Maybe it was due to not having my expression in a pre-made directory like packages or system? I just moved it directly into packages this time, and no-problem -- besides a 404 for the sourceforge mirror I linked to.
<youlysses>Oh, I misread that... Sourceforge's mirror seems to be working, it actually seems that the expression is for some-reason appending the version number in-front and behind glu. So it's trying to grab from "http://cgit.freedesktop.org/mesa/glu/snapshot/9.0.0glu-9.0.0.tar.gz".
<youlysses>Ok that's fixed, now I just have to figure-out why the hash keeps changing... Everytime I run guix build freeglut, the hash keeps saying it's wrong and presents me with a new has, which causes me to fail my build.
<youlysses>Do such services of cgit create archives on the fly, even for stable releases? If not, I'm not really sure why this is happening.
<youlysses>*like cgit
*civodul is back
<civodul>youlysses: normally you would run ./bootstrap when building from Git
<civodul>see HACKING
<civodul>but otherwise you can start from guix-0.3.tar.gz, put freeglut.scm in there, and it will work
<youlysses>civodul: Yeah, I'm long-past that point now. :^) Right now, I'm trying to figure this mismatch hash thing.
<civodul>ah, ok
<civodul>so you can use "guix download" to get the right hash
<civodul>is that what you did?
<youlysses>civodul: Well I'm assuming that's what the build process did, but why would it give me a new hash each tuime I ran the build process... shouldn't it be universal to that binary?
<youlysses>civodul: The hash changes each time I run the build process. http://paste.lisp.org/display/139177
<youlysses>On a positive note, libnl builds on my wireless.scm -- now to get wpa_supplicant working. :^)
<civodul>libnl?
<civodul>did you try "guix download http://.../glu-9.0.0.tar.gz"?
<civodul>does that always return the same hash?
<youlysses>civodul: It's a dependency, for wpa_supplicant -- the "netlink protocol".
<civodul>ah, excellent
<civodul>make sure to post that to guile-devel!
<civodul>(BTW i'm at work now, which is why there's some lag)
<youlysses>civodul: I want to get wpa_supplicant going, and I will -- for sure. Also, no prob.
<youlysses>civodul: Nope, it appears different each time.
<civodul>youlysses: if the hash shown by "guix download" changes each time, that means that their server doesn't provide reproducible tarballs
<civodul>perhaps they have an alternate server providing fixed tarballs?
<youlysses>civodul: I'll look into it -- right now, I'm going to gone to finish up some homework that's due later today. I don't plan on going to bed, until I get freeglut.scm nailed down -- so I'll report in later and hopefully make a submission to the mailing list. :^)
<civodul>youlysses: great, even if it's not complete, don't hesitate to post on guix-devel and possibly ask for specific advice
<jxself>youlysses: ftp://ftp.freedesktop.org/pub/mesa/glu/glu-9.0.0.tar.gz would probably be better?
<youlysses>jxself: I'm getting a 550 error on that link. :^/
<civodul>Steap: hydra is done building stuff... but x86_64 only
<civodul>i had forgotten to enable i686 on that jobset
<youlysses>I ran it another 3 times, and maybe it was just a fluke -- it seems fine now. :^)
<Steap>civodul: oh ok
<Steap>are you confident enough to merge ? :p
<civodul>well, no major issue on x86_64
<civodul>that makes me quite confident ;-)
<civodul>now, if you have an x86_64 box, you can test gobject-introspection atop the current core-updates branch since there won't be any new changes
<Steap>ok
<Steap>I sort of have an x86_64 box :)
<youlysses>Ok, this should hopefully be the last-run until the package expression is finally done... For my inputs, I'm not sure what I should put to get them working? I tried emulating the input names exactly in the string, but it doesn't seem to work. http://paste.lisp.org/display/139183
<civodul>jxself: any opinions on using iana-etc (http://sethwklein.net/iana-etc, under the OSL, not great) or net-base (http://packages.debian.org/wheezy/netbase, GPLv2, Debian-maintained)?
<civodul>(or anyone else)
<civodul>i think i'll go with the Debian one, that's safer
<jxself>I was thinking the same thing. I'd rather avoid the Open Software License if possible. The other being GPLv2-only doesn't make me happy either but I suppose it is better than the alternative.
<jxself>Perhaps, if I can get around to it, I'll write up something to grab the data from IANA and convert it into the proper format for those files.
<civodul>yeah
<civodul>GPLv2-only is better than OSL but unsatisfying
<civodul>we'll use that for now and we'll see
<youlysses>Yeah, I have no idea -- I'm going to take a two hour nap (I'm on 40 hours or-so with about 2 hours prior in-between) and it's starting to *really* impact me and hopefully it'll be more self-explanatory.
<youlysses>AFK, for probably 2-3 hours? Unless I break the more-or-less promise again and go another 4 or-so hours... :^P
<jxself>40 hours?
*jxself hopes youlysses tries for a full 8 hours of sleep
<youlysses>jxself: I actually feel more exhausted on 8 then 4. :^P
<jxself>You're backwards?
<jxself>:)
<youlysses>But yeah, it's a pretty hectic schedule -- that I'm trying to some-factor of "fix" (as in try to get a solid 4-6 a night) -- but so-far it's been killing me.
<youlysses>*trying to push myself into this schedule.
<jxself>On another note, the world is in the final stretch - Here's a countdown to the exact time of the GNU annniversary: http://www.timeanddate.com/countdown/generic?p0=43&iso=20130927T123559&csz=1
<jxself>Based on the date & time of Tue, 27-Sep-83 12:35:59 EST in http://www.gnu.org/gnu/initial-announcement.html
<Steap>youlysses: ever heard of the guy who died after playing Brood War for 50 hours straight ?
<Steap>youlysses: you should really get some sleep.
<civodul>12:35 EST
<civodul>jxself: are we going to send the announcement on time? :-)
<civodul>suspense...
*civodul polishes the VM image
<civodul>jxself: EST is UTC-5 currently, right?
<civodul>that means it'll be 7PM here
<mark_weaver>EST is always UTC-5, but right now we're using EDT, which is UTC-4.
<mark_weaver>(it's about 16:30 here now)
<civodul>ah OK
<jxself>The DST rules in the U.S. have changed since 1983
<jxself>Hence RMS was on EST at the time back then in September 1983 but now is not.
<jxself>Does that mean this countdown needs to be adjusted by an hour to compensate for that change?
<civodul>i'll let you figure it out :-)
<civodul>mark_weaver: do you think the 'guix' program should be run with --no-auto-compile to avoid auto-compilation messages and possible failures?
<mark_weaver>civodul: I don't know. Have problems been reported because of this? It would mean using the meta switch, which would in turn mean that the -*- scheme -*- would have to be moved down further where Emacs won't see it, but maybe that can go somewhere else.
<civodul>argh, annoying
<civodul>i have problems in the image, where the normal user doesn't have write privs in the default auto-compilation dir
<mark_weaver>well, actually, I guess we could drop the -s and replace it with --no-auto-compile. -s is only needed if the script has a strange filename.
<civodul>so it just fails
<civodul>ok
<civodul>mark_weaver: it appears to have no effect on the time for "guix --version
<mark_weaver>TODO: find a better mechanism for Guile scripts.
<civodul>0.1s on my laptop
<civodul>yeah...
<civodul>jxself: i assume it's OK to upload a ~500 MiB QEMU image to alpha.gnu.org, right?
<jxself>Sure.
<jxself>I've never done it myself but it should work just fine.
<civodul>cool
<civodul>that image turns out to be fat...
<jxself>500MB? Meh. Other distros have even larger stuff.
<jxself>Look at Trisquel's DVD image for example. Or Debian's blu-ray one.
<civodul>yes, but there's not even X on this one
<civodul>and it's not really comparable to these
<civodul>yet!
<civodul>;-)
<jxself>Maybe compression might help at some point?
<civodul>at some point, but not this time ;-)
<civodul>do you know what the minimum size of Emacs can be?
<civodul>without X, DBus, etc.
<jxself>Not really. I've not tried.
<jxself>But if people want small isn't that what GNU Nano is for? :)
<civodul>i was thinking about GNU Zile actually
<jxself>If it fits on a floppy disk then it should be small enough.
<jxself>Ah, floppy disks. That brings back memories.
<Steap>A what ?
<jxself>Haha.
<Steap>:)
<Steap>Just found 3 of them recently
<Steap>I don't have the hardware to read them anymore :(
<youlysses>Steap: I don't intentionally stay-up so long, I just can't get to bed and I'm dubious of taking drugs for it.
<jxself>If you consistently find it difficult to sleep there are medical doctors that specialize in sleep.
<youlysses>I'm probably going to get an overnight entry-level job soon, so that should help to filter the energy -- but most of the time, it's just fueled by ADHD Hyperactive episodes, that last a good 5+ hours. Yeah, though I've had sleep studies before and when I actually get to sleep, I stay in rem for about half the time of the average.
<mark_weaver>floppy disks? wow, it's been a while since I've used a computer with one of those :)
<youlysses>But eh, not enough to complain enough -- I'll probably end-up staying up most of tonight and pass out early tomorrow. :^P