[Bug 249175] mail/getmail6: fix build errors on package-as-user

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 7 18:25:10 UTC 2020


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

            Bug ID: 249175
           Summary: mail/getmail6: fix build errors on package-as-user
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: m.bueker at berlin.de
 Attachment #217803 maintainer-approval+
             Flags:
             Flags: maintainer-feedback+

Created attachment 217803
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217803&action=edit
getmail6-buildfix

This port fails to build as user -- see
http://package19.nyi.freebsd.org/data/121amd64-default-build-as-user/547766/logs/py37-getmail6-6.7.log

This is because in python3, __pycache__ files are always created with root as
owner. Therefore, the @${CHMOD} command in post-install: fails when run as
user.

When this port was forked from mail/getmail (which was purely python2), this
error did not show up in testing and review.

Upon closer inspection, the @${CHMOD} operation is superfluous. File
permissions in the final package are fine without it.

Therefore, this patch removes the post-install: @${CHMOD} operation.

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


More information about the freebsd-ports-bugs mailing list