Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 646158

Summary: app-portage/gemato-10.3 : USE Flag 'python_targets_pypy' not in IUSE for app-portage/gemato-10.3
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED INVALID    
Severity: normal CC: dev-portage
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-portage:gemato-10.3:20180130-202733.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-01-30 20:46:58 UTC
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-portage/gemato-10.3/work/gemato-10.3 ...
 * ERROR: app-portage/gemato-10.3::gentoo failed (compile phase):
 *   USE Flag 'python_targets_pypy' not in IUSE for app-portage/gemato-10.3
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_abi32+64_20180129-192227

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-portage/gemato
[ebuild  N    ] app-portage/gemato-9.3  USE="blake2 bzip2 gpg portage-postsync -lzma -sha3 {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2018-01-30 20:47:01 UTC
Created attachment 517170 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-30 20:47:04 UTC
Created attachment 517172 [details]
app-portage:gemato-10.3:20180130-202733.log
Comment 3 Toralf Förster gentoo-dev 2018-01-30 20:47:07 UTC
Created attachment 517174 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-01-30 20:47:10 UTC
Created attachment 517176 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-01-30 20:47:13 UTC
Created attachment 517178 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-30 20:47:16 UTC
Created attachment 517180 [details]
temp.tbz2
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-30 20:57:23 UTC
But... how? The flags and the conditional are both eclass-generated.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-30 21:55:14 UTC
This really doesn't make any sense. If you look into environment, 'python_targets_pypy' is in IUSE...

@toralf, you sure this isn't something like 'emerge --sync' in middle of emerge run?
Comment 9 Zac Medico gentoo-dev 2018-01-30 21:58:59 UTC
(In reply to Toralf Förster from comment #4)
> Created attachment 517176 [details]
> environment

The python_targets_pypy flag is mysteriously missing from the IUSE_EFFECTIVE variable.

Is the problem reproducible?
Comment 10 Toralf Förster gentoo-dev 2018-01-31 18:04:34 UTC
(In reply to Michał Górny from comment #8)
That *might* happen, there's still a race here with "emerge --sync" which I did not fixed yet.
So maybe INVALID ?
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-31 18:10:17 UTC
Well, in that case it's the most likely explanation (i.e. different ebuild when building depgraph and when it got to build it). I don't think we can figure anything else here. If you can reproduce it again, please reopen.