>>> Building on sparc64-2d under security/ruby-pledge,ruby34 BDEPENDS = [lang/ruby/3.4] DIST = [security/ruby-pledge,ruby34:pledge-1.2.0.gem] FULLPKGNAME = ruby34-pledge-1.2.0 RDEPENDS = [lang/ruby/3.4] (Junk lock obtained for sparc64-2d at 1795007491.02) >>> Running depends in security/ruby-pledge,ruby34 at 1795007491.16 last junk was in devel/py-pyproject-api /usr/sbin/pkg_add -aI -Drepair ruby-3.4.12 was: /usr/sbin/pkg_add -aI -Drepair ruby-3.4.12 /usr/sbin/pkg_add -aI -Drepair ruby-3.4.12 >>> Running show-prepare-results in security/ruby-pledge,ruby34 at 1795007497.07 ===> security/ruby-pledge,ruby34 ===> Building from scratch ruby34-pledge-1.2.0 ===> ruby34-pledge-1.2.0 depends on: ruby->=3.4.0,<3.5 -> ruby-3.4.12 ===> Verifying specs: ruby34 c gmp m pthread ===> found ruby34.0.0 c.104.0 gmp.11.1 m.10.1 pthread.28.1 ruby-3.4.12 (Junk lock released for sparc64-2d at 1795007499.31) distfiles size=10752 >>> Running build in security/ruby-pledge,ruby34 at 1795007499.41 ===> security/ruby-pledge,ruby34 ===> Checking files for ruby34-pledge-1.2.0 >> (SHA256) all files: OK ===> Extracting for ruby34-pledge-1.2.0 ===> Patching for ruby34-pledge-1.2.0 ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for ruby34-pledge-1.2.0 ===> Configuring for ruby34-pledge-1.2.0 ===> Building for ruby34-pledge-1.2.0 if [ -f /usr/obj/ports/pledge-1.2.0-ruby34/pledge-1.2.0/.metadata ]; then cd /usr/obj/ports/pledge-1.2.0-ruby34/pledge-1.2.0 && gzip .metadata && mv -f .metadata.gz /usr/obj/ports/pledge-1.2.0-ruby34/gem-content/metadata.gz; fi; cd /usr/obj/ports/pledge-1.2.0-ruby34/pledge-1.2.0 && pax -wz -s '/.*\.orig\.port$//' -x ustar -o write_opt=nodir . >/usr/obj/ports/pledge-1.2.0-ruby34/gem-content/data.tar.gz; cd /usr/obj/ports/pledge-1.2.0-ruby34/gem-content && tar -cf /usr/obj/ports/pledge-1.2.0-ruby34/pledge-1.2.0.gem *.gz; mkdir -p /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem; env -i PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool" PATH='/usr/obj/ports/pledge-1.2.0-ruby34/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local' LOCALBASE='/usr/local' X11BASE='/usr/X11R6' CFLAGS='-O2 -pipe' TRUEPREFIX='/usr/local' DESTDIR='' HOME='/pledge-1.2.0_writes_to_HOME' PICFLAG="-fPIC" BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644 DIRMODE=755 INSTALL_COPY=-c INSTALL_STRIP=-s MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/usr/obj/ports/pledge-1.2.0-ruby34/bin/install -c -s -m 755" BSD_INSTALL_SCRIPT="/usr/obj/ports/pledge-1.2.0-ruby34/bin/install -c -m 755" BSD_INSTALL_DATA="/usr/obj/ports/pledge-1.2.0-ruby34/bin/install -c -m 644" BSD_INSTALL_MAN="/usr/obj/ports/pledge-1.2.0-ruby34/bin/install -c -m 644" BSD_INSTALL_PROGRAM_DIR="/usr/obj/ports/pledge-1.2.0-ruby34/bin/install -d -m 755" BSD_INSTALL_SCRIPT_DIR="/usr/obj/ports/pledge-1.2.0-ruby34/bin/install -d -m 755" BSD_INSTALL_DATA_DIR="/usr/obj/ports/pledge-1.2.0-ruby34/bin/install -d -m 755" BSD_INSTALL_MAN_DIR="/usr/obj/ports/pledge-1.2.0-ruby34/bin/install -d -m 755" HOME=`dirname /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem` GEM_HOME=/usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem make="make V=1" /usr/local/bin/gem34 install --local -N --no-force --verbose --backtrace --user-install /usr/obj/ports/pledge-1.2.0-ruby34/pledge-1.2.0.gem -- /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0/CHANGELOG /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0/MIT-LICENSE /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0/README.rdoc /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0/Rakefile /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0/ext/pledge/extconf.rb /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0/ext/pledge/pledge.c /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0/lib/unveil.rb /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0/spec/pledge_spec.rb Building native extensions. This could take a while... current directory: /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0/ext/pledge ["/usr/local/bin/ruby34", "extconf.rb"] ERROR: Error installing /usr/obj/ports/pledge-1.2.0-ruby34/pledge-1.2.0.gem: ERROR: Failed to build gem native extension. current directory: /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0/ext/pledge /usr/local/bin/ruby34 extconf.rb Building has failed. See above output for more information on the failure. To see why this extension failed to compile, please check the mkmf.log which can be found here: /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/extensions/sparc64-openbsd/3.4/pledge-1.2.0/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/gems/pledge-1.2.0 for inspection. Results logged to /usr/obj/ports/pledge-1.2.0-ruby34/gem-tmp/.gem/ruby/3.4/extensions/sparc64-openbsd/3.4/pledge-1.2.0/gem_make.out checking for unistd.h... yes checking for pledge()... no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include=${opt-dir}/include --without-opt-include --with-opt-lib=${opt-dir}/lib --without-opt-lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/local/bin/$(RUBY_BASE_NAME)34 --with-unistd-dir --without-unistd-dir --with-unistd-include=${unistd-dir}/include --without-unistd-include --with-unistd-lib=${unistd-dir}/lib --without-unistd-lib extconf.rb:3:in '
': pledge(2) not present, cannot built extension (RuntimeError) *** Error 1 in security/ruby-pledge (/usr/ports/lang/ruby/ruby.port.mk:234 'do-build') *** Error 2 in security/ruby-pledge (/usr/ports/infrastructure/mk/bsd.port.mk:3093 '/usr/obj/ports/pledge-1.2.0-ruby34/.build_done': @cd /us...) *** Error 2 in security/ruby-pledge (/usr/ports/infrastructure/mk/bsd.port.mk:2732 'build': @lock=ruby34-pledge-1.2.0; export _LOCKS_HELD="...) ===> Exiting security/ruby-pledge,ruby34 with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1795007515.72 max_stuck=5.27/depends=5.92/show-prepare-results=2.37/build=16.39 Error: job failed with 512 on sparc64-2d at 1795007515