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

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 20 Sep 2023 13:28:01 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/foul2/data/132powerpc64le-quarterly/99a6c47c25cb/logs/websh-3.6.0b5_8.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=132powerpc64le-quarterly&build=99a6c47c25cb
Log:

=>> Building www/websh
build started at Wed Sep 20 13:26:05 UTC 2023
port directory: /usr/ports/www/websh
package name: websh-3.6.0b5_8
building for: FreeBSD 132powerpc64le-quarterly-job-16 13.2-RELEASE FreeBSD 13.2-RELEASE powerpc
maintained by: mi@aldan.algebra.com
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1302001
Job Id: 16

---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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/132powerpc64le-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/132powerpc64le-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132powerpc64le-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/132powerpc64le-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
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
#### /usr/local/etc/poudriere.d/make.conf ####
# 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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: powerpc64le-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: powerpc64le-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: powerpc64le-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64le
OPSYS=FreeBSD
_OSRELEASE=13.2-RELEASE
OSREL=13.2
OSVERSION=1302001
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1024
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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   websh-3.6.0b5_8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.2.pkg
[132powerpc64le-quarterly-job-16] Installing pkg-1.19.2...
[132powerpc64le-quarterly-job-16] Extracting pkg-1.19.2: .......... 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  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by websh-3.6.0b5_8 for building
===========================================================================
=======================<phase: checksum       >============================
===> 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>============================
===========================================================================
=======================<phase: extract        >============================
===> 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  >============================
===========================================================================
=======================<phase: patch          >============================
===>  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  >============================
===>   websh-3.6.0b5_8 depends on file: /usr/local/sbin/apxs - not found
===>   Installing existing package /packages/All/apache24-2.4.57_1.pkg
[132powerpc64le-quarterly-job-16] Installing apache24-2.4.57_1...
[132powerpc64le-quarterly-job-16] `-- Installing apr-1.7.3.1.6.3_1...
[132powerpc64le-quarterly-job-16] |   `-- Installing db18-18.1.40...
[132powerpc64le-quarterly-job-16] |   `-- Extracting db18-18.1.40: .......... done
[132powerpc64le-quarterly-job-16] |   `-- Installing expat-2.5.0...
[132powerpc64le-quarterly-job-16] |   `-- Extracting expat-2.5.0: .......... done
[132powerpc64le-quarterly-job-16] |   `-- Installing gdbm-1.23...
[132powerpc64le-quarterly-job-16] |   | `-- Installing gettext-runtime-0.21.1...
[132powerpc64le-quarterly-job-16] |   |   `-- Installing indexinfo-0.3.1...
<snip>
Tests began at Wed Sep 20 13:27:30 +0000 2023
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: <<1695216450>>
---- 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: <<1695216450>>
---- 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
09/20/23 13:27:31 [55932] user.debug: test
09/20/23 13:27:31 [55932] user.debug: test
09/20/23 13:27:31 [55932] user.debug: test
09/20/23 13:27:31 [55932] 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 Wed Sep 20 13:27:31 +0000 2023

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