Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758176 - dev-util/cppcheck-1.88 still requiring python_targets_python3_7
Summary: dev-util/cppcheck-1.88 still requiring python_targets_python3_7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python3.8-compat
  Show dependency tree
 
Reported: 2020-12-03 06:46 UTC by Massimo Burcheri
Modified: 2020-12-04 05:37 UTC (History)
1 user (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 Massimo Burcheri 2020-12-03 06:46:49 UTC
Stable profiles have switched to
PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8"
but cppcheck is not adapted:

!!! The ebuild selected to satisfy "dev-util/cppcheck" has unmet requirements.
- dev-util/cppcheck-1.88::gentoo USE="pcre qt5 -htmlreport" ABI_X86="(64)" PYTHON_TARGETS="-python3_6 -python3_7"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( python_targets_python3_6 python_targets_python3_7 )


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-03 06:48:01 UTC
You'll need to set in package.use for now.
Comment 2 Massimo Burcheri 2020-12-03 06:57:03 UTC
Starting to add...

=dev-python/certifi-10001-r1 python_targets_python3_7
=dev-python/setuptools-50.3.0 python_targets_python3_7
=dev-python/setuptools_scm-4.1.2-r1 python_targets_python3_7
=dev-util/cppcheck-1.88 python_targets_python3_7

...to package.use. But now this is blocking:

!!! All ebuilds that could satisfy ">=dev-python/flask-compress-1.4.0[python_targets_python3_8(-)]" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/flask-compress-1.8.0::gentoo (masked by: ~amd64 keyword)

(dependency required by "dev-db/pgadmin4-4.26::gentoo[python_single_target_python3_8]" [ebuild])

package.use is not solving it.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-03 06:58:27 UTC
(In reply to Massimo Burcheri from comment #2)
> Starting to add...
> 
> =dev-python/certifi-10001-r1 python_targets_python3_7
> =dev-python/setuptools-50.3.0 python_targets_python3_7
> =dev-python/setuptools_scm-4.1.2-r1 python_targets_python3_7
> =dev-util/cppcheck-1.88 python_targets_python3_7
> 
> ...to package.use. But now this is blocking:
> 
> !!! All ebuilds that could satisfy
> ">=dev-python/flask-compress-1.4.0[python_targets_python3_8(-)]" have been
> masked.
> !!! One of the following masked packages is required to complete your
> request:
> - dev-python/flask-compress-1.8.0::gentoo (masked by: ~amd64 keyword)
> 
> (dependency required by
> "dev-db/pgadmin4-4.26::gentoo[python_single_target_python3_8]" [ebuild])
> 
> package.use is not solving it.

What if you add flask-compress to package.accept_keywords?
Comment 4 Larry the Git Cow gentoo-dev 2020-12-04 05:37:45 UTC
The bug has been closed via the following commit(s):

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

commit 7759a422ad55e266248fc464bfcfece373349570
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2020-12-04 04:58:58 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2020-12-04 05:37:13 +0000

    dev-util/cppcheck: update PYTHON_COMPAT
    
    Closes: https://bugs.gentoo.org/758176
    Package-Manager: Portage-3.0.11, Repoman-3.0.2
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 dev-util/cppcheck/cppcheck-1.88.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)