Created attachment 148732 [details] ruby-2.0.0-p576.log installing default old_thread_select libraries --- ext/-test-/num2int/all --- cc: warning: argument unused during compilation: '-I .' cc: warning: argument unused during compilation: '-I ../../../.ext/include/amd64-freebsd10' cc: warning: argument unused during compilation: '-I ../../.././include' cc: warning: argument unused during compilation: '-I ../../.././ext/-test-/num2int' cc: warning: argument unused during compilation: '-I /usr/local/include' num2int.c:82:21: error: expected ')' sprintf(buf, "%"PRI_LL_PREFIX"d", rb_num2ll_inline(num)); ^ num2int.c:82:12: note: to match this '(' sprintf(buf, "%"PRI_LL_PREFIX"d", rb_num2ll_inline(num)); ^ num2int.c:94:21: error: expected ')' sprintf(buf, "%"PRI_LL_PREFIX"u", rb_num2ull(num)); ^ num2int.c:94:12: note: to match this '(' sprintf(buf, "%"PRI_LL_PREFIX"u", rb_num2ull(num)); ^ 2 errors generated. --- ext/-test-/old_thread_select/all --- --- old_thread_select.o --- compiling old_thread_select.c --- ext/-test-/num2int/all --- *** [num2int.o] Error code 1 make[4]: stopped in /usr/ports/lang/ruby20/work/ruby-2.0.0-p576/ext/-test-/num2int 1 error Log file attached.
I'm unable to reproduce this. Can you tell me more about your system? I'm looking for things like make.conf/src.conf settings or anything else you think might be relevant. Also, are you building in poudriere? If not, could you try that?
Hi, here are details about my system and make.conf: # uname -a FreeBSD srv-bra-rad01 10.0-STABLE FreeBSD 10.0-STABLE #5 r266470: Tue May 20 20:20:40 CEST 2014 mbe@srv-bra-rad01:/usr/obj/usr/src/sys/GENERIC amd64 #more make.conf FORCE_MAKE_JOBS=yes MAKE_JOBS_NUMBER=2 FLAGS= -O2 -pipe -fno-strict-aliasing COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing OPTIMIZED_CFLAGS= YES WITHOUT_X11= YES BUILD_OPTIMIZED= YES WITHOUT_DEBUG= YES WITH_OPTIMIZED_CFLAGS= YES NO_PROFILE= YES #BATCH=yes WITH_PKGNG=yes
There was something wrong with CFLAGS in ccache, when i deleted ccache on the disk, the compilation finished succesfully.