Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2010 08:57:55 -0400
From:      doug schmidt <douglas.j.schmidt@gmail.com>
To:        n dhert <ndhertbsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ruby portupgrade error
Message-ID:  <l2w320306641004280557zb1cc6525ke518ca4256a16460@mail.gmail.com>
In-Reply-To: <v2jed7803cf1004272220n39e1176ek5cca072f83842f24@mail.gmail.com>
References:  <v2jed7803cf1004272220n39e1176ek5cca072f83842f24@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 28, 2010 at 1:20 AM, n dhert <ndhertbsd@gmail.com> wrote:
> there was an upgrade to ruby giving error:
> how to fix it?
> ...
> cc -I/usr/include -O2 -fno-strict-aliasing -pipe =A0-fPIC =A0 =A0-DRUBY_E=
XPORT
> -L. =A0-r
> path=3D/usr/lib:/usr/local/lib -rdynamic =A0 main.o =A0libruby18-static.a=
 -lrt
> -lcrypt
> =A0-lm -L/usr/lib =A0-rpath=3D/usr/lib:/usr/local/lib =A0-o miniruby
> libruby18-static.a(process.o)(.text+0x1b40): In function `proc_exec_v':
> : undefined reference to `rb_thread_stop_timer_fake'
> libruby18-static.a(process.o)(.text+0x25ad): In function `rb_proc_exec':
> : undefined reference to `rb_thread_stop_timer_fake'
> *** Error code 1
> Stop in /usr/ports/lang/ruby18/work/ruby-1.8.7-p248.
> *** Error code 1
> Stop in /usr/ports/lang/ruby18.
> *** Error code 1
> Stop in /usr/ports/lang/ruby18.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20100428-83
> 762-bmz4km-0 env UPGRADE_TOOL=3Dportupgrade
> UPGRADE_PORT=3Druby+nopthreads-1.8.7.248
> ,1 UPGRADE_PORT_VER=3D1.8.7.248,1 make FETCH_BEFORE_ARGS=3D-q
> DEPENDS_TARGET=3Dpackage
> ** Fix the problem and try again.
> ---> =A0Build of lang/ruby18 ended at: Wed, 28 Apr 2010 07:09:13 +0200
> (consumed 0
> 0:00:38)
> ---> =A0Upgrade of lang/ruby18 ended at: Wed, 28 Apr 2010 07:09:13 +0200
> (consumed
> =A000:00:38)
> ---> =A0** Upgrade tasks 2: 1 done, 0 ignored, 0 skipped and 1 failed
> ---> =A0Listing the results (+:done / -:ignored / *:skipped / !:failed)
> =A0 =A0 =A0 =A0+ net/openldap24-client (openldap-client-2.4.21)
> =A0 =A0 =A0 =A0! lang/ruby18 (ruby+nopthreads-1.8.7.248,1) =A0 =A0 (new c=
ompiler error)
> ---> =A0Packages processed: 1 done, 0 ignored, 0 skipped and 1 failed
> ---> =A0Session ended at: Wed, 28 Apr 2010 07:09:15 +0200 (consumed 00:01=
:59)

im having the same issue with latest update;

libruby18-static.a(process.o)(.text+0x1b40): In function `proc_exec_v':
: undefined reference to `rb_thread_stop_timer_fake'
libruby18-static.a(process.o)(.text+0x25ad): In function `rb_proc_exec':
: undefined reference to `rb_thread_stop_timer_fake'
*** Error code 1
Stop in /usr/ports/lang/ruby18/work/ruby-1.8.7-p248.
*** Error code 1
Stop in /usr/ports/lang/ruby18.
*** Error code 1
Stop in /usr/ports/lang/ruby18.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20100428-90970-837af7-0 env UPGRADE_TOOL=3Dportupgrade
UPGRADE_PORT=3Druby+nopthreads-1.8.7.248,1 UPGRADE_PORT_VER=3D1.8.7.248,1
make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! lang/ruby18 (ruby+nopthreads-1.8.7.248,1)     (new compiler error=
)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l2w320306641004280557zb1cc6525ke518ca4256a16460>