aegypius / overlay

Gentoo overlay
http://aegypius.github.io/overlay/
31 stars 8 forks source link

atom-shell fails to build - possibly a problem with choosing the right python version #8

Closed CrazyCrab closed 10 years ago

CrazyCrab commented 10 years ago

Build log:

 * Package:    dev-util/atom-shell-9999
 * Repository: aegypius
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug userpriv usersandbox
>>> cfg-update-1.8.2-r1 Creating checksum index...
>>> Unpacking source...
Cloning into bare repository '/usr/portage/distfiles/egit-src/atom-shell'...
remote: Reusing existing pack: 10368, done.
remote: Counting objects: 173, done.
remote: Compressing objects: 100% (173/173), done.
Receiving objects: 100% (10541/10541), 2.54 MiB | 702.00 KiB/s, done.
Resolving deltas: 100% (7120/7120), done.
Checking connectivity... done
GIT NEW clone -->
   repository:               git://github.com/atom/atom-shell
   at the commit:            47cbcd5278154e0deb5167d6d55a600ce22d29fa
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/atom-shell"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/dev-util/atom-shell-9999/work/atom-shell-9999'...
done.
Checking connectivity... done
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/dev-util/atom-shell-9999/work/atom-shell-9999
>>> Source unpacked in /var/tmp/portage/dev-util/atom-shell-9999/work
>>> Preparing source in /var/tmp/portage/dev-util/atom-shell-9999/work/atom-shell-9999 ...
Traceback (most recent call last):
  File "./script/bootstrap.py", line 8, in <module>
    from lib.util import execute, scoped_cwd
  File "/var/tmp/portage/dev-util/atom-shell-9999/work/atom-shell-9999/script/lib/util.py", line 52
    print status,
               ^
SyntaxError: invalid syntax
sed: can't read ./vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so: No such file or directory
 * ERROR: dev-util/atom-shell-9999::aegypius failed (prepare phase):
 *   libudev fix failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_prepare
 *   environment, line 3172:  Called die
 * The specific snippet of code:
 *       sed -i -e 's/libudev.so.0/libudev.so.1/g' ./vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so || die "libudev fix failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-util/atom-shell-9999::aegypius'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/atom-shell-9999::aegypius'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/atom-shell-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/atom-shell-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/atom-shell-9999/work/atom-shell-9999'
 * S: '/var/tmp/portage/dev-util/atom-shell-9999/work/atom-shell-9999'

I think, the reason of the error is this: /lib/util.py", line 52 print status, ^ SyntaxError: invalid syntax

Looks like it's trying to run python 2 code with python 3 interpreter.

aegypius commented 10 years ago

Thanks for the report @CrazyCrab, you are right atom-shell require a python 2 interpreter i will fix that as soon as find the proper way to do that.

aegypius commented 10 years ago

@CrazyCrab seems to be fixed