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

Bug 676238

Summary: games-strategy/glob2-0.9.4.4-r2 : NameError: global name Options is not defined:
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED OBSOLETE    
Severity: normal CC: andrius, gentoo, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2020-10-26   
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-strategy:glob2-0.9.4.4-r2:20190125-031909.log
temp.tbz2
Proposed patch to replace Options with Variables for python3 scons

Description Toralf Förster gentoo-dev 2019-01-25 17:23:46 UTC
scons -j1 data
scons: Reading SConscript files ...
NameError: global name 'Options' is not defined:
  File "/var/tmp/portage/games-strategy/glob2-0.9.4.4-r2/work/glob2-0.9.4.4/SConstruct", line 341:
    main()
  File "/var/tmp/portage/games-strategy/glob2-0.9.4.4-r2/work/glob2-0.9.4.4/SConstruct", line 250:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_abi32+64_20190120-102705

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.32.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO games-strategy/glob2
[ebuild  N    ] games-strategy/glob2-0.9.4.4-r2
Comment 1 Toralf Förster gentoo-dev 2019-01-25 17:23:48 UTC
Created attachment 562794 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-01-25 17:23:51 UTC
Created attachment 562796 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-01-25 17:23:54 UTC
Created attachment 562798 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-01-25 17:23:57 UTC
Created attachment 562800 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-01-25 17:24:00 UTC
Created attachment 562802 [details]
games-strategy:glob2-0.9.4.4-r2:20190125-031909.log
Comment 6 Toralf Förster gentoo-dev 2019-01-25 17:24:02 UTC
Created attachment 562804 [details]
temp.tbz2
Comment 8 Peter Fox 2019-10-20 19:20:20 UTC
Created attachment 593458 [details, diff]
Proposed patch to replace Options with Variables for python3 scons

Add this to list of patches in ebuild.
Comment 9 Peter Fox 2019-10-20 19:49:06 UTC
There are another load of fixes for py3 at https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/glob2&id=a39e3a1fd8043d3bafa935fe4e5d3f64638bedc9, but they are not needed to get it to build.
Comment 10 Toralf Förster gentoo-dev 2020-04-13 18:13:42 UTC
*** Bug 712720 has been marked as a duplicate of this bug. ***
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-10-26 07:41:36 UTC
Package removed.