unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* guile-emacs build failure
@ 2016-02-27  4:49 Danny Milosavljevic
  2016-02-28  1:14 ` Christopher Allan Webber
  2016-02-28 21:49 ` Ricardo Wurmus
  0 siblings, 2 replies; 4+ messages in thread
From: Danny Milosavljevic @ 2016-02-27  4:49 UTC (permalink / raw)
  To: guix-devel


$ ./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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: guile-emacs build failure
  2016-02-27  4:49 guile-emacs build failure Danny Milosavljevic
@ 2016-02-28  1:14 ` Christopher Allan Webber
  2016-02-28 21:49 ` Ricardo Wurmus
  1 sibling, 0 replies; 4+ messages in thread
From: Christopher Allan Webber @ 2016-02-28  1:14 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

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...

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: guile-emacs build failure
  2016-02-27  4:49 guile-emacs build failure Danny Milosavljevic
  2016-02-28  1:14 ` Christopher Allan Webber
@ 2016-02-28 21:49 ` Ricardo Wurmus
  2016-02-29  5:21   ` Christopher Allan Webber
  1 sibling, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2016-02-28 21:49 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel


Danny Milosavljevic <dannym@scratchpost.org> writes:

> $ ./pre-inst-env guix package -i guile-emacs
> ...
> configure: error: C compiler cannot create executables
> See `config.log' for more details

Here’s a patch to fix this error:

  http://lists.gnu.org/archive/html/guix-devel/2016-02/msg01341.html

I hope we can push it to the repository soon.

~~ Ricardo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: guile-emacs build failure
  2016-02-28 21:49 ` Ricardo Wurmus
@ 2016-02-29  5:21   ` Christopher Allan Webber
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Allan Webber @ 2016-02-29  5:21 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus writes:

> Danny Milosavljevic <dannym@scratchpost.org> writes:
>
>> $ ./pre-inst-env guix package -i guile-emacs
>> ...
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details
>
> Here’s a patch to fix this error:
>
>   http://lists.gnu.org/archive/html/guix-devel/2016-02/msg01341.html
>
> I hope we can push it to the repository soon.
>
> ~~ Ricardo

This looks good to me.  Please push it!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-29  5:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-27  4:49 guile-emacs build failure Danny Milosavljevic
2016-02-28  1:14 ` Christopher Allan Webber
2016-02-28 21:49 ` Ricardo Wurmus
2016-02-29  5:21   ` Christopher Allan Webber

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).