[core-updates] QtWebKit build failures

  • Done
  • quality assurance status badge
Details
3 participants
  • Guillaume Le Vaillant
  • Leo Famulari
  • Mathieu Othacehe
Owner
unassigned
Submitted by
Leo Famulari
Severity
normal
L
M
M
Mathieu Othacehe wrote on 16 Aug 2021 11:33
(name . Leo Famulari)(address . leo@famulari.name)(address . 50014@debbugs.gnu.org)
877dglwx73.fsf@gnu.org
Hello Leo,

Toggle quote (2 lines)
> ld: ../../lib/libWebCore.a: error adding symbols: malformed archive

I missed your thread and ended up applying the same set of patches, to
reach the same error.

According to
this could be caused by some size limit of archives.

I tried to set:

Toggle snippet (3 lines)
"-DCMAKE_BUILD_TYPE=Release"

because it seems that it defaults to "RelWithDebInfo" that adds debug
symbols, but I doesn't help :(.

Mathieu
L
L
Leo Famulari wrote on 17 Aug 2021 18:34
(name . Mathieu Othacehe)(address . othacehe@gnu.org)(address . 50014@debbugs.gnu.org)
YRvlHep/9ClcZB08@jasmine.lan
On Mon, Aug 16, 2021 at 11:33:36AM +0200, Mathieu Othacehe wrote:
Toggle quote (3 lines)
> I missed your thread and ended up applying the same set of patches, to
> reach the same error.

I see.

I haven't tried building from a branch yet, rather than cherry-picking a
handful of patches.

The warning message on their release page says that releases will come
from the qtwebkit-dev branch but, on GitHub, the default branch is
qtwebkit-dev-wip. And there is work on the qtwebkit-5.212 branch that is
more recent than the qtwebkit-5.212.0-alpha4 tag, which is what our
package is based on.

So, I think that someone should try these branches, and maybe try to
figure out which is the right one to try...
G
G
Guillaume Le Vaillant wrote on 28 Aug 2021 18:17
(name . Leo Famulari)(address . leo@famulari.name)(address . 50014-done@debbugs.gnu.org)
87bl5hmt9u.fsf@kitej
Hi Leo,

I found the cause of the "error adding symbols: Malformed archive".
It happens because the maximum number of open file descriptors is too
low. I pushed a fix (f3152cf3021892ba7e2f3d837207eb1ee64bfdb6) raising
the limit from 1024 to 4096 in the build phase on top of your 4 patches,
and the build succeeds.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYSpjTQ8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j8MSAD/W9Pgk8MfdaP/eeIO5wX6l3W/twRtV4MRajCx
N9pPVJ4A/0AH6faeIHpUG7Sra89XGnKISxYDJLy0ZE6HTTHhjTnC
=btI4
-----END PGP SIGNATURE-----

Closed
L
L
Leo Famulari wrote on 30 Aug 2021 21:56
(name . Guillaume Le Vaillant)(address . glv@posteo.net)(address . 50014-done@debbugs.gnu.org)
YS030SWgCFbJr/FY@jasmine.lan
On Sat, Aug 28, 2021 at 04:17:38PM +0000, Guillaume Le Vaillant wrote:
Toggle quote (8 lines)
> Hi Leo,
>
> I found the cause of the "error adding symbols: Malformed archive".
> It happens because the maximum number of open file descriptors is too
> low. I pushed a fix (f3152cf3021892ba7e2f3d837207eb1ee64bfdb6) raising
> the limit from 1024 to 4096 in the build phase on top of your 4 patches,
> and the build succeeds.

Excellent, thank you!
Closed
?