Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915122 - www-client/microsoft-edge USE flag needed for qt6
Summary: www-client/microsoft-edge USE flag needed for qt6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-03 16:26 UTC by Robert
Modified: 2023-10-10 18:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2023-10-03 16:26:00 UTC
It appears that in recent versions of Microsoft edge support for qt6 has been added, resulting in the addition of a `libqt6_shim.so` file to the deb archive the package is extracted from. 

While I haven't dug into the details for all versions it looks like the change happened sometime after version 110.0.1587.69-1. 

I'm no package maintainer but I'd imagine this would need a `qt6` USE flag much like the current `qt5` USE flag to enable/disable it. 

Currently this presents an issue as portage isn't made aware of the dependency to `qtbase` which `libtq6_shim.so` implies.
And this gives rise to preserved-libs issues. 

Below is the output from emerging microsoft-edge (as a rebuild) in its current state which illustrates the issue. 

## emerge microsoft-edge ##

These are the packages that would be merged, in reverse order:

Calculating dependencies  .... done!
Dependency resolution took 4.81 s.

[ebuild   R    ] www-client/microsoft-edge-117.0.2045.47 

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Running pre-merge checks for www-client/microsoft-edge-117.0.2045.47
>>> Emerging (1 of 1) www-client/microsoft-edge-117.0.2045.47::gentoo
>>> Installing (1 of 1) www-client/microsoft-edge-117.0.2045.47::gentoo
>>> Completed (1 of 1) www-client/microsoft-edge-117.0.2045.47::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 0.96, 0.67, 0.58

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-qt/qtbase-6.5.2-r2
 *  - /usr/lib64/libQt6Core.so.6
 *  - /usr/lib64/libQt6Core.so.6.5.2
 *      used by /opt/microsoft/msedge/libqt6_shim.so (www-client/microsoft-edge-117.0.2045.47)
 *  - /usr/lib64/libQt6Gui.so.6
 *  - /usr/lib64/libQt6Gui.so.6.5.2
 *      used by /opt/microsoft/msedge/libqt6_shim.so (www-client/microsoft-edge-117.0.2045.47)
 *  - /usr/lib64/libQt6DBus.so.6
 *  - /usr/lib64/libQt6DBus.so.6.5.2
 *  - /usr/lib64/libQt6Widgets.so.6
 *  - /usr/lib64/libQt6Widgets.so.6.5.2
 *      used by /opt/microsoft/msedge/libqt6_shim.so (www-client/microsoft-edge-117.0.2045.47)
Use emerge @preserved-rebuild to rebuild packages using these libraries
Comment 1 Larry the Git Cow gentoo-dev 2023-10-10 18:25:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9026f2a65de1a8f2838ec100ce929516ce58376e

commit 9026f2a65de1a8f2838ec100ce929516ce58376e
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-10-10 18:24:57 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-10-10 18:25:49 +0000

    www-client/microsoft-edge-dev: add qt6 USE flag
    
    Closes: https://bugs.gentoo.org/915122
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../microsoft-edge-dev/microsoft-edge-dev-119.0.2109.1.ebuild       | 6 +++++-
 .../microsoft-edge-dev/microsoft-edge-dev-119.0.2116.0.ebuild       | 6 +++++-
 .../microsoft-edge-dev/microsoft-edge-dev-119.0.2132.0.ebuild       | 6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b050c7b297a61a21ad71f72df40a3fa4cd453e74

commit b050c7b297a61a21ad71f72df40a3fa4cd453e74
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-10-10 18:24:06 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-10-10 18:25:48 +0000

    www-client/microsoft-edge-beta: add qt6 USE flag
    
    Bug: https://bugs.gentoo.org/915122
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../microsoft-edge-beta/microsoft-edge-beta-118.0.2088.24.ebuild    | 6 +++++-
 .../microsoft-edge-beta/microsoft-edge-beta-118.0.2088.33.ebuild    | 6 +++++-
 .../microsoft-edge-beta/microsoft-edge-beta-118.0.2088.41.ebuild    | 6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eceec7ad29cfc1efe0dece1f93a5c0e484a370df

commit eceec7ad29cfc1efe0dece1f93a5c0e484a370df
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-10-10 18:20:53 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-10-10 18:25:48 +0000

    www-client/microsoft-edge: add qt6 USE flag
    
    Bug: https://bugs.gentoo.org/915122
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 www-client/microsoft-edge/microsoft-edge-117.0.2045.55.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)