Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816147 - www-client/opera www-client/opera-beta www-client/opera-developer: triggers pkgcheck's MissingInherits
Summary: www-client/opera www-client/opera-beta www-client/opera-developer: triggers p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-04 00:38 UTC by Sam James
Modified: 2021-10-05 21:08 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-04 00:38:46 UTC
```
$ pkgcheck scan www-client/opera*
gentoo -- updating git cache: commit date: 2021-10-04
www-client/opera
  MissingInherits: version 79.0.4143.72: rpm: missing inherit usage: 'rpm_src_unpack "${A[0]}"', line 106

www-client/opera-developer
  UnstableOnly: for arch: [ amd64 ], all versions are unstable: [ 80.0.4170.0, 81.0.4175.0, 81.0.4189.0 ]
  MissingInherits: version 80.0.4170.0: unpacker: missing inherit usage: 'unpacker', line 108
  RedundantVersion: version 80.0.4170.0: slot(0) keywords are overshadowed by versions: 81.0.4175.0, 81.0.4189.0
  UnusedInherits: version 80.0.4170.0: unused eclass: multilib
  MissingInherits: version 81.0.4175.0: unpacker: missing inherit usage: 'unpacker', line 108
  RedundantVersion: version 81.0.4175.0: slot(0) keywords are overshadowed by version: 81.0.4189.0
  UnusedInherits: version 81.0.4175.0: unused eclass: multilib
  MissingInherits: version 81.0.4189.0: unpacker: missing inherit usage: 'unpacker', line 108
  UnusedInherits: version 81.0.4189.0: unused eclass: multilib

www-client/opera-beta
  UnstableOnly: for arch: [ amd64 ], all versions are unstable: [ 80.0.4170.4, 80.0.4170.7, 80.0.4170.11 ]
  MissingInherits: version 80.0.4170.4: rpm: missing inherit usage: 'rpm_src_unpack "${A[0]}"', line 106
  RedundantVersion: version 80.0.4170.4: slot(0) keywords are overshadowed by versions: 80.0.4170.7, 80.0.4170.11
  UnusedInherits: version 80.0.4170.4: unused eclass: multilib
  MissingInherits: version 80.0.4170.7: rpm: missing inherit usage: 'rpm_src_unpack "${A[0]}"', line 106
  RedundantVersion: version 80.0.4170.7: slot(0) keywords are overshadowed by version: 80.0.4170.11
  UnusedInherits: version 80.0.4170.7: unused eclass: multilib
  MissingInherits: version 80.0.4170.11: rpm: missing inherit usage: 'rpm_src_unpack "${A[0]}"', line 106
```

I reported this at https://github.com/pkgcore/pkgcheck/issues/352 but I agree with radhermit that while pkgcheck could be fixed here, the ebuild probably has needless complexity.

Could we just conditionally inherit, rather than using a variable _in the inherit line_?
Comment 1 Larry the Git Cow gentoo-dev 2021-10-05 20:51:32 UTC
The bug has been referenced in the following commit(s):

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

commit 7e8fdc8cc4316058810aad430186202e8e1aa183
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-10-05 20:50:38 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-10-05 20:51:27 +0000

    www-client/opera-beta: fix eclass inherit
    
    Bug: https://bugs.gentoo.org/816147
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/opera-beta/opera-beta-80.0.4170.11.ebuild | 8 ++++----
 www-client/opera-beta/opera-beta-80.0.4170.4.ebuild  | 8 ++++----
 www-client/opera-beta/opera-beta-80.0.4170.7.ebuild  | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2021-10-05 21:00:43 UTC
The bug has been referenced in the following commit(s):

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

commit d46b5f78bf17bcedf2a107123ea45289706f2e24
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-10-05 21:00:30 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-10-05 21:00:30 +0000

    www-client/opera-developer: fix eclass inherit
    
    Bug: https://bugs.gentoo.org/816147
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/opera-developer/opera-developer-81.0.4175.0.ebuild | 8 ++++----
 www-client/opera-developer/opera-developer-81.0.4189.0.ebuild | 8 ++++----
 www-client/opera-developer/opera-developer-81.0.4196.0.ebuild | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2021-10-05 21:08:58 UTC
The bug has been closed via the following commit(s):

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

commit f89c9e469e187ef4a82aa24c141f4bbec9dc866f
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-10-05 21:08:44 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-10-05 21:08:44 +0000

    www-client/opera: remove old
    
    Closes: https://bugs.gentoo.org/816147
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/opera/Manifest                  |   2 -
 www-client/opera/opera-79.0.4143.72.ebuild | 157 -----------------------------
 2 files changed, 159 deletions(-)