Created attachment 148236 [details] config.log checking whether -fno-omit-frame-pointer is accepted as CFLAGS... yes checking for backtrace... yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for strip... strip checking whether dtrace USDT is available... no configure: error: --enable-dtrace, however, USDT is not available ===> Script "configure" failed unexpectedly. config.log is attached.
Auto-assigned to maintainer ruby@FreeBSD.org
Need a lot more information, such as what version of FreeBSD you are using, details about how to reproduce, etc. Please add those to the ticket and I will try to reproduce.
Created attachment 148242 [details] patch for lang/ruby20/Makefile Just a shot in the dark, try this patch.
Comment on attachment 148242 [details] patch for lang/ruby20/Makefile sorry, I cannot reproduce any longer. I have cleaned up my system (10.0-RELEASE-p9), installed the ruby20 binary and did a portupgrade -a. And now, I can compile and install ruby20 just fine, config.log now says: configure:18807: checking whether dtrace USDT is available configure:18825: result: yes configure:18832: checking whether dtrace needs post processing configure:18855: result: yes Perhaps because I had removed the automake port?
I ran into the same issue, then saw this post and tried a 'portmaster -s' to remove stale ports. I was then able to build the port successfully.
Ruby20 builds successfully in another jail using amd64, however in the i386 jails (FreeBSD 10.1-STABLE #0 r278144M: Wed Feb 4 05:08:40 AEDT 2015) the package does not build. Command sequence to build is rm -R /var/ports/usr/ports/* /usr/staging/* cd /usr/ports/lang/ruby20 make -DBATCH package Result is ===> Building package for ruby-2.0.0.598_2,1 /usr/local/lib/libyaml-0.so.2.0.4 /usr/local/lib/libcrypto.so.8 pkg-static: Unable to access file /usr/staging/usr/local/include/ruby-2.0/ruby/dl.h: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/i386-freebsd10/dl.so: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/i386-freebsd10/dl/callback.so: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/dl.rb: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/dl/callback.rb: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/dl/cparser.rb: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/dl/func.rb: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/dl/import.rb: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/dl/pack.rb: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/dl/stack.rb: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/dl/struct.rb: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/dl/types.rb: No such file or directory pkg-static: Unable to access file /usr/staging/usr/local/lib/ruby/2.0/dl/value.rb: No such file or directory *** Error code 1
As Oz42 can't reproduce the initial problem and I've moved to ruby22 which builds/runs. I think this should be closed - overtaken by events? Thanks for taking the time to look into this. :)