[Bug 288152] databases/mongosh: update 2.3.8 → 2.5.5
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 288152] databases/mongosh: update 2.3.8 → 2.5.5"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Aug 2025 16:38:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288152
--- Comment #2 from Fabien Amelinck <fabien.amelinck+freebsd@advens.fr> ---
(In reply to Hiroki Tagato from comment #1)
I am currently working on command direct use but I am facing another issue with
the /tmp directory replacement.
First, if I use ${TMPDIR} as initial path, would it be nicer ?
Otherwise, I will use ${WRKDIR}/tmp as you suggested.
But I tried it for the checkpoint file and it does not work with my bypass
condition.
I don't know why "post-fetch" phase is executed multiple times and causes a
fetch error in the extract phase when network is down.
This condition does not work ".if !exists(${WRKDIR}/checkpoint)" but ".if
!exists(/tmp/checkpoint)" does and I don't know why.
===========================================================================
=======================<phase: fetch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License APACHE20 accepted by the user
===> Fetching all distfiles required by mongosh-2.5.5 for building
/bin/mkdir -p -v /wrkdirs/usr/ports/databases/mongosh/work
ls -laFGh /wrkdirs/usr/ports/databases/mongosh/work
total 0
drwxr-xr-x 2 root wheel 0B Aug 4 16:25 ./
drwxr-xr-x 3 root wheel 64B Aug 4 16:25 ../
/usr/bin/fetch -Fpr -o /portdistfiles/mongosh
https://nodejs.org/dist/v22.17.0/node-v22.17.0.tar.gz
/portdistfiles/mongosh/node-v22.17.0.tar.gz 95 MB 97 MBps 01s
/usr/bin/fetch -Fpr -o /portdistfiles/mongosh
https://nodejs.org/dist/v22.17.0/SHASUMS256.txt
/portdistfiles/mongosh/SHASUMS256.txt 3777 B 45 MBps 00s
/usr/bin/touch /wrkdirs/usr/ports/databases/mongosh/work/checkpoint
===========================================================================
=======================<phase: checksum >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License APACHE20 accepted by the user
===> Fetching all distfiles required by mongosh-2.5.5 for building
/bin/mkdir -p -v /wrkdirs/usr/ports/databases/mongosh/work
ls -laFGh /wrkdirs/usr/ports/databases/mongosh/work
total 0
drwxr-xr-x 2 root wheel 64B Aug 4 16:25 ./
drwxr-xr-x 3 root wheel 64B Aug 4 16:25 ../
-rw-r--r-- 1 root wheel 0B Aug 4 16:25 checkpoint
/usr/bin/fetch -Fpr -o /portdistfiles/mongosh
https://nodejs.org/dist/v22.17.0/node-v22.17.0.tar.gz
/usr/bin/fetch -Fpr -o /portdistfiles/mongosh
https://nodejs.org/dist/v22.17.0/SHASUMS256.txt
/usr/bin/touch /wrkdirs/usr/ports/databases/mongosh/work/checkpoint
===========================================================================
=======================<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 APACHE20 accepted by the user
===> Fetching all distfiles required by mongosh-2.5.5 for building
/bin/mkdir -p -v /wrkdirs/usr/ports/databases/mongosh/work
ls -laFGh /wrkdirs/usr/ports/databases/mongosh/work
total 0
drwxr-xr-x 2 root wheel 64B Aug 4 16:25 ./
drwxr-xr-x 3 root wheel 64B Aug 4 16:25 ../
-rw-r--r-- 1 root wheel 0B Aug 4 16:26 checkpoint
/usr/bin/fetch -Fpr -o /portdistfiles/mongosh
https://nodejs.org/dist/v22.17.0/node-v22.17.0.tar.gz
fetch: https://nodejs.org/dist/v22.17.0/node-v22.17.0.tar.gz: Non-recoverable
resolver failure
*** Error code 1
Stop.
make: stopped in /usr/ports/databases/mongosh
=>> Cleaning up wrkdir
===> Cleaning for mongosh-2.5.5
build of databases/mongosh | mongosh-2.5.5 ended at Mon Aug 4 16:26:15 UTC
2025
build time: 00:00:51
!!! build failure encountered !!!
--
You are receiving this mail because:
You are the assignee for the bug.