Opened 9 years ago

Last modified 9 years ago

#48399 new defect

port install py27-kivy fails

Reported by: mfacorcoran Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: kurthindenburg (Kurt Hindenburg), petrrr
Port: py-kivy

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I've tried to install y27-kivy on 3 separate macs (macbook pro & 2 iMacs) and each time the install fails with the same error. I.e. if I do

% sudo port install py27-kivy                                                            
--->  Computing dependencies for py27-kivy
--->  Building py27-kivy
Error: org.macports.build for port py27-kivy returned: command execution failed
Please see the log file for port py27-kivy for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kivy/py27-kivy/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py27-kivy failed

here's the error text from the build log

% more /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kivy/py27-kivy/main.log

...stuff deleted...

:info:build creating build/temp.macosx-10.10-x86_64-2.7/kivy
:info:build creating build/temp.macosx-10.10-x86_64-2.7/kivy/graphics
:info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c kivy/graphics/texture.c -o build/temp.macosx-10.10-x86_64-2.7/kivy/graphics/texture.o -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks -arch x86_64
:info:build kivy/graphics/texture.c:1:2: error: Do not use this file, it is the result of a failed Cython compilation.
:info:build #error Do not use this file, it is the result of a failed Cython compilation.
:info:build  ^
:info:build 1 error generated.
:info:build  error: command '/usr/bin/clang' failed with exit status 1
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kivy/py27-kivy/work/kivy-1.8.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
:info:build Exit code: 1
:error:build org.macports.build for port py27-kivy returned: command execution failed
:debug:build Error code: CHILDSTATUS 51033 1
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for py27-kivy: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port py27-kivy for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-kivy/py27-kivy/main.log

Attachments (1)

main.log (115.3 KB) - added by mfacorcoran 9 years ago.
py27-kivy install log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:2 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

same here - also I get the same w/ 1.9.0

Detected Cython version 0.22.1
  This version of Cython is untested with Kivy. While this version may
  work perfectly fine, it is possible that you may experience issues. If
  you do have issues, please downgrade to a supported version. It is
  best to use the newest supported version, 0.21.2, but the minimum
  supported version is 0.20.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: kivy removed
Owner: changed from macports-tickets@… to stromnov@…
Port: py-kivy added

Please clean and try again, then attach the entire main.log file.

Changed 9 years ago by mfacorcoran

Attachment: main.log added

py27-kivy install log

comment:4 in reply to:  3 Changed 9 years ago by mfacorcoran

Replying to ryandesign@…:

Please clean and try again, then attach the entire main.log file.

I did a sudo port clean py27-kivy and tried to re-install; the main.log file is attached

comment:5 Changed 9 years ago by stromnov (Andrey Stromnov)

Unfortunately, latest stable Kivy (1.8.0 and 1.9.0 from PyPi) is not compatible with Cython 0.22.x. This issue already fixed (known as 1.9.0-rev3), but sources are still not released yet and available only from github master branch.

Feel free to create patch from 1.9.0-stable to 1.9.0-rev3, or use Cython 0.21.x.

comment:6 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

Note: See TracTickets for help on using tickets.