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

Bug 636010

Summary: dev-python/Kivy-1.10.0 : OSError: [Errno 2] No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 636012    
Bug Blocks:    
Deadline: 2020-03-18   
Attachments: emerge-info.txt
dev-python:Kivy-1.10.0:20171031-105112.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2017-10-31 10:54:33 UTC
   File "/usr/lib64/python2.7/subprocess.py", line 1025, in _execute_child
     raise child_exception
 OSError: [Errno 2] No such file or directory
 * ERROR: dev-python/Kivy-1.10.0::gentoo failed (compile phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma-systemd_test_20171025-203252

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-python/Kivy
[ebuild  N    ] dev-python/Kivy-1.10.0  USE="cairo sdl spell {test} -camera -doc -examples -garden -gstreamer" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2017-10-31 10:54:36 UTC
Created attachment 501282 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-31 10:54:39 UTC
Created attachment 501284 [details]
dev-python:Kivy-1.10.0:20171031-105112.log
Comment 3 Toralf Förster gentoo-dev 2017-10-31 10:54:42 UTC
Created attachment 501286 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-10-31 10:54:46 UTC
Created attachment 501288 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-10-31 10:54:49 UTC
Created attachment 501290 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-31 10:54:52 UTC
Created attachment 501292 [details]
temp.tbz2
Comment 7 Sławek Lis (RETIRED) gentoo-dev 2017-11-10 13:15:49 UTC
Kivy-1.10.0 requires Cython-0.25.2. It seems that no older nor newer could be used.
Fixed in deps, but also found a problem building it withoud sound support.
I'll update when ready.
Comment 8 Sławek Lis (RETIRED) gentoo-dev 2018-01-23 13:43:41 UTC
Seems that not Kivy builds fine in latest version of cython.
Can you please verify?
Comment 9 Christopher Hogan 2018-03-23 20:49:35 UTC
I hit this bug and discovered ( for me ) it was caused by not having GIT installed:

 * python2_7: running distutils-r1_run_phase python_compile
/usr/bin/python2.7 setup.py build_ext --inplace
Using setuptools
Environ change use_sdl2 -> True
Environ change use_gstreamer -> True

Detected Cython version 0.25.2
Using this graphics system: OpenGL
GStreamer found via pkg-config
SDL2 found via pkg-config
SDL2: found SDL header at /usr/include/SDL2/SDL.h
SDL2: found SDL_mixer header at /usr/include/SDL2/SDL_mixer.h
SDL2: found SDL_ttf header at /usr/include/SDL2/SDL_ttf.h
SDL2: found SDL_image header at /usr/include/SDL2/SDL_image.h
 Traceback (most recent call last):
   File "setup.py", line 934, in <module>
     version=get_version(),
   File "setup.py", line 47, in get_version
     ['git', 'rev-parse', 'HEAD']
   File "/usr/lib64/python2.7/subprocess.py", line 212, in check_output
     process = Popen(stdout=PIPE, *popenargs, **kwargs)
   File "/usr/lib64/python2.7/subprocess.py", line 390, in __init__
     errread, errwrite)
   File "/usr/lib64/python2.7/subprocess.py", line 1025, in _execute_child
     raise child_exception
 OSError: [Errno 2] No such file or directory