Date: Mon, 07 Sep 2020 18:25:10 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 249175] mail/getmail6: fix build errors on package-as-user Message-ID: <bug-249175-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249175 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@FreeBSD.org Reporter: m.bueker@berlin.de Attachment #217803 maintainer-approval+ Flags: Flags: maintainer-feedback+ Created attachment 217803 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217803&action= =3Dedit 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. --=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-249175-7788>