Created attachment 897110 [details] build.log object has no attribute 'log'
Created attachment 897111 [details] /var/tmp/portage/sys-power/power-profiles-daemon-0.20/work/power-profiles-daemon-0.20-build/meson-logs/testlog.txt
Created attachment 897112 [details] environment // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13.2.1_p20240210 O3 pipe march=native(verbose) lto graphite ggdb3
Created attachment 897113 [details] emerge --info
Created attachment 897114 [details] /etc/portage/* in `zip -9`
Please retry with 0.21 At least with that version, tests pass fine for me Thanks
Created attachment 897379 [details] for power-profiles-daemon-0.21 in zip: build.log , test-log , environment file, emerge --info , emerge -pqv =power-profiles-daemon-0.21 (In reply to Pacho Ramos from comment #5) > Please retry with 0.21 > > At least with that version, tests pass fine for me > > Thanks It's still happens.
They are produced by a permissions issue: PermissionError: [Errno 13] Permission denied: '/root/.local/share/flatpak/exports/share/python-dbusmock/templates/polkitd.py' But I am not sure why you hit this problem
(In reply to Pacho Ramos from comment #7) > They are produced by a permissions issue: > PermissionError: [Errno 13] Permission denied: > '/root/.local/share/flatpak/exports/share/python-dbusmock/templates/polkitd. > py' > > But I am not sure why you hit this problem I have a flatpak package installed via root.
like TLP UI
Can you please try to edit the ebuild and append "xdg" to the end of "inherit" line? That should do some variable cleanup Thanks
(In reply to Pacho Ramos from comment #10) > Can you please try to edit the ebuild and append "xdg" to the end of > "inherit" line? > > That should do some variable cleanup > > > Thanks I've just tried this. Still the same. 102 tests fail out of 103 in the same way for sys-power/power-profiles-daemon-0.21
In that case maybe we will need to inherit gnome2-utils.eclass and call gnome2_environment_reset
(In reply to Pacho Ramos from comment #12) > In that case maybe we will need to inherit gnome2-utils.eclass and call > gnome2_environment_reset this doesn't work. I've tried next: 1. inherit + placing ``` gnome2_environment_reset ``` at src_configure 2. inherit and next src_test(): ``` src_test() { gnome2_environment_reset meson_src_test } ```
Can you attach the final ebuild please?
Created attachment 897456 [details] a non working ebuild (In reply to Pacho Ramos from comment #14) > Can you attach the final ebuild please?
Created attachment 897459 [details] ebuild 2nd try Can you try this?
Created attachment 897461 [details] result of ebuild 2nd try : in zip : everything in temp folder, ebuild related files, emerge --info , emerge -pqv ... (In reply to Pacho Ramos from comment #16) > Created attachment 897459 [details] > ebuild 2nd try > > Can you try this? I've just tried. Same story :(
What is the content of the offending /etc/profile.d/flatpak.sh file? What variables it is modifying? Maybe you could also do an "echo" next to the gnome2_environment_reset call to ensure the right ebuild is being used Thanks