Interaction between devel/ncurses and lang/ruby18?

Klaus T. Aehlig aehlig at linta.de
Thu Sep 15 22:36:28 UTC 2011


Dear Stanislav,

> Hmm, it should not depend on ncurses, and certainly it should not link against
> a static library.  Can you please send me a build log of lang/ruby18?

I must admit that I'm not able to reproduce the error any more, so it
seems to be something more subtle than the mere presence of devel/ncurses;
but please find attached the relevant part of the script(1) of a BATCH=YES
portupgrade -a session.

Best regards, 
Klaus

-------------- next part --------------
--->  Upgrading 'ruby-1.8.7.352_1,1' to 'ruby-1.8.7.352_2,1' (lang/ruby18)
--->  Building '/usr/ports/lang/ruby18'
===>  Cleaning for ruby-1.8.7.352_2,1
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for ruby-1.8.7.248_2,1
===>  Extracting for ruby-1.8.7.352_2,1
=> SHA256 Checksum OK for ruby/ruby-1.8.7-p352.tar.bz2.
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.7-p352/ext/dl/h2rb /usr/ports/lang/ruby18/work/ruby-1.8.7-p352/bin/
===>  Patching for ruby-1.8.7.352_2,1
===>  Applying FreeBSD patches for ruby-1.8.7.352_2,1
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.7-p352/ext/Win32API
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.7-p352/ext/win32ole
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.7-p352/ext/gdbm /usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.7-p352/ext/iconv /usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.7-p352/ext/tk /usr/ports/lang/ruby18/work/
===>   ruby-1.8.7.352_2,1 depends on file: /usr/local/bin/automake-1.11 - found
===>   ruby-1.8.7.352_2,1 depends on file: /usr/local/bin/autoconf-2.68 - found
===>  Configuring for ruby-1.8.7.352_2,1
/usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.7-p352/configure
/usr/local/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/local/share/aclocal/imlib.m4:9:   run info '(automake)Extending aclocal'
/usr/local/share/aclocal/imlib.m4:9:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
checking build system type... amd64-portbld-freebsd8
checking host system type... amd64-portbld-freebsd8
checking target system type... amd64-portbld-freebsd8
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/libexec/ccache/world/cc accepts -g... yes
checking for /usr/local/libexec/ccache/world/cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether /usr/local/libexec/ccache/world/cc needs -traditional... no
checking whether the linker is GNU ld... yes
checking whether cpp accepts -o... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long... yes
checking for off_t... yes
checking size of int... 4
checking size of short... 2
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking size of off_t... 8
checking size of void*... 8
checking size of float... 4
checking size of double... 8
checking size of time_t... 8
checking for pid_t... yes
checking for gid_t... yes
checking for uid_t... yes
checking for prototypes... yes
checking token paste string... ansi
checking for variable length prototypes and stdarg.h... yes
checking for noreturn function attribute... __attribute__ ((noreturn)) x
checking for noinline function attribute... __attribute__ ((noinline)) x
checking for RUBY_EXTERN... no
checking whether sys_nerr is declared... yes
checking whether -lxpg4 has to be linked... no
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... no
checking for shl_load in -ldld... no
checking for library containing clock_gettime... none required
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syscall.h usability... no
checking syscall.h presence... no
checking for syscall.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking a.out.h usability... yes
checking a.out.h presence... yes
checking for a.out.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for memory.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking size of rlim_t... 8
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for int8_t... yes
checking size of int8_t... 1
checking for uint8_t... yes
checking size of uint8_t... 1
checking for int16_t... yes
checking size of int16_t... 2
checking for uint16_t... yes
checking size of uint16_t... 2
checking for int32_t... yes
checking size of int32_t... 4
checking for uint32_t... yes
checking size of uint32_t... 4
checking for int64_t... yes
checking size of int64_t... 8
checking for uint64_t... yes
checking size of uint64_t... 8
checking for int128_t... no
checking for uint128_t... no
checking for struct timezone... yes
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking for working alloca.h... no
checking for alloca... yes
checking for working memcmp... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for broken erfc of glibc-2.3.6 on IA64... no
checking for dup2... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strerror... yes
checking for strftime... yes
checking for strchr... yes
checking for strstr... yes
checking for strtoul... yes
checking for crypt... yes
checking for flock... yes
checking for vsnprintf... yes
checking for isnan... yes
checking for finite... yes
checking for isinf... yes
checking for hypot... yes
checking for acosh... yes
checking for erf... yes
checking for fmod... yes
checking for killpg... yes
checking for wait4... yes
checking for waitpid... yes
checking for syscall... yes
checking for chroot... yes
checking for fsync... yes
checking for getcwd... yes
checking for eaccess... yes
checking for truncate... yes
checking for ftruncate... yes
checking for chsize... no
checking for times... yes
checking for utimes... yes
checking for fcntl... yes
checking for lockf... yes
checking for lstat... yes
checking for symlink... yes
checking for link... yes
checking for readlink... yes
checking for setitimer... yes
checking for setruid... yes
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for setproctitle... yes
checking for setrgid... yes
checking for setegid... yes
checking for setregid... yes
checking for setresgid... yes
checking for issetugid... yes
checking for pause... yes
checking for lchown... yes
checking for lchmod... yes
checking for getpgrp... yes
checking for setpgrp... yes
checking for getpgid... yes
checking for setpgid... yes
checking for initgroups... yes
checking for getgroups... yes
checking for setgroups... yes
checking for getpriority... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for sysconf... yes
checking for group_member... no
checking for dlopen... yes
checking for sigprocmask... yes
checking for sigaction... yes
checking for sigsetjmp... yes
checking for _setjmp... yes
checking for _longjmp... yes
checking for setsid... yes
checking for telldir... yes
checking for seekdir... yes
checking for fchmod... yes
checking for mktime... yes
checking for timegm... yes
checking for gettimeofday... yes
checking for cosh... yes
checking for sinh... yes
checking for tanh... yes
checking for round... yes
checking for setuid... yes
checking for setgid... yes
checking for setenv... yes
checking for unsetenv... yes
checking for __builtin_setjmp... no
checking for setjmp type... _setjmp
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for external int daylight... no
checking for external timezone... no
checking for external altzone... no
checking for timezone... yes
checking whether timezone requires zero arguments... no
checking for negative time_t for gmtime(3)... yes
checking whether getpgrp requires zero arguments... yes
checking whether setpgrp takes no argument... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking whether char is unsigned... no
checking for inline... inline
checking for working volatile... yes
checking whether right shift preserve sign bit... yes
checking read count field in FILE structures... _r
checking read buffer ptr field in FILE structures... _p
checking whether need to seek between R/W... yes
checking whether st_ino is huge... no
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction... -1
checking for pthread_kill in -lpthread... yes
checking for nanosleep... yes
checking for pthread_np.h... yes
checking for getcontext... yes
checking for setcontext... yes
checking whether ELF binaries are produced... yes
checking whether OS depend dynamic link works... yes
checking for nroff... /usr/bin/nroff
creating config.h
configure: creating ./config.status
config.status: creating Makefile
===>  Building for ruby-1.8.7.352_2,1
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c array.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c bignum.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c class.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c compar.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c dir.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c dln.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c enum.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c enumerator.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c error.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c eval.c
eval.c: In function 'rb_eval_string_wrap':
eval.c:1744: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'rb_eval_cmd':
eval.c:1885: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'call_trace_func':
eval.c:2736: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'rb_raise_jump':
eval.c:4770: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'method_missing':
eval.c:5736: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'rb_call0':
eval.c:5894: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'rb_f_eval':
eval.c:6696: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'exec_under':
eval.c:6720: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'rb_load':
eval.c:7036: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'call_end_proc':
eval.c:8071: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'rb_f_END':
eval.c:8084: warning: assignment discards qualifiers from pointer target type
eval.c: In function 'mproc':
eval.c:9860: warning: assignment discards qualifiers from pointer target type
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c file.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c gc.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c hash.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c inits.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c io.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c marshal.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c math.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c numeric.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c object.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c pack.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c parse.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c process.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c prec.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c random.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c range.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c re.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c regex.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c ruby.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c signal.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c sprintf.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c st.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c string.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c struct.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c time.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c util.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c variable.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c version.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c dmyext.c
ar rcu libruby18-static.a array.o  bignum.o  class.o  compar.o  dir.o  dln.o  enum.o  enumerator.o  error.o  eval.o  file.o  gc.o  hash.o  inits.o  io.o  marshal.o  math.o  numeric.o  object.o  pack.o  parse.o  process.o  prec.o  random.o  range.o  re.o  regex.o  ruby.o  signal.o  sprintf.o  st.o  string.o  struct.o  time.o  util.o  variable.o  version.o   dmyext.o
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -I. -I. -I/usr/include    -c main.c
/usr/local/libexec/ccache/world/cc -I/usr/include -pipe -g  -fPIC    -DRUBY_EXPORT -L.  -rpath=/usr/lib:/usr/local/lib -pthread -rdynamic  -pthread main.o  libruby18-static.a -lcrypt -lm -L/usr/lib  -rpath=/usr/lib:/usr/local/lib -pthread  -o miniruby
rbconfig.rb updated
/usr/local/libexec/ccache/world/cc -shared -Wl,-soname,libruby18.so.18  array.o  bignum.o  class.o  compar.o  dir.o  dln.o  enum.o  enumerator.o  error.o  eval.o  file.o  gc.o  hash.o  inits.o  io.o  marshal.o  math.o  numeric.o  object.o  pack.o  parse.o  process.o  prec.o  random.o  range.o  re.o  regex.o  ruby.o  signal.o  sprintf.o  st.o  string.o  struct.o  time.o  util.o  variable.o  version.o   dmyext.o -lcrypt -lm -L/usr/lib  -rpath=/usr/lib:/usr/local/lib -pthread  -o libruby18.so.18
compiling bigdecimal
mkdir -p ../../.ext/amd64-freebsd8
/usr/local/libexec/ccache/world/cc -I. -I../.. -I../../. -I../.././ext/bigdecimal -DBASE=1000000000UL -DBASE_FIG=9 -I/usr/include    -fPIC -I/usr/include -pipe -g  -fPIC  -c bigdecimal.c
/usr/local/libexec/ccache/world/cc -shared -o ../../.ext/amd64-freebsd8/bigdecimal.so bigdecimal.o -L. -L../.. -L.  -rpath=/usr/lib:/usr/local/lib -pthread -rdynamic -Wl,-soname,../../.ext/amd64-freebsd8/bigdecimal.so   -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby18  -lcrypt -lm -L/usr/lib  -rpath=/usr/lib:/usr/local/lib -pthread
mkdir -p ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/util.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/ludcmp.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/jacobian.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/math.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/newton.rb ../../.ext/common/bigdecimal
compiling curses
/usr/local/libexec/ccache/world/cc -I. -I../.. -I../../. -I../.././ext/curses -DHAVE_NCURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_RESIZETERM -DHAVE_SCRL -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGDSET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WRESIZE -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RESET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -DHAVE_WCOLOR_SET -D_XOPEN_SOURCE_EXTENDED -I/usr/include   -I/usr/include -fPIC -I/usr/include -pipe -g  -fPIC  -c curses.c
/usr/local/libexec/ccache/world/cc -shared -o ../../.ext/amd64-freebsd8/curses.so curses.o -L. -L../.. -L.  -rpath=/usr/lib:/usr/local/lib -pthread -rdynamic -Wl,-soname,../../.ext/amd64-freebsd8/curses.so   -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby18 -lncurses -ltinfo  -lcrypt -lm -L/usr/lib  -rpath=/usr/lib:/usr/local/lib -pthread
/usr/bin/ld: /usr/local/lib/libncurses.a(lib_addch.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libncurses.a: could not read symbols: Bad value
*** Error code 1

Stop in /usr/ports/lang/ruby18/work/ruby-1.8.7-p352/ext/curses.
*** Error code 1

Stop in /usr/ports/lang/ruby18/work/ruby-1.8.7-p352.
*** Error code 1

Stop in /usr/ports/lang/ruby18.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20110915-38588-13h4rid env UPGRADE_TOOL=portupgrade UPGRADE_PORT=ruby-1.8.7.352_1,1 UPGRADE_PORT_VER=1.8.7.352_1,1 make
** Fix the problem and try again.


More information about the freebsd-ports mailing list