Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2020 14:11:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252284] www/owncloud: Build fails in package phase when EXAMPLES OPTION is unset with pkg 1.16 or later
Message-ID:  <bug-252284-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 252284
           Summary: www/owncloud: Build fails in package phase when
                    EXAMPLES OPTION is unset with pkg 1.16 or later
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: john@saltant.com
                CC: sunpoet@FreeBSD.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
 Attachment #221103 maintainer-approval?(sunpoet@FreeBSD.org)
             Flags:
                CC: sunpoet@FreeBSD.org

Created attachment 221103
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D221103&action=
=3Dedit
www/owncloud: Fix build without EXAMPLES

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

When the EXAMPLES option is unset, the newsyslog file is not staged and
therefore cannot be packaged by the "@sample" line in pkg-plist. Prior to p=
kg
1.16, this was not a fatal error.


Log samples
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

2020-12-17
pkg 1.15.10

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: package        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building package for owncloud-php74-10.5.0
pkg-static: Unable to access file
/wrkdirs/usr/ports/www/owncloud/work-php74/stage/usr/local/share/examples/o=
wncloud/newsyslog:No
such file or directory
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


2020-12-26
pkg 1.16.0

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: package        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building package for owncloud-php74-10.6.0
pkg-static: Unable to access file
/wrkdirs/usr/ports/www/owncloud/work-php74/stage/usr/local/share/examples/o=
wncloud/newsyslog:No
such file or directory
pkg-static: Fail to apply keyword 'sample'
*** Error code 1

Stop.


Changelog
=3D=3D=3D=3D=3D=3D=3D=3D=3D

*   Exclude newsyslog sample unless EXAMPLES
*   While here, pet portlint (7-bit ASCII clean) and bump PORTREVISION


QA
=3D=3D

portlint: OK
poudriere: OK -- bulk on 12.2R amd64 with and without EXAMPLES

--=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-252284-7788>