Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719978 - app-text/krop-0.5.1-r1: USE Flag 'python_targets_python3_7' not in IUSE
Summary: app-text/krop-0.5.1-r1: USE Flag 'python_targets_python3_7' not in IUSE
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-29 05:36 UTC by Kalin KOZHUHAROV
Modified: 2020-04-29 22:31 UTC (History)
2 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 Kalin KOZHUHAROV 2020-04-29 05:36:09 UTC
I have no idea how to interpret this:
ERROR: app-text/krop-0.5.1-r1::gentoo failed (compile phase):
 *   USE Flag 'python_targets_python3_7' not in IUSE for app-text/krop-0.5.1-r1

given that:
$ cat /tmp/portage/app-text/krop-0.5.1-r1/build-info/krop-0.5.1-r1.ebuild|fgrep PYTHON_COMPAT
PYTHON_COMPAT=( python3_{6,7,8} )


Reproducible: Couldn't Reproduce

Steps to Reproduce:
I was doing `emerge -vtq --keep-going -e @world`...

Actual Results:  
...
>>> Installing (1027 of 1467) app-misc/screen-4.8.0::gentoo
>>> Emerging (1028 of 1467) app-misc/uptimed-0.4.1-r1::gentoo
>>> Installing (1028 of 1467) app-misc/uptimed-0.4.1-r1::gentoo
>>> Emerging (1029 of 1467) app-portage/genlop-0.30.10-r2::gentoo
>>> Installing (1029 of 1467) app-portage/genlop-0.30.10-r2::gentoo
>>> Emerging (1030 of 1467) app-text/htmltidy-20090325-r2::gentoo
>>> Installing (1030 of 1467) app-text/htmltidy-20090325-r2::gentoo
>>> Emerging (1031 of 1467) app-text/krop-0.5.1-r1::gentoo
>>> Failed to emerge app-text/krop-0.5.1-r1, Log file:
>>>  '/var/log/portage/build/app-text/krop-0.5.1-r1:20200429-011331.log.gz'
>>> Jobs: 1030 of 1467 complete, 1 failed           Load avg: 1.61, 1.94, 2.04
*** Resuming merge...
>>> Emerging (1 of 430) media-gfx/pngcrush-1.8.13::gentoo
>>> Installing (1 of 430) media-gfx/pngcrush-1.8.13::gentoo
>>> Emerging (2 of 430) dev-embedded/avarice-2.13-r2::pkalin
...

Expected Results:  
normal emerge

 * Package:    app-text/krop-0.5.1-r1
 * Repository: gentoo
 * Maintainer: dilfridge@gentoo.org printing@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_6 userland_GNU
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
 * ERROR: app-text/krop-0.5.1-r1::gentoo failed (compile phase):
 *   USE Flag 'python_targets_python3_7' not in IUSE for app-text/krop-0.5.1-r1
 * 
 * Call stack:
 *          ebuild.sh, line  125:  Called src_compile
 *        environment, line 3316:  Called distutils-r1_src_compile
 *        environment, line 1291:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *        environment, line  483:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *        environment, line 2950:  Called _python_obtain_impls
 *        environment, line  946:  Called use 'python_targets_python3_7'
 *   phase-helpers.sh, line  247:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 * 
 * If you need support, post the output of `emerge --info '=app-text/krop-0.5.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/krop-0.5.1-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/app-text/krop-0.5.1-r1:20200429-011331.log.gz'.
 * For convenience, a symlink to the build log is located at '/tmp/portage/app-text/krop-0.5.1-r1/temp/build.log.gz'.
 * The ebuild environment file is located at '/tmp/portage/app-text/krop-0.5.1-r1/temp/environment'.
 * Working directory: '/tmp/portage/app-text/krop-0.5.1-r1/work/krop-0.5.1'
 * S: '/tmp/portage/app-text/krop-0.5.1-r1/work/krop-0.5.1'


I just emerged it again and all went fine.
Comment 1 Jonas Stein gentoo-dev 2020-04-29 21:30:33 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to 
* attach the logs and 
* paste the emerge info 
as described on 
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 2 Kalin KOZHUHAROV 2020-04-29 22:31:51 UTC
Well, please have a look again at the description (it actually includes the whole build.log), the most relevant part being:

 * ERROR: app-text/krop-0.5.1-r1::gentoo failed (compile phase):
 *   USE Flag 'python_targets_python3_7' not in IUSE for app-text/krop-0.5.1-r1

That last line, comes from portage (Portage 2.3.89 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-9.3.0, glibc-2.30-r8, 5.6.7-r13 x86_64)) and /usr/lib/portage/python3.7/phase-helpers.sh around line 247

So, for a package that shows `PYTHON_COMPAT=( python3_{6,7,8} )` this should never trigger, nomatter what the environment is.