kdesu on FreeBSD

David Faure faure at kde.org
Sun Aug 16 13:29:42 BST 2020


Hi Tobias,

I was completely wrong.
kdesu/autotests/sudo does exist, and it's a python script.

The "No such file or directory" is probably due to #!/usr/bin/python3
at the top of that script.

Do you know the portable way to invoke python3?

Cheers,
David.

On dimanche 16 août 2020 12:22:36 CEST Tobias C. Berner wrote:
> Moin moin
> 
> 
> # which su ; which sudo
> /usr/bin/su
> /usr/local/bin/sudo
> 
> No, both are installed and in $PATH. So, not finding those is weird.
> 
> 
> mfg Tobias
> 
> On Sun, 16 Aug 2020 at 12:13, David Faure <faure at kde.org> wrote:
> > On dimanche 16 août 2020 10:31:28 CEST Tobias C. Berner wrote:
> > > Moin moin
> > > 
> > > On Sun, 16 Aug 2020 at 01:54, David Faure <faure at kde.org> wrote:
> > > > https://build.kde.org/job/Frameworks/job/kdesu/job/kf5-qt5%20FreeBSDQt
> > > > 5.15
> > > > /11/testReport/projectroot/autotests/kdesutest/ says `xauth` isn't
> > > > found.
> > > 
> > > xauth is now installed on the builders
> > 
> > Thanks. The call fails with `No X authentication info set for display
> > ":90"` but maybe the same happens in the Linux builders, I can't see the
> > output there because the tests pass. It seems very likely to me that it
> > does happen there as well, and it's certainly not needed for the test to
> > pass.> 
> > > > Does xauth exist on FreeBSD? Is it maybe not in $PATH? Or is it maybe
> > > > just
> > > > not installed in the FreeBSD CI machine?
> > > > 
> > > > The actual failure isn't related to xauth but to sudo/su output, I'll
> > > > debug that tomorrow by committing some debug output and reverting it
> > > > soon
> > > > after, since I can't get any FreeBSD developer to look into those
> > > > failing
> > > > unittests...
> > > 
> > > harsh, but fair... ;-)
> > 
> > You mean "unfortunate but true" ;-)
> > 
> > Anyhow, here's the result:
> > 
> > execv( \"/usr/home/jenkins/workspace/Frameworks/kdesu/kf5-qt5
> > FreeBSDQt5.15/autotests/sudo\" ): No such file or directory execv(
> > \"/usr/home/jenkins/workspace/Frameworks/kdesu/kf5-qt5
> > FreeBSDQt5.15/autotests/su\" ): No such file or directory
> > 
> > It seems to me that sudo and su are not installed either?
> > (I think it's trying them in the current directory, for lack of finding
> > them in the PATH)
> > 
> > --
> > David Faure, faure at kde.org, http://www.davidfaure.fr
> > Working on KDE Frameworks 5


-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5





More information about the kde-freebsd mailing list