Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942404 - [GURU] gui-libs/xdg-desktop-portal-hyprland-1.3.3-r2 - fails to compile
Summary: [GURU] gui-libs/xdg-desktop-portal-hyprland-1.3.3-r2 - fails to compile
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gonçalo Negrier Duarte
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-28 12:52 UTC by Thomas Clarke
Modified: 2024-11-02 20:52 UTC (History)
5 users (show)

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


Attachments
log of the failed build (build.log,40.40 KB, text/x-log)
2024-10-28 12:52 UTC, Thomas Clarke
Details
emerge --info (emerge_info.log,7.61 KB, text/x-log)
2024-10-28 13:10 UTC, Thomas Clarke
Details
log of successful build with clang (gui-libs:xdg-desktop-portal-hyprland-1.3.3-r2:20241028-165127.log,40.24 KB, text/x-log)
2024-10-28 17:06 UTC, carbohydration
Details
carbohydration emerge --info (emerge_info_output.log,16.48 KB, text/x-log)
2024-10-28 17:13 UTC, carbohydration
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Clarke 2024-10-28 12:52:21 UTC
Created attachment 907117 [details]
log of the failed build

this ebuild has been broken for a few weeks (maybe longer idk) building from upsource works.
Comment 1 Viorel Munteanu gentoo-dev 2024-10-28 13:07:08 UTC
It builds fine for me.  Can you attach your emerge --info?
Comment 2 Thomas Clarke 2024-10-28 13:10:02 UTC
Created attachment 907118 [details]
emerge --info

here you go
Comment 3 carbohydration 2024-10-28 17:06:38 UTC
Created attachment 907120 [details]
log of successful build with clang

It also fails to build for me, but only with GCC. It successfully merged using a per-package Clang environment, here is the log.
Comment 4 carbohydration 2024-10-28 17:13:10 UTC
Created attachment 907121 [details]
carbohydration emerge --info

If it helps, here is my emerge --info.
Comment 5 Thomas Clarke 2024-10-28 21:16:25 UTC
i would also note that the -9999.ebuild also doesn't work
Comment 6 Joseph McElroy 2024-10-30 21:03:53 UTC
I tried downgrading sdbus-c++ to 1.4.0-r1 but both the 1.3.3-r2 and 9999 ebuilds still fail.
Comment 7 Gonçalo Negrier Duarte 2024-10-30 21:55:21 UTC
I also still trying to find a way to solve it I also gonna update it since stdbus++ 2.0 landed. But it very strange why only gcc is giving this problem
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-30 21:59:27 UTC
The only possibly relevant fix I see in sdbus-c++ git is https://github.com/Kistler-Group/sdbus-cpp/commit/c6705faf2f1a4743e3d49038b37815f9b943da20.
Comment 9 Filip Kobierski 2024-10-31 12:35:33 UTC
For me building with sdbus-c++:0/1 suceeds and with :0/2 fails.

That's why I have commited https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71d561fc4322089d6287c3ba237a1b5cc57fd098.

I did not check for open bugs so I did not tag the commit.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-31 12:41:27 UTC
(In reply to Filip Kobierski from comment #9)
> For me building with sdbus-c++:0/1 suceeds and with :0/2 fails.
> 
> That's why I have commited
> https://gitweb.gentoo.org/repo/proj/guru.git/commit/
> ?id=71d561fc4322089d6287c3ba237a1b5cc57fd098.
> 
> I did not check for open bugs so I did not tag the commit.

You should always have some reference when adding a </pinning a dep, otherwise it'll rot forever.
Comment 11 Filip Kobierski 2024-10-31 12:43:23 UTC
so I should include a comment explaining the limit in the ebuild?
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-31 12:51:13 UTC
(In reply to Filip Kobierski from comment #11)
> so I should include a comment explaining the limit in the ebuild?

At the very least, yes. It should usually be accompanied by at least a link to a Gentoo bug as well and usually an upstream report.
Comment 13 Larry the Git Cow gentoo-dev 2024-11-02 20:52:19 UTC
The bug has been closed via the following commit(s):

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

commit f8f43ea166cdc764b87b33b519f75e7dcd1d76e3
Author:     Filip Kobierski <fkobi@pm.me>
AuthorDate: 2024-10-31 12:39:35 +0000
Commit:     Filip Kobierski <fkobi@pm.me>
CommitDate: 2024-10-31 12:39:35 +0000

    gui-libs/xdg-desktop-portal-hyprland: drop 1.3.3-r2
    
    I have added the r3 yesterday and now I noticed that portage
    wants to upgrade hyprlock and downlgrade the desktop portal.
    That is unacceptable as r2 does not build so I remove it to
    not allow that.
    
    Closes: https://bugs.gentoo.org/942404
    Signed-off-by: Filip Kobierski <fkobi@pm.me>

 .../xdg-desktop-portal-hyprland-1.3.3-r2.ebuild    | 72 ----------------------
 1 file changed, 72 deletions(-)

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

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1bf6c46f258f6813aaaea02c5190f7881b96bfd0

commit 1bf6c46f258f6813aaaea02c5190f7881b96bfd0
Author:     Filip Kobierski <fkobi@pm.me>
AuthorDate: 2024-10-31 13:38:02 +0000
Commit:     Filip Kobierski <fkobi@pm.me>
CommitDate: 2024-10-31 13:38:02 +0000

    gui-libs/xdg-desktop-portal-hyprland: fix previous commit
    
    Bug: https://bugs.gentoo.org/942404
    Signed-off-by: Filip Kobierski <fkobi@pm.me>

 .../xdg-desktop-portal-hyprland-1.3.3-r3.ebuild                         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)