=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Installing for ruby31-pg-1.5.9 => Generating pre-install file lists => Installing gem into installation root Building native extensions with: '--build-args --with-pgsql-include-dir=/usr/pkg/include/postgresql --with-pgsql-lib-dir=/usr/pkg/lib' This could take a while... ERROR: Error installing /pbulk/work/databases/ruby-pg/work/pg-1.5.9/pg-1.5.9.gem: ERROR: Failed to build gem native extension. current directory: /pbulk/work/databases/ruby-pg/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/pg-1.5.9/ext /usr/pkg/bin/ruby31 -I /usr/pkg/lib/ruby/3.1.0 extconf.rb --build-args --with-pgsql-include-dir\=/usr/pkg/include/postgresql --with-pgsql-lib-dir\=/usr/pkg/lib Calling libpq with GVL unlocked checking for pg_config... yes Using config values from /pbulk/work/databases/ruby-pg/work/.buildlink/bin/pg_config Using libpq from /usr/pkg/lib checking for libpq-fe.h... yes checking for libpq/libpq-fs.h... yes checking for pg_config_manual.h... yes checking for PQconnectdb() in -lpq... yes checking for PQconninfo() in libpq-fe.h... yes checking for PQsslAttribute() in libpq-fe.h... yes checking for PQresultVerboseErrorMessage() in libpq-fe.h... yes checking for PQencryptPasswordConn() in libpq-fe.h... yes checking for PQresultMemorySize() in libpq-fe.h... yes checking for PQenterPipelineMode() in libpq-fe.h... yes checking for timegm()... yes checking for rb_gc_adjust_memory_usage()... yes checking for rb_gc_mark_movable()... yes checking for rb_io_wait()... yes checking for rb_io_descriptor()... yes checking for unistd.h... yes checking for inttypes.h... yes checking for C99 variable length arrays... yes creating extconf.h creating Makefile current directory: /pbulk/work/databases/ruby-pg/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/pg-1.5.9/ext make DESTDIR\= sitearchdir\=./.gem.20250101-25567-r4svft sitelibdir\=./.gem.20250101-25567-r4svft clean current directory: /pbulk/work/databases/ruby-pg/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/pg-1.5.9/ext make DESTDIR\= sitearchdir\=./.gem.20250101-25567-r4svft sitelibdir\=./.gem.20250101-25567-r4svft compiling gvl_wrappers.c In file included from pg.h:60:0, from gvl_wrappers.c:6: /pbulk/work/databases/ruby-pg/work/.buildlink/include/pg_config.h:816:0: warning: "restrict" redefined #define restrict __restrict In file included from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/internal/config.h:22:0, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:15, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from pg.h:21, from gvl_wrappers.c:6: /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/i486-netbsdelf/ruby/config.h:66:0: note: this is the location of the previous definition #define restrict __restrict__ compiling pg.c In file included from pg.h:60:0, from pg.c:48: /pbulk/work/databases/ruby-pg/work/.buildlink/include/pg_config.h:816:0: warning: "restrict" redefined #define restrict __restrict In file included from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/internal/config.h:22:0, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:15, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from pg.h:21, from pg.c:48: /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/i486-netbsdelf/ruby/config.h:66:0: note: this is the location of the previous definition #define restrict __restrict__ compiling pg_binary_decoder.c In file included from pg.h:60:0, from pg_binary_decoder.c:8: /pbulk/work/databases/ruby-pg/work/.buildlink/include/pg_config.h:816:0: warning: "restrict" redefined #define restrict __restrict In file included from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/internal/config.h:22:0, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:15, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from pg.h:21, from pg_binary_decoder.c:8: /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/i486-netbsdelf/ruby/config.h:66:0: note: this is the location of the previous definition #define restrict __restrict__ compiling pg_binary_encoder.c In file included from pg.h:60:0, from pg_binary_encoder.c:7: /pbulk/work/databases/ruby-pg/work/.buildlink/include/pg_config.h:816:0: warning: "restrict" redefined #define restrict __restrict In file included from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/internal/config.h:22:0, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:15, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from pg.h:21, from pg_binary_encoder.c:7: /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/i486-netbsdelf/ruby/config.h:66:0: note: this is the location of the previous definition #define restrict __restrict__ compiling pg_coder.c In file included from pg.h:60:0, from pg_coder.c:6: /pbulk/work/databases/ruby-pg/work/.buildlink/include/pg_config.h:816:0: warning: "restrict" redefined #define restrict __restrict In file included from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/internal/config.h:22:0, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:15, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from pg.h:21, from pg_coder.c:6: /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/i486-netbsdelf/ruby/config.h:66:0: note: this is the location of the previous definition #define restrict __restrict__ compiling pg_connection.c In file included from pg.h:60:0, from pg_connection.c:7: /pbulk/work/databases/ruby-pg/work/.buildlink/include/pg_config.h:816:0: warning: "restrict" redefined #define restrict __restrict In file included from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/internal/config.h:22:0, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:15, from /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from pg.h:21, from pg_connection.c:7: /pbulk/work/databases/ruby-pg/work/.buildlink/include/ruby-3.1.0/i486-netbsdelf/ruby/config.h:66:0: note: this is the location of the previous definition #define restrict __restrict__ compiling pg_copy_coder.c In file included from pg_copy_coder.c:6:0: pg.h:23:10: fatal error: ruby/encoding.h: No such file or directory #include "ruby/encoding.h" ^~~~~~~~~~~~~~~~~ compilation terminated. *** Error code 1 Stop. make: stopped in /pbulk/work/databases/ruby-pg/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/pg-1.5.9/ext make failed, exit code 1 Gem files will remain installed in /pbulk/work/databases/ruby-pg/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/pg-1.5.9 for inspection. Results logged to /pbulk/work/databases/ruby-pg/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/extensions/i486-netbsdelf/3.1.0/pg-1.5.9/gem_make.out *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/databases/ruby-pg *** Error code 1 Stop. make: stopped in /usr/pkgsrc/databases/ruby-pg