Subject: avr-libc fails to compile (on x86_64)

From: Danny Milosavljevic <[email-masked]>
Date: Fri, 25 Mar 2016 19:45:11 +0100

guix package -i avr-libc
...
In file included from /gnu/store/8k32s1nv8qg2i8600gfzp6alz4a7s5vb-glibc-2.22/include/features.h:389:0,
                 from /gnu/store/8k32s1nv8qg2i8600gfzp6alz4a7s5vb-glibc-2.22/include/limits.h:25,
                 from ../../../../avr-libc-1.8.1/libc/stdlib/strtol.c:33:
/gnu/store/8k32s1nv8qg2i8600gfzp6alz4a7s5vb-glibc-2.22/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
 # include <gnu/stubs-32.h>
                           ^
compilation terminated.
Makefile:1871: recipe for target 'strtol.o' failed
make[5]: *** [strtol.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from /gnu/store/8k32s1nv8qg2i8600gfzp6alz4a7s5vb-glibc-2.22/include/features.h:389:0,
                 from /gnu/store/8k32s1nv8qg2i8600gfzp6alz4a7s5vb-glibc-2.22/include/limits.h:25,
                 from ../../../../avr-libc-1.8.1/libc/stdlib/strtod.c:40:
/gnu/store/8k32s1nv8qg2i8600gfzp6alz4a7s5vb-glibc-2.22/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
 # include <gnu/stubs-32.h>
                           ^
compilation terminated.
Makefile:1871: recipe for target 'strtod.o' failed
make[5]: *** [strtod.o] Error 1
Makefile:1891: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
Makefile:361: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:361: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
Makefile:423: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:361: recipe for target 'all' failed
make: *** [all] Error 2
phase `build' failed after 3.7 seconds
builder for `/gnu/store/rwj2b28w5vfwn87zrc3fs81gdbbq2h2j-avr-libc-1.8.1.drv' failed with exit code 1
guix package: error: build failed: build of `/gnu/store/rwj2b28w5vfwn87zrc3fs81gdbbq2h2j-avr-libc-1.8.1.drv' failed