[Nix-dev] Tmux-1.9a fails to build in Yosemite

Alfredo Di Napoli alfredo.dinapoli at gmail.com
Mon Oct 27 14:02:51 CET 2014


Hello Nixers,

installing tmux-1.9a (latest) on a fresh Yosemite machine fails with:

gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../compat -I../include -I../include
-DTINYTEST_LOCAL -D_THREAD_SAFE     -g -O2 -Wall -fno-strict-aliasing
-Wno-deprecated-declarations -D_THREAD_SAFE  -c -o regress-tinytest.o `test
-f 'tinytest.c' || echo './'`tinytest.c
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/vproc.h:14:0,
                 from tinytest.c:48:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/xpc/base.h:64:20:
error: missing binary operator before token "("
 #if __has_extension(attribute_unavailable_with_message)
                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/xpc/base.h:81:18:
error: missing binary operator before token "("
 #if __has_feature(objc_arc)
                  ^
tinytest.c: In function '_testcase_run_forked':
tinytest.c:174:25: warning: ignoring return value of
'vproc_transaction_begin', declared with attribute warn_unused_result
[-Wunused-result]
  vproc_transaction_begin(0);
                         ^
make[3]: *** [regress-tinytest.o] Error 1
make[3]: Leaving directory
`/private/var/folders/wy/0k1vvnwj6bq91h4wfkv951100000gn/T/nix-build-libevent-2.0.21.drv-0/libevent-2.0.21-stable/test'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/private/var/folders/wy/0k1vvnwj6bq91h4wfkv951100000gn/T/nix-build-libevent-2.0.21.drv-0/libevent-2.0.21-stable/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/private/var/folders/wy/0k1vvnwj6bq91h4wfkv951100000gn/T/nix-build-libevent-2.0.21.drv-0/libevent-2.0.21-stable'
make: *** [all] Error 2
builder for
‘/nix/store/b1nrbr5599ri4b496007la75zfm3vb4v-libevent-2.0.21.drv’ failed
with exit code 2
cannot build derivation
‘/nix/store/g1swc97nqnvb4ydapfbw9jd7098gpcac-tmux-1.9a.drv’: 1 dependencies
couldn't be built
error: build of ‘/nix/store/g1swc97nqnvb4ydapfbw9jd7098gpcac-tmux-1.9a.drv’
failed

Who is to blame, Apple or the tmux source code? (from a quick glance seems
the former)
Thanks!
Alfredo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141027/0f360245/attachment.html 


More information about the nix-dev mailing list