Bug 250798 - www/rt50: The ports don't build on poudriere
Summary: www/rt50: The ports don't build on poudriere
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Mikael Urankar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-02 08:39 UTC by albert.shih
Modified: 2020-11-02 15:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description albert.shih 2020-11-02 08:39:53 UTC
Hi everyone,

The port www/rt50 don't build inside a 12.1-RELEASE-p10 pourdriere jail, with this error 

 ===========================================================================
=======================<phase: stage          >============================
===>  Staging for rt50-5.0.0_1
===>   Generating temporary packing list
===> Creating groups.
===> Creating users
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/etc/rt50
/usr/bin/install -c -m 0440 etc/RT_Config.pm /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/etc/rt50/RT_Config.pm
[ -f /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/etc/rt50/RT_SiteConfig.pm-dist ] || /usr/bin/install -c -m 0640 etc/RT_SiteConfig.pm /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/etc/rt50/RT_SiteConfig.pm-dist
Installed configuration. About to install RT in  /usr/local
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/var/log
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/fonts
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/po
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/static
/usr/bin/install -c -m 0770 -d /wrkdirs/usr/ports/www/rt50/work/stage/var/run/rt50/mason_data
/usr/bin/install -c -m 0770 -d /wrkdirs/usr/ports/www/rt50/work/stage/var/run/rt50/mason_data/cache
/usr/bin/install -c -m 0770 -d /wrkdirs/usr/ports/www/rt50/work/stage/var/run/rt50/mason_data/etc
/usr/bin/install -c -m 0770 -d /wrkdirs/usr/ports/www/rt50/work/stage/var/run/rt50/mason_data/obj
/usr/bin/install -c -m 0770 -d /wrkdirs/usr/ports/www/rt50/work/stage/var/run/rt50/session_data
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/html
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/www/rt50
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/etc
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/lib
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/plugins
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/po
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/static
[ -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/lib/perl5/site_perl ] || /usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/lib/perl5/site_perl
( cd lib && find . -type d -print ) | while read dir ; do  /usr/bin/install -c -m 0755 -d "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/lib/perl5/site_perl/$dir" ;  done
( cd lib && find . -type f -print ) | while read file ; do  /usr/bin/install -c -m 0644 "lib/$file" "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/lib/perl5/site_perl/$file" ;  done
[ -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/etc/rt50 ] || /usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/etc/rt50
[ -d "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/etc/rt50/RT_SiteConfig.d" ] || /usr/bin/install -c -m 0755 -d "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/etc/rt50/RT_SiteConfig.d"
for file in acl.Pg  acl.Oracle  acl.mysql  schema.Pg  schema.Oracle  schema.mysql  schema.SQLite  cpanfile  initialdata ; do  /usr/bin/install -c -m 0644 "etc/$file" "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/etc/rt50/" ;  done
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/bin
for file in rt-mailgate  rt  rt-crontool ; do  /usr/bin/install -c -m 0755 "bin/$file" "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/bin/" ;  done
/usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/sbin
for file in rt-attributes-viewer  rt-munge-attachments  rt-clean-sessions  rt-dump-initialdata  rt-dump-metadata  rt-email-dashboards  rt-email-digest  rt-email-group-admin  rt-externalize-attachments  rt-fulltext-indexer  rt-importer  rt-ldapimport  rt-passwd  rt-preferences-viewer  rt-search-attributes  rt-serializer  rt-server  rt-server.fcgi  rt-session-viewer  rt-setup-database  rt-setup-fulltext-index  rt-shredder  rt-test-dependencies  rt-validator  rt-validate-aliases  standalone_httpd ; do  /usr/bin/install -c -m 0755 "sbin/$file" "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/sbin/" ;  done
[ -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/html ] || /usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/html
( cd share/html && find . -type d -print ) | while read dir ; do  /usr/bin/install -c -m 0755 -d "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/html/$dir" ;  done
( cd share/html && find . -type f -print ) | while read file ; do  /usr/bin/install -c -m 0644 "share/html/$file" "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/html/$file" ;  done
/usr/bin/make clean-mason-cache
rm -rf /wrkdirs/usr/ports/www/rt50/work/stage/var/run/rt50/mason_data/cache/*
rm -rf /wrkdirs/usr/ports/www/rt50/work/stage/var/run/rt50/mason_data/etc/*
rm -rf /wrkdirs/usr/ports/www/rt50/work/stage/var/run/rt50/mason_data/obj/*
[ -f /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/doc/rt50 ] && rm /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/doc/rt50
*** Error code 1 (ignored)
[ -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/doc/rt50 ] || /usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/doc/rt50
( cd docs && find . -type d -print ) | while read dir ; do  /usr/bin/install -c -m 0755 -d "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/doc/rt50/$dir" ;  done
( cd docs && find . -type f -print ) | while read file ; do  /usr/bin/install -c -m 0644 "docs/$file" "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/doc/rt50/$file" ;  done
/usr/bin/install -c -m 0644 ./README /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/doc/rt50/
[ -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/fonts ] || /usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/fonts
( cd share/fonts && find . -type f -print ) | while read file ; do  /usr/bin/install -c -m 0644 "share/fonts/$file" "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/fonts/$file" ;  done
[ -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/po ] || /usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/po
( cd share/po && find . -type f -print ) | while read file ; do  /usr/bin/install -c -m 0644 "share/po/$file" "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/po/$file" ;  done
[ -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/static ] || /usr/bin/install -c -m 0755 -d /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/static
( cd share/static && find . -type d -print ) | while read dir ; do  /usr/bin/install -c -m 0755 -d "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/static/$dir" ;  done
( cd share/static && find . -type f -print ) | while read file ; do  /usr/bin/install -c -m 0644 "share/static/$file" "/wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/static/$file" ;  done
/bin/mkdir -p /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/doc/rt50/upgrade
(cd /wrkdirs/usr/ports/www/rt50/work/rt-5.0.0/etc &&  /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 upgrade /wrkdirs/usr/ports/www/rt50/work/
stage/usr/local/share/doc/rt50 "! -name *\.in")
====> Compressing man pages (compress-man)
===========================================================================
=======================<phase: package        >============================
===>  Building package for rt50-5.0.0_1
pkg-static: Unable to access file /wrkdirs/usr/ports/www/rt50/work/stage/usr/local/share/rt50/html/Admin/Tools/Shredder/Elements/Object/RT-%%AP_MOD_EN%%ttachment:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/www/rt50
=>> Cleaning up wrkdir
===>  Cleaning for rt50-5.0.0_1
build of www/rt50 | rt50-5.0.0_1 ended at Sat Oct 31 21:44:50 CET 2020
build time: 00:01:37
!!! build failure encountered !!!


Here the option I used for the ports

_OPTIONS_READ=rt50-5.0.0_1
_FILE_COMPLETE_OPTIONS_LIST=DEVELOPER DOCS EXTERNALAUTH GD GPG GRAPHVIZ SMIME MYSQL PGSQL SQLITE AP_MODFASTCGI AP_MODPERL LIGHTTPD SPAWN
_FCGI
OPTIONS_FILE_UNSET+=DEVELOPER
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_SET+=EXTERNALAUTH
OPTIONS_FILE_SET+=GD
OPTIONS_FILE_SET+=GPG
OPTIONS_FILE_SET+=GRAPHVIZ
OPTIONS_FILE_SET+=SMIME
OPTIONS_FILE_SET+=MYSQL
OPTIONS_FILE_UNSET+=PGSQL
OPTIONS_FILE_UNSET+=SQLITE
OPTIONS_FILE_UNSET+=AP_MODFASTCGI
OPTIONS_FILE_SET+=AP_MODPERL
OPTIONS_FILE_UNSET+=LIGHTTPD
OPTIONS_FILE_UNSET+=SPAWN_FCGI

Regards
Comment 1 commit-hook freebsd_committer 2020-11-02 15:51:18 UTC
A commit references this bug:

Author: mikael
Date: Mon Nov  2 15:51:00 UTC 2020
New revision: 553914
URL: https://svnweb.freebsd.org/changeset/ports/553914

Log:
  www/rt50: fix bad plist substitution

  PR:		250798
  Reported by:	albert.shih@obspm.fr

Changes:
  head/www/rt50/pkg-plist
Comment 2 Mikael Urankar freebsd_committer 2020-11-02 15:52:54 UTC
Corrigé, merci !