[package - 132powerpc64-quarterly][www/websh] Failed for websh-3.6.0b5_8 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 07 Jan 2024 09:56:15 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:     mi@aldan.algebra.com
Log URL:        https://pkg-status.freebsd.org/foul1/data/132powerpc64-quarterly/294d1b3c41db/logs/websh-3.6.0b5_8.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=132powerpc64-quarterly&build=294d1b3c41db
Log:

=>> Building www/websh
build started at Sun Jan  7 09:55:05 UTC 2024
port directory: /usr/ports/www/websh
package name: websh-3.6.0b5_8
building for: FreeBSD 132powerpc64-quarterly-job-02 13.2-RELEASE FreeBSD 13.2-RELEASE powerpc
maintained by: mi@aldan.algebra.com
Makefile datestamp: -rw-r--r--  1 root  wheel  3105 Oct 17 01:03 /usr/ports/www/websh/Makefile
Ports top last git commit: 294d1b3c4
Ports top unclean checkout: no
Port dir last git commit: b41c26148
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500003
Jail OSVERSION: 1302001
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE
UNAME_r=13.2-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/132powerpc64-quarterly/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/132powerpc64-quarterly/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132powerpc64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
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---
===> The following configuration options are available for websh-3.6.0b5_8:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
mi@aldan.algebra.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-httpdinclude=`apxs -q includedir` --exec-prefix=/usr/local  --with-tcl=/usr/local/lib/tcl8.6  --with-tclinclude=/usr/local/include/tcl8.6 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/www/websh/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/websh/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/websh/work/.cache  HOME=/wrkdirs/usr/ports/www/websh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/websh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/websh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/websh/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/websh/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/websh/work/.cache  HOME=/wrkdirs/usr/ports/www/websh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/websh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/websh/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 DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I /usr/local/include/apr-1 -Wall -Werror"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 5
 55"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
LIBSUF=360b5 NOMINORVERSION="@comment " PORTDOCS="" PORTEXAMPLES="" APACHEMODDIR="libexec/apache24"  APACHEINCLUDEDIR="include/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" AP_NAME="websh" AP_MODULE="websh.so" TCL_PKG=websh3.6.0b5 OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib AP_MOD_EN="-A" DOCSDIR="share/doc/websh"  EXAMPLESDIR="share/examples/websh"  DATADIR="share/websh"  WWWDIR="www/websh"  ETCDIR="etc/websh"
--End PLIST_SUB--

--SUB_LIST--
LIBSUF=360b5 WS_VER=3.6.0b5 APACHEETCDIR=etc/apache24 APACHEMODDIR=libexec/apache24 APACHEMODDIR="libexec/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/websh DOCSDIR=/usr/local/share/doc/websh EXAMPLESDIR=/usr/local/share/examples/websh  WWWDIR=/usr/local/www/websh ETCDIR=/usr/local/etc/websh
--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
####  ####
# 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
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   websh-3.6.0b5_8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[132powerpc64-quarterly-job-02] Installing pkg-1.20.9...
[132powerpc64-quarterly-job-02] Extracting pkg-1.20.9: .......... done
===>   websh-3.6.0b5_8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of websh-3.6.0b5_8
===========================================================================
=======================<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
===> Fetching all distfiles required by websh-3.6.0b5_8 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by websh-3.6.0b5_8 for building
=> SHA256 Checksum OK for websh-3.6.0b5-src.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
===> Fetching all distfiles required by websh-3.6.0b5_8 for building
===>  Extracting for websh-3.6.0b5_8
=> SHA256 Checksum OK for websh-3.6.0b5-src.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 websh-3.6.0b5_8
===>  Applying FreeBSD patches for websh-3.6.0b5_8 from /usr/ports/www/websh/files
/usr/bin/sed -i.bak -e 's,/usr/local/websh,/usr/local,'  /wrkdirs/usr/ports/www/websh/work/websh-3.6.0b5/doc/mod_websh/conf/websh.conf
for p in /wrkdirs/usr/ports/www/websh/work/websh-3.6.0b5/doc/mod_websh/htdocs/*.html ; do	 /usr/bin/sed -e 's,\.html,.whtml,g' < $p >	 `/usr/bin/dirname $p`/`/usr/bin/basename $p .html`.whtml;	 done
/usr/bin/sed -i.bak -e 's,\.html,.whtml,g' /wrkdirs/usr/ports/www/websh/work/websh-3.6.0b5/doc/mod_websh/htdocs/*.ws3
/usr/bin/sed -i.bak -e 's|__declspec(dllexport)|DLLEXPORT|'  /wrkdirs/usr/ports/www/websh/work/websh-3.6.0b5/src/generic/*.[ch]
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   websh-3.6.0b5_8 depends on file: /usr/local/sbin/apxs - not found
===>   Installing existing package /packages/All/apache24-2.4.58_1.pkg
[132powerpc64-quarterly-job-02] Installing apache24-2.4.58_1...
[132powerpc64-quarterly-job-02] `-- Installing apr-1.7.3.1.6.3_1...
[132powerpc64-quarterly-job-02] |   `-- Installing db18-18.1.40...
[132powerpc64-quarterly-job-02] |   `-- Extracting db18-18.1.40: .......... done
[132powerpc64-quarterly-job-02] |   `-- Installing expat-2.5.0...
[132powerpc64-quarterly-job-02] |   `-- Extracting expat-2.5.0: .......... done
[132powerpc64-quarterly-job-02] |   `-- Installing gdbm-1.23...
[132powerpc64-quarterly-job-02] |   | `-- Installing gettext-runtime-0.22_1...
[132powerpc64-quarterly-job-02] |   |   `-- Installing indexinfo-0.3.1...
[132powerpc64-quarterly-job-02] |   |   `-- Extracting indexinfo-0.3.1: .... done
[132powerpc64-quarterly-job-02] |   | `-- Extracting gettext-runtime-0.22_1: .......... done
[132powerpc64-quarterly-job-02] |   | `-- Installing readline-8.2.1...
[132powerpc64-quarterly-job-02] |   | `-- Extracting readline-8.2.1: .......... done
[132powerpc64-quarterly-job-02] |   `-- Extracting gdbm-1.23: .......... done
[132powerpc64-quarterly-job-02] `-- Extracting apr-1.7.3.1.6.3_1: .......... done
[132powerpc64-quarterly-job-02] `-- Installing curl-8.5.0...
[132powerpc64-quarterly-job-02] |   `-- Installing libnghttp2-1.57.0...
[132powerpc64-quarterly-job-02] |   `-- Extracting libnghttp2-1.57.0: .......... done
[132powerpc64-quarterly-job-02] |   `-- Installing libpsl-0.21.2_3...
[132powerpc64-quarterly-job-02] |   | `-- Installing libidn2-2.3.4...
<snip>
Tests began at Sun Jan 07 09:56:13 +0000 2024
Running test file cfg.test
Running test file cmdurl.test
Running test file command.test
Running test file context.test
Running test file cookiecontext.test


==== cookiecontext-1.1 create a cookie-context FAILED
==== Contents of test case:


    if {[info exists text]} {unset text}

    web::response -select #text
    web::response -reset
    web::response -set Generator "cookiecontext-1.1"
    web::cookiecontext cctx -path "/some/app" -expires "today" -channel #text
    cctx::new myTestCookie
    cctx::cset somekey somevalue
    cctx::commit
    web::put "Websh"
    namespace delete cctx

    set text

    set now [clock seconds]

    # expected cookie pattern
    set pattern "Content-Type: text/html\u0D
Set-Cookie: myTestCookie=XDZ0YDSy89ppeUCWTjjya38uY4Kn88; expires=(.*); path=/some/app\u0D
Generator: cookiecontext-1.1\u0D
\u0D
Websh"

    if {[regexp $pattern $text dummy timestring]} {
	set time [clock scan $timestring]
	set result [expr {($now - $time) < 2}]
        if {$result != 1} {
            set result "$timestring: $now vs. $time"
        }
        set result
    } else {
	set result "Text: <<$text>>, Now: <<$now>>"
    }


---- Result was:
Text: <<Content-Type: text/html
Set-Cookie: myTestCookie=XDZ0YDSy89ppeUCWTjjya38uY4Kn88; path=/some/app
Generator: cookiecontext-1.1

Websh>>, Now: <<1704621374>>
---- Result should have been (exact matching):
1
==== cookiecontext-1.1 FAILED



==== cookiecontext-1.1a create a cookie-context expiry tomorrow FAILED
==== Contents of test case:


    if {[info exists text1a]} {unset text1a}

    web::response -select #text1a
    web::response -reset
    web::response -set Generator "cookiecontext-1.1a"
    web::cookiecontext cctx -path "/some/app" -expires "24 hours" -channel #text1a
    cctx::new myTestCookie
    cctx::cset somekey somevalue
    cctx::commit
    web::put "Websh"
    namespace delete cctx

    set text1a

    set now [clock seconds]

    # expected cookie pattern
    set pattern "Content-Type: text/html\u0D
Set-Cookie: myTestCookie=XDZ0YDSy89ppeUCWTjjya38uY4Kn88; expires=(.*); path=/some/app\u0D
Generator: cookiecontext-1.1a\u0D
\u0D
Websh"

    if {[regexp $pattern $text1a dummy timestring]} {
	set time [clock scan $timestring]
	set result [expr {($now + 86400 - $time) < 2}]
        if {$result != 1} {
            set result "$timestring: $now vs. $time"
        }
        set result
    } else {
	set result "Text: <<$text1a>>, Now: <<$now>>"
    }


---- Result was:
Text: <<Content-Type: text/html
Set-Cookie: myTestCookie=XDZ0YDSy89ppeUCWTjjya38uY4Kn88; path=/some/app
Generator: cookiecontext-1.1a

Websh>>, Now: <<1704621374>>
---- Result should have been (exact matching):
1
==== cookiecontext-1.1a FAILED



==== cookiecontext-1.1a1 create a cookie-context expiry default FAILED
==== Contents of test case:


    if {[info exists text1a1]} {unset text1a1}

    web::response -select #text1a1
    web::response -reset
    web::response -set Generator "cookiecontext-1.1a1"
    web::cookiecontext cctx -path "/some/app" -channel #text1a1
    cctx::new myTestCookie
    cctx::cset somekey somevalue
    cctx::commit
    web::put "Websh"
    namespace delete cctx

    set text1a1

    set now [clock seconds]

    # expected cookie pattern
    set pattern "Content-Type: text/html\u0D
Set-Cookie: myTestCookie=XDZ0YDSy89ppeUCWTjjya38uY4Kn88; expires=(.*); path=/some/app\u0D
Generator: cookiecontext-1.1a1\u0D
\u0D
Websh"

    if {[regexp $pattern $text1a1 dummy timestring]} {
	set time [clock scan $timestring]
	set result [expr {($now + 86400 - $time) < 2}]
    } else {
	set result 0
    }


---- Result was:
0
---- Result should have been (exact matching):
1
==== cookiecontext-1.1a1 FAILED

Running test file dehtmlify.test
Running test file dispatch.test
Running test file encrypt.test
Running test file filecontext.test
Running test file filecounter.test
Running test file filelock.test
testing file locking: 10 concurrent processes with 100 file locks each
(this may take a while...) done
Running test file formvar.test
Running test file htmlify.test
Running test file log.test
01/07/24 09:56:14 [24694] user.debug: test
01/07/24 09:56:14 [24694] user.debug: test
01/07/24 09:56:14 [24694] user.debug: test
01/07/24 09:56:14 [24694] user.debug: test
Running test file logtochannel.test
Running test file logtocmd.test
Running test file logtofile.test
Running test file logtosyslog.test
Running test file messages.test
Running test file mintest.test
Using tclsh8.6 to test loading of ../unix/libwebsh360b5.so.1
Running test file msc.test
Running test file ncad.test
Running test file nocrypt.test
Running test file param.test
Running test file request.test
Running test file script.test
Running test file time.test
Running test file uricode.test
Running test file webout.test
Content-Type: text/html
Generator: websh 3.6.0b5

test completed
Tests ended at Sun Jan 07 09:56:15 +0000 2024

webtest.ws3:	Total	471	Passed	462	Skipped	6	Failed	3
Sourced 0 Test Files.
Files with failing tests: cookiecontext.test
Number of tests skipped for each constraint:
	4	emptyTest
	1	pcOnly
	1	sysLogUnreadableOrNotFound
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/websh/work/websh-3.6.0b5/src/unix'
*** Error code 1

Stop.
make: stopped in /usr/ports/www/websh