Danny Milosavljevic writes: > $ ./pre-inst-env guix package -i guile-emacs > ... > configure: error: C compiler cannot create executables > See `config.log' for more details > phase `configure' failed after 0.4 seconds > builder for > `/gnu/store/izc4h0kd4pxh65v7yirshhprv5m13xnq-guile-emacs-20150512.41120e0.drv' > failed with exit code 1 > cannot build derivation > `/gnu/store/r6qr621r0y3y7897wg87f3j315r2qs6l-profile.drv': 1 dependencies > couldn't be built > guix package: error: build failed: build of > `/gnu/store/r6qr621r0y3y7897wg87f3j315r2qs6l-profile.drv' failed > $ ./pre-inst-env guix environment guile-emacs > $ cd ......... > $ cp -r /gnu/store/jlkhs6ypnlvbzl4jassp871v0z86199y-git-checkout . > $ chmod -R +w . > $ ./autogen.sh > $ ./configure > checking whether the C compiler works... no > configure: error: in > `/home/dannym/g/jlkhs6ypnlvbzl4jassp871v0z86199y-git-checkout': > configure: error: C compiler cannot create executables > $ ld > Throw without catch before boot: > Throw to key misc-error with args ("make_objcode_from_file" "bad header on > object file: ~s" ("\x7fELF\x02\x01\x01�\x00\x00\x00\x00\x00\x00\x00\x00") > #f)Aborting. > Aborted > $ which ld > /gnu/store/7hjv46s5apn1cwj6wb7i21gna77bwq92-profile/bin/ld > lrwxrwxrwx 7 root guixbuild 63 Jan 1 1970 > /gnu/store/7hjv46s5apn1cwj6wb7i21gna77bwq92-profile/bin/ld -> > /gnu/store/zzahbk6ld5ir48g11qaqglik11p32w8x-ld-wrapper-0/bin/ld > $ strace ld > ... > open("/gnu/store/7hjv46s5apn1cwj6wb7i21gna77bwq92-profile/lib/guile/2.2/ccache/ice-9/eval.go", > O_RDONLY|O_CLOEXEC) = 6 > fstat(6, {st_mode=S_IFREG|0444, st_size=56869, ...}) = 0 > mmap(NULL, 56869, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f17265b3000 > close(6) = 0 > munmap(0x7f17265b3000, 56869) = 0 > write(2, "Throw without catch before boot:"..., 33Throw without catch before > boot: > $ file > /gnu/store/7hjv46s5apn1cwj6wb7i21gna77bwq92-profile/lib/guile/2.2/ccache/ice-9/eval.go > /gnu/store/7hjv46s5apn1cwj6wb7i21gna77bwq92-profile/lib/guile/2.2/ccache/ice-9/eval.go: > ELF 64-bit LSB shared object, no machine, version 1, dynamically linked, not > stripped > > (Same for guile-wm when I install guile-for-guile-emacs, actually. But > guile-wm works after I uninstall guile-for-guile-emacs)
You shouldn't install guile-for-guile-emacs in your profile, just install guile-emacs itself. I'm not sure why guile-emacs stopped working though...