-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Cannot zef install Inline::Python --exclude=python3 --verbose
(base) root@3eb2721aab1a:~# zef install Inline::Python --exclude=python3 --verbose
===> Searching for: Inline::Python
===> Found: Inline::Python:ver<0.5>:auth<cpan:NINE> [via Zef::Repository::Ecosystems<rea>]
===> Fetching [OK]: Inline::Python:ver<0.5>:auth<cpan:NINE> to /tmp/.zef.1731249832.1936/1731249839.1936.1458.342338013816/Inline%3A%3APython%3Aver%3C0.5%3E%3Aauth%3Ccpan%3ANINE%3E.tar.gz
===> Extraction [OK]: Inline::Python to /tmp/.zef.1731249832.1936/Inline%3A%3APython%3Aver%3C0.5%3E%3Aauth%3Ccpan%3ANINE%3E.tar.gz
===> Building: Inline::Python:ver<0.5>:auth<cpan:NINE>
[Inline::Python] Command: /home/jovyan/rakudo/bin/rakudo -e exit((require ::(q|Distribution::Builder::MakeFromJSON|)).new(:meta(Distribution::Path.new("/tmp/zef-distribution-builder/2024-11-10/1731249839-1936-7".IO).meta.hash)).build(q|/tmp/.zef.1731249832.1936/Inline%3A%3APython%3Aver%3C0.5%3E%3Aauth%3Ccpan%3ANINE%3E.tar.gz/Inline-Python-0.5|)??0!!1)
[Inline::Python] gcc pyhelper.c -I/opt/conda/include/python3.11 -I/opt/conda/include/python3.11 -Wsign-compare -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem /opt/conda/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/python-split_1696333997367/work=/usr/local/src/conda/python-3.11.6 -fdebug-prefix-map=/opt/conda=/usr/local/src/conda-prefix -DNDEBUG -fwrapv -O3 -Wall -L/opt/conda/lib/python3.11/config-3.11-aarch64-linux-gnu -L/opt/conda/lib -lpython3.11 -lpthread -ldl -lutil -lm -shared -fPIC -o resources/libraries/libpyhelper.so
[Inline::Python] pyhelper.c: In function ‘py_init_python’:
[Inline::Python] pyhelper.c:19:5: warning: ‘Py_SetProgramName’ is deprecated [-Wdeprecated-declarations]
[Inline::Python] 19 | Py_SetProgramName(L"python");
[Inline::Python] | ^~~~~~~~~~~~~~~~~
[Inline::Python] In file included from /opt/conda/include/python3.11/Python.h:94,
[Inline::Python] from pyhelper.c:1:
[Inline::Python] /opt/conda/include/python3.11/pylifecycle.h:37:38: note: declared here
[Inline::Python] 37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
[Inline::Python] | ^~~~~~~~~~~~~~~~~
[Inline::Python] pyhelper.c:23:5: warning: ‘PySys_SetArgv’ is deprecated [-Wdeprecated-declarations]
[Inline::Python] 23 | PySys_SetArgv(_python_argc, _python_argv); /* Tk needs this */
[Inline::Python] | ^~~~~~~~~~~~~
[Inline::Python] In file included from /opt/conda/include/python3.11/Python.h:96,
[Inline::Python] from pyhelper.c:1:
[Inline::Python] /opt/conda/include/python3.11/sysmodule.h:13:38: note: declared here
[Inline::Python] 13 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
[Inline::Python] | ^~~~~~~~~~~~~
[Inline::Python] pyhelper.c: In function ‘py_string_as_string’:
[Inline::Python] pyhelper.c:146:12: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
[Inline::Python] 146 | return PyUnicode_AsUTF8(obj);
[Inline::Python] | ^~~~~~~~~~~~~~~~~~~~~
[Inline::Python] pyhelper.c: In function ‘py_raise_missing_method’:
[Inline::Python] pyhelper.c:262:30: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
[Inline::Python] 262 | char *c_class_name = PyUnicode_AsUTF8(class_name);
[Inline::Python] | ^~~~~~~~~~~~~~~~
[Inline::Python] pyhelper.c: In function ‘perl6_invoke’:
[Inline::Python] pyhelper.c:362:18: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
[Inline::Python] 362 | char * buf = PyUnicode_AsUTF8AndSize(name, &length);
[Inline::Python] | ^~~~~~~~~~~~~~~~~~~~~~~
[Inline::Python] pyhelper.c: In function ‘py_call_method’:
[Inline::Python] pyhelper.c:323:12: warning: ‘py_retval’ may be used uninitialized in this function [-Wmaybe-uninitialized]
[Inline::Python] 323 | return py_retval;
[Inline::Python] | ^~~~~~~~~
===> Building [OK] for Inline::Python:ver<0.5>:auth<cpan:NINE>
===> Staging Inline::Python:ver<0.5>:auth<cpan:NINE>
===> Staging [OK] for Inline::Python:ver<0.5>:auth<cpan:NINE>
===> Testing: Inline::Python:ver<0.5>:auth<cpan:NINE>
[Inline::Python] t/call.t ................ ok
[Inline::Python] t/call_back.t ........... ok
[Inline::Python] t/callables.t ........... ok
[Inline::Python] t/date.t ................ ok
[Inline::Python] t/eval.t ................ ok
[Inline::Python] t/eval_return_values.t .. ok
[Inline::Python] t/exceptions.t .......... ok
[Inline::Python] t/import.t .............. ok
[Inline::Python] t/inherit.t ............. ok
[Inline::Python] t/invoke.t .............. ok
[Inline::Python] t/matplotlib.t .......... ok
[Inline::Python] t/p6_to_py.t ............ Dubious, test returned 255
[Inline::Python] All 12 subtests passed
[Inline::Python] t/py_to_p6.t ............ Dubious, test returned 1
[Inline::Python] All 10 subtests passed
[Inline::Python] All tests successful.
[Inline::Python]
[Inline::Python] Test Summary Report
[Inline::Python] -------------------
[Inline::Python] t/p6_to_py.t (Wstat: 65280 Tests: 1 Failed: 0)
[Inline::Python] Non-zero exit status: 255
[Inline::Python] Parse errors: Bad plan. You planned 12 tests but ran 1.
[Inline::Python] t/py_to_p6.t (Wstat: 256 Tests: 10 Failed: 0)
[Inline::Python] Non-zero exit status: 1
[Inline::Python] Parse errors: No plan found in TAP output
[Inline::Python] Files=13, Tests=370, 3 wallclock secs
[Inline::Python] Result: FAILED
===> Testing [FAIL]: Inline::Python:ver<0.5>:auth<cpan:NINE>
Aborting due to test failure: Inline::Python:ver<0.5>:auth<cpan:NINE> (use --force-test to override)
I have pinned this down to Buffer round trip and will propose a patch via PR shortly
Metadata
Metadata
Assignees
Labels
No labels