Opened 5 years ago

Last modified 22 months ago

#48285 new defect

py27-glewpy @0.7.4_9: Cannot convert 'src.glew.GLbyte *' to Python object

Reported by: nicolas.stransky@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: petrrr, atalkingegg, Blokkendoos (Johan)
Port: py-glewpy

Description (last modified by ryandesign (Ryan Schmidt))

Mac OS 10.10.4 and Xcode 6.1 trying to install py27-glewpy and getting an error during install.

:info:build running build
:info:build running build_py
:info:build running build_ext
:info:build pyrexc src/glew.pyx --> src/glew.c
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-glewpy/py27-glewpy/work/glewpy-0.7.4/src/glew.pyx:32:25: Cannot convert 'src.glew.GLbyte *' to Python object
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-glewpy/py27-glewpy/work/glewpy-0.7.4/src/glew.pyx:38:30: Cannot convert 'src.glew.GLbyte *' to Python object
:info:build building 'glew' extension
:info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/glew.c -o build/temp.macosx-10.10-x86_64-2.7/src/glew.o
:info:build src/glew.c:1:2: error: Do not use this file, it is the result of a failed Pyrex compilation.
:info:build #error Do not use this file, it is the result of a failed Pyrex 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-glewpy/py27-glewpy/work/glewpy-0.7.4" && /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-glewpy returned: command execution failed
:debug:build Error code: CHILDSTATUS 68690 1
:debug:build Backtrace: command execution failed
    while executing
"system -nice 10 $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-glewpy: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install py27-glewpy
:debug:build Registry error: py27-glewpy not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"

Attachments (1)

main.py27-glewpy (11.1 KB) - added by petrrr 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Port: py-glewpy added; py27-glewpy removed

Please attach the complete main.log file.

Changed 5 years ago by petrrr

Attachment: main.py27-glewpy added

comment:2 Changed 5 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:3 Changed 5 years ago by petrrr

I can reproduce this, main.log attached.

comment:4 Changed 23 months ago by ryandesign (Ryan Schmidt)

Cc: atalkingegg added
Description: modified (diff)
Summary: py27-glewpy @0.7.4_9 build failurepy27-glewpy @0.7.4_9: Cannot convert 'src.glew.GLbyte *' to Python object

Has duplicate #57664.

comment:5 Changed 22 months ago by Blokkendoos (Johan)

Cc: Blokkendoos added
Note: See TracTickets for help on using tickets.