Opened 8 months ago
Closed 7 months ago
#69456 closed defect (fixed)
opensmtpd: running tests is broken: Error code: POSIX EACCES {permission denied}
Reported by: | barracuda156 | Owned by: | ryanakca (Ryan Kavanagh) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | sonoma | Cc: | |
Port: | opensmtpd |
Description
---> Testing opensmtpd Error: Failed to test opensmtpd: /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_mail_opensmtpd/opensmtpd/work/destroot/opt/local/var/spool/smtpd: permission denied DEBUG: Error code: POSIX EACCES {permission denied} DEBUG: Backtrace: /opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_mail_opensmtpd/opensmtpd/work/destroot/opt/local/var/spool/smtpd: permission denied while executing "fs-traverse -depth fullpath [list [option destpath]] { if {[file type $fullpath] ne "file"} { continue } if {[file..." (procedure "porttest::test_archs" line 11) invoked from within "porttest::test_archs" (procedure "porttest::test_main" line 5) invoked from within "$procedure $targetname" Error: See /opt/local/var/macports/logs/_Users_runner_work_macports-ports_macports-ports_ports_mail_opensmtpd/opensmtpd/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port opensmtpd failed Testing 'opensmtpd' failed. /Users/runner/work/macports-ports/macports-ports/mpbb/mpbb: error: `test-port' failed to run successfully
https://github.com/macports/macports-ports/pull/22930#issuecomment-1982360080
Change History (3)
comment:1 Changed 8 months ago by artkiver (グレェ)
comment:2 Changed 8 months ago by jmroot (Joshua Root)
As mentioned in #69478, You can set test.ignore_archs yes
to disable the arch check test for any port it doesn't work in. That will be necessary until the base fix to skip unreadable files rolls out.
comment:3 Changed 7 months ago by artkiver (グレェ)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for this; I had noticed the PR, but when attempting to update OpenSSH to 9.7p1 I ran into something similar.
(This should have a publicly visible version of the buildbot CI error log: https://github.com/macports/macports-ports/actions/runs/8236427906/job/22522806191?pr=22981 )
I've tagged OpenSSH developer djm@ on the FediVerse and linked to this Trac ticket for reference since it also links to the GitHub PR with op@'s upstream fix in OpenSMTPD.
Here's an excerpt from my main.log as reference, though I will probably open a separate Trac ticket for OpenSSH 9.7p1, I thought I would make mention of it here too just in the event someone else may find it helpful.