[MacPorts] #48285: py27-glewpy @0.7.4_9: Cannot convert 'src.glew.GLbyte *' to Python object (was: py27-glewpy @0.7.4_9 build failure)
MacPorts
noreply at macports.org
Sat Nov 24 09:36:39 UTC 2018
#48285: py27-glewpy @0.7.4_9: Cannot convert 'src.glew.GLbyte *' to Python object
---------------------------------+--------------------------------
Reporter: nicolas.stransky@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: py-glewpy |
---------------------------------+--------------------------------
Changes (by ryandesign):
* cc: atalkingegg (added)
Old description:
> 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.G
> Lbyte *' 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"
> }}}
New description:
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"
}}}
--
Comment:
Has duplicate #57664.
--
Ticket URL: <https://trac.macports.org/ticket/48285#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list