joyent/libuv — Issue #304: Building on uClibc fails (futimes issue)
Author: ABelliqueux
Created: 2012-02-03 12:03:25+00:00
State: open

Hi,

I'm trying to get libuv to build on my system in order to build node.js, but an undefined reference to 'futimes'
arrise.

Some information on my system :

OS is Gnu/Linux distro Alpinelinux, based on uClibc and Busybox.

#uname -a

Linux 3.0.15-vs2.3.2.1 #1-Alpine SMP Thu Jan 5 15:48:12 UTC 2012 unknown

#uclibc version

/lib/libc.so.0.9.32

#gcc -v

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i486-alpine-linux-uclibc/4.6.2/lto-wrapper
Target: i486-alpine-linux-uclibc
Configured with: /home/buildozer/aports/main/gcc/src/gcc-4.6.2/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=i486-alpine-linux-uclibc --host=i486-alpine-linux-uclibc
--target=i486-alpine-linux-uclibc --with-pkgversion='Alpine 4.6.2-r2' --disable-altivec --disable-checking --disable-fixed-point --disable-libssp --disable-libstdcxx-pch --disable-multilib --disable-nls --disable-werror
--enable-__cxa_atexit --enable-cld --enable-esp --enable-cloog-backend --enable-languages=c,c++,objc,java,go --enable-shared --enable-target-optspace --enable-tls --enable-threads --with-dynamic-linker=ld-uClibc.so.0.9.32
--with-dynamic-linker-prefix=/lib --with-system-zlib --without-system-libunwind
Thread model: posix
gcc version 4.6.2 (Alpine 4.6.2-r2)

What I did :

I cloned the libuv git, and then tried to 'make'. While 'make' seems to result in no error , 'make test' does.
I get the same result as in 'make test' log when trying to build node from git.

# 'make' log
http://sprunge.us/eOeO

# 'make test' log
http://sprunge.us/dUDY

I hope I submitted enough informations so that someone can make use of that ticket.