- 02 Sep, 2022 2 commits
-
-
Vincent Pelletier authored
Resolve warnings emitted by postfix commands themselves.
-
Vincent Pelletier authored
Fixes build on recent libc headers: set -e; for i in src/util src/global src/dns src/tls src/xsasl src/master src/milter src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog src/tlsproxy src/posttls-finger src/postlogd; do \ (set -e; echo "[$i]"; cd $i; make 'WARN=-Wmissing-prototypes -Wformat -Wno-comment -fcommon' update MAKELEVEL=) || exit 1; \ done [src/util] gcc -I. -I../../include -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DUSE_TLS -DHAS_PCRE -DHAS_DB -I/home/vifib/software/b3708eca6720657934c5dee0b8247042/parts/libdb/include -I/home/vifib/software/b3708eca6720657934c5dee0b8247042/parts/pcre/include -I/home/vifib/software/b3708eca6720657934c5dee0b8247042/parts/openssl/include -I/home/vifib/software/b3708eca6720657934c5dee0b8247042/parts/cyrus-sasl/include/sasl -I/home/vifib/software/b3708eca6720657934c5dee0b8247042/parts/libnsl/include -DNO_EAI -DHAS_DEV_URANDOM -UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fcommon -g -O -I. -DLINUX5 -c attr_clnt.c In file included from attr_clnt.c:87: ./sys_defs.h:763: warning: "HAS_DB" redefined 763 | #define HAS_DB | <command-line>: note: this is the location of the previous definition In file included from attr_clnt.c:88: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1512:12: note: previous declaration of 'closefrom' with type 'int(int)' 1512 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:192: attr_clnt.o] Error 1 make: *** [Makefile:94: update] Error 1 Also, switch from Wietse's own source ftp to a mirror.
-
- 01 Sep, 2022 6 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
python3.8 can run only buildout versions greater than 2.7.1+slapos019 which restrict a lot the number of SR buildable by slapos. See merge request nexedi/slapos!1240
-
Jérome Perrin authored
this prevents ResourceWarning because this way the sockets are closed
-
Jérome Perrin authored
see commit e6deadaca7f4469ab32e028cdbb029acc9c7d3c3 from slapos.core: We fork a subprocess to serve requests, but the listening socket is bound in server constructor and inherited by subprocess. With this pattern, we have to explicitly close the socket from parent process to prevent the leak.
-
Jérome Perrin authored
Now that this test is python 3, test output has lots of warnings like this: software/caddy-frontend/test/test.py:305: ResourceWarning: unclosed file <_io.TextIOWrapper name='software/caddy-frontend/test/test_data/test.TestEnableHttp2ByDefaultFalseSlave.test00cluster_request_instance_parameter_dict.txt' mode='r' encoding='UTF-8'> test_data = open(test_data_file).read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback
-
Jérome Perrin authored
revert fac8ceb5 now that mroonga install.sql is fixed See merge request !1242
-
- 31 Aug, 2022 12 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
See merge request nexedi/slapos!1238
-
Jérome Perrin authored
html5as-base, grafana and metabase are python3 software releases and we don't need to run these tests twice for python2 and python3.
-
Jérome Perrin authored
-
Jérome Perrin authored
This continues the changes from a576000f (software/html5as: serialize as json-in-xml, 2022-08-19) to fix a test failure and serialize also in json-in-xml for the replicate software type. Minor changes to tests were made, to use assertIn for better messages in case of assertion failures
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Thomas Gambier authored
See merge request !1239
-
Jérome Perrin authored
after slapos commit cc7f36a0 (component/defaults: use python3 by default, 2022-08-27) this test accidentally switched to using python3. using python3 showed an incompatibility: File ".nxdtest", line 23, in <module> TestCase('transaction',['python', '-m', 'unittest', 'discover', '-s', P(transaction)]) File ".nxdtest", line 22, in P def P(path): return os.path.join(path, '..') File "lib/python3.8/posixpath.py", line 90, in join genericpath._check_arg_types('join', a, *p) File "lib/python3.8/genericpath.py", line 155, in _check_arg_types raise TypeError("Can't mix strings and bytes in path components") from None TypeError: Can't mix strings and bytes in path components that we also address here by using universal_newlines to the subprocess
-
- 30 Aug, 2022 3 commits
-
-
Jérome Perrin authored
test.cfg becomes the python3 version a new test-py2.cfg is introduced test-py3.cfg is removed cf slapos commit cc7f36a0 (component/defaults: use python3 by default, 2022-08-27)
-
Joanne Hugé authored
-
Jérome Perrin authored
Change python2 softwares to use python2 explicitly and python3 softwares to use the default, but leave a few softwares (html5as, html5as-base, fluent-bit, packer, seleniumrunner) using the default python, as they were using python2 not because they only support python2 but because they don't have strong dependency to the python version being used.
-
- 29 Aug, 2022 6 commits
-
-
Jérome Perrin authored
See merge request nexedi/slapos!1235
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 28 Aug, 2022 3 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 26 Aug, 2022 2 commits
-
-
-
Thomas Gambier authored
see nexedi/slapos!1215
-
- 25 Aug, 2022 2 commits
-
-
Xiaowu Zhang authored
See merge request !1234
-
Xiaowu Zhang authored
so we will not forget to update it
-
- 24 Aug, 2022 2 commits
-
-
Ivan Tyagov authored
See merge request !1233
-
Martin Manchev authored
-
- 23 Aug, 2022 1 commit
-
-
Ophélie Gagnard authored
Remove the "--disable-static" configure option. Fix the warning message: "configure: WARNING: unrecognized option: '--disable-static'". See merge request !1231
-
- 22 Aug, 2022 1 commit
-
-
Jérome Perrin authored
Resolve `@theia/core` subdependency `vscode-uri` to a locally installed patched version, to workaround https://github.com/microsoft/vscode/issues/154048. This fixes access to Theia through the IPv6 `backend-url`. That issue was discussed in nexedi/slapos!1204 The patched version of `vscode-uri` is published here: https://github.com/xavth/vscode-uri/tree/fix/ipv6_url_authority To do this, `yarn.lock` was regenerated, so this also caused a version up to Theia 1.28.0. See merge request nexedi/slapos!1227
-