Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780648 - kde-plasma/plasma-firewall-5.21.4: cannot be upgraded under openrc
Summary: kde-plasma/plasma-firewall-5.21.4: cannot be upgraded under openrc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-06 17:36 UTC by Ryan Tsien
Modified: 2021-05-09 12:11 UTC (History)
3 users (show)

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 Ryan Tsien 2021-04-06 17:36:02 UTC
kde-plasma/plasma-firewall-5.21.4 depends on sys-apps/systemd, but kde-plasma/plasma-firewall-5.21.3 is not.

When I upgrade packages by `emerge -avuDN @world`, plasma-firewall is still version 5.21.3, I use openrc. (everything is ok for systemd users)

Reproducible: Always

Steps to Reproduce:
1. sync the portage tree
2. emerge -avuDN @world
3. eix plasma-firewall
Actual Results:  
[U] kde-plasma/plasma-firewall
     Available versions:  (5) (~)5.21.4
       {debug PYTHON_SINGLE_TARGET="python3_7 python3_8 python3_9"}
     Installed versions:  5.21.3(5)

Expected Results:  
[I] kde-plasma/plasma-firewall
     Available versions:  (5) (~)5.21.4
       {debug PYTHON_SINGLE_TARGET="python3_7 python3_8 python3_9"}
     Installed versions:  5.21.4(5)
Comment 1 Andreas Sturmlechner gentoo-dev 2021-04-06 17:38:29 UTC
Just remove it.
Comment 2 Ryan Tsien 2021-04-06 17:52:52 UTC
(In reply to Andreas Sturmlechner from comment #1)
> Just remove it.

So I cannot use plasma-firewall under openrc now?

I check the commits from 5.21.3 to 5.21.4 of plasma-firewall on github, but I find nothing about systemd.
Comment 3 Ryan Tsien 2021-04-06 18:10:46 UTC
And the ebuild codes of plasma-meta is confused, line 86 of kde-plasma/plasma-meta-5.21.4:
```
systemd? ( firewall? ( >=kde-plasma/plasma-firewall-${PV}:${SLOT} ) )
```

The use 'firewall' is enabled by default, but 'systemd' is not. When I check the info of plasma-meta, I'll see the 'firewall' feature is enabled and I thought it is, but actually it is not, it's so confused.
Comment 4 Andreas Sturmlechner gentoo-dev 2021-04-06 23:06:43 UTC
The only thing we can do is mask the flag in non-systemd profile. The firewall module is not operational without systemd.
Comment 5 Ryan Tsien 2021-05-09 11:43:13 UTC
Thanks for all the replies, now I'm not confused of why I cannot install this package under openrc.

However, I think it's better to add a new REQUIRED_USE condition like:

```
firewall? ( systemd )
```

to the "kde-plasma/plasma-meta" package to make the "firewall" USE flag not to be confused.
Comment 6 Andreas Sturmlechner gentoo-dev 2021-05-09 11:44:01 UTC
No, it will be masked for non-systemd instead.
Comment 7 Ryan Tsien 2021-05-09 11:47:26 UTC
Okay, this is also good.

Please help to close this bug when it's done.
Comment 8 Larry the Git Cow gentoo-dev 2021-05-09 12:11:30 UTC
The bug has been closed via the following commit(s):

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

commit e16b0062328764431421da88d8f31887faddb78d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-05-09 09:39:39 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-05-09 12:10:14 +0000

    profiles: Mask kde-plasma/plasma-meta[firewall] by default
    
    Bug: https://bugs.gentoo.org/778527
    Closes: https://bugs.gentoo.org/780648
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/base/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)

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

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

commit fefd1ea8b2f03d4c33e31b845f0da98d650bbc94
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-05-09 09:41:21 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-05-09 12:10:15 +0000

    profiles: targets/systemd: Unmask kde-plasma/plasma-meta[firewall]
    
    Bug: https://bugs.gentoo.org/778527
    Bug: https://bugs.gentoo.org/780648
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/targets/systemd/package.use.mask | 6 ++++++
 1 file changed, 6 insertions(+)