Bug 248411 - graphics/rawtherapee smoke tests fail, causing pkg build failure
Summary: graphics/rawtherapee smoke tests fail, causing pkg build failure
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Matthias Andree
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-01 13:44 UTC by tech-lists
Modified: 2020-08-01 21:12 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mandree)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tech-lists 2020-08-01 13:44:44 UTC
Hi,

[00:00:02] =>> Building graphics/rawtherapee
[00:00:02] build started at Sat Aug  1 06:31:48 BST 2020
[00:00:02] port directory: /usr/ports/graphics/rawtherapee
[00:00:02] package name: rawtherapee-5.8_5
[00:00:02] building for: FreeBSD pkg.zyxst.net 12.1-STABLE FreeBSD 12.1-STABLE 1201520 amd64
[00:00:02] maintained by: mandree@FreeBSD.org
[00:00:02] Makefile ident:      $FreeBSD: head/graphics/rawtherapee/Makefile 538813 2020-06-14 15:32:32Z mandree $
[00:00:02] Poudriere version: 3.3.99.20200326
[00:00:02] Host OSVERSION: 1201519
[00:00:02] Jail OSVERSION: 1201520

[...]

[00:00:02] ---Begin Poudriere Port Flags/Env---
[00:00:02] PORT_FLAGS=
[00:00:02] PKGENV=
[00:00:02] FLAVOR=
[00:00:02] DEPENDS_ARGS=
[00:00:02] MAKE_ARGS=
[00:00:02] ---End Poudriere Port Flags/Env---
[00:00:02] 
[00:00:02] ---Begin OPTIONS List---
[00:00:02] ===> The following configuration options are available for rawtherapee-5.8_5:
[00:00:02]      DOCS=on: Build and/or install documentation
[00:00:02]      NATIVE=off: Use -march=native (avoid for generic packages!)
[00:00:02]      OPENMP=on: Enable OpenMP parallel processing (i386/amd64 only)
[00:00:02]      TCMALLOC=on: Use Google's tcmalloc instead of system allocator
[00:00:02] ===> Use 'make config' to modify these settings
[00:00:02] ---End OPTIONS List---

failure happens here:

[00:04:17] ===> Running smoke tests
[00:04:17] /bin/mkdir -p /wrkdirs/usr/ports/graphics/rawtherapee/work/rt-config /wrkdirs/usr/ports/graphics/rawtherapee/work/rt-config/dcpprofiles /wrkdirs/usr/ports/graphics/rawtherapee/work/rt-config/profiles
[00:04:17] cp -f /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-5.8/rtengine/camconst.json /wrkdirs/usr/ports/graphics/rawtherapee/work/rt-config
[00:04:17] cp -f /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-5.8/rtdata/options/options.lin /wrkdirs/usr/ports/graphics/rawtherapee/work/rt-config/options
[00:04:17] (cd /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-5.8/rtdata/ && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "profiles dcpprofiles" /wrkdirs/usr/ports/graphics/rawtherapee/work/rt-config )
[00:04:17] + /usr/bin/mktemp -d -t rawtherapee
[00:04:17] + TMP=/tmp/rawtherapee.UFeJNEJb
[00:04:17] + trap 'rc=0 ; /bin/rm -f -rf "/tmp/rawtherapee.UFeJNEJb" ; exit $rc' 0
[00:04:17] + set +e
[00:04:17] + /usr/bin/env 'LANG=' 'LC_ALL=C' 'LANGUAGE=' 'DISPLAY=' 'HOME=/tmp/rawtherapee.UFeJNEJb' 'RT_SETTINGS=/wrkdirs/usr/ports/graphics/rawtherapee/work/rt-config' 'RT_CACHE=/tmp/rawtherapee.UFeJNEJb/rtcache' /wrkdirs/usr/ports/graphics/rawtherapee/work/stage/usr/local/bin/rawtherapee -v
[00:04:17] + /usr/bin/egrep -q 'RawTherapee, version 5.8|cannot open display:'
[00:04:17] + echo 0
[00:04:17] + /usr/bin/egrep -q 'RawTherapee, version 5.8'
[00:04:17] + set +e
[00:04:17] + /usr/bin/env 'LANG=' 'LC_ALL=C' 'LANGUAGE=' 'DISPLAY=' 'HOME=/tmp/rawtherapee.UFeJNEJb' 'RT_SETTINGS=/wrkdirs/usr/ports/graphics/rawtherapee/work/rt-config' 'RT_CACHE=/tmp/rawtherapee.UFeJNEJb/rtcache' /wrkdirs/usr/ports/graphics/rawtherapee/work/stage/usr/local/bin/rawtherapee-cli
[00:04:17] Error: the user's processing profile path doesn't point to a directory or doesn't exist!
[00:04:17] 
[00:04:17] Could not open camera constants file "/usr/local/share/rawtherapee/camconst.json": No such file or directory
[00:04:17] 
[00:04:17] The default profile for raw photos could not be found or is not set.
[00:04:17] Please check your profiles' directory, it may be missing or damaged.
[00:04:17] "${G}/Auto-Matched Curve - ISO Low" will be used instead.
[00:04:17] 
[00:04:17] 
[00:04:17] The bundled profile "${G}/Auto-Matched Curve - ISO Low" could not be found!
[00:04:17] Your installation could be damaged.
[00:04:17] Default internal values will be used instead.
[00:04:17] 
[00:04:17] + echo 141
[00:04:17] + expect='0\n0\n'
[00:04:17] + ls '/usr/ports/graphics/rawtherapee/files/../testimages/*'
[00:04:17] + head -1
[00:04:17] ls: /usr/ports/graphics/rawtherapee/files/../testimages/*: No such file or directory
[00:04:17] + onefile=''
[00:04:17] + test -d /usr/ports/graphics/rawtherapee/files/../testimages
[00:04:17] + ls -Rlbai /usr/ports/graphics/rawtherapee/files/../testimages /tmp/rawtherapee.UFeJNEJb
[00:04:17] ls: /usr/ports/graphics/rawtherapee/files/../testimages: No such file or directory
[00:04:17] /tmp/rawtherapee.UFeJNEJb:
[00:04:17] total 0
[00:04:17] 55854 drwx------  2 root  wheel   0 Aug  1 05:35 .
[00:04:17]  4940 drwxrwxrwt  3 root  wheel  64 Aug  1 05:35 ..
[00:04:17] + :
[00:04:17] + /usr/bin/printf %s '0\n0\n'
[00:04:17] + rc=0
[00:04:17] + /bin/rm -f -rf /tmp/rawtherapee.UFeJNEJb
[00:04:17] + exit 0
[00:04:17] stdin /wrkdirs/usr/ports/graphics/rawtherapee/work/selftest.exitcodes differ: char 3, line 2
[00:04:17] ===> !!! SELF-TEST FAILED !!! <===
[00:04:17] *** Error code 1
[00:04:17] 
[00:04:17] Stop.
[00:04:17] make: stopped in /usr/ports/graphics/rawtherapee
[00:06:02] =>> Cleaning up wrkdir
[00:06:02] ===>  Cleaning for rawtherapee-5.8_5
[00:06:02] build of graphics/rawtherapee | rawtherapee-5.8_5 ended at Sat Aug  1 06:37:49 BST 2020
[00:06:02] build time: 00:06:01
[00:06:02] !!! build failure encountered !!!
Comment 1 Matthias Andree freebsd_committer 2020-08-01 21:12:29 UTC
Please retest with a host that is updated at a minimum to the same level as the jail. SIGPIPE (141 - 128 = 13) should not happen during testing.

[00:00:02] Host OSVERSION: 1201519
[00:00:02] Jail OSVERSION: 1201520