Latest Fedora release does not include awk command by default.
Install it manually as required by some script.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Platform specifiers have the format `<os>|<arch>|<os>/<arch>[/<variant>]`
(<9b464c3fab/platforms.go (L69)>).
Podman is more strict than docker in parsing and does not allow to specify
`<arch> only.
Signed-off-by: Michael Scherle <michael.scherle@rz.uni-freiburg.de>
Gitlab runner fails to pull the image due to:
no matching manifest for linux/amd64 in the
manifest list entries. Set the architecture of the
image to pull, see:
https://docs.gitlab.com/ee/ci/yaml/#imagedocker
Signed-off-by: Michael Scherle <michael.scherle@rz.uni-freiburg.de>
mingw64-openssl-3.2.2-2 breaks TLS,
fixing it to fedora 40 for now, so that a working
mingw64-openssl package is used.
Signed-off-by: Michael Scherle <michael.scherle@rz.uni-freiburg.de>
test-listen using GIO had issues running under CI for a while.
GIO is reading some desktop configuration so it's not very CI
friendly.
So instead of using GIO use OpenSSL BIO. The code does not
get much bigger or complicated.
We are already using OpenSSL so we are not adding dependencies.
This fixes CI for Fedora 39 (just released and available on docker).
This allowed to remove an old workaround for GIO in .gitlab-ci.yml
(cfr commit 89edf80821
"ci: Workaround an issue with GLib on Fedora 30")
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Newer meson output a warning if "setup" is not provided.
Remove that warning.
Note that Windows build was not changed due to a bug in mingw-meson
script causing duplication of arguments.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Update to stream9 instead of stream8.
Move to Meson instead of Autoconf as build system.
Remove libcacard-devel, not available.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Required to build using Meson.
Also add a check to "distcheck" job to test you can build with
Meson from distribution file.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
The configuration installed with mingw64-openssl cause OpenSSL
to fail to initialize during execution with Wine.
Delete it and use the compiled in options.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Last wsaccel library fails to install on the container.
This test has not been maintained for a while so libraries
are getting pretty old anyway.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Provides LANG to avoid error detecting encoding.
Install all Wine package, installing only core is not enough.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
mingw64-make is a bash script that wraps make command passing
additional arguments and setup in order to cross compiler for
MingW (to target Windows).
In Fedora 35 the script passes the arguments we provide
twice. So if we pass (like in this case)
"LOG_COMPILE=wine -C server check" the final make command will
receive
"LOG_COMPILE=wine -C server check LOG_COMPILE=wine -C server check"
arguments.
This for some arguments it's not a problem but passing "-C <dir>"
twice causes make to attempt to change directory twice.
This causes a
make: *** server: No such file or directory. Stop.
error. Use cd command before invoking mingw64-make to avoid
having to pass "-C" option.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
The default centos:latest image can not install packages anymore.
The makecheck-centos test fails with the following error:
$ dnf install -y 'dnf-command(config-manager)'
Error: Failed to download metadata for repo 'appstream' \
Cannot prepare internal mirrorlist: No URLs in mirrorlist
Replace it with a centos stream 8 image from quay.io to make
the makecheck-centos test pass
Signed-off-by: Uri Lublin <uril@redhat.com>
By default after commit b24da37074 (cfr: "build: Disable
default -Werror if source is a git repository") -Werror is
by default disabled using Autoconf.
Enabled for the CI.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Autobahn testsuite is based on Python 2.
See https://github.com/crossbario/autobahn-testsuite/issues/109.
Temporarily use an Ubuntu LTS distro still having Python 2, this will
make the job work for some years.
Hoping in the future to either:
- update Autobahn testsuite to Python 3;
- finding another testsuite for websockets.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
In CentOS 8 PowerTools repository was renamed to powertools
causing the CI to fail. Rename in configuration file.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Really minor update to fix Meson build for release: additional files
cause the version string to contain "-dirty" which is not handled, so
doing a "git clean" fix the issue.
Autoconf did not trigger the issue as printf command give a
warning but strip what is not a number.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Uri Lublin <ulublin@redhat.com>
Without diffutils, configure complains it can not find commands cmp and diff.
For example check-valgrind log shows:
checking for a working dd... ./configure: line 6852: cmp: command not found
./configure: line 6852: cmp: command not found
Signed-off-by: Uri Lublin <uril@redhat.com>
This workaround an error from test-listen test under Windows
reporting:
GLib-Net-WARNING **: 09:24:25.152: Failed to set GnuTLS session priority with error beginning at %COMPAT: The request is invalid.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Uri Lublin <ulublin@redhat.com>
Fedora 32 removed Python2 packages, we need to install compatibility
packages and install pip2 manually.
Autobahn test suite does not still support Python3.
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Uri Lublin <ulublin@redhat.com>
Take from spice-common this changeset:
Victor Toso (1):
sound: remove celt support
Remove and update reference from CI and documentation.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
spice-protocol is not using Autoconf anymore.
Autobahn suite is now run on normal Fedora docker image.
Drop testing with CentOS 7 i386 in favour of a Debian i386,
CentOS 7 does not support i386 anymore, EPEL 7 is missing for
CentOS 7 i386 so to check a 32 machine better to move to Debian.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
Trigger spice-space build if docs/ has changed and TOKEN is set
This is not defined as deploy stage so it won't be depended on the other jobs
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This fixes the following warning:
./configure: line 7040: /usr/bin/file: No such file or directory
Signed-off-by: Uri Lublin <uril@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This remove this error running test-listen test on a Fedora 30 docker
image:
(/builds/spice/spice/build/server/tests/test-listen:2233): GLib-GIO-CRITICAL **: 15:29:03.123: g_file_new_for_path: assertion 'path != NULL' failed
This error is due to some missing configuration on the image.
On a fully installed Desktop/Server machine these configuration
are usually in place so you won't note the issue but on recent
docker images these configuration are missing.
Running the dconf command add required configuration.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Uri Lublin <uril@redhat.com>
Make sure the project compile and pass tests without problems
on a 32 bit architecture.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Uri Lublin <uril@redhat.com>
One test is enough -- do it in makecheck.
Must git clean first any previous builds.
Signed-off-by: Uri Lublin <uril@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Is not more necessary to downgrade asciidoc, the issue was fixed
in Fedora 29, now used by CI.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
Some compiler warnings are triggered only if optimisations are
turned on. By default with debug build optimisations are disabled.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Since commit e5a93d7a30 asciidoc has been
failing. Frediano noticed that there is no such problem with Fedora 27,
and it looks like asciidoc version 8.6.10 in Fedora 28 is causing
the problem. Downgrading it to 8.6.8 seems to fix it while we don't
find the definite solution.
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>