joyent/node — Issue #1855: make fails on lion for v0.5.9
Author: Gozala
Created: 2011-10-11 09:40:46+00:00
State: open

Here is an output:

```sh
➜ node (v0.5.9) ./configure && make ✱
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : /usr/bin/gcc
Checking for gcc : ok
Checking for library dl : yes
Checking for openssl : yes
Checking for library util : yes
Checking for library rt : not found
Checking for fdatasync(2) with c++ : no
'configure' finished successfully (0.781s)
Waf: Entering directory `/Users/gozala/Projects/node/out'
DEST_OS: darwin
DEST_CPU: x64
Parallel Jobs: 1
Product type: program
[ 1/40] copy: src/node_config.h.in -> out/Release/src/node_config.h
[ 3/40] src/node_natives.h: src/node.js lib/url.js lib/console.js lib/dgram_legacy.js lib/buffer.js lib/net_legacy.js lib/querystring.js lib/punycode.js lib/tty_legacy.js lib/http.js lib/stream.js lib/events.js lib/util.js lib/tty_win32.js lib/module.js lib/_debugger.js lib/assert.js lib/fs.js lib/dns_legacy.js lib/os.js lib/vm.js lib/child_process_uv.js lib/dns_uv.js lib/tls.js lib/path.js lib/tty_posix.js lib/crypto.js lib/sys.js lib/timers_uv.js lib/https.js lib/freelist.js lib/readline.js lib/child_process_legacy.js lib/_linklist.js lib/timers_legacy.js lib/net_uv.js lib/buffer_ieee754.js lib/tty_uv.js lib/repl.js lib/dgram_uv.js lib/string_decoder.js lib/zlib.js lib/constants.js -> out/Release/src/node_natives.h
[ 4/40] uv: deps/uv/include/uv.h -> out/Release/deps/uv/uv.a
rm -f src/ares/*.o
rm -f src/unix/ev/*.o
rm -f src/unix/eio/*.o
rm -f src/unix/*.o
rm -rf test/run-tests.dSYM run-benchmarks.dSYM
rm -f -f src/*.o *.a test/run-tests test/run-benchmarks
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/core.c -o src/unix/core.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/fs.c -o src/unix/fs.o
src/unix/fs.c: In function ‘uv_fs_fdatasync’:
src/unix/fs.c:459: warning: implicit declaration of function ‘fdatasync’
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/cares.c -o src/unix/cares.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/udp.c -o src/unix/udp.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/error.c -o src/unix/error.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/process.c -o src/unix/process.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/tcp.c -o src/unix/tcp.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/pipe.c -o src/unix/pipe.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/tty.c -o src/unix/tty.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/stream.c -o src/unix/stream.o
src/unix/stream.c: In function ‘uv__read’:
src/unix/stream.c:607: warning: comparison between signed and unsigned
src/unix/stream.c:485: warning: unused variable ‘received_fd’
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/darwin.c -o src/unix/darwin.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/kqueue.c -o src/unix/kqueue.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -g -c src/uv-common.c -o src/uv-common.o
gcc -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -g -c src/unix/ev/ev.c -o src/unix/ev/ev.o -DEV_CONFIG_H=\"config_darwin.h\"
In file included from src/unix/ev/ev.c:1538:
src/unix/ev/ev_kqueue.c: In function ‘kqueue_modify’:
src/unix/ev/ev_kqueue.c:87: error: ‘EV_LIBUV_KQUEUE_HACK’ undeclared (first use in this function)
src/unix/ev/ev_kqueue.c:87: error: (Each undeclared identifier is reported only once
src/unix/ev/ev_kqueue.c:87: error: for each function it appears in.)
src/unix/ev/ev_kqueue.c: In function ‘kqueue_poll’:
src/unix/ev/ev_kqueue.c:157: error: ‘EV_LIBUV_KQUEUE_HACK’ undeclared (first use in this function)
src/unix/ev/ev.c: In function ‘ev_io_start’:
src/unix/ev/ev.c:2666: error: ‘EV_LIBUV_KQUEUE_HACK’ undeclared (first use in this function)
make[1]: *** [src/unix/ev/ev.o] Error 1
Waf: Leaving directory `/Users/gozala/Projects/node/out'
Build failed: -> task failed (err #2):
{task: uv uv.h -> uv.a}
make: *** [program] Error 1
➜ node (v0.5.9) ./configure ✱
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : /usr/bin/gcc
Checking for gcc : ok
Checking for library dl : yes
Checking for openssl : yes
Checking for library util : yes
Checking for library rt : not found
Checking for fdatasync(2) with c++ : no
'configure' finished successfully (0.336s)
➜ node (v0.5.9) make ✱
Waf: Entering directory `/Users/gozala/Projects/node/out'
DEST_OS: darwin
DEST_CPU: x64
Parallel Jobs: 1
Product type: program
[ 4/40] uv: deps/uv/include/uv.h -> out/Release/deps/uv/uv.a
rm -f src/ares/*.o
rm -f src/unix/ev/*.o
rm -f src/unix/eio/*.o
rm -f src/unix/*.o
rm -rf test/run-tests.dSYM run-benchmarks.dSYM
rm -f -f src/*.o *.a test/run-tests test/run-benchmarks
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/core.c -o src/unix/core.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/fs.c -o src/unix/fs.o
src/unix/fs.c: In function ‘uv_fs_fdatasync’:
src/unix/fs.c:459: warning: implicit declaration of function ‘fdatasync’
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/cares.c -o src/unix/cares.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/udp.c -o src/unix/udp.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/error.c -o src/unix/error.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/process.c -o src/unix/process.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/tcp.c -o src/unix/tcp.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/pipe.c -o src/unix/pipe.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/tty.c -o src/unix/tty.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/stream.c -o src/unix/stream.o
src/unix/stream.c: In function ‘uv__read’:
src/unix/stream.c:607: warning: comparison between signed and unsigned
src/unix/stream.c:485: warning: unused variable ‘received_fd’
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/darwin.c -o src/unix/darwin.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -Isrc -g -c src/unix/kqueue.c -o src/unix/kqueue.o
gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -g -c src/uv-common.c -o src/uv-common.o
gcc -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_darwin -g -c src/unix/ev/ev.c -o src/unix/ev/ev.o -DEV_CONFIG_H=\"config_darwin.h\"
In file included from src/unix/ev/ev.c:1538:
src/unix/ev/ev_kqueue.c: In function ‘kqueue_modify’:
src/unix/ev/ev_kqueue.c:87: error: ‘EV_LIBUV_KQUEUE_HACK’ undeclared (first use in this function)
src/unix/ev/ev_kqueue.c:87: error: (Each undeclared identifier is reported only once
src/unix/ev/ev_kqueue.c:87: error: for each function it appears in.)
src/unix/ev/ev_kqueue.c: In function ‘kqueue_poll’:
src/unix/ev/ev_kqueue.c:157: error: ‘EV_LIBUV_KQUEUE_HACK’ undeclared (first use in this function)
src/unix/ev/ev.c: In function ‘ev_io_start’:
src/unix/ev/ev.c:2666: error: ‘EV_LIBUV_KQUEUE_HACK’ undeclared (first use in this function)
make[1]: *** [src/unix/ev/ev.o] Error 1
Waf: Leaving directory `/Users/gozala/Projects/node/out'
Build failed: -> task failed (err #2):
{task: uv uv.h -> uv.a}
make: *** [program] Error 1
```