tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Now in careful mode



Hi,
I have lang/ruby34 build issue with bob:
-----------
processing probes in object files
dtrace: target object (probes.o) already exists. Please remove the target
dtrace: object and rebuild all the source objects if you wish to run the DTrace
dtrace: linking process again
linking miniruby
ld: probes.o: warning: relocation against `$dtrace5225529.gc_start' in
read-only section `.SUNW_dof'
ld: array.o: in function `empty_ary_alloc':
array.c:(.text+0xcc): undefined reference to
`__dtraceenabled_ruby___array__create'
ld: array.c:(.text+0x124): undefined reference to
`__dtrace_ruby___array__create'
ld: array.o: in function `ary_new':
array.c:(.text+0x108a): undefined reference to
`__dtraceenabled_ruby___array__create'
...
------------

I can fix it myself if I adopt wiz's
ruby40/patches/patch-template_Makefile.in for ruby34
(https://github.com/NetBSD/pkgsrc/commit/f73c9706df31e6307094b7c6bf3da5644862ecfc)
----------
Try fixing make parallelism/submake problems.

1. make sure no stale probes.o is there when the probes.o is rebuilt
2. ruby-glommed and probes.stamp depend on the same files, make sure
   they don't trigger the same objects twice.

https://bugs.ruby-lang.org/issues/22059
---------

and remove from ruby34/Makefile the "MAKE_JOBS_SAFE= no" line,
same as in ruby40/Makefile.

Could I commit it?

-- 
Regards,
kikadf


Home | Main Index | Thread Index | Old Index