Just so everyone is aware, custombuild is breaking on Ubuntu 22,
no need to try installing it yet on version 22, stay with 20 for now.
Error:
no need to try installing it yet on version 22, stay with 20 for now.
Error:
root@server-1:/usr/local/directadmin/custombuild# /usr/local/directadmin/custombuild/build plugin
############################################################################################################################################################################################################ 100.0%
/usr/bin/id: 'cb_plugin': no such user
CustomBuild plugin is now installed!
/usr/local/directadmin/plugins/custombuild/admin/build.c: In function 'main':
/usr/local/directadmin/plugins/custombuild/admin/build.c:231:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t' {aka 'long int'} [-Wformat=]
231 | printf("%d.%d.log used for the child process\n", t, f);
| ~^ ~
| | |
| int time_t {aka long int}
| %ld
/usr/local/directadmin/plugins/custombuild/admin/build.c:243:90: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=]
243 | snprintf(log, log_max, "/usr/local/directadmin/plugins/custombuild/logs/%d.%d.log", t, getpid());
| ~^ ~
| | |
| int time_t {aka long int}
| %ld