Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Sep 2019 10:16:17 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: ruby25 from ports will not compile
Message-ID:  <20190907.101617.1659786179487129769.yasu@utahime.org>
In-Reply-To: <D5267398-C31D-4BDD-B8B2-2B8F588BF19D@kreme.com>
References:  <D5267398-C31D-4BDD-B8B2-2B8F588BF19D@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "@lbutlr" <kremels@kreme.com>
Subject: ruby25 from ports will not compile
Date: Fri, 6 Sep 2019 12:44:29 -0600

> Trying to update ruby on 11.2-RELEASE-p11 (I have also tried to switch to ruby26 with basically the same results)
> 
>  # cd /usr/ports/lang/ruby25 
>  # make MAKE_JOBS_UNSAFE=yes install   
> vm.c:(.text+0x1e0bb): undefined reference to `__dtraceenabled_ruby___method__entry'
> vm.c:(.text+0x1e0ef): undefined reference to `__dtraceenabled_ruby___method__return'
> vm.c:(.text+0x1e15d): undefined reference to `__dtrace_ruby___method__entry'
> vm.c:(.text+0x1e274): undefined reference to `__dtrace_ruby___method__return'
> vm.o: In function `hook_before_rewind':
> vm.c:(.text+0x1ed7b): undefined reference to `__dtraceenabled_ruby___method__return'
> vm.c:(.text+0x1eefe): undefined reference to `__dtrace_ruby___method__return'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/ports/lang/ruby25/work/ruby-2.5.6
> *** Error code 1

What is your architecture? I made clean install of 11.2-RELEASE-p14
amd64, checked out latest ports tree (r511379) and tried

# cd /usr/ports/lang/ruby25
# make BATCH=yes install
# cd /usr/ports/lang/ruby26
# make BATCH=yes install

Then everything completed successfully.

---
Yasuhiro KIMURA



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