Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sanity-check error when Makefile not world-readable #584

Open
yasuhirokimura opened this issue Jan 20, 2018 · 2 comments
Open

sanity-check error when Makefile not world-readable #584

yasuhirokimura opened this issue Jan 20, 2018 · 2 comments

Comments

@yasuhirokimura
Copy link

Host OS: FreeBSD 11.1-RELEASE amd64
Poudriere version: 3.2.4
Revision of ports tree: 459482

Update of mail/postfix-policyd-spf-python was submitted to FreeBSD Bugzilla with following URL:

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

Proposed patch was updated several times and latest one is compatible with flavors support of ports tree. It can be built and installed successfully on real FreeBSD 11.1-RELEASE amd64 environment. But on poudriere with jail of same OS version it fail to be built with check-sanity phase error.

Attached file below is build log of poudriere with 11.1-RELEASE amd64 jail.

py36-postfix-policyd-spf-python-2.0.2.log

@bdrewery
Copy link
Member

I committed your PR earlier as I could not reproduce any problem.
I didn't see your check-sanity error in any of the bugzilla bugs but I could have missed it. The problem is that your Makefile has bad permissions. Poudriere in 3.2 now builds several phases for the port as not root. This particular error can happen if the Makefile is not readable by world.

I will rework this bug to making Poudriere be more clear about this particular issue. It's become a common confusion.

@yasuhirokimura
Copy link
Author

The problem is that your Makefile has bad permissions.

You are right! Permissions of mail/postfix-policyd-spf-python/Makefile was 0600 and after I changed it to 0644 build succeeded without any error. Thank you for pointing it out.

@bdrewery bdrewery modified the milestones: 3.2.5, 3.2.6 Mar 9, 2018
@bdrewery bdrewery modified the milestones: 3.2.6, 3.2.7 Mar 30, 2018
@bdrewery bdrewery modified the milestones: 3.2.7, 3.2.8 Jun 1, 2018
@bdrewery bdrewery modified the milestones: 3.2.8, 3.2.9 Oct 24, 2018
@bdrewery bdrewery changed the title Proposed update of mail/postfix-policyd-spf-python fails to be built on poudriere with sanity check error sanity-check error when Makefile not world-readable Feb 22, 2019
@bdrewery bdrewery modified the milestones: 3.2.9, 3.3.1, 3.3.2 Feb 26, 2019
@bdrewery bdrewery modified the milestones: 3.3.2, 3.3.3 Mar 11, 2019
@bdrewery bdrewery modified the milestones: 3.3.3, 3.3.4 Dec 10, 2019
@bdrewery bdrewery modified the milestones: 3.3.4, 3.3.5 Mar 26, 2020
@bdrewery bdrewery modified the milestones: 3.3.5, 3.3.6, 3.3.7 Nov 11, 2020
@bdrewery bdrewery modified the milestones: 3.3.7, 3.3.8 Aug 18, 2021
@bdrewery bdrewery modified the milestones: 3.3.8, 3.5.0 Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants