Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451338 - sys-apps/portage-2.1.11.39: NameError: global name 'portage' is not defined
Summary: sys-apps/portage-2.1.11.39: NameError: global name 'portage' is not defined
Status: RESOLVED DUPLICATE of bug 451344
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-11 03:47 UTC by Cody Harris
Modified: 2013-01-11 08:41 UTC (History)
0 users

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 Cody Harris 2013-01-11 03:47:22 UTC
Relatively new install, I'm trying to install Oracle's JDK and I can't



Reproducible: Always

Steps to Reproduce:
1. emerge -av oracle-jdk-bin
2. yes
Actual Results:  
eggo ~ # emerge -av oracle-jdk-bin

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

Calculating dependencies... done!
[ebuild  N     ] dev-java/java-config-wrapper-0.16  0 kB
[ebuild  N     ] dev-java/java-config-2.1.12-r1:2  PYTHON_TARGETS="python2_7 python3_2 (-pypy1_8) -pypy1_9 -python2_6 -python3_1 (-python3_3)" 0 kB
[ebuild  N F   ] dev-java/oracle-jdk-bin-1.7.0.10:1.7  USE="X alsa fontconfig nsplugin -derby -doc -examples -jce -pax_kernel -source" 93,906 kB
[ebuild  N     ] virtual/jdk-1.7.0:1.7  0 kB
[ebuild  N     ] virtual/jre-1.7.0:1.7  0 kB

Total: 5 packages (5 new), Size of downloads: 93,906 kB
Fetch Restriction: 1 package (1 unsatisfied)

Fetch instructions for dev-java/oracle-jdk-bin-1.7.0.10:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 51, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1044, in emerge_main
    gc_locals=locals().clear)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 3892, in run_action
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 348, in action_build
    favorites=favorites)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 6318, in display
    return display(self, mylist, favorites, verbosity)
  File "/usr/lib64/portage/pym/_emerge/resolver/output.py", line 912, in __call__
    pkg_info.ebuild_path)
  File "/usr/lib64/portage/pym/portage/package/ebuild/_spawn_nofetch.py", line 83, in spawn_nofetch
    scheduler=SchedulerInterface(portage._internal_caller and
NameError: global name 'portage' is not defined
eggo ~ # 

Expected Results:  
The packages start building

eggo ~ # emerge -av oracle-jdk-bin

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

Calculating dependencies... done!
[ebuild  N     ] dev-java/java-config-wrapper-0.16  0 kB
[ebuild  N     ] dev-java/java-config-2.1.12-r1:2  PYTHON_TARGETS="python2_7 python3_2 (-pypy1_8) -pypy1_9 -python2_6 -python3_1 (-python3_3)" 0 kB
[ebuild  N F   ] dev-java/oracle-jdk-bin-1.7.0.10:1.7  USE="X alsa fontconfig nsplugin -derby -doc -examples -jce -pax_kernel -source" 93,906 kB
[ebuild  N     ] virtual/jdk-1.7.0:1.7  0 kB
[ebuild  N     ] virtual/jre-1.7.0:1.7  0 kB

Total: 5 packages (5 new), Size of downloads: 93,906 kB
Fetch Restriction: 1 package (1 unsatisfied)

Fetch instructions for dev-java/oracle-jdk-bin-1.7.0.10:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 51, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1044, in emerge_main
    gc_locals=locals().clear)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 3892, in run_action
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 348, in action_build
    favorites=favorites)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 6318, in display
    return display(self, mylist, favorites, verbosity)
  File "/usr/lib64/portage/pym/_emerge/resolver/output.py", line 912, in __call__
    pkg_info.ebuild_path)
  File "/usr/lib64/portage/pym/portage/package/ebuild/_spawn_nofetch.py", line 83, in spawn_nofetch
    scheduler=SchedulerInterface(portage._internal_caller and
NameError: global name 'portage' is not defined
eggo ~ #
Comment 1 Zac Medico gentoo-dev 2013-01-11 08:41:09 UTC

*** This bug has been marked as a duplicate of bug 451344 ***