Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935669 - [guru] gui-libs/xdg-desktop-portal-hyprland-1.3.2 build failed
Summary: [guru] gui-libs/xdg-desktop-portal-hyprland-1.3.2 build failed
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Remigiusz Micielski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-06 13:30 UTC by whitleystriber
Modified: 2024-07-25 10:10 UTC (History)
7 users (show)

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


Attachments
Build log (output.txt,51.06 KB, text/plain)
2024-07-06 13:30 UTC, whitleystriber
Details
emerge --info (emergeinfo.txt,7.58 KB, text/plain)
2024-07-06 20:40 UTC, whitleystriber
Details
1.3.2-r1 Build Log (build.log,50.59 KB, text/x-log)
2024-07-09 04:54 UTC, David Zero
Details

Note You need to log in before you can comment on or make changes to this bug.
Description whitleystriber 2024-07-06 13:30:55 UTC
Created attachment 897210 [details]
Build log

The newest version fails on my machine.

Also found this: https://www.reddit.com/r/hyprland/comments/1dvz6wx/xdgdesktopportalhyprland132_upgrade_fails_on/
Comment 1 Viorel Munteanu gentoo-dev 2024-07-06 15:53:40 UTC
Please also post the output of `emerge --info`
Comment 2 Gonçalo Negrier Duarte 2024-07-06 18:27:05 UTC
It it will a bit of topic, but I think the dependency need to be updated, since of qt6 migration.

Since xdg-desktop-portal-hyprland is depending of qtwayland:6 but the rest of qt dependency weren't updated. I'm of of the mantainer of the ebuild, but should removed myself since I not using Hyprland anymore
Comment 3 Gonçalo Negrier Duarte 2024-07-06 18:31:15 UTC
After updating the qt depedency to qt6 following this (https://wiki.gentoo.org/wiki/Project:Qt/Qt6_migration_notes), I can reproduce this error, but in on the LLVM profile.

Gonna make a commit reference this BUG.
Comment 4 Gonçalo Negrier Duarte 2024-07-06 18:36:12 UTC
Ok I notice that 1.3.1-r1 have qt6 depedency correct at least, don't know what 1.3.2 is different
Comment 5 Gonçalo Negrier Duarte 2024-07-06 18:56:33 UTC
Whitleystriber try the ebuild on this commit:
https://gitweb.gentoo.org/repo/proj/guru.git/commit/?h=dev&id=dc93912b9fdf0097e7f1f04ac7b4a188a6c5c9ba
Comment 6 Gonçalo Negrier Duarte 2024-07-06 18:58:56 UTC
(In reply to Gonçalo Negrier Duarte from comment #3)
> After updating the qt depedency to qt6 following this
> (https://wiki.gentoo.org/wiki/Project:Qt/Qt6_migration_notes), I can
> reproduce this error, but in on the LLVM profile.
> 
> Gonna make a commit reference this BUG.

Little correction: I can't reproduce this error
Comment 7 whitleystriber 2024-07-06 20:40:35 UTC
Created attachment 897221 [details]
emerge --info

Sorry for the late response
Comment 8 John M. Harris, Jr. 2024-07-07 01:51:02 UTC
I think that's my fault, I based 1.3.2 on 9999. Which implies deps will also need to be fixed on the live ebuild.

I could have sworn this built correctly on my test box (which is just default USE flags on default/linux/amd64/23.0/hardened/systemd).
Comment 9 John M. Harris, Jr. 2024-07-07 03:32:19 UTC
Builds correctly with the changes for qt6 migration.
Comment 10 David Zero 2024-07-09 04:54:43 UTC
Created attachment 897351 [details]
1.3.2-r1 Build Log

The 1.3.2-r1 ebuild is failing, but for a different reason. For me, anyway.
Comment 11 Viorel Munteanu gentoo-dev 2024-07-09 16:41:26 UTC
I get the same error with gcc, but it can be compiled with clang.
Comment 12 RoadRoller01 2024-07-12 15:13:53 UTC
it got fix by pipewire (github.com/PipeWire/pipewire/commit/da1dbc1) version 1.1.81, so i think we need to update pipewire staple version, the current version is 1.0.7-r1.

you can fix it locally by adding
"
=media-video/pipewire-9999 **
" to /etc/portage/package.accept_keywords
Comment 13 Gonçalo Negrier Duarte 2024-07-12 15:26:39 UTC
(In reply to majedsm2015 from comment #12)
> it got fix by pipewire (github.com/PipeWire/pipewire/commit/da1dbc1) version
> 1.1.81, so i think we need to update pipewire staple version, the current
> version is 1.0.7-r1.
> 
> you can fix it locally by adding
> "
> =media-video/pipewire-9999 **
> " to /etc/portage/package.accept_keywords

You don’t need to install 9999 just do:
=media-video/pipewire-1.2.0-r2 ~amd64
(pls try with version 1.2.0-r2 just to be sure)

Thanks for finding the fix tho.
Comment 14 Larry the Git Cow gentoo-dev 2024-07-25 10:10:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6dcb18e838a08ad49746bfd2e5e1facdf6169e2d

commit 6dcb18e838a08ad49746bfd2e5e1facdf6169e2d
Author:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
AuthorDate: 2024-07-22 19:21:23 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
CommitDate: 2024-07-22 19:21:23 +0000

    gui-libs/xdg-desktop-portal-hyprland: pipewire version need to be bump
    to 1.2.1 do to a error compiling with gcc
    * More info: https://github.com/PipeWire/pipewire/commit/da1dbc1
    
    Closes: https://bugs.gentoo.org/935669
    Closes: https://bugs.gentoo.org/936487
    Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>

 ...yprland-1.3.3.ebuild => xdg-desktop-portal-hyprland-1.3.3-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)