#1030916 qtwebengine-opensource-src: Enable riscv64 build

#1030916#5
Date:
2023-02-09 06:33:15 UTC
From:
To:
Dear maintainers,

qtwebengine-opensource-src succeeded building on my QEMU riscv64 machine with
the attached patch, until dpkg-gensymbols complains about symbol difference
(unfortunately no build log).

The patch is partly taken from openSUSE [1], consisting mostly of modifying
macro conditions so that the source code recognizes riscv64 architecture.

If the patch is acceptable, could you help correct those symbol errors? If
more help is needed, please let me know.

Cheers,
Eric

[1]: https://build.opensuse.org/package/show/openSUSE:Factory:RISCV/chromium

#1030916#10
Date:
2023-02-09 18:36:46 UTC
From:
To:
Would this be the type of patch that is more appropriate to submit upstream?
#1030916#15
Date:
2023-02-10 06:56:46 UTC
From:
To:
Attached is the generated symbol diffs using pkgkde-symbolshelper.

Cheers,
Eric

#1030916#20
Date:
2023-02-11 09:57:18 UTC
From:
To:
Hi Eric!

Can you please give me the raw diff from the build log?

Your current diff marks some symbols as missing. This is not true;
they are present on all architectures except riscv64.

Before running pkgkde-symbolshelper, you should have changed the
"SymbolsHelper-Confirmed" lines to 5.15.12, and when it asks you for
the version, you should have entered 5.15.12 too (without +dfsg suffix).
Then pkgkde-symbolshelper would realize that these symbols are missing
only on one architecture, not completely missing in a "new version".

#1030916#25
Date:
2023-02-11 10:23:04 UTC
From:
To:
Hi Dmitry,

Here is the raw diff. Thanks for the clarification!

Cheers,
Eric

在 2023年2月月11日 六 18时21分36秒 +08:00:00,Eric Long
<i@hack3r.moe> 写道:

#1030916#30
Date:
2023-04-26 05:04:41 UTC
From:
To:
Hi Eric&Dmitry!

I have updated the symbols file with the debdiff and now it can be built
on riscv64 qemu user.

Could you give a try?