Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702396 - dev-util/boost-build-1.71.0 has USE=python but stuck with python2 not python3
Summary: dev-util/boost-build-1.71.0 has USE=python but stuck with python2 not python3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2019-12-09 23:03 UTC by Ulenrich
Modified: 2019-12-15 14:20 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 Ulenrich 2019-12-09 23:03:28 UTC
I am trying to clean my system from python2
but boost-build wants it:
---
$ equery u dev-util/boost-build-1.71.0 
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-util/boost-build-1.71.0:
 U I
 - - examples                       : Install examples, usually source code
 - - python                         : Add optional support/bindings for the Python language
 - - python_single_target_python2_7 : Build for Python 2.7 only
 - - python_targets_python2_7       : Build with Python 2.7
---
I have unset all of the USE flag of boost-build
I don't know what is it good for ?

I thought dev-python/numpy would need, but in emerges is second not hours a before:
Do I miss something?
---
# emerge -1 =dev-python/numpy-1.16.5 

These are the packages that would be merged, in order:

Calculating dependencies  ......... done!
[ebuild   R    ] dev-python/numpy-1.16.5::gentoo  USE="doc lapack -test" PYTHON_TARGETS="-python2_7 -python3_5 -python3_6 python3_7" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/numpy-1.16.5::gentoo
>>> Installing (1 of 1) dev-python/numpy-1.16.5::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 1.34, 1.40, 1.13
>>> Auto-cleaning packages...
---
Comment 1 Ulenrich 2019-12-10 01:11:31 UTC
Emerging of dev-python/numpy has nothing to do with any 
python USE of dev-util/boost-build

Having USE python I can see about 20 different *.py files 
in the boost-build tree. Some words indicate this is for
porpuse when coding in Visual-Studio or some activity alike.

The normal normal user should get a hint to not USE python
with dev-util/boost-build because
this then catches python2 unwantedly.
Comment 2 Ulenrich 2019-12-10 01:17:52 UTC
The USE description should better be:

- - python          : Add python scripts for coding with boost in a gui environment
Comment 3 Larry the Git Cow gentoo-dev 2019-12-15 14:20:30 UTC
The bug has been closed via the following commit(s):

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

commit 2eea16ea07c7e7ab695083e66d23ed60b29be4a6
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-12-15 14:20:11 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-12-15 14:20:11 +0000

    dev-util/boost-build: Bump to version 1.72.0
    
    * Completely remove USE="python" support. Noone
      has ever used this scripts, and to date they are
      still not python 3 compatible.
    
    Closes: https://bugs.gentoo.org/702396
    Package-Manager: Portage-2.3.81, Repoman-2.3.20
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-util/boost-build/Manifest                  |  1 +
 dev-util/boost-build/boost-build-1.72.0.ebuild | 74 ++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)