When building ruby 4.0.3 on NetBSD (from pkgsrc) in a parallel build (make -j16), I sometimes see build problems like this: ``` processing probes in object files dtrace: target object (probes.o) already exists. Please remove the targe...wiz (Thomas Klausner)
Oh, sorry, you asked for more information: uname -a was in the original bug report, I'm using NetBSD 11.99.5 on x86_64 (= amd64). wiz (Thomas Klausner)
Ruby does not compile out of the box for me, I'll attach the build log. I've attached the build log of a plain ruby build outside of pkgsrc, same system. I don't know why it uses clang by default, 'cc' is gcc 14.3.0. In case you're i...wiz (Thomas Klausner)
And here is the output of the process itself: ``` asciidoctor40 -D. -a nofooter -b manpage vms-empire.adoc /usr/pkg/lib/ruby/4.0.0/x86_64-netbsd/rbconfig.rb:311: [BUG] Segmentation fault at 0x00007f7fff7c3000 ruby 4.0.2 (2026-03-17 r...wiz (Thomas Klausner)
When using ruby 4.0.2 on NetBSD-11.99.5/x86_64, built from pkgsrc, I often get core dumps. Recently it was quite easy to get them using asciidoctor to build the documentation for vms-empire (but that is just one example). Here is the...wiz (Thomas Klausner)
I use "CPPFLAGS=-g" to enable symbols in my builds. This works for most software, except for ruby. The problem is that, in template/Makefile.in, CPPFLAGS are passed unmodified to dtrace: ``` .d.h: @$(ECHO) translating probes ...wiz (Thomas Klausner)
`ext/socket/extconf.h` does not differ between with and without `relro`. Thank you for the quick commit. I can confirm that it fixes the problem for me.wiz (Thomas Klausner)