Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2023 01:37:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274420] mail/spamassassin build fails due to chmod missing folders
Message-ID:  <bug-274420-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274420

            Bug ID: 274420
           Summary: mail/spamassassin build fails due to chmod missing
                    folders
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

Unfortunately there seems to be some missing files or folers. The following
from:

FreeBSD 102 12.4-STABLE FreeBSD 12.4-STABLE #1 myworkingbranch-b40ded9f0-di=
rty:
Sun Oct  8 04:12:08 AEDT 2023=20=20=20=20
root@102:/big/obj/big/src/amd64.amd64/sys/BSD12 amd64 1204500 1204500

The OS is recently built, and /usr/ports were git updated within this week.

Please note the WRKDIRPREFIX is /var/ports, and /usr/ports links with
/big/ports.  The last few lines of the build log are:

(cd /var/ports/big/ports/mail/spamassassin/work/Mail-SpamAssassin-4.0.0 &&
/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 "sql ldap"
/var/ports/big/ports/mail/spamassassin/work/stage/usr/local/share/doc/spama=
ssassin)
chmod: sql/txrep_sqlite.sql: No such file or directory
chmod: sql/README.txrep: No such file or directory
chmod: sql/README.bayes: No such file or directory
chmod: sql/decodeshorturl_sqlite.sql: No such file or directory
chmod: sql/README.awl: No such file or directory
chmod: sql/txrep_mysql.sql: No such file or directory
chmod: sql/bayes_mysql.sql: No such file or directory
chmod: sql/awl_pg.sql: No such file or directory
chmod: sql/README: No such file or directory
chmod: sql/awl_mysql.sql: No such file or directory
chmod: sql/userpref_pg.sql: No such file or directory
chmod: sql/txrep_pg.sql: No such file or directory
chmod: sql/decodeshorturl_pg.sql: No such file or directory
chmod: sql/bayes_pg.sql: No such file or directory
chmod: sql/decodeshorturl_mysql.sql: No such file or directory
chmod: sql/userpref_mysql.sql: No such file or directory
chmod: ldap/README: No such file or directory
chmod: ldap/README.testing: No such file or directory
chmod: ldap/sa_test.ldif: No such file or directory
chmod: sql: No such file or directory
chmod: ldap: No such file or directory
*** Error code 1

Attempt to diagnose.  The folder does exist:
# ls
/var/ports/big/ports/mail/spamassassin/work/stage/usr/local/share/doc/spama=
ssassin
CREDITS                 NOTICE                  TRADEMARK=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
procmailrc.example
Changes                 PACKAGING               UPGRADE
INSTALL                 README                  USAGE

And a randomly picked source file also exists:
# find /var/ports/big/ports/mail/spamassassin/work/ -name decodeshorturl_pg=
.sql
/var/ports/big/ports/mail/spamassassin/work/Mail-SpamAssassin-4.0.0/sql/dec=
odeshorturl_pg.sql

Perhaps a mkdir is required before the chmod?

Background:
# make -C /usr/ports/mail/spamassassin showconfig
=3D=3D=3D> The following configuration options are available for
spamassassin-4.0.0_4:
     AS_ROOT=3Doff: Run spamd as root (recommended)
     DOCS=3Doff: Build and/or install documentation
     SSL=3Don: SSL protocol support
=3D=3D=3D=3D> Optional user-config/bayes database backends
     MYSQL=3Doff: MySQL database support
     PGSQL=3Doff: PostgreSQL database support
=3D=3D=3D=3D> Optional SpamAssassin plugins
     DCC=3Doff: DCC digest list support (mail/dcc-dccd)
     DKIM=3Don: Verify DKIM records (mail/p5-Mail-DKIM)
     PYZOR=3Doff: Pyzor digest list support (mail/pyzor)
     RAZOR=3Don: Vipul's Razor digest list support (mail/razor-agents)
     RELAY_COUNTRY=3Don: Location-based scoring (net/p5-GeoIP2)
     RLIMIT=3Doff: Resource limits (devel/p5-BSD-Resource)
     SPF_QUERY=3Don: Verify SPF records (mail/p5-Mail-SPF)
=3D=3D=3D=3D> GnuPG (for sa-update): you have to select exactly one of them
     GNUPG_NONE=3Doff: Do not use GnuPG
     GNUPG=3Don: GnuPG 1 (security/gnupg1)
     GNUPG2=3Doff: GnuPG 2 (security/gnupg)
=3D=3D=3D> Use 'make config' to modify these settings

Happy to provide more information as required :)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274420-7788>