Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679706 - dev-lua/toluapp-1.0.93 : NameError: name Options is not defined:
Summary: dev-lua/toluapp-1.0.93 : NameError: name Options is not defined:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rafael Martins (RETIRED)
URL:
Whiteboard:
Keywords:
: 676188 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-07 20:33 UTC by Toralf Förster
Modified: 2019-05-15 09:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.44 KB, text/plain)
2019-03-07 20:33 UTC, Toralf Förster
Details
dev-lua:toluapp-1.0.93:20190306-221353.log (dev-lua:toluapp-1.0.93:20190306-221353.log,2.01 KB, text/plain)
2019-03-07 20:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,173.53 KB, text/plain)
2019-03-07 20:33 UTC, Toralf Förster
Details
environment (environment,39.72 KB, text/plain)
2019-03-07 20:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.17 KB, application/x-bzip)
2019-03-07 20:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.81 KB, application/x-bzip)
2019-03-07 20:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-03-07 20:33:51 UTC
>>> Compiling source in /var/tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93 ...
scons: Reading SConscript files ...
NameError: name 'Options' is not defined:
  File "/var/tmp/portage/dev-lua/toluapp-1.0.93/work/tolua++-1.0.93/SConstruct", line 19:
    opts = Options(["config_"+options_file+".py", "custom.py", "custom_"+options_file+".py"], ARGUMENTS)
 * ERROR: dev-lua/toluapp-1.0.93::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop-plasma_libressl_20190302-221911

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

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

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   jython2.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 dev-lua/toluapp
[ebuild  N    ] dev-lua/toluapp-1.0.93
Comment 1 Toralf Förster gentoo-dev 2019-03-07 20:33:54 UTC
Created attachment 568098 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-07 20:33:57 UTC
Created attachment 568100 [details]
dev-lua:toluapp-1.0.93:20190306-221353.log
Comment 3 Toralf Förster gentoo-dev 2019-03-07 20:33:59 UTC
Created attachment 568102 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-03-07 20:34:02 UTC
Created attachment 568104 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-03-07 20:34:05 UTC
Created attachment 568106 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-03-07 20:34:08 UTC
Created attachment 568108 [details]
temp.tbz2
Comment 7 Daniel Pielmeier gentoo-dev 2019-03-25 20:16:04 UTC
*** Bug 676188 has been marked as a duplicate of this bug. ***
Comment 8 Ilya Cassina 2019-03-26 22:29:43 UTC
The build works if you use scons < 3.0.0, i.e.:

--- toluapp-1.0.93.ebuild       2019-03-26 23:28:10.581302524 +0100
+++ toluapp-1.0.93-r1.ebuild    2019-03-26 21:05:17.069776752 +0100
@@ -18,7 +18,7 @@
 
 RDEPEND=">=dev-lang/lua-5.1.1[deprecated]"
 DEPEND="${RDEPEND}
-       dev-util/scons"
+       <dev-util/scons-3.0.0"
 
 S=${WORKDIR}/${MY_P}
Comment 9 Larry the Git Cow gentoo-dev 2019-05-15 09:29:02 UTC
The bug has been closed via the following commit(s):

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

commit ef56c689570380dc0808b4c7e21195b759b10155
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-05-15 09:28:38 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-05-15 09:28:38 +0000

    dev-lua/toluapp: Use CMake for building
    
    Closes: https://bugs.gentoo.org/399201
    Closes: https://bugs.gentoo.org/590944
    Closes: https://bugs.gentoo.org/648656
    Closes: https://bugs.gentoo.org/679706
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-lua/toluapp/Manifest                           |   1 +
 .../toluapp-1.0.93_p20190513-fix-multilib.patch    |  37 ++
 .../files/toluapp-1.0.93_p20190513-lua5.3.patch    | 534 +++++++++++++++++++++
 dev-lua/toluapp/toluapp-1.0.93_p20190513.ebuild    |  29 ++
 4 files changed, 601 insertions(+)