Some extensions are missing in PHP 7.4.0: zip, gmp, sodium

Not working on my side.
zip seems still not available in php 7.4. I have tried to add libzip.so and zip.so but both lead to the same error.
So the build fails. The test that fails is PHP code doing:
“if (!class_exists(‘ZipArchive’))”
Test is true if apt install php7.4-zip is installed on an ubuntu 18.04 standard installation and false otherwise.

But, because the zip support is not available in PHP7.4 in travis, the test is always false and the build fails.
See line 1002 of build here: https://travis-ci.org/Dolibarr/dolibarr/jobs/637715357#L994 (Note: result is green just because i put a set +e to force the build to ignore errors)

Did i miss something ?

Does it also fail with Xenial or later?

I have issues building on Trusty at the moment:

https://travis-ci.org/github/GibbonEdu/core/builds/683854920

I did originally try some workarounds in the form of a before_script section installing libzip-dev which did bypass the libzip requirement when running pecl install zip but this still failed later in the process.

When moving to Xenial, this completely resolved the issues. Is this simply because the “default” Linux image is the officially supported one and therefore the only one to receive such updates or is that actually some kind of bug.