Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » SysExec
SysExec [message #56521] Sun, 21 March 2021 06:26 Go to next message
Novo is currently offline  Novo
Messages: 1267
Registered: December 2006
Senior Contributor
Linux, Clang:
----- SysExecTest ( GUI MAIN CLANG DEBUG SHARED DEBUG_FULL BLITZ POSIX LINUX ) (12 / 12)
main.cpp
SysExec: 5 file(s) built in (0:00.47), 94 msecs / file
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/examples/SysExecTest/main.cpp:26:10: error: no matching function for call to 'SysExecAdmin'
                        res = SysExecAdmin(pass, term, "");
                              ^~~~~~~~~~~~
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:51:6: note: candidate function not viable: no known conversion from 'Upp::EditString' to 'const Upp::String' for 1st argument
bool SysExecAdmin(String const &password, String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:35:6: note: candidate function not viable: no known conversion from 'Upp::EditString' to 'const Upp::String' for 1st argument
bool SysExecAdmin(String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:36:6: note: candidate function not viable: requires 2 arguments, but 3 were provided
bool SysExecAdmin(String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:50:6: note: candidate function not viable: requires 4 arguments, but 3 were provided
bool SysExecAdmin(String const &password, String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/examples/SysExecTest/main.cpp:30:10: error: no matching function for call to 'SysStartAdmin'
                        res = SysStartAdmin(pass, term, "");
                              ^~~~~~~~~~~~~
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:34:6: note: candidate function not viable: no known conversion from 'Upp::EditString' to 'const Upp::String' for 1st argument
bool SysStartAdmin(String const &password, String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:18:6: note: candidate function not viable: no known conversion from 'Upp::EditString' to 'const Upp::String' for 1st argument
bool SysStartAdmin(String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:19:6: note: candidate function not viable: requires 2 arguments, but 3 were provided
bool SysStartAdmin(String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:33:6: note: candidate function not viable: requires 4 arguments, but 3 were provided
bool SysStartAdmin(String const &password, String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/examples/SysExecTest/main.cpp:34:10: error: no matching function for call to 'SysExecUser'
                        res = SysExecUser(user, pass, term, "");
                              ^~~~~~~~~~~
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:60:6: note: candidate function not viable: no known conversion from 'Upp::EditString' to 'const Upp::String' for 1st argument
bool SysExecUser(String const &user, String const &password, String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:44:6: note: candidate function not viable: no known conversion from 'Upp::EditString' to 'const Upp::String' for 1st argument
bool SysExecUser(String const &user, String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:45:6: note: candidate function not viable: requires 3 arguments, but 4 were provided
bool SysExecUser(String const &user, String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:59:6: note: candidate function not viable: requires 5 arguments, but 4 were provided
bool SysExecUser(String const &user, String const &password, String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/examples/SysExecTest/main.cpp:38:10: error: no matching function for call to 'SysStartUser'
                        res = SysStartUser(user, pass, term, "");
                              ^~~~~~~~~~~~
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:43:6: note: candidate function not viable: no known conversion from 'Upp::EditString' to 'const Upp::String' for 1st argument
bool SysStartUser(String const &user, String const &password, String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:27:6: note: candidate function not viable: no known conversion from 'Upp::EditString' to 'const Upp::String' for 1st argument
bool SysStartUser(String const &user, String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:28:6: note: candidate function not viable: requires 3 arguments, but 4 were provided
bool SysStartUser(String const &user, String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:42:6: note: candidate function not viable: requires 5 arguments, but 4 were provided
bool SysStartUser(String const &user, String const &password, String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/examples/SysExecTest/main.cpp:51:10: error: no matching function for call to 'SysExecUser'
                        res = SysExecUser(user, term, "");
                              ^~~~~~~~~~~
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:45:6: note: candidate function not viable: no known conversion from 'Upp::EditString' to 'const Upp::String' for 1st argument
bool SysExecUser(String const &user, String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:60:6: note: candidate function not viable: requires 4 arguments, but 3 were provided
bool SysExecUser(String const &user, String const &password, String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:44:6: note: candidate function not viable: requires 4 arguments, but 3 were provided
bool SysExecUser(String const &user, String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:59:6: note: candidate function not viable: requires 5 arguments, but 3 were provided
bool SysExecUser(String const &user, String const &password, String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/examples/SysExecTest/main.cpp:55:10: error: no matching function for call to 'SysStartUser'
                        res = SysStartUser(user, term, "");
                              ^~~~~~~~~~~~
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:28:6: note: candidate function not viable: no known conversion from 'Upp::EditString' to 'const Upp::String' for 1st argument
bool SysStartUser(String const &user, String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:43:6: note: candidate function not viable: requires 4 arguments, but 3 were provided
bool SysStartUser(String const &user, String const &password, String const &command, String const &args);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExecGui/SysExecGui.h:27:6: note: candidate function not viable: requires 4 arguments, but 3 were provided
bool SysStartUser(String const &user, String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
/home/buildbot/worker/l-upphub-SysExec/build/SysExec/SysExec/SysExec.h:42:6: note: candidate function not viable: requires 5 arguments, but 3 were provided
bool SysStartUser(String const &user, String const &password, String const &command, String const &args, const VectorMap<String, String> &Environ);
     ^
6 errors generated.
SysExecTest: 1 file(s) built in (0:00.93), 938 msecs / file


Regards,
Novo
Re: SysExec [message #56588 is a reply to message #56521] Fri, 26 March 2021 16:11 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13442
Registered: November 2005
Ultimate Member
thanks, fixed
Re: SysExec [message #56593 is a reply to message #56588] Fri, 26 March 2021 18:35 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1267
Registered: December 2006
Senior Contributor
mirek wrote on Fri, 26 March 2021 11:11
thanks, fixed

Thanks!
It is still broken on Mac (tested on 10.13):
/Users/ssg/.local/soft/bb-worker/worker/m-upphub-SysExec/build/SysExec/SysExec/SudoLib.cpp:13:10: fatal error: 'pty.h' file not found
#include <pty.h> 
         ^~~~~~~

Useful info:
1) https://www.gnu.org/software/gnulib/manual/html_node/pty_002 eh.html
2) https://www.gnu.org/software/gnulib/manual/html_node/forkpty .html


Regards,
Novo

[Updated on: Fri, 26 March 2021 18:48]

Report message to a moderator

Re: SysExec [message #56684 is a reply to message #56593] Fri, 02 April 2021 23:58 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1267
Registered: December 2006
Senior Contributor
FreeBSD is broken as well ...

Regards,
Novo
Re: SysExec [message #57245 is a reply to message #56684] Tue, 15 June 2021 18:42 Go to previous message
Novo is currently offline  Novo
Messages: 1267
Registered: December 2006
Senior Contributor
Package Updater depends on SysExec.

Regards,
Novo
Previous Topic: A terminal emulator widget for U++
Next Topic: STEM4U
Goto Forum:
  


Current Time: Tue Oct 26 14:46:53 CEST 2021

Total time taken to generate the page: 0.01251 seconds