IRC channel logs
2015-03-13.log
back to list of logs
<_`_>Sleep_Walker: is getent(1) present? <_`_>`getent ahosts domain.tld` <ijp>does getent require libtolkien? <Sleep_Walker>_`_: that works, thanks, but I'm not sure it can accept DNS IP address somehow <_`_>aye, just respects hosts(5) / nsswitch.conf(5) afaik. <davexunit>hmm, I can't get guix to substitute from my own machine rather than hydra... <davexunit>I started the daemon like this: ./pre-inst-env guix-daemon --build-users-group=guix-builder --substitute-urls=localhost:8080 <davexunit>ohhh I see why... because I invoked 'guix substitute-binary' by hand <davexunit>heh, I don't know why but the nars published from my 'guix archive' server apparently ask guix to read files of absurd sizes <davexunit>one archive is 39MiB, but the nar directs guix to read a 170MiB file! <twotwenty>I am installing my first Guix system and the instructions instructed me to come say hi. "HI" <rekado>I'm getting an ugly error when doing "import gobject" in a python 2.7 session. <rekado>ImportError: /gnu/store/vd8ij01bq08icp87bz5gs2v4bq53bls6-glibc-2.21/lib/librt.so.1: symbol __shm_directory, version GLIBC_PRIVATE not defined in file libpthread.so.0 with link time reference <rekado>Updating all my packages now. Hope this will fix it. <phant0mas>sneek: later tell civodul I managed to make coreutils build succesfully for --target=i686-pc-gnu :-D <civodul>phant0mas: and do the coreutils binaries run? :-) <civodul>i think DusXMT reported a failure at that <sneek>DusXMT was here Mar 04 at 08:38 pm UTC, saying: Interesting fact: Did you know that GnuTLS (the maintained version) isn't a GNU project anymore? The maintainers disbanded the GNU version. (this isn't to cause frowns, just an interesting fact). <phant0mas>will try that now, finished building 5 minutes ago :P <rekado>re gobject import error: disappeared after upgrading all packages. <Sleep_Walker>but maybe we should rename it to dns.scm or should I put it elsewhere? <civodul>Sleep_Walker: yes maybe rename it to dns.scm first, and then add the package <Sleep_Walker>I tested that with HEAD on different package and it doesn't seem to be broken <Sleep_Walker>I'm somehow confused - I didn't care about GnuTLS guile bindings at all on GuixSD <davexunit>I don't know specifically what is going on with your guile libraries <Sleep_Walker>it doesn't seem that they have any other package/output for bindings <Sleep_Walker>davexunit: ok, I'll try it the other way round - are you on GuixSD? <davexunit>can you open a guile repl and type: ,use (gnutls) <davexunit>according to 'guix package --search-paths' ? <Sleep_Walker>guix package --search-paths returns only SSL_CERT_DIR for me <Sleep_Walker>I have installed /gnu/store/rinlj93m8855l18sfnm423sdfmsb2d10-gnutls-3.3.12 as the only gnutls version in /gnu/store <Sleep_Walker>/gnu/store/rinlj93m8855l18sfnm423sdfmsb2d10-gnutls-3.3.12/share/guile/site/2.0/gnutls.scm and /gnu/store/rinlj93m8855l18sfnm423sdfmsb2d10-gnutls-3.3.12/share/guile/site/2.0/gnutls/extra.scm is present <Sleep_Walker>guile -L /gnu/store/rinlj93m8855l18sfnm423sdfmsb2d10-gnutls-3.3.12/share/guile/site/2.0/ <Sleep_Walker>but one would say it will be loaded as dependency on package management level <davexunit>so someone else might be able to comment on that <Sleep_Walker>I have guile installed (as dependency) in system profile <Sleep_Walker>but I believe it is something which should be part of system configuration <davexunit>well, system configuration is the wrong place for it. <davexunit>I think we need to do a better job of explaining to people that you really don't want everything to be a part of the global system profile. <davexunit>having the guix package installed should be all that is needed for 'guix lint' to work. <Sleep_Walker>I agree that everything in system profile is wrong, but there needs to be sufficient minimut which you as user could override <davexunit>I said the above meaning that it *should* be all that is needed <davexunit>putting it in the system profile won't change that <davexunit>I consider it a bug that 'guix lint' doesn't work out of the box without having guile's load path tweaked to include gnutls <davexunit>gnutls is an input to the guix package, that should be sufficient for making everything work <davexunit>in guix, most things do not need to be in a profile in order to work <davexunit>you don't need libgcrypt in a profile for guix to use it. <Sleep_Walker>for C no (ldd has the information already), but is this information in go (output of scm)? <davexunit>we modify dynamic-link calls in guile packages to reference the store path of shared libaries <Sleep_Walker>I'm starving, I need some food and fresh air - `guix system reconfigure' after adding gnutls really doesn't help <davexunit>please write to bug-guix about 'guix lint' not working out of the box on GuixSD <rekado_>hmm, I also have the problem of gnutls not working. <rekado_>I followed the instructions to install guix with guix. <rekado_>my GUILE_LOAD_PATH is set properly and it contains gnutls. <rekado_>I get the usual ;;; Failed to autoload make-session in (gnutls):;;; ERROR: missing interface for module (gnutls) <rekado_>trying to download a tarball whose URL is redirected to https. <rekado_>in a guile REPL ,use (gnutls) works just fine, no errors. <rekado_>only when using guix I see an error. <davexunit>back when "the" GNU social (the statusnet) instance was identi.ca, everyone called it "denting" instead of "tweeting" <rekado_>is gnutls supposed to work after installing guix with guix on Fedora? <rekado_>what I find funny is that the download works just fine with "guix download" but it fails with "guix build" <rekado_>unfortunately, with guix download I cannot change the name of the stored file. <civodul>rekado_: "guix download" uses the (gnutls) that's in $GUILE_LOAD_PATH, whereas build environments use the GnuTLS package from (gnu packages gnutls) <civodul>could you copy/paste the command and error? <rekado_>ugh, this is frustrating. Now I can no longer reproduce it :( <rekado_>I recompiled the package module I was working on and ... now it works :-/ <rekado_>I don't know if the old compiled modules are to blame, but maybe I should update the README to state that "make clean" should be run before attempting to install guix with guix. <rekado_>in other news: Julia does not pass tests with either ATLAS or libpack :-/ The devs recommend openblas which I'm packaging now. <civodul><rekado_> trying to download a tarball whose URL is redirected to https. <civodul>because (guix download) only adds GnuTLS as a dependency when the URL is an https URL <civodul>so if you use an http URL that redirects to https, it fails <civodul>if you find a more complex case, let us know <bavier>rekado_: what about the Julia tests would be affected by the BLAS implementation? <rekado_>it seems ridiculous that the BLAS implementation should cause failures like that. <rekado_>I find this one curious: ERROR: assertion failed: |det(lua) - det(full(A))| <= 1.4210854715202004e-10 <rekado_>there's a sign error making the assertion fail. <bavier>I thought ATLAS contained a cblas interface <bavier>rekado_: btw: does Julia bundle umfpack? I just saw a mention of umfpack in the stacktrace. <rekado_>bavier: it does bundle umfpack. umfpack is part of suitesparse; I packaged it already but haven't been able to make it work with this version, so I'm still using the bundled version. <bavier>I thought I had a suitesprase recipe myself... but now I can't find it... <bavier>rekado_: not sure if you'd be interested, but I have packages for MUMPS, ScaLAPACK, p4est, primme, feast, slepc, and trilinos as well <rekado_>bavier: does your suitesparse recipe build so files? <bavier>rekado_: I don't believe it does <bavier>I recently ran `guix gc` and I haven't rebased that branch in a while <Sleep_Walker>civodul: yes, problem is that `guix lint' doesn't work for packages with home-page with HTTPS out of the box <bavier>I suppose Julia is wanting the so's for its ccall <Sleep_Walker>civodul: I wrote an e-mail to guix-devel about the workaround but miss the important part - it doesn't work out of the box <civodul>i think we'll just make (gnutls) a hard requirement <civodul>otherwise this kind of problem will always resurface <rekado_>with the bundled suitesparse Julia builds a wrapper to get so files. <rekado_>building openblas fails at the linking stage: "ld: cannot find -lgfortran" (gfortran is of course in the inputs list) <rekado_>dealing with all these messy makefiles day after day really makes me appreciate good build documentation. <mark_weaver><rekado_> there's a sign error making the assertion fail. <mark_weaver>rekado_: can you elaborate on that? where is the sign error? <rekado_>mark_weaver: actually, it should just take the absolute difference. I wonder why the assertion fails at all. <rekado_>this is the assertion: |det(lua) - det(full(A))| <= 1.4210854715202004e-10 <mark_weaver>it looks like it already is taking the absolute value of the difference in value of the determinants <rekado_>det(lua) = 114.00000000000003, det(full(A)) = -114.0 <rekado_>difference = 228.00000000000003 > 1.4210854715202004e-10 <rekado_>anyway, I'm building julia now with openblas. <rekado_>let's see if this makes any difference. <rekado_>from the comments on the github issue I think this is a result of not passing USE_BLAS64=0 <rekado_>the test creates matrices of types Float32, Float64, Complex64, Complex128; I suppose it's failing for one of the 64 bit values. <mark_weaver>sounds like a genuine error. a determinant of a matrix (that's not close to zero) shouldn't flip signs like that <davexunit>Sleep_Walker: likely the inputs needed to download that tarball have changed <Sleep_Walker>is it really necessary to mix sources with inputs in this way? <rekado_>need to try again with USE_BLAS64=0. <civodul>ooh, i upgraded my profile and Evince has all its icons with this fancy GNOME-3ish theme <chil>there is no system installation image for arm? <mark_weaver>for now, it can only be run on top of another system <mark_weaver>because we lack an ARM build slave for our build farm <chil>ah, so installing on top of a gentoo stage3 will work? <davexunit>we have some folks that use gentoo as a base, yeah. <chil>mark_weaver you can still compile locally, right? I don't need precompiled binaries :p <mark_weaver>yeah, but beware that it's not just a matter of building the packages you want on top of gentoo <mark_weaver>guix always uses its own packages exclusively for building things <chil>that means I would need to install gcc and tools using guix to be able to compile the packages? <mark_weaver>so basically, without precompiled binaries, guix will do the analogue of doing what's described in CLFS (Cross [GNU/]Linux From Scratch) <chil>in compilation time? or in effort? <mark_weaver>also, beware that there are still many packages broken on arm <mark_weaver>in compilation time. it's fully automatic, but you have to wait while your machine does all those compiles <chil>ah, that's no problem. I'm used to loooong compilation times in gentoo :P <davexunit>if I get 'guix publish' working soon, perhaps we could piggy back off of the builds us ARM users have already done, without needing the build farm <mark_weaver>a few other caveats: without an ARM build slave in our continuous integration system, things have regressed somewhat on arm since I bootstrapped it in january <davexunit>of course, core-updates merges would put as back at square one. <mark_weaver>don't expect everything to work properly. Guix on ARM is still very much a work in progress. <davexunit>which also means it's a great time to contribute to making it better :) <mark_weaver>but I recently built a fully-featured Gtk+ Emacs on armhf <chil>that's all I need almost ;) <mark_weaver>and finally, your system has to support ARMv7 with hard float, Thumb-2 and, and VFP3D16 coprocessor. Those are the same requirements as the Debian armhf port. <mark_weaver>(I'm considering adding NEON as a requirement as well, but that's negotiable :) <chil>Not sure about that thumb-2 and coprocessor <chil>I don't have a system installed now. But I can quickly flashing a rpi2 to check now <mark_weaver>I think the RPi2 probably has what's needed. the older RPis do *not*. <chil>1gb, it's the new version2 <mark_weaver>I wouldn't be surprised if bootstrapping Guix takes on the order of a week, maybe more. <chil>I was using gentoo with the old rpi, this should be better :P <chil>mark_weaver what do you guys use to test/devel guix? a VM? <bavier>chil: I usually run develop Guix running atop Trisquel, but sometimes develop from GuixSD ;) <rekado_>chil: guix can be used as a standalone package manager on top of an installed system. I run it atop of Fedora / CentOS. <chil>Can you use dmd when using guix as a package manager only? <iyzsong>chil: yes, you can use dmd along with your init or as a user session manager. <iyzsong>I think use dmd as a init replacement for other distros is possible, but does require a lot works ;-) <chil>ok. So better stick with the base distro one for now :P <chil>mark_weaver uname -m outputs "armv7l" <mark_weaver>chil: and what does "grep vfp /proc/cpuinfo" output? <mark_weaver>I have a Novena, which I used to bootstrap the Guix armhf port. <chil>half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm <mark_weaver>specifically the "vfpd32", which implicitly includes vfpd16. <mark_weaver>chil: guix-daemon also requires some kernel features that may or may not be in your existing kernel <mark_weaver>one requirement is CONFIG_DEVPTS_MULTIPLE_INSTANCES=y <mark_weaver>the kernel that came with the Novena lacked that feature, so I had to recompile it <davexunit>I want to rebase the novena-linux patches on linux-libre sometime <davexunit>then we can have a novena-linux-libre package <chil>mark_weaver that requirement isn't documented in the web instructions or INSTALL file? <davexunit>I guess we could make note of it in the texinfo manual <chil>I didn't read the docs in much detail yet :P <davexunit>I'll shut up about it now. I just feel like a kind of christmas. <mark_weaver>armhf actually has a major problem right now, probably due to patchelf. although I built 'emacs' in recent master (since the core-updates merge), I can't actually build any profiles right now. <mark_weaver>Inconsistency detected by ld.so: get-dynamic-info.h: 142: elf_get_dynamic_info: Assertion `info[29] == ((void *)0)' failed! <mark_weaver>builder for `/gnu/store/14kf28i9qkzrdjn5m150zk6dxijssk2k-glibc-utf8-locales-2.21.drv' failed with exit code 1 <mark_weaver>and I suspect that assertion failure is ultimately due to the buggy patchelf on ARM, although I'm not sure <mark_weaver>the emacs I recently built does work, however, if I run it directly out of the store. <mark_weaver>chil: so yeah, our armhf port is slightly broken at the moment. <mark_weaver>hmm, the problem seems to be that there's a RUNPATH set for ld.so (ld-linux-armhf.so.3), and apparently that's bad <mark_weaver>I emailed a report of my preliminary findings to bug-guix <bavier>I'd like to make a new module: (gnu packages language) <bavier>would solve a circular dependency issue I'm facing <bavier>could probably put wordnet in there too. <bavier>ugh, organizing all these perl modules is getting more difficult <mark_weaver>rekado_: btw, the newest libgnomeprint already works with the newest freetype. <mark_weaver>however, updating libgnomeprint wasn't as simple as bumping the version number and hash <rekado>mark_weaver: oh, I had not checked whether there was a new version as the comments told me it was deprecated. *davexunit boots his novena