Related PR: https://github.com/macports/macports-ports/pull/22796
(Tests still run only manually under a regular user though.)
On Sun, Feb 25, 2024 at 1:21 PM Sergey Fedorov wrote:
> For some reason sudo is not allowed. For example, I try using *system
> "sudo -u svacchanda ./VidaliaTestSuite"*
For some reason sudo is not allowed. For example, I try using *system "sudo
-u svacchanda ./VidaliaTestSuite"* (just for the sake of testing, since it
works when running manually), but get:
[100%] Built target VidaliaTestSuite
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_svaccha
Could you reproduce the issue? I tried a number of ways to fix that, but
nothing worked.
Sudo anything does not work from the portfile code, and I am not sure how to
otherwise emulate “sudo -u normal-non-root-user”.
(If you got no arm64 hardware, presumably things will be the same on
recent-eno
You are completely right, and I was wrong about this.
I am now not certain how it came to be that macports was installed under the
root user for the 10.6-ppc installation in the mentioned ticket (assuming I got
the part right).
K
> On Feb 24, 2024, at 13:07, Joshua Root wrote:
>
> On 25/2/2
On 25/2/2024 03:07, Ken Cunningham wrote:
Some of your macports installations are installed as the root user, instead of
the macports user.
This happened because there is no installer for 10.6-ppc to automatically
create the macports user. You have an open ticket about this too, where I
point
P. S. And if after the build I just manually run
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_security_Vidalia/Vidalia/work/vidalia-8240540188062a168a66b25ca61b852cc89140ad/src/tests/VidaliaTestSuite
– Vidalia client starts, all tests pass, no errors:
. . .
250 OK
QDEBUG : TorrcTest
Thank you.
This branch adds a version with Qt5 for aarch64 and tests support:
https://github.com/barracuda156/macports-ports/tree/vidalia
If running via sudo port test, I get this:
---> Testing Vidalia
Executing: cd
"/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_security_Vidalia/V
Oh, OK…. That’s different then, for sure.Let me see if I get the same result.KOn Feb 24, 2024, at 08:32, Sergey Fedorov wrote:Ken, you are right about 10.6-ppc, of course, but in this particular case I am having an issue with Sonoma.Specifically, I cannot get Vidalia tests run with sudo port test
Ken, you are right about 10.6-ppc, of course, but in this particular case I
am having an issue with Sonoma.
Specifically, I cannot get Vidalia tests run with *sudo port test*. At the
same time, they run fine if I launch the test binary manually without sudo.
What fails:
1. sudo port test vidalia
2
Some of your macports installations are installed as the root user, instead of
the macports user.
This happened because there is no installer for 10.6-ppc to automatically
create the macports user. You have an open ticket about this too, where I
pointed to the commands to be run to generate the
10 matches
Mail list logo