Skip to content

Instantly share code, notes, and snippets.

@steinuil
Last active March 30, 2024 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steinuil/b0a0e4ec4cef0663d5214de33edc4ad8 to your computer and use it in GitHub Desktop.
Save steinuil/b0a0e4ec4cef0663d5214de33edc4ad8 to your computer and use it in GitHub Desktop.
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing python-runtime-deps-check-hook
Using pythonRuntimeDepsCheckHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/wrn30f961g2w5wy1w9jsnpplzvcvihd4-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/setup.py
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
applying patch /nix/store/13b0brs85kkdzy8d93qyfsd8xf2q0bs2-157ed49803567e8c3eeb7dfeff4c116db35747f7.patch
patching file agg2/include/agg_trans_affine.h
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Executing pypaBuildPhase
Creating a wheel...
* Getting build dependencies for wheel...
Trying freetype-config to find freetype library...
Using ctypes to find freetype library...
Trying 'pkgconfig' to find freetype library...
=== freetype found: '/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2'
running egg_info
creating aggdraw.egg-info
writing aggdraw.egg-info/PKG-INFO
writing dependency_links to aggdraw.egg-info/dependency_links.txt
writing top-level names to aggdraw.egg-info/top_level.txt
writing manifest file 'aggdraw.egg-info/SOURCES.txt'
reading manifest file 'aggdraw.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'aggdraw.egg-info/SOURCES.txt'
* Building wheel...
Trying freetype-config to find freetype library...
Using ctypes to find freetype library...
Trying 'pkgconfig' to find freetype library...
=== freetype found: '/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2'
running bdist_wheel
running build
running build_ext
building 'aggdraw' extension
creating build
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/agg2
creating build/temp.linux-x86_64-cpython-312/agg2/font_freetype
creating build/temp.linux-x86_64-cpython-312/agg2/src
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DVERSION=1.3.16 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype2 -I/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2/include/python3.12 -c agg2/font_freetype/agg_font_freetype.cpp -o build/temp.linux-x86_64-cpython-312/agg2/font_freetype/agg_font_freetype.o
In file included from agg2/font_freetype/agg_font_freetype.h:28,
from agg2/font_freetype/agg_font_freetype.cpp:18:
agg2/include/agg_scanline_storage_bin.h: In member function ‘unsigned int agg::scanline_storage_bin::byte_size() const’:
agg2/include/agg_scanline_storage_bin.h:247:38: warning: unused variable ‘sp’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;]
247 | const span_data& sp = m_spans[span_idx++];
| ^~
agg2/font_freetype/agg_font_freetype.cpp: In member function ‘void agg::font_engine_freetype_base::update_signature()’:
agg2/font_freetype/agg_font_freetype.cpp:766:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘FT_Fixed’ {aka ‘long int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;]
766 | "%s,%u,%d,%d,%d:%dx%d,%d,%d,%d,%d,%d,%d,%08X",
| ~^
| |
| int
| %ld
......
774 | m_matrix.xx,
| ~~~~~~~~~~~
| |
| FT_Fixed {aka long int}
agg2/font_freetype/agg_font_freetype.cpp:766:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 11 has type ‘FT_Fixed’ {aka ‘long int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;]
766 | "%s,%u,%d,%d,%d:%dx%d,%d,%d,%d,%d,%d,%d,%08X",
| ~^
| |
| int
| %ld
......
775 | m_matrix.xy,
| ~~~~~~~~~~~
| |
| FT_Fixed {aka long int}
agg2/font_freetype/agg_font_freetype.cpp:766:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 12 has type ‘FT_Fixed’ {aka ‘long int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;]
766 | "%s,%u,%d,%d,%d:%dx%d,%d,%d,%d,%d,%d,%d,%08X",
| ~^
| |
| int
| %ld
......
776 | m_matrix.yx,
| ~~~~~~~~~~~
| |
| FT_Fixed {aka long int}
agg2/font_freetype/agg_font_freetype.cpp:766:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 13 has type ‘FT_Fixed’ {aka ‘long int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;]
766 | "%s,%u,%d,%d,%d:%dx%d,%d,%d,%d,%d,%d,%d,%08X",
| ~^
| |
| int
| %ld
......
777 | m_matrix.yy,
| ~~~~~~~~~~~
| |
| FT_Fixed {aka long int}
agg2/font_freetype/agg_font_freetype.cpp: In member function ‘void agg::font_engine_freetype_base::write_glyph_to(agg::int8u*) const’:
agg2/font_freetype/agg_font_freetype.cpp:1008:19: warning: enumeration value ‘glyph_data_invalid’ not handled in switch []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wswitch-Wswitch]8;;]
1008 | switch(m_data_type)
| ^
agg2/font_freetype/agg_font_freetype.cpp: In instantiation of ‘void agg::decompose_ft_bitmap_mono(const FT_Bitmap&, int, int, bool, Scanline&, ScanlineStorage&) [with Scanline = scanline_bin; ScanlineStorage = scanline_storage_bin; FT_Bitmap = FT_Bitmap_]’:
agg2/font_freetype/agg_font_freetype.cpp:832:45: required from here
agg2/font_freetype/agg_font_freetype.cpp:341:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;]
341 | for(i = 0; i < bitmap.rows; i++)
| ~~^~~~~~~~~~~~~
agg2/font_freetype/agg_font_freetype.cpp:346:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;]
346 | for(j = 0; j < bitmap.width; j++)
| ~~^~~~~~~~~~~~~~
agg2/font_freetype/agg_font_freetype.cpp: In instantiation of ‘void agg::decompose_ft_bitmap_gray8(const FT_Bitmap&, int, int, bool, Rasterizer&, Scanline&, ScanlineStorage&) [with Rasterizer = rasterizer_scanline_aa<>; Scanline = scanline_u<unsigned char>; ScanlineStorage = scanline_storage_aa<unsigned char>; FT_Bitmap = FT_Bitmap_]’:
agg2/font_freetype/agg_font_freetype.cpp:856:46: required from here
agg2/font_freetype/agg_font_freetype.cpp:382:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;]
382 | for(i = 0; i < bitmap.rows; i++)
| ~~^~~~~~~~~~~~~
agg2/font_freetype/agg_font_freetype.cpp:386:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const unsigned int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;]
386 | for(j = 0; j < bitmap.width; j++)
| ~~^~~~~~~~~~~~~~
In file included from agg2/font_freetype/agg_font_freetype.h:31:
agg2/include/agg_path_storage_integer.h: In instantiation of ‘agg::rect_d agg::path_storage_integer<T, CoordShift>::bounding_rect() const [with T = int; unsigned int CoordShift = 6; agg::rect_d = agg::rect_base<double>]’:
agg2/font_freetype/agg_font_freetype.cpp:888:65: required from here
agg2/include/agg_path_storage_integer.h:174:27: warning: operation on ‘bounds.agg::rect_base<double>::x1’ may be undefined []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsequence-point-Wsequence-point]8;;]
174 | bounds.x1 = bounds.x1 = bounds.x2 = bounds.y2 = 0.0;
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agg2/include/agg_path_storage_integer.h: In instantiation of ‘agg::rect_d agg::path_storage_integer<T, CoordShift>::bounding_rect() const [with T = short int; unsigned int CoordShift = 6; agg::rect_d = agg::rect_base<double>]’:
agg2/font_freetype/agg_font_freetype.cpp:908:65: required from here
agg2/include/agg_path_storage_integer.h:174:27: warning: operation on ‘bounds.agg::rect_base<double>::x1’ may be undefined []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsequence-point-Wsequence-point]8;;]
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DVERSION=1.3.16 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype2 -I/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2/include/python3.12 -c agg2/src/agg_arc.cpp -o build/temp.linux-x86_64-cpython-312/agg2/src/agg_arc.o
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DVERSION=1.3.16 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype2 -I/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2/include/python3.12 -c agg2/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-cpython-312/agg2/src/agg_bezier_arc.o
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DVERSION=1.3.16 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype2 -I/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2/include/python3.12 -c agg2/src/agg_curves.cpp -o build/temp.linux-x86_64-cpython-312/agg2/src/agg_curves.o
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DVERSION=1.3.16 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype2 -I/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2/include/python3.12 -c agg2/src/agg_path_storage.cpp -o build/temp.linux-x86_64-cpython-312/agg2/src/agg_path_storage.o
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DVERSION=1.3.16 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype2 -I/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2/include/python3.12 -c agg2/src/agg_rasterizer_scanline_aa.cpp -o build/temp.linux-x86_64-cpython-312/agg2/src/agg_rasterizer_scanline_aa.o
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DVERSION=1.3.16 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype2 -I/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2/include/python3.12 -c agg2/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-cpython-312/agg2/src/agg_trans_affine.o
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DVERSION=1.3.16 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype2 -I/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2/include/python3.12 -c agg2/src/agg_vcgen_contour.cpp -o build/temp.linux-x86_64-cpython-312/agg2/src/agg_vcgen_contour.o
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DVERSION=1.3.16 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype2 -I/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2/include/python3.12 -c agg2/src/agg_vcgen_stroke.cpp -o build/temp.linux-x86_64-cpython-312/agg2/src/agg_vcgen_stroke.o
g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -DVERSION=1.3.16 -DHAVE_FREETYPE2 -Iagg2/include -Iagg2/font_freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype -I/nix/store/jxkph070yav94apr5ylb7wzx3z2bqw5l-freetype-2.13.2/include/freetype2 -I/nix/store/7yh2ax34jd7fgf17mjfd3c6niw1h2hsj-python3-3.12.2/include/python3.12 -c aggdraw.cxx -o build/temp.linux-x86_64-cpython-312/aggdraw.o
In file included from agg2/font_freetype/agg_font_freetype.h:28,
from aggdraw.cxx:86:
agg2/include/agg_scanline_storage_bin.h: In member function ‘unsigned int agg::scanline_storage_bin::byte_size() const’:
agg2/include/agg_scanline_storage_bin.h:247:38: warning: unused variable ‘sp’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;]
247 | const span_data& sp = m_spans[span_idx++];
| ^~
aggdraw.cxx: In function ‘int text_getchar(PyObject*, int, long unsigned int*)’:
aggdraw.cxx:338:25: error: ‘PyUnicode_AS_UNICODE’ was not declared in this scope; did you mean ‘PyUnicode_AsUCS4’?
338 | Py_UNICODE* p = PyUnicode_AS_UNICODE(string);
| ^~~~~~~~~~~~~~~~~~~~
| PyUnicode_AsUCS4
aggdraw.cxx:339:20: error: ‘PyUnicode_GET_SIZE’ was not declared in this scope; did you mean ‘PyDict_GET_SIZE’?
339 | int size = PyUnicode_GET_SIZE(string);
| ^~~~~~~~~~~~~~~~~~
| PyDict_GET_SIZE
In file included from agg2/font_freetype/agg_font_freetype.h:35:
agg2/include/agg_font_cache_manager.h: In instantiation of ‘void agg::font_cache_manager<FontEngine>::init_embedded_adaptors(const agg::glyph_cache*, double, double) [with FontEngine = agg::font_engine_freetype_int32]’:
aggdraw.cxx:492:48: required from ‘void draw_adaptor<PixFmt>::drawtext(float*, PyObject*, FontObject*) [with PixFmt = agg::pixel_formats_rgba32<agg::order_rgba32>; PyObject = _object]’
aggdraw.cxx:462:10: required from here
agg2/include/agg_font_cache_manager.h:306:17: warning: enumeration value ‘glyph_data_invalid’ not handled in switch []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wswitch-Wswitch]8;;]
306 | switch(gl->data_type)
| ^~~~~~
error: command '/nix/store/kvlhk0gpm2iz1asbw1xjac2ch0r8kyw9-gcc-wrapper-13.2.0/bin/g++' failed with exit code 1
ERROR Backend subprocess exited when trying to invoke build_wheel
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing setuptools-check-hook
Using setuptoolsCheckPhase
Sourcing pytest-check-hook
Using pytestCheckPhase
Removing setuptoolsCheckPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/6s2i2wpx9vx8ndqmkqb4cqff77dlzxai-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tools/extract_terminology.py
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Executing setuptoolsBuildPhase
Compiling src/psd_tools/compression/_rle.pyx because it changed.
[1/1] Cythonizing src/psd_tools/compression/_rle.pyx
/nix/store/bc6z8nlv82pi3h7d52pg9wx78r15090y-python3.11-cython-0.29.36/lib/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /build/source/src/psd_tools/compression/_rle.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
# distutils: language=c++
# cython: wraparound=False, binding=False
from libcpp.string cimport string
from libcpp.algorithm cimport copy_n, fill_n
^
------------------------------------------------------------
src/psd_tools/compression/_rle.pyx:5:0: 'libcpp/algorithm/copy_n.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
# distutils: language=c++
# cython: wraparound=False, binding=False
from libcpp.string cimport string
from libcpp.algorithm cimport copy_n, fill_n
^
------------------------------------------------------------
src/psd_tools/compression/_rle.pyx:5:0: 'libcpp/algorithm/fill_n.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
i, bit = i+1, data[i]
if bit > 128:
bit = 256 - bit
if j+1+bit > size:
raise ValueError('Invalid RLE compression')
fill_n(result.begin()+j, 1+bit, <char>data[i])
^
------------------------------------------------------------
src/psd_tools/compression/_rle.pyx:32:12: 'fill_n' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
i, bit = i+1, data[i]
if bit > 128:
bit = 256 - bit
if j+1+bit > size:
raise ValueError('Invalid RLE compression')
fill_n(result.begin()+j, 1+bit, <char>data[i])
^
------------------------------------------------------------
src/psd_tools/compression/_rle.pyx:32:33: Invalid operand types for '+' (iterator; int)
Error compiling Cython file:
------------------------------------------------------------
...
j += 1+bit
i += 1
elif bit < 128:
if i+1+bit > length or (j+1+bit > size):
raise ValueError('Invalid RLE compression')
copy_n(&data[i], 1+bit, result.begin()+j)
^
------------------------------------------------------------
src/psd_tools/compression/_rle.pyx:38:12: 'copy_n' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
j += 1+bit
i += 1
elif bit < 128:
if i+1+bit > length or (j+1+bit > size):
raise ValueError('Invalid RLE compression')
copy_n(&data[i], 1+bit, result.begin()+j)
^
------------------------------------------------------------
src/psd_tools/compression/_rle.pyx:38:50: Invalid operand types for '+' (iterator; int)
Traceback (most recent call last):
File "/build/source/nix_run_setup", line 8, in <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 16, in <module>
setup(ext_modules=cythonize(extensions))
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/bc6z8nlv82pi3h7d52pg9wx78r15090y-python3.11-cython-0.29.36/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1115, in cythonize
cythonize_one(*args)
File "/nix/store/bc6z8nlv82pi3h7d52pg9wx78r15090y-python3.11-cython-0.29.36/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: src/psd_tools/compression/_rle.pyx
/nix/store/c8dj731bkcdzhgrpawhc8qvdgls4xfjv-stdenv-linux/setup: line 1578: pop_var_context: head of shell_variables not a function context
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing setuptools-check-hook
Using setuptoolsCheckPhase
Sourcing pytest-check-hook
Using pytestCheckPhase
Removing setuptoolsCheckPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/6s2i2wpx9vx8ndqmkqb4cqff77dlzxai-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tools/extract_terminology.py
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Executing setuptoolsBuildPhase
[1/1] Cythonizing src/psd_tools/compression/_rle.pyx
/nix/store/lvl6hq202hvsz8avzacqgkzkl7bylfsp-python3.11-cython-3.0.9/lib/python3.11/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /build/source/src/psd_tools/compression/_rle.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/psd_tools
copying src/psd_tools/__init__.py -> build/lib.linux-x86_64-cpython-311/psd_tools
copying src/psd_tools/__main__.py -> build/lib.linux-x86_64-cpython-311/psd_tools
copying src/psd_tools/constants.py -> build/lib.linux-x86_64-cpython-311/psd_tools
copying src/psd_tools/terminology.py -> build/lib.linux-x86_64-cpython-311/psd_tools
copying src/psd_tools/utils.py -> build/lib.linux-x86_64-cpython-311/psd_tools
copying src/psd_tools/validators.py -> build/lib.linux-x86_64-cpython-311/psd_tools
copying src/psd_tools/version.py -> build/lib.linux-x86_64-cpython-311/psd_tools
creating build/lib.linux-x86_64-cpython-311/psd_tools/api
copying src/psd_tools/api/__init__.py -> build/lib.linux-x86_64-cpython-311/psd_tools/api
copying src/psd_tools/api/adjustments.py -> build/lib.linux-x86_64-cpython-311/psd_tools/api
copying src/psd_tools/api/effects.py -> build/lib.linux-x86_64-cpython-311/psd_tools/api
copying src/psd_tools/api/layers.py -> build/lib.linux-x86_64-cpython-311/psd_tools/api
copying src/psd_tools/api/mask.py -> build/lib.linux-x86_64-cpython-311/psd_tools/api
copying src/psd_tools/api/numpy_io.py -> build/lib.linux-x86_64-cpython-311/psd_tools/api
copying src/psd_tools/api/pil_io.py -> build/lib.linux-x86_64-cpython-311/psd_tools/api
copying src/psd_tools/api/psd_image.py -> build/lib.linux-x86_64-cpython-311/psd_tools/api
copying src/psd_tools/api/shape.py -> build/lib.linux-x86_64-cpython-311/psd_tools/api
copying src/psd_tools/api/smart_object.py -> build/lib.linux-x86_64-cpython-311/psd_tools/api
creating build/lib.linux-x86_64-cpython-311/psd_tools/composer
copying src/psd_tools/composer/__init__.py -> build/lib.linux-x86_64-cpython-311/psd_tools/composer
copying src/psd_tools/composer/blend.py -> build/lib.linux-x86_64-cpython-311/psd_tools/composer
copying src/psd_tools/composer/effects.py -> build/lib.linux-x86_64-cpython-311/psd_tools/composer
copying src/psd_tools/composer/vector.py -> build/lib.linux-x86_64-cpython-311/psd_tools/composer
creating build/lib.linux-x86_64-cpython-311/psd_tools/composite
copying src/psd_tools/composite/__init__.py -> build/lib.linux-x86_64-cpython-311/psd_tools/composite
copying src/psd_tools/composite/blend.py -> build/lib.linux-x86_64-cpython-311/psd_tools/composite
copying src/psd_tools/composite/effects.py -> build/lib.linux-x86_64-cpython-311/psd_tools/composite
copying src/psd_tools/composite/vector.py -> build/lib.linux-x86_64-cpython-311/psd_tools/composite
creating build/lib.linux-x86_64-cpython-311/psd_tools/compression
copying src/psd_tools/compression/__init__.py -> build/lib.linux-x86_64-cpython-311/psd_tools/compression
copying src/psd_tools/compression/rle.py -> build/lib.linux-x86_64-cpython-311/psd_tools/compression
creating build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/__init__.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/adjustments.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/base.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/color.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/color_mode_data.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/descriptor.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/effects_layer.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/engine_data.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/filter_effects.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/header.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/image_data.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/image_resources.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/layer_and_mask.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/linked_layer.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/patterns.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/tagged_blocks.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
copying src/psd_tools/psd/vector.py -> build/lib.linux-x86_64-cpython-311/psd_tools/psd
running egg_info
creating src/psd_tools.egg-info
writing src/psd_tools.egg-info/PKG-INFO
writing dependency_links to src/psd_tools.egg-info/dependency_links.txt
writing entry points to src/psd_tools.egg-info/entry_points.txt
writing requirements to src/psd_tools.egg-info/requires.txt
writing top-level names to src/psd_tools.egg-info/top_level.txt
writing manifest file 'src/psd_tools.egg-info/SOURCES.txt'
reading manifest file 'src/psd_tools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/psd_tools.egg-info/SOURCES.txt'
copying src/psd_tools/compression/_rle.cpp -> build/lib.linux-x86_64-cpython-311/psd_tools/compression
copying src/psd_tools/compression/_rle.pyx -> build/lib.linux-x86_64-cpython-311/psd_tools/compression
running build_ext
building 'psd_tools.compression._rle' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/src
creating build/temp.linux-x86_64-cpython-311/src/psd_tools
creating build/temp.linux-x86_64-cpython-311/src/psd_tools/compression
g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -fPIC -I/nix/store/7wz6hm9i8wljz0hgwz1wqmn2zlbgavrq-python3-3.11.8/include/python3.11 -c src/psd_tools/compression/_rle.cpp -o build/temp.linux-x86_64-cpython-311/src/psd_tools/compression/_rle.o
g++ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/kp31zcpazmiawg1n7xspnsp86x9rhmhf-libxcrypt-4.4.36/include -shared build/temp.linux-x86_64-cpython-311/src/psd_tools/compression/_rle.o -L/nix/store/7wz6hm9i8wljz0hgwz1wqmn2zlbgavrq-python3-3.11.8/lib -o build/lib.linux-x86_64-cpython-311/psd_tools/compression/_rle.cpython-311-x86_64-linux-gnu.so
/nix/store/ia0zlw106xb1d3vk9swyh8hgb0jfaycc-python3.11-setuptools-69.1.1/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/psd_tools
copying build/lib.linux-x86_64-cpython-311/psd_tools/__init__.py -> build/bdist.linux-x86_64/wheel/psd_tools
copying build/lib.linux-x86_64-cpython-311/psd_tools/__main__.py -> build/bdist.linux-x86_64/wheel/psd_tools
copying build/lib.linux-x86_64-cpython-311/psd_tools/constants.py -> build/bdist.linux-x86_64/wheel/psd_tools
copying build/lib.linux-x86_64-cpython-311/psd_tools/terminology.py -> build/bdist.linux-x86_64/wheel/psd_tools
copying build/lib.linux-x86_64-cpython-311/psd_tools/utils.py -> build/bdist.linux-x86_64/wheel/psd_tools
copying build/lib.linux-x86_64-cpython-311/psd_tools/validators.py -> build/bdist.linux-x86_64/wheel/psd_tools
copying build/lib.linux-x86_64-cpython-311/psd_tools/version.py -> build/bdist.linux-x86_64/wheel/psd_tools
creating build/bdist.linux-x86_64/wheel/psd_tools/api
copying build/lib.linux-x86_64-cpython-311/psd_tools/api/__init__.py -> build/bdist.linux-x86_64/wheel/psd_tools/api
copying build/lib.linux-x86_64-cpython-311/psd_tools/api/adjustments.py -> build/bdist.linux-x86_64/wheel/psd_tools/api
copying build/lib.linux-x86_64-cpython-311/psd_tools/api/effects.py -> build/bdist.linux-x86_64/wheel/psd_tools/api
copying build/lib.linux-x86_64-cpython-311/psd_tools/api/layers.py -> build/bdist.linux-x86_64/wheel/psd_tools/api
copying build/lib.linux-x86_64-cpython-311/psd_tools/api/mask.py -> build/bdist.linux-x86_64/wheel/psd_tools/api
copying build/lib.linux-x86_64-cpython-311/psd_tools/api/numpy_io.py -> build/bdist.linux-x86_64/wheel/psd_tools/api
copying build/lib.linux-x86_64-cpython-311/psd_tools/api/pil_io.py -> build/bdist.linux-x86_64/wheel/psd_tools/api
copying build/lib.linux-x86_64-cpython-311/psd_tools/api/psd_image.py -> build/bdist.linux-x86_64/wheel/psd_tools/api
copying build/lib.linux-x86_64-cpython-311/psd_tools/api/shape.py -> build/bdist.linux-x86_64/wheel/psd_tools/api
copying build/lib.linux-x86_64-cpython-311/psd_tools/api/smart_object.py -> build/bdist.linux-x86_64/wheel/psd_tools/api
creating build/bdist.linux-x86_64/wheel/psd_tools/composer
copying build/lib.linux-x86_64-cpython-311/psd_tools/composer/__init__.py -> build/bdist.linux-x86_64/wheel/psd_tools/composer
copying build/lib.linux-x86_64-cpython-311/psd_tools/composer/blend.py -> build/bdist.linux-x86_64/wheel/psd_tools/composer
copying build/lib.linux-x86_64-cpython-311/psd_tools/composer/effects.py -> build/bdist.linux-x86_64/wheel/psd_tools/composer
copying build/lib.linux-x86_64-cpython-311/psd_tools/composer/vector.py -> build/bdist.linux-x86_64/wheel/psd_tools/composer
creating build/bdist.linux-x86_64/wheel/psd_tools/composite
copying build/lib.linux-x86_64-cpython-311/psd_tools/composite/__init__.py -> build/bdist.linux-x86_64/wheel/psd_tools/composite
copying build/lib.linux-x86_64-cpython-311/psd_tools/composite/blend.py -> build/bdist.linux-x86_64/wheel/psd_tools/composite
copying build/lib.linux-x86_64-cpython-311/psd_tools/composite/effects.py -> build/bdist.linux-x86_64/wheel/psd_tools/composite
copying build/lib.linux-x86_64-cpython-311/psd_tools/composite/vector.py -> build/bdist.linux-x86_64/wheel/psd_tools/composite
creating build/bdist.linux-x86_64/wheel/psd_tools/compression
copying build/lib.linux-x86_64-cpython-311/psd_tools/compression/__init__.py -> build/bdist.linux-x86_64/wheel/psd_tools/compression
copying build/lib.linux-x86_64-cpython-311/psd_tools/compression/rle.py -> build/bdist.linux-x86_64/wheel/psd_tools/compression
copying build/lib.linux-x86_64-cpython-311/psd_tools/compression/_rle.cpp -> build/bdist.linux-x86_64/wheel/psd_tools/compression
copying build/lib.linux-x86_64-cpython-311/psd_tools/compression/_rle.pyx -> build/bdist.linux-x86_64/wheel/psd_tools/compression
copying build/lib.linux-x86_64-cpython-311/psd_tools/compression/_rle.cpython-311-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/psd_tools/compression
creating build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/__init__.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/adjustments.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/base.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/color.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/color_mode_data.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/descriptor.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/effects_layer.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/engine_data.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/filter_effects.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/header.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/image_data.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/image_resources.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/layer_and_mask.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/linked_layer.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/patterns.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/tagged_blocks.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
copying build/lib.linux-x86_64-cpython-311/psd_tools/psd/vector.py -> build/bdist.linux-x86_64/wheel/psd_tools/psd
running install_egg_info
Copying src/psd_tools.egg-info to build/bdist.linux-x86_64/wheel/psd_tools-1.9.31-py3.11.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/psd_tools-1.9.31.dist-info/WHEEL
creating 'dist/psd_tools-1.9.31-cp311-cp311-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'psd_tools/__init__.py'
adding 'psd_tools/__main__.py'
adding 'psd_tools/constants.py'
adding 'psd_tools/terminology.py'
adding 'psd_tools/utils.py'
adding 'psd_tools/validators.py'
adding 'psd_tools/version.py'
adding 'psd_tools/api/__init__.py'
adding 'psd_tools/api/adjustments.py'
adding 'psd_tools/api/effects.py'
adding 'psd_tools/api/layers.py'
adding 'psd_tools/api/mask.py'
adding 'psd_tools/api/numpy_io.py'
adding 'psd_tools/api/pil_io.py'
adding 'psd_tools/api/psd_image.py'
adding 'psd_tools/api/shape.py'
adding 'psd_tools/api/smart_object.py'
adding 'psd_tools/composer/__init__.py'
adding 'psd_tools/composer/blend.py'
adding 'psd_tools/composer/effects.py'
adding 'psd_tools/composer/vector.py'
adding 'psd_tools/composite/__init__.py'
adding 'psd_tools/composite/blend.py'
adding 'psd_tools/composite/effects.py'
adding 'psd_tools/composite/vector.py'
adding 'psd_tools/compression/__init__.py'
adding 'psd_tools/compression/_rle.cpp'
adding 'psd_tools/compression/_rle.cpython-311-x86_64-linux-gnu.so'
adding 'psd_tools/compression/_rle.pyx'
adding 'psd_tools/compression/rle.py'
adding 'psd_tools/psd/__init__.py'
adding 'psd_tools/psd/adjustments.py'
adding 'psd_tools/psd/base.py'
adding 'psd_tools/psd/color.py'
adding 'psd_tools/psd/color_mode_data.py'
adding 'psd_tools/psd/descriptor.py'
adding 'psd_tools/psd/effects_layer.py'
adding 'psd_tools/psd/engine_data.py'
adding 'psd_tools/psd/filter_effects.py'
adding 'psd_tools/psd/header.py'
adding 'psd_tools/psd/image_data.py'
adding 'psd_tools/psd/image_resources.py'
adding 'psd_tools/psd/layer_and_mask.py'
adding 'psd_tools/psd/linked_layer.py'
adding 'psd_tools/psd/patterns.py'
adding 'psd_tools/psd/tagged_blocks.py'
adding 'psd_tools/psd/vector.py'
adding 'psd_tools-1.9.31.dist-info/LICENSE'
adding 'psd_tools-1.9.31.dist-info/METADATA'
adding 'psd_tools-1.9.31.dist-info/WHEEL'
adding 'psd_tools-1.9.31.dist-info/entry_points.txt'
adding 'psd_tools-1.9.31.dist-info/top_level.txt'
adding 'psd_tools-1.9.31.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
Running phase: installPhase
Executing pypaInstallPhase
Successfully installed psd_tools-1.9.31-cp311-cp311-linux_x86_64.whl
Finished executing pypaInstallPhase
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" }
Running phase: pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/c9m7nvjqicc359q9bilnlyrz26l3kki0-python3.11-psd-tools-1.9.31
shrinking /nix/store/c9m7nvjqicc359q9bilnlyrz26l3kki0-python3.11-psd-tools-1.9.31/lib/python3.11/site-packages/psd_tools/compression/_rle.cpython-311-x86_64-linux-gnu.so
checking for references to /build/ in /nix/store/c9m7nvjqicc359q9bilnlyrz26l3kki0-python3.11-psd-tools-1.9.31...
patching script interpreter paths in /nix/store/c9m7nvjqicc359q9bilnlyrz26l3kki0-python3.11-psd-tools-1.9.31
stripping (with command strip and flags -S -p) in /nix/store/c9m7nvjqicc359q9bilnlyrz26l3kki0-python3.11-psd-tools-1.9.31/lib /nix/store/c9m7nvjqicc359q9bilnlyrz26l3kki0-python3.11-psd-tools-1.9.31/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/rqfwsah3p1ijazj2xv1glv4wa1m462aj-python3.11-psd-tools-1.9.31-dist
checking for references to /build/ in /nix/store/rqfwsah3p1ijazj2xv1glv4wa1m462aj-python3.11-psd-tools-1.9.31-dist...
patching script interpreter paths in /nix/store/rqfwsah3p1ijazj2xv1glv4wa1m462aj-python3.11-psd-tools-1.9.31-dist
Rewriting #!/nix/store/7wz6hm9i8wljz0hgwz1wqmn2zlbgavrq-python3-3.11.8/bin/python3.11 to #!/nix/store/7wz6hm9i8wljz0hgwz1wqmn2zlbgavrq-python3-3.11.8
wrapping `/nix/store/c9m7nvjqicc359q9bilnlyrz26l3kki0-python3.11-psd-tools-1.9.31/bin/psd-tools'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
Running phase: installCheckPhase
no Makefile or custom installCheckPhase, doing nothing
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
Running phase: pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
Running phase: pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
Running phase: pythonImportsCheckPhase
Executing pythonImportsCheckPhase
Check whether the following modules can be imported: psd_tools
@nix { "action": "setPhase", "phase": "pytestCheckPhase" }
Running phase: pytestCheckPhase
Executing pytestCheckPhase
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --cov=psd_tools
inifile: /build/source/pyproject.toml
rootdir: /build/source

/nix/store/c8dj731bkcdzhgrpawhc8qvdgls4xfjv-stdenv-linux/setup: line 1578: pop_var_context: head of shell_variables not a function context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment