Re: Qt question: GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS

Sam James <[email protected]>
Newsgroups gmane.linux.gentoo.devel
Organization Gentoo
Message-ID <[email protected]>
Andrey Grozin <[email protected]> writes:

> Hello *,
>
> I'm trying to resurrect master-pdf-editor (this is a proprietary
> binary program, non-commercial use is allowed for free). The newest
> version 5.9.98 uses Qt6, not Qt5 like older versions. I've prepared an
> ebuild for this version (it RDEPENDS on very many libraries). But I
> get
>
> grozin@localhost ~/H4/corr4/yaf $ mpe5 lb0.pdf
> 13:09:47 19.04.26  Main:  Open one window: 1
> warning: direct reference to protected function
> `_ZN7QWidget11changeEventEP6QEvent' in `/usr/lib64/libQt6Widgets.so.6'
> may break pointer equality
> /opt/master-pdf-editor-5/masterpdfeditor5:
> _ZN7QWidget11changeEventEP6QEvent: /usr/lib64/libQt6Widgets.so.6:
> error due to GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS
>
> Googling GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS I see that many
> users have this problem, mostly on arch, e.g.
>
> https://github.com/slint-ui/slint/issues/7174
> https://github.com/PrismLauncher/PrismLauncher/issues/991
> https://qt-project.atlassian.net/browse/QTBUG-115261
> https://github.com/juzzlin/Heimer/issues/255
>
> It seems qtbase in Gentoo (and arch) is compiled in a way that makes
> it incompatible with binary programs compiled for other distros.

Qt upstream recommends we use this and I think they plan to make it the
default for Qt 7. It improves load time.

> Is there any way to overcome this problem? After a long struggle for a
> Qt6 version of master-pdf-editor we at last have it, but it does not
> run...
>

I don't have any ideas for a workaround other than using a Flatpak.

> Andrey
signature.asc (application/pgp-signature, 418 B)
-----BEGIN PGP SIGNATURE-----

iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmnk/yYbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkC6B
AP4nfYYCb1w3vXsZ8AgE2x5eRsYJ+EEsnbMPQ/fOflNYLQEAoo8WIaJ3YOQF565e
2ofOFzA3ZCSbpX5AT4BWpLdCmQQ=
=S3Au
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.