[Bug 252284] www/owncloud: Build fails in package phase when EXAMPLES OPTION is unset with pkg 1.16 or later

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 30 14:11:23 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252284

            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 at FreeBSD.org
          Reporter: john at saltant.com
                CC: sunpoet at FreeBSD.org
          Assignee: sunpoet at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
 Attachment #221103 maintainer-approval?(sunpoet at FreeBSD.org)
             Flags:
                CC: sunpoet at FreeBSD.org

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

Synopsis
========

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 pkg
1.16, this was not a fatal error.


Log samples
===========

2020-12-17
pkg 1.15.10

=======================<phase: package        >============================
===>  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/owncloud/newsyslog:No
such file or directory
===========================================================================


2020-12-26
pkg 1.16.0

=======================<phase: package        >============================
===>  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/owncloud/newsyslog:No
such file or directory
pkg-static: Fail to apply keyword 'sample'
*** Error code 1

Stop.


Changelog
=========

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


QA
==

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

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


More information about the freebsd-ports-bugs mailing list