[Bug 199048] lang/ruby21: configure error: something wrong with LDFLAGS=" -Wl,-rpath,/usr/lib:/usr/local/lib

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 2 09:46:22 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199048

--- Comment #6 from Ulrich Grey <usenet at ulrich-grey.de> ---
I have patched the source tree FreeBSD 11.0-CURRENT #0 r280772M with this
patch: 

https://reviews.freebsd.org/D2194

I have built a new image (crochet, wandboard-quad) and rebuilt lang/ruby21 with
all dependencies. Configure finished successfully, but the build hangs here:

--- probes.o ---
processing probes in object files
rm -f probes.o
dt_modtext:/usr/home/FREEBSD/freebsdCURRENTpatch/head/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(831):
DOODAD
...
dt_modtext:/usr/home/FREEBSD/freebsdCURRENTpatch/head/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(831):
DOODAD
prepare_elf32:/usr/home/FREEBSD/freebsdCURRENTpatch/head/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(232):
DOODAD
...
prepare_elf32:/usr/home/FREEBSD/freebsdCURRENTpatch/head/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(232):
DOODAD
--- miniruby ---
linking miniruby
--- .rbconfig.time ---
--- encdb.h ---
generating encdb.h

After > 1 hour I have interrupted the build.

ps auxww shows:
USER    PID %CPU %MEM   VSZ   RSS TT  STAT STARTED       TIME COMMAND
root   7264 83.8  0.3 13216  5336  2  R    09:36      3:47.36 ./miniruby
-I./lib -I. -I.ext/common ./tool/mkconfig.rb -timestamp=.rbconfig.time
-install_name=ruby21 -so_name=ruby21 rbconfig.rb
root   7266 81.6  0.3 13216  5336  2  R    09:36      4:52.64 ./miniruby
-I./lib -I. -I.ext/common ./tool/generic_erb.rb -c -o encdb.h
./template/encdb.h.tmpl ./enc enc

This path:
dt_modtext:/usr/home/FREEBSD/freebsdCURRENTpatch/head/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(831):
DOODAD

does not come from the wandboard. It originates from the system, I build the
image on.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ruby mailing list