[package - 142i386-default][lang/p5-JavaScript-QuickJS] Failed for p5-JavaScript-QuickJS-0.21_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 04 Sep 2025 02:12:23 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     sunpoet@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy21/data/142i386-default/4aaf5f3c0b5a/logs/p5-JavaScript-QuickJS-0.21_1.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=142i386-default&build=4aaf5f3c0b5a
Log:

=>> Building lang/p5-JavaScript-QuickJS
build started at Thu Sep  4 02:12:03 UTC 2025
port directory: /usr/ports/lang/p5-JavaScript-QuickJS
package name: p5-JavaScript-QuickJS-0.21_1
building for: FreeBSD 142i386-default-job-37 14.2-RELEASE-p5 FreeBSD 14.2-RELEASE-p5 i386
maintained by: sunpoet@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1017 Feb 20  2025 /usr/ports/lang/p5-JavaScript-QuickJS/Makefile
Ports top last git commit: 4aaf5f3c0b
Ports top unclean checkout: no
Port dir last git commit: c933386b27
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3
Host OSVERSION: 1500052
Jail OSVERSION: 1402000
Job Id: 37

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1402000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.2-RELEASE-p5
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.2-RELEASE-p5
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.3
MASTERMNT=/usr/local/poudriere/data/.m/142i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/142i386-default/37/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=142i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/142i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
INSTALLDIRS="site" CC="cc" CCFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " LD="cc" PREFIX="/usr/local"  INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib"
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work/.cache  HOME=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES"
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work/.cache  HOME=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_
SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.42.0  PERL_VER=5.42  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.42 DOCSDIR="share/doc/JavaScript-QuickJS"  EXAMPLESDIR="share/examples/JavaScript-QuickJS"  DATADIR="share/JavaScript-QuickJS"  WWWDIR="www/JavaScript-QuickJS"  ETCDIR="etc/JavaScript-QuickJS"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/JavaScript-QuickJS DOCSDIR=/usr/local/share/doc/JavaScript-QuickJS EXAMPLESDIR=/usr/local/share/examples/JavaScript-QuickJS  WWWDIR=/usr/local/www/JavaScript-QuickJS ETCDIR=/usr/local/etc/JavaScript-QuickJS
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License ART10 GPLv1+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   p5-JavaScript-QuickJS-0.21_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.2.pkg
[142i386-default-job-37] Installing pkg-2.2.2...
[142i386-default-job-37] Extracting pkg-2.2.2: .......... done
===>   p5-JavaScript-QuickJS-0.21_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of p5-JavaScript-QuickJS-0.21_1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-JavaScript-QuickJS-0.21_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-JavaScript-QuickJS-0.21_1 for building
=> SHA256 Checksum OK for JavaScript-QuickJS-0.21.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-JavaScript-QuickJS-0.21_1 for building
===>  Extracting for p5-JavaScript-QuickJS-0.21_1
=> SHA256 Checksum OK for JavaScript-QuickJS-0.21.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for p5-JavaScript-QuickJS-0.21_1
===>  Applying FreeBSD patches for p5-JavaScript-QuickJS-0.21_1 from /usr/ports/lang/p5-JavaScript-QuickJS/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   p5-JavaScript-QuickJS-0.21_1 depends on package: p5-ExtUtils-MakeMaker-CPANfile>=0 - not found
===>   Installing existing package /packages/All/p5-ExtUtils-MakeMaker-CPANfile-0.09.pkg
[142i386-default-job-37] Installing p5-ExtUtils-MakeMaker-CPANfile-0.09...
[142i386-default-job-37] `-- Installing p5-Module-CPANfile-1.1004...
[142i386-default-job-37] |   `-- Installing perl5-5.42.0_1...
[142i386-default-job-37] |   `-- Extracting perl5-5.42.0_1: .......... done
[142i386-default-job-37] `-- Extracting p5-Module-CPANfile-1.1004: .......... done
[142i386-default-job-37] Extracting p5-ExtUtils-MakeMaker-CPANfile-0.09: ....... done
===>   p5-JavaScript-QuickJS-0.21_1 depends on package: p5-ExtUtils-MakeMaker-CPANfile>=0 - found
===>   Returning to build of p5-JavaScript-QuickJS-0.21_1
===>   p5-JavaScript-QuickJS-0.21_1 depends on package: p5-File-Slurper>=0 - not found
===>   Installing existing package /packages/All/p5-File-Slurper-0.014.pkg
[142i386-default-job-37] Installing p5-File-Slurper-0.014...
[142i386-default-job-37] Extracting p5-File-Slurper-0.014: ....... done
===>   p5-JavaScript-QuickJS-0.21_1 depends on package: p5-File-Slurper>=0 - found
===>   Returning to build of p5-JavaScript-QuickJS-0.21_1
===>   p5-JavaScript-QuickJS-0.21_1 depends on package: p5-File-Which>=0 - not found
===>   Installing existing package /packages/All/p5-File-Which-1.27.pkg
[142i386-default-job-37] Installing p5-File-Which-1.27...
[142i386-default-job-37] Extracting p5-File-Which-1.27: ....... done
===>   p5-JavaScript-QuickJS-0.21_1 depends on package: p5-File-Which>=0 - found
===>   Returning to build of p5-JavaScript-QuickJS-0.21_1
===>   p5-JavaScript-QuickJS-0.21_1 depends on package: perl5>=5.42.r<5.43 - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   p5-JavaScript-QuickJS-0.21_1 depends on shared library: libquickjs.so - not found
===>   Installing existing package /packages/All/quickjs-2025.04.26.20250709.pkg
[142i386-default-job-37] Installing quickjs-2025.04.26.20250709...
[142i386-default-job-37] Extracting quickjs-2025.04.26.20250709: .......... done
===>   p5-JavaScript-QuickJS-0.21_1 depends on shared library: libquickjs.so - found (/usr/local/lib/libquickjs.so)
===>   Returning to build of p5-JavaScript-QuickJS-0.21_1
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for p5-JavaScript-QuickJS-0.21_1
Checking whether this system needs to link to librt …
	… Guess not.
Checking whether stdatomic.h exists …
Warning: prerequisite Test::Deep 0 not found.
Warning: prerequisite Test::FailWarnings 0 not found.
Warning: prerequisite Test::Fatal 0 not found.
Warning: prerequisite Types::Serialiser 0 not found.
	… Looks like it.
Checking if your kit is complete...
Warning: the following files are missing in your kit:
	quickjs/Changelog
	quickjs/cutils.c
	quickjs/cutils.h
	quickjs/doc/jsbignum.texi
	quickjs/doc/quickjs.texi
	quickjs/examples/fib.c
	quickjs/examples/fib_module.js
	quickjs/examples/hello.js
	quickjs/examples/hello_module.js
	quickjs/examples/pi_bigdecimal.js
	quickjs/examples/pi_bigfloat.js
	quickjs/examples/pi_bigint.js
	quickjs/examples/point.c
	quickjs/examples/test_fib.js
	quickjs/examples/test_point.js
	quickjs/libbf.c
	quickjs/libbf.h
	quickjs/libregexp-opcode.h
	quickjs/libregexp.c
	quickjs/libregexp.h
	quickjs/libunicode-table.h
	quickjs/libunicode.c
	quickjs/libunicode.h
	quickjs/LICENSE
	quickjs/list.h
	quickjs/Makefile
	quickjs/qjs.c
	quickjs/qjsc.c
	quickjs/qjscalc.js
	quickjs/quickjs-atom.h
	quickjs/quickjs-libc.c
	quickjs/quickjs-libc.h
	quickjs/quickjs-opcode.h
	quickjs/quickjs.c
	quickjs/quickjs.h
	quickjs/readme.txt
	quickjs/release.sh
	quickjs/repl.js
	quickjs/run-test262.c
	quickjs/test262.conf
	quickjs/test262_errors.txt
	quickjs/test262o.conf
	quickjs/test262o_errors.txt
	quickjs/tests/bjson.c
	quickjs/tests/microbench.js
	quickjs/tests/test262.patch
	quickjs/tests/test_bignum.js
	quickjs/tests/test_bjson.js
	quickjs/tests/test_builtin.js
	quickjs/tests/test_closure.js
	quickjs/tests/test_language.js
	quickjs/tests/test_loop.js
	quickjs/tests/test_op_overloading.js
	quickjs/tests/test_qjscalc.js
	quickjs/tests/test_std.js
	quickjs/tests/test_worker.js
	quickjs/tests/test_worker_module.js
	quickjs/TODO
	quickjs/unicode_download.sh
	quickjs/unicode_gen.c
	quickjs/unicode_gen_def.h
	quickjs/VERSION
Please inform the author.
Generating a Unix-style Makefile
Writing Makefile for JavaScript::QuickJS
Writing MYMETA.yml and MYMETA.json
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for p5-JavaScript-QuickJS-0.21_1
cp lib/JavaScript/QuickJS/Promise.pm blib/lib/JavaScript/QuickJS/Promise.pm
cp lib/JavaScript/QuickJS/Function.pm blib/lib/JavaScript/QuickJS/Function.pm
cp lib/JavaScript/QuickJS/RegExp.pm blib/lib/JavaScript/QuickJS/RegExp.pm
cp lib/JavaScript/QuickJS.pm blib/lib/JavaScript/QuickJS.pm
cp lib/JavaScript/QuickJS/Date.pm blib/lib/JavaScript/QuickJS/Date.pm
Running Mkbootstrap for QuickJS ()
chmod 644 "QuickJS.bs"
"/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- QuickJS.bs blib/arch/auto/JavaScript/QuickJS/QuickJS.bs 644
"/usr/local/bin/perl" "/usr/local/lib/perl5/5.42/ExtUtils/xsubpp"  -typemap '/usr/local/lib/perl5/5.42/ExtUtils/typemap'  QuickJS.xs > QuickJS.xsc
mv QuickJS.xsc QuickJS.c
cc -c  -Wall --std=c99 -I. -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing    -DVERSION=\"0.21\"  -DXS_VERSION=\"0.21\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.42/mach/CORE"   QuickJS.c
QuickJS.xs:668:58: error: too few arguments to function call, expected 4, have 3
  668 |         moduledef = js_module_loader(ctx, real_path, NULL);
      |                     ~~~~~~~~~~~~~~~~                     ^
/usr/local/include/quickjs/quickjs-libc.h:49:14: note: 'js_module_loader' declared here
   49 | JSModuleDef *js_module_loader(JSContext *ctx,
      |              ^                ~~~~~~~~~~~~~~~
   50 |                               const char *module_name, void *opaque,
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   51 |                               JSValueConst attributes);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~
QuickJS.xs:671:60: error: too few arguments to function call, expected 4, have 3
  671 |         moduledef = js_module_loader(ctx, module_name, NULL);
      |                     ~~~~~~~~~~~~~~~~                       ^
/usr/local/include/quickjs/quickjs-libc.h:49:14: note: 'js_module_loader' declared here
   49 | JSModuleDef *js_module_loader(JSContext *ctx,
      |              ^                ~~~~~~~~~~~~~~~
   50 |                               const char *module_name, void *opaque,
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   51 |                               JSValueConst attributes);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~
QuickJS.xs:753:42: error: incompatible function pointer types passing 'JSModuleDef *(JSContext *, const char *, void *, JSValue)' (aka 'struct JSModuleDef *(struct JSContext *, const char *, void *, unsigned long long)') to parameter of type 'JSModuleLoaderFunc *' (aka 'struct JSModuleDef *(*)(struct JSContext *, const char *, void *)') [-Wincompatible-function-pointer-types]
  753 |         JS_SetModuleLoaderFunc(rt, NULL, js_module_loader, NULL);
      |                                          ^~~~~~~~~~~~~~~~
/usr/local/include/quickjs/quickjs.h:950:49: note: passing argument to parameter 'module_loader' here
  950 |                             JSModuleLoaderFunc *module_loader, void *opaque);
      |                                                 ^
QuickJS.xs:1041:29: warning: implicit conversion from 'IV' (aka 'long long') to 'NV' (aka 'double') changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
 1041 |                 if (nvval > IV_MAX || nvval < IV_MIN) {
      |                           ~ ^~~~~~
/usr/local/lib/perl5/5.42/mach/CORE/perl.h:2414:20: note: expanded from macro 'IV_MAX'
 2414 | #    define IV_MAX PERL_QUAD_MAX
      |                    ^~~~~~~~~~~~~
/usr/local/lib/perl5/5.42/mach/CORE/perl.h:3161:29: note: expanded from macro 'PERL_QUAD_MAX'
 3161 | #    define PERL_QUAD_MAX       ((IV) (PERL_UQUAD_MAX >> 1))
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 3 errors generated.
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/lang/p5-JavaScript-QuickJS/work/JavaScript-QuickJS-0.21
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/p5-JavaScript-QuickJS