Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380847 - sys-apps/seabios-0.6.3_pre20010817 - emerge fails if Python 3 is default interpreter
Summary: sys-apps/seabios-0.6.3_pre20010817 - emerge fails if Python 3 is default inte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-27 13:45 UTC by Chris Mayo
Modified: 2011-10-23 12:05 UTC (History)
1 user (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 Chris Mayo 2011-08-27 13:45:30 UTC
With collision-protect and app-emulation/qemu-kvm-0.15.0 installed:

 * package sys-apps/seabios-0.6.3_pre20010817 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/usr/share/qemu/bios.bin
 *

To fix this I changed to:
newins out/bios.bin seabios.bin



With Python3 as the default interpreter:

  Building ld scripts (version "0.6.3_pre20010817_pre8e301472e324b6d6496d8b4ffc66863e99d7a505")
  File "./tools/layoutrom.py", line 75
    print "Error: Fixed section %s has non-zero alignment (%d)" % (
                                                              ^
SyntaxError: invalid syntax
make: *** [out/romlayout16.lds] Error 1
 * ERROR: sys-apps/seabios-0.6.3_pre20010817 failed (compile phase):
 *   emake failed

Adding:
pkg_setup() {
	python_set_active_version 2
}

did fix this for me but meant dropping the EAPI to 3 to allow inherit python.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-27 15:18:31 UTC
Please post your `emerge --info' output too. Also tell us what overlay this ebuild is from.
Comment 2 Chris Mayo 2011-08-27 15:41:48 UTC
It's in the main tree.

What extra information is needed? One is a simple file overlap and for the other there is enough quoted below to show a print without brackets in the Python code.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-27 18:05:01 UTC
Ah, it's a recent addition to the tree.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2011-08-29 14:51:10 UTC
In the process of shifting qemu-jvm over to using our own built SeaBIOS. Blockers should be in place now.
Comment 5 Chris Mayo 2011-10-22 11:37:39 UTC
Now installed as:
/usr/share/seabios/bios.bin
Comment 6 Chris Mayo 2011-10-23 12:05:43 UTC
Closed in favour of Bug 388137 which is only about the Python issue.