Hello,

when I try to install ruby passenger from ports it fails.

mkdir -p buildout/nginx_dynamic/module_libpassenger_common/AppTypeDetector
c++ -o 
buildout/nginx_dynamic/module_libpassenger_common/AppTypeDetector/CBindings.o  
-Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy 
-Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev 
-Wno-ambiguous-member-template -DUSE_VENDORED_LIBEV 
-Isrc/cxx_supportlib/vendor-copy/libuv/include -fPIC -D_REENTRANT 
-I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses 
-Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers 
-Wno-ambiguous-member-template -fvisibility=hidden 
-DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE 
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 
-Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c 
src/cxx_supportlib/AppTypeDetector/CBindings.cpp
mkdir -p buildout/nginx_dynamic/module_libpassenger_common/WrapperRegistry
c++ -o 
buildout/nginx_dynamic/module_libpassenger_common/WrapperRegistry/CBindings.o  
-Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy 
-Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev 
-Wno-ambiguous-member-template -DUSE_VENDORED_LIBEV 
-Isrc/cxx_supportlib/vendor-copy/libuv/include -fPIC -D_REENTRANT 
-I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses 
-Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers 
-Wno-ambiguous-member-template -fvisibility=hidden 
-DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE 
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 
-Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c 
src/cxx_supportlib/WrapperRegistry/CBindings.cpp
c++ -o buildout/nginx_dynamic/module_libpassenger_common/Utils/CachedFileStat.o 
 -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy 
-Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev 
-Wno-ambiguous-member-template -DUSE_VENDORED_LIBEV 
-Isrc/cxx_supportlib/vendor-copy/libuv/include -fPIC -D_REENTRANT 
-I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses 
-Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers 
-Wno-ambiguous-member-template -fvisibility=hidden 
-DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE 
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 
-Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c 
src/cxx_supportlib/Utils/CachedFileStat.cpp
mkdir -p buildout/nginx_dynamic/module_libpassenger_common/JsonTools
c++ -o buildout/nginx_dynamic/module_libpassenger_common/JsonTools/CBindings.o  
-Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy 
-Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev 
-Wno-ambiguous-member-template -DUSE_VENDORED_LIBEV 
-Isrc/cxx_supportlib/vendor-copy/libuv/include -fPIC -D_REENTRANT 
-I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses 
-Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers 
-Wno-ambiguous-member-template -fvisibility=hidden 
-DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE 
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 
-Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c 
src/cxx_supportlib/JsonTools/CBindings.cpp
c++ -o 
buildout/nginx_dynamic/module_libpassenger_common/FileTools/PathManipCBindings.o
  -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy 
-Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev 
-Wno-ambiguous-member-template -DUSE_VENDORED_LIBEV 
-Isrc/cxx_supportlib/vendor-copy/libuv/include -fPIC -D_REENTRANT 
-I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses 
-Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers 
-Wno-ambiguous-member-template -fvisibility=hidden 
-DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE 
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 
-Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c 
src/cxx_supportlib/FileTools/PathManipCBindings.cpp
mkdir -p 'buildout/ruby/ruby-3.2.3-x86_64-openbsd7.5/'
cd 'buildout/ruby/ruby-3.2.3-x86_64-openbsd7.5/' && /usr/local/bin/ruby32 
'/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/ruby/3.2/gems/passenger-6.0.18/src/ruby_native_extension/extconf.rb'
checking for alloca.h... no
checking for ruby/version.h... yes
checking for ruby/io.h... yes
checking for ruby/thread.h... yes
checking for ruby_version... no
checking for rb_thread_io_blocking_region() in ruby/io.h... yes
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
creating Makefile
cd 'buildout/ruby/ruby-3.2.3-x86_64-openbsd7.5/' && make
compiling 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/ruby/3.2/gems/passenger-6.0.18/src/ruby_native_extension/passenger_native_support.c
linking shared-object passenger_native_support.so
rm -r 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/ruby/3.2/gems/passenger-6.0.18/bin/passenger-install-*-module
  
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/ruby/3.2/bin/passenger-install-*-module*
mv 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/ruby/3.2/gems/passenger-6.0.18/src/.passenger/support-binaries/6.0.18/*
  
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/ruby/3.2/gems/passenger-6.0.18/buildout/support-binaries/
mv: 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/ruby/3.2/gems/passenger-6.0.18/src/.passenger/support-binaries/6.0.18/*:
 No such file or directory
*** Error 1 in . (Makefile:76 'post-build')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3065 
'/usr/ports/pobj/passenger-6.0.18-ruby32/.build_done': @cd /usr/ports/www/ru...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2235 
'/usr/ports/packages/amd64/all/ruby32-passenger-6.0.18p1.tgz': @cd /usr/port...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2725 
'_internal-package': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$( mktem...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2704 'package': @:; 
cd /usr/ports/www/ruby-passenger && PKGPATH=www/ruby-passenge...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2256 
'/var/db/pkg/ruby32-passenger-6.0.18p1/+CONTENTS': @cd /usr/ports/www/ruby-p...)
*** Error 2 in /usr/ports/www/ruby-passenger 
(/usr/ports/infrastructure/mk/bsd.port.mk:2704 'install': 
@lock=ruby32-passenger-6.0.18p1;  exp...)


Even when I create the missing directory
# mkdir 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/gems/passenger-6.0.18/src/helper-scripts/download_binaries/.gem.20240416-13679-gf836h


It still fails
===>  Building for ruby32-passenger-6.0.18p1
if [ -f /usr/ports/pobj/passenger-6.0.18-ruby32/passenger-6.0.18/.metadata ]; 
then  cd /usr/ports/pobj/passenger-6.0.18-ruby32/passenger-6.0.18 && gzip 
.metadata &&  mv -f .metadata.gz 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-content/metadata.gz;  fi;  cd 
/usr/ports/pobj/passenger-6.0.18-ruby32/passenger-6.0.18 && pax -wz -s 
'/.*\.orig\.port$//'  -x ustar -o write_opt=nodir . 
>/usr/ports/pobj/passenger-6.0.18-ruby32/gem-content/data.tar.gz;  cd 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-content && tar -cf 
/usr/ports/pobj/passenger-6.0.18-ruby32/passenger-6.0.18.gem *.gz;  mkdir -p 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem;  env -i 
PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool"  
PATH='/usr/ports/pobj/passenger-6.0.18-ruby32/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='/passenger-6.0.18_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/ports/pobj/passenger-6.0.18-ruby32/bin/install -c -s 
-m 755"  
BSD_INSTALL_SCRIPT="/usr/ports/pobj/passenger-6.0.18-ruby32/bin/install -c -m 
755"  BSD_INSTALL_DATA="/usr/ports/pobj/passenger-6.0.18-ruby32/bin/install -c 
-m 644"  BSD_INSTALL_MAN="/usr/ports/pobj/passenger-6.0.18-ruby32/bin/install 
-c -m 644"  
BSD_INSTALL_PROGRAM_DIR="/usr/ports/pobj/passenger-6.0.18-ruby32/bin/install -d 
-m 755"  
BSD_INSTALL_SCRIPT_DIR="/usr/ports/pobj/passenger-6.0.18-ruby32/bin/install -d 
-m 755"  
BSD_INSTALL_DATA_DIR="/usr/ports/pobj/passenger-6.0.18-ruby32/bin/install -d -m 
755"  BSD_INSTALL_MAN_DIR="/usr/ports/pobj/passenger-6.0.18-ruby32/bin/install 
-d -m 755" HOME=`dirname /usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem` 
GEM_HOME=/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem  make="make V=1"  
/usr/local/bin/gem32 install --local -N --no-force --verbose --backtrace 
--user-install /usr/ports/pobj/passenger-6.0.18-ruby32/passenger-6.0.18.gem  --
ERROR:  Error installing 
/usr/ports/pobj/passenger-6.0.18-ruby32/passenger-6.0.18.gem:
        ERROR: Failed to build gem native extension.

    No such file or directory @ dir_s_mkdir - 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/gems/passenger-6.0.18/src/helper-scripts/download_binaries/.gem.20240416-20236-oa3op9

Gem files will remain installed in 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/gems/passenger-6.0.18 for 
inspection.
Results logged to 
/usr/ports/pobj/passenger-6.0.18-ruby32/gem-tmp/.gem/extensions/x86_64-openbsd/3.2/passenger-6.0.18/gem_make.out
*** Error 1 in . (/usr/ports/lang/ruby/ruby.port.mk:237 'do-build')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3057 
'/usr/ports/pobj/passenger-6.0.18-ruby32/.build_done': @cd /usr/ports/www/ru...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2235 
'/usr/ports/packages/amd64/all/ruby32-passenger-6.0.18p1.tgz': @cd /usr/port...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2725 
'_internal-package': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$( mktem...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2704 'package': @:; 
cd /usr/ports/www/ruby-passenger && PKGPATH=www/ruby-passenge...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2256 
'/var/db/pkg/ruby32-passenger-6.0.18p1/+CONTENTS': @cd /usr/ports/www/ruby-p...)
*** Error 2 in /usr/ports/www/ruby-passenger 
(/usr/ports/infrastructure/mk/bsd.port.mk:2704 'install': 
@lock=ruby32-passenger-6.0.18p1;  exp...)


Reply via email to