Git Product home page Git Product logo

Comments (28)

CyberRSR avatar CyberRSR commented on June 26, 2024 1

On 2.0.6 on anaconda and minGW64 13.0.2 same:
`(base) c:\My_Documents\Work\alorAPI_setkaNG>python -m nuitka --onefile --mingw64 --lto=yes setkaNG311.py
Nuitka-Options: Used command line options: --onefile --mingw64 --lto=yes setkaNG311.py
Nuitka: Starting Python compilation with Nuitka '2.0.6' on Python '3.11' commercial grade 'not installed'.
Nuitka-Plugins:delvewheel: Detected usage of 'delvewheel' version '1.5.2' in module 'pandas'.
Nuitka-Plugins:delvewheel: Detected usage of 'delvewheel' version '1.5.2' in module 'numpy'.
Nuitka-Plugins:delvewheel: Detected usage of 'delvewheel' version '1.5.2' in module 'matplotlib'.
Nuitka-Plugins:delvewheel: Detected usage of 'delvewheel' version '1.5.2' in module 'mpl_toolkits'.
Nuitka-Plugins:delvewheel: Detected usage of 'delvewheel' version '1.5.2' in module 'scipy'.
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:16')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:17')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:18')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:18')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:19')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:19')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:20')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:33')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:257')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: options-nanny: Using module 'numba' (version 0.59.0) with incomplete support due to untrue condition 'not use_numba and standalone': Numba is not yet fully working with
Nuitka-Plugins:WARNING: Nuitka standalone, try to use '--noinclude-numba-mode=nofollow', but it may fail.
Nuitka-Plugins:WARNING: options-nanny: Module has parameter: Numba JIT is disabled by default in standalone mode, make a choice explicit with '--module-parameter=numba-disable-jit=yes|no'
Nuitka-Plugins:anti-bloat: Not including 'PIL.ImageQt' automatically in order to avoid bloat, but this may cause: PIL will not be able to create Qt image objects.
Nuitka-Plugins:anti-bloat: Not including 'qtpy' automatically in order to avoid bloat, but this may cause: pandas will not be able to use Qt for clipboard interaction.
Nuitka-Plugins:anti-bloat: Not including 'PyQt5' automatically in order to avoid bloat, but this may cause: pandas will not be able to use Qt for clipboard interaction.
Nuitka-Plugins:matplotlib: Using configuration file or default backend 'QtAgg'.
Nuitka: Completed Python level compilation and optimization.
Nuitka: Generating source code for C backend compiler.
Nuitka: Running data composer tool for optimal constant value handling.
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: gcc (gcc 13.2.0).
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

scons: *** [module.AlorPy.Config.o] Error 3221226505
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

scons: *** [__helpers.o] Error 3221226505
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

scons: *** [__loader.o] Error 3221226505
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

scons: *** [module.AlorPy.o] Error 3221226505
scons: *** [module.AlorPy.AlorPy.o] Error 3221226505
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

scons: *** [__constants.o] Error 3221226505
Nuitka-Reports: Compilation report written to file 'nuitka-crash-report.xml'.
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'.`
nuitka-crash-report.zip

from nuitka.

KevinRodriguez777 avatar KevinRodriguez777 commented on June 26, 2024

can you upgrade your nuitka version and try again?

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

To me this looks like a disk full situation. I think Nuitka version looks like develop already @KevinRodriguez777 however mainly it's just not acceptable that this does neither contain version not the report output, although I don't yet expect much more from the report, than the given warnings.

from nuitka.

CyberRSR avatar CyberRSR commented on June 26, 2024

I have the same error on 2.0.5 with mingw64 13.0.2.

from nuitka.

wangyaoyong-wyy avatar wangyaoyong-wyy commented on June 26, 2024

I have the same error on 2.0.6 with mingw64 13.2.0
It is also a Windows 11 computer. Computers of different brands use the same version and command to package the same code. If it fails, this error will appear. For example, I can package normally using a Lenovo computer, but this error will appear on HP computers.

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

That is very strange indeed, but not reproducible to me. Can you try with MSVC please?

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

Can anybody with google foo try to find out what std::filesystem::__cxx11::filesystem_error causes there are in gcc? I was suspecting disc space, it could also be low memory. Try also with --low-memory if you can and with gcc, if that changes something, maybe a out of memory situation happened. However, for multiple modules the same gcc error, is really bizarre. This being reproducible kills me. I am doing it myself on Windows 11, just not a fresh install.

Maybe Windows 11 has changed in a way that corrupts gcc?

from nuitka.

wangyaoyong-wyy avatar wangyaoyong-wyy commented on June 26, 2024

Can anybody with google foo try to find out what std::filesystem::__cxx11::filesystem_error causes there are in gcc? I was suspecting disc space, it could also be low memory. Try also with --low-memory if you can and with gcc, if that changes something, maybe a out of memory situation happened. However, for multiple modules the same gcc error, is really bizarre. This being reproducible kills me. I am doing it myself on Windows 11, just not a fresh install.

Maybe Windows 11 has changed in a way that corrupts gcc?

On another Windows 11 system, I installed gcc and python and other environments in the same way. The code that needs to be packaged is exactly the same, and it can be packaged normally on that computer. Using --low-memory on this computer also fails to package, and the same error is reported, but the number of std::filesystem::__cxx11::filesystem_error errors has been reduced a lot. I will use MSVC to try packaging later.

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

Low memory will not compile C files in paralell which lowers the memory usage and makes the compilation slower, so I think we can rule that out.

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

Can you also try --disable-ccache with gcc, that's another shot.

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

I am updated fully except for KB5034848 with Windows 11, I will try and update, to see if that makes the issue affect me too. This version of gcc has been used with a lot of success for a lot of time, and this doesn't seem to be code dependent at all, kind of like a hello world issue there. From winlibs, the word "filesystem_error" is not in their issue tracker, and the only newer package that we can use updated the contained clang, that we don't really use all that much, certainly not when it crashes for you.

I have to use a Lenovo laptop and not see it, but do we think that HP broke something there? Is this something AV checking could cause?

from nuitka.

wangyaoyong-wyy avatar wangyaoyong-wyy commented on June 26, 2024

Can you also try --disable-ccache with gcc, that's another shot.

After I added --disable-ccache, I downloaded the Dependency Walker tool according to the prompts. At this time, I was able to package the results. Thank you.

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

So, this could be ccache.exe that is having the issue, we download that one too. I wonder if it had cached those things and just put them up again.

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

So that's a ccache issue, apparently with no solution yet or what ccache/ccache#1409

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

I am assuming that Anaconda has a bad ccache release, the one that should be used is the one from winlibs, and that one is this: "C:\Users\kayha\AppData\Local\Nuitka\Nuitka\Cache\downloads\gcc\x86_64\13.2.0-16.0.6-11.0.1-msvcrt-r1\mingw64\bin\ccache.exe" --version
ccache version 4.8.2

I am assuming you are getting 4.9.x used, and that one doesn't work, and it's coming from Anaconda, cannot trust outsiders to even deploy tools good enough to make a version output, maybe that's what it is. I am removing guessing of ccache paths for Win32, since we only accept the winlibs gcc anyway.

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

If you were to provide output of --show-scons with no disabling of ccache, we could tell if you are affected. Nuitka also downloads 4.6 if the ccache is not found in PATH which however it would have to be. For you to use 4.9 would mean that it's on PATH, probably due to Anaconda bin being there before we put the winlibs gcc, but for me it's first path element, so that would have to pickup ccache.exe from there.

So, the code I am removing for factory now, should just not have any effect, for as long as you are using the downloaded gcc, which it might be bad at enforcing maybe.

from nuitka.

CyberRSR avatar CyberRSR commented on June 26, 2024

Can you also try --disable-ccache with gcc, that's another shot.

this helped me too, the exe file is generated and working
but there are errors "The system cannot find the path specified."
nuitka-crash-report is not generated

`Nuitka-Plugins:anti-bloat: Not including 'PIL.ImageQt' automatically in order to avoid bloat, but this may cause: PIL will not be able to create Qt image objects.
Nuitka-Plugins:anti-bloat: Not including 'qtpy' automatically in order to avoid bloat, but this may cause: pandas will not be able to use Qt for clipboard interaction.
Nuitka-Plugins:anti-bloat: Not including 'PyQt5' automatically in order to avoid bloat, but this may cause: pandas will not be able to use Qt for clipboard interaction.
Nuitka-Plugins:matplotlib: Using configuration file or default backend 'QtAgg'.
Nuitka: Completed Python level compilation and optimization.
Nuitka: Generating source code for C backend compiler.
Nuitka: Running data composer tool for optimal constant value handling.
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: gcc (gcc 13.2.0).
Nuitka-Scons: Backend linking program with 2102 files (no progress information available for this stage).
Nuitka-Scons: Running 'gcc -o "C:\MY_DOC1\Work\ALORAP1\SETKAN1.DIS\setkaNG311_20.exe" -flto=6 -fuse-linker-plugin -fpartial-inlining -freorder-functions -Wl,--exclude-all-symbols
Nuitka-Scons: -Wl,--out-implib,.\import.lib -municode -O3 -s -Wl,--enable-auto-import -static-libgcc -Wl,--stack,9863168 @".\@link_input.txt" -LC:\PROGRA
3\ANACON~1\libs -lm -lpython311' took
Nuitka-Scons: 4333.25 seconds
The system cannot find the path specified.
The system cannot find the path specified.
. . . . .
Nuitka-Plugins:data-files: Included data file 'botocore\cacert.pem' due to package data for 'botocore'.
Nuitka-Plugins:data-files: Included 1656 data files due to package data directory 'data' for 'botocore'.
Nuitka-Plugins:data-files: Included data file 'certifi\cacert.pem' due to package data for 'certifi'.
Nuitka-Plugins:matplotlib: Included 182 data files due to package data for 'matplotlib.
Nuitka-Plugins:matplotlib: Included data file 'matplotlib\mpl-data\matplotlibrc' due to updated matplotlib config file with backend to use.
Nuitka-Plugins:data-files: Included data file 'pandas\io\formats\templates\html.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas\io\formats\templates\html_style.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas\io\formats\templates\html_table.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas\io\formats\templates\latex.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas\io\formats\templates\latex_longtable.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas\io\formats\templates\latex_table.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included data file 'pandas\io\formats\templates\string.tpl' due to package data directory 'templates' for 'pandas.io.formats'.
Nuitka-Plugins:data-files: Included 603 data files due to package data directory 'zoneinfo' for 'pytz'.
Nuitka-Plugins:data-files: Included data file 'scipy\stats_sobol_direction_numbers.npz' due to package data for 'scipy'.
Nuitka-Plugins:dll-files: Found 1 file DLLs from llvmlite.binding.ffi installation.
Nuitka-Postprocessing: Creating single file from dist folder, this may take a while.
Nuitka-Onefile: Running bootstrap binary compilation via Scons.
Nuitka-Scons: Onefile C compiler: gcc (gcc 13.2.0).
Nuitka-Scons: Onefile linking program with 1 files (no progress information available for this stage).
The system cannot find the path specified.
The system cannot find the path specified.

Nuitka-Onefile: Using compression for onefile payload.
Nuitka-Onefile: Onefile payload compression ratio (22.00%) size 659570937 to 145072804.
Nuitka-Onefile: Keeping onefile build directory 'setkaNG311_20.onefile-build'.
Nuitka: Keeping dist folder 'setkaNG311_20.dist' for inspection, no need to use it.
Nuitka: Keeping build directory 'setkaNG311_20.build'.
Nuitka: Successfully created 'setkaNG311_20.exe'.`

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

The missing is likely for make.exe and indicative of you not using the downloaded gcc, but a randomly different one. I saw a report like that before on Discord, where Nuitka is saying it would enforce it, but then doesn't actually enforce it. Unfortunately, because I am accepting low quality reports, nobody has provided the --version output that would reveal it.

from nuitka.

CyberRSR avatar CyberRSR commented on June 26, 2024

Unfortunately, because I am accepting low quality reports, nobody has provided the --version output that would reveal it.

`winlibs personal build version gcc-13.2.0-llvm-17.0.6-mingw-w64msvcrt-11.0.1-r5

This is the winlibs Intel/AMD 64-bit standalone build of:

  • GCC 13.2.0
  • GDB 14.1
  • LLVM/Clang/LLD/LLDB 17.0.6
  • MinGW-w64 11.0.1 (linked with msvcrt)
  • GNU Binutils 2.42
  • GNU Make 4.4.1
  • PExports 0.47
  • dos2unix 7.5.2
  • Yasm 1.3.0
  • NASM 2.16.01
  • JWasm 2.12pre
  • ccache version 4.9
  • CMake 3.28.2
  • ninja 1.11.1.git.kitware.jobserver-1
  • Doxygen 1.10.0

Thread model: posix
Runtime library: MSVCRT

This build was compiled with GCC 13.2.0 and packaged on 2024-02-03.

Please check out http://winlibs.com/ for the latest personal build.`

gcc --version gcc.exe (MinGW-W64 x86_64-msvcrt-posix-seh, built by Brecht Sanders, r5) 13.2.0 Copyright (C) 2023 Free Software Foundation, Inc.

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

Well, there is zero chance that a random gcc combination works. I deliberately update it only in the relatively rare circumstances that no new binutils, GCC, ccache apparently, or clang issues exist.

It would appear that your ccache.exe cannot do --version output even. If so, report that to winlibs, it will prevent Nuitka from updating winlibs.

What python -m nuitka --version would have output, is the path to the compiler and that would let me know, that it's essentially an unsupported gcc. I changed my stance from allowing newer versions over time, since LTO and Windows in general are so fragile, to the point, where this gcc of yours should be ignored in favor of a downloaded gcc, independent of versions.

I realize, I lost a bunch of time by accepting that the original poster didn't fill out the issue template. That would have immediately gotten me on track. Instead, I guessed it might be a disk full fluke based on the lack of information. I got to not waste my time on incomplete reports, and instead ask for better ones.

Here is my template text, that will allow me to find this one for deleting later on:


In the template, we have made it clear, that not filling out the issue template is not acceptable. I am closing this kind of report as invalid. The main reason is that we do not want to be left guessing. For you it's easy to erase the issue template and expect us to ask you questions only as necessary, but we cannot do that. We would much rather wait for you to create a new report, fill out the template, or wait for somebody with the necessary skill to do it.

In short: No issue template, no fun. Therefore we are likely just deleting the issue, as it serves as a bad example and detraction for searches. And even worse, it might keep good reporters from reporting as is this "already known."


The real bug is that if detected as a GCC that is not ours, we need to reject outside gcc findings on Windows.

from nuitka.

CyberRSR avatar CyberRSR commented on June 26, 2024

If you were to provide output of --show-scons with no disabling of ccache, we could tell if you are affected. Nuitka also downloads 4.6 if the ccache is not found in PATH which however it would have to be. For you to use 4.9 would mean that it's on PATH, probably due to Anaconda bin being there before we put the winlibs gcc, but for me it's first path element, so that would have to pickup ccache.exe from there.

So, the code I am removing for factory now, should just not have any effect, for as long as you are using the downloaded gcc, which it might be bad at enforcing maybe.

`(base) c:\My_Documents\Work\alorAPI_setkaNG>python -m nuitka --onefile --mingw64 --lto=yes --show-scons setka_dyn_NG311.py
Nuitka-Options: Used command line options: --onefile --mingw64 --lto=yes --show-scons setka_dyn_NG311.py
Nuitka: Starting Python compilation with Nuitka '2.0.6' on Python '3.11' commercial grade 'not installed'.
Nuitka-Plugins:delvewheel: Detected usage of 'delvewheel' version '1.5.2' in module 'pandas'.
Nuitka-Plugins:delvewheel: Detected usage of 'delvewheel' version '1.5.2' in module 'numpy'.
Nuitka-Plugins:delvewheel: Detected usage of 'delvewheel' version '1.5.2' in module 'matplotlib'.
Nuitka-Plugins:delvewheel: Detected usage of 'delvewheel' version '1.5.2' in module 'mpl_toolkits'.
Nuitka-Plugins:delvewheel: Detected usage of 'delvewheel' version '1.5.2' in module 'scipy'.
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:16')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:17')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:18')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:18')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:19')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:19')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:20')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:33')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: anti-bloat: Undesirable import of 'numba' in 'pandas.core._numba.extensions' (at 'C:\ProgramData\anaconda3\Lib\site-packages\pandas\core_numba\extensions.py:257')
Nuitka-Plugins:WARNING: encountered. It may slow down compilation.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/unwanted-module.html
Nuitka-Plugins:WARNING: options-nanny: Using module 'numba' (version 0.59.0) with incomplete support due to untrue condition 'not use_numba and standalone': Numba is not yet fully working with
Nuitka-Plugins:WARNING: Nuitka standalone, try to use '--noinclude-numba-mode=nofollow', but it may fail.
Nuitka-Plugins:WARNING: options-nanny: Module has parameter: Numba JIT is disabled by default in standalone mode, make a choice explicit with '--module-parameter=numba-disable-jit=yes|no'
Nuitka-Plugins:anti-bloat: Not including 'PIL.ImageQt' automatically in order to avoid bloat, but this may cause: PIL will not be able to create Qt image objects.
Nuitka-Plugins:anti-bloat: Not including 'qtpy' automatically in order to avoid bloat, but this may cause: pandas will not be able to use Qt for clipboard interaction.
Nuitka-Plugins:anti-bloat: Not including 'PyQt5' automatically in order to avoid bloat, but this may cause: pandas will not be able to use Qt for clipboard interaction.
Nuitka-Plugins:matplotlib: Using configuration file or default backend 'QtAgg'.
Nuitka: Completed Python level compilation and optimization.
Nuitka: Generating source code for C backend compiler.
Nuitka: Running data composer tool for optimal constant value handling.
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Scons command: C:\ProgramData\anaconda3\python.exe -W ignore C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\bin\scons.py -f
Nuitka-Scons: C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\BACKEN1.SCO --jobs 6 --warn=no-deprecated --no-site-dir --debug=stacktrace
Nuitka-Scons: result_name=C:\MY_DOC1\Work\ALORAP1\SETKA_1.DIS\setka_dyn_NG311 source_dir=. nuitka_python=false debug_mode=false debugger_mode=false python_debug=false module_mode=false
Nuitka-Scons: full_compat=false experimental= trace_mode=false file_reference_mode=runtime module_count=2822 result_exe=C:\MY_DOC
1\Work\ALORAP1\SETKA_1.DIS\setka_dyn_NG311.exe
Nuitka-Scons: standalone_mode=true onefile_mode=true onefile_temp_mode=true frozen_modules=154 python_sysflag_no_site=true nuitka_src=C:\PROGRA
3\ANACON
1\Lib\SITE-P1\nuitka\build
Nuitka-Scons: python_version=3.11 python_prefix=C:\ProgramData\anaconda3 no_deployment= show_scons=true mingw_mode=true lto_mode=yes noelf_mode=true anaconda_python=true
Nuitka-Scons: cpp_defines=_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED=1 target_arch=x86_64
scons: Reading SConscript files ...
Nuitka-Scons: CC 'C:\MinGW\bin\gcc.exe' version check gives (13, 2, 0)
Nuitka-Scons: Initial CC: 'gcc'
Nuitka-Scons: Initial CCVERSION: (13, 2, 0)
Nuitka-Scons: Checking usability of binary 'C:\MinGW\bin\gcc.exe' from environment 'gcc'.
Scons: Compiler used C:\MinGW\bin\gcc.exe
Nuitka-Scons: Backend C compiler: gcc (gcc 13.2.0).
Nuitka-Scons: Using C11 mode: True
Nuitka-Scons: Using resource mode: 'win_resource' (default for Windows).
Nuitka-Scons: Told to run compilation on 6 CPUs.
Nuitka-Scons: Found ccache 'C:\MinGW\bin\ccache.exe' to cache C compilation result.
Nuitka-Scons: Providing real CC path 'C:\MinGW\bin\gcc.exe' via PATH extension.
Nuitka-Scons: Launching Scons target: ['C:\MY_DOC
1\Work\ALORAP1\SETKA_1.DIS\setka_dyn_NG311.exe']
scons: done reading SConscript files.
scons: Building targets ...
"C:\MinGW\bin\ccache.exe" "C:\MinGW\bin\gcc.exe" -o constants.o -c -flto=6 -fuse-linker-plugin -fno-fat-lto-objects -std=c11 -fvisibility=hidden -fwrapv -pipe -fpartial-inlining -ftrack-macro-expansion=0 -Wno-deprecated-declarations -fno-var-tracking -Wno-misleading-indentation -fcompare-debug-second -O3 -D_WIN32_WINNT=0x0501 -D__NUITKA_NO_ASSERT -DMS_WIN64 -D_NUITKA_STANDALONE -D_NUITKA_ONEFILE_MODE -D_NUITKA_ONEFILE_TEMP_BOOL -D_NUITKA_CONSTANTS_FROM_RESOURCE -D_NUITKA_FROZEN=154 -D_NUITKA_EXE -D_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED=1 -IC:\PROGRA
3\ANACON
1\Lib\SITE-P1\nuitka\build\inline_copy\zlib -IC:\PROGRA3\ANACON1\include -I. -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\include -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\static_src -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\libbacktrace constants.c
"C:\MinGW\bin\ccache.exe" "C:\MinGW\bin\gcc.exe" -o helpers.o -c -flto=6 -fuse-linker-plugin -fno-fat-lto-objects -std=c11 -fvisibility=hidden -fwrapv -pipe -fpartial-inlining -ftrack-macro-expansion=0 -Wno-deprecated-declarations -fno-var-tracking -Wno-misleading-indentation -fcompare-debug-second -O3 -D_WIN32_WINNT=0x0501 -D__NUITKA_NO_ASSERT -DMS_WIN64 -D_NUITKA_STANDALONE -D_NUITKA_ONEFILE_MODE -D_NUITKA_ONEFILE_TEMP_BOOL -D_NUITKA_CONSTANTS_FROM_RESOURCE -D_NUITKA_FROZEN=154 -D_NUITKA_EXE -D_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED=1 -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\zlib -IC:\PROGRA3\ANACON1\include -I. -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\include -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\static_src -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\libbacktrace helpers.c
"C:\MinGW\bin\ccache.exe" "C:\MinGW\bin\gcc.exe" -o loader.o -c -flto=6 -fuse-linker-plugin -fno-fat-lto-objects -std=c11 -fvisibility=hidden -fwrapv -pipe -fpartial-inlining -ftrack-macro-expansion=0 -Wno-deprecated-declarations -fno-var-tracking -Wno-misleading-indentation -fcompare-debug-second -O3 -D_WIN32_WINNT=0x0501 -D__NUITKA_NO_ASSERT -DMS_WIN64 -D_NUITKA_STANDALONE -D_NUITKA_ONEFILE_MODE -D_NUITKA_ONEFILE_TEMP_BOOL -D_NUITKA_CONSTANTS_FROM_RESOURCE -D_NUITKA_FROZEN=154 -D_NUITKA_EXE -D_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED=1 -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\zlib -IC:\PROGRA3\ANACON1\include -I. -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\include -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\static_src -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\libbacktrace loader.c
"C:\MinGW\bin\ccache.exe" "C:\MinGW\bin\gcc.exe" -o module.AlorPy.AlorPy.o -c -flto=6 -fuse-linker-plugin -fno-fat-lto-objects -std=c11 -fvisibility=hidden -fwrapv -pipe -fpartial-inlining -ftrack-macro-expansion=0 -Wno-deprecated-declarations -fno-var-tracking -Wno-misleading-indentation -fcompare-debug-second -O3 -D_WIN32_WINNT=0x0501 -D__NUITKA_NO_ASSERT -DMS_WIN64 -D_NUITKA_STANDALONE -D_NUITKA_ONEFILE_MODE -D_NUITKA_ONEFILE_TEMP_BOOL -D_NUITKA_CONSTANTS_FROM_RESOURCE -D_NUITKA_FROZEN=154 -D_NUITKA_EXE -D_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED=1 -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\zlib -IC:\PROGRA3\ANACON1\include -I. -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\include -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\static_src -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\libbacktrace module.AlorPy.AlorPy.c
"C:\MinGW\bin\ccache.exe" "C:\MinGW\bin\gcc.exe" -o module.AlorPy.Config.o -c -flto=6 -fuse-linker-plugin -fno-fat-lto-objects -std=c11 -fvisibility=hidden -fwrapv -pipe -fpartial-inlining -ftrack-macro-expansion=0 -Wno-deprecated-declarations -fno-var-tracking -Wno-misleading-indentation -fcompare-debug-second -O3 -D_WIN32_WINNT=0x0501 -D__NUITKA_NO_ASSERT -DMS_WIN64 -D_NUITKA_STANDALONE -D_NUITKA_ONEFILE_MODE -D_NUITKA_ONEFILE_TEMP_BOOL -D_NUITKA_CONSTANTS_FROM_RESOURCE -D_NUITKA_FROZEN=154 -D_NUITKA_EXE -D_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED=1 -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\zlib -IC:\PROGRA3\ANACON1\include -I. -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\include -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\static_src -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\libbacktrace module.AlorPy.Config.c
"C:\MinGW\bin\ccache.exe" "C:\MinGW\bin\gcc.exe" -o module.AlorPy.o -c -flto=6 -fuse-linker-plugin -fno-fat-lto-objects -std=c11 -fvisibility=hidden -fwrapv -pipe -fpartial-inlining -ftrack-macro-expansion=0 -Wno-deprecated-declarations -fno-var-tracking -Wno-misleading-indentation -fcompare-debug-second -O3 -D_WIN32_WINNT=0x0501 -D__NUITKA_NO_ASSERT
-DMS_WIN64 -D_NUITKA_STANDALONE -D_NUITKA_ONEFILE_MODE -D_NUITKA_ONEFILE_TEMP_BOOL -D_NUITKA_CONSTANTS_FROM_RESOURCE -D_NUITKA_FROZEN=154 -D_NUITKA_EXE -D_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED=1 -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\zlib -IC:\PROGRA3\ANACON1\include -I. -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\include -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\static_src -IC:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\inline_copy\libbacktrace module.AlorPy.c
�[93mterminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'

what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

scons: *** [module.AlorPy.Config.o] Error 3
scons: internal stack trace:
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Job.py", line 262, in run
task.execute()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Script\Main.py", line 193, in execute
SCons.Taskmaster.OutOfDateTask.execute(self)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Taskmaster.py", line 235, in execute
self.targets[0].build()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Node_init_.py", line 755, in build
self.get_executor()(self, **kw)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 384, in call
return _do_execute_map[self.do_execute](self, target, kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 120, in execute_action_list
raise status # TODO pylint E0702: raising int not allowed
^^^^^^^^^^^^
scons: *** [module.AlorPy.o] Error 3
scons: internal stack trace:
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Job.py", line 262, in run
task.execute()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Script\Main.py", line 193, in execute
SCons.Taskmaster.OutOfDateTask.execute(self)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Taskmaster.py", line 235, in execute
self.targets[0].build()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Node_init
.py", line 755, in build
self.get_executor()(self, **kw)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 384, in call
return _do_execute_map[self._do_execute](self, target, kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 120, in execute_action_list
raise status # TODO pylint E0702: raising int not allowed
^^^^^^^^^^^^
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

scons: *** [__helpers.o] Error 3
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

scons: internal stack trace:
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Job.py", line 262, in run
task.execute()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Script\Main.py", line 193, in execute
SCons.Taskmaster.OutOfDateTask.execute(self)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Taskmaster.py", line 235, in execute
self.targets[0].build()
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence

File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Node_init_.py", line 755, in build
self.get_executor()(self, **kw)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 384, in call
return _do_execute_map[self.do_execute](self, target, kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 120, in execute_action_list
raise status # TODO pylint E0702: raising int not allowed
^^^^^^^^^^^^
scons: *** [module.AlorPy.AlorPy.o] Error 3
scons: internal stack trace:
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Job.py", line 262, in run
task.execute()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Script\Main.py", line 193, in execute
SCons.Taskmaster.OutOfDateTask.execute(self)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Taskmaster.py", line 235, in execute
self.targets[0].build()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Node_init
.py", line 755, in build
self.get_executor()(self, **kw)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 384, in call
return _do_execute_map[self._do_execute](self, target, kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 120, in execute_action_list
raise status # TODO pylint E0702: raising int not allowed
^^^^^^^^^^^^
scons: *** [_constants.o] Error 3
scons: internal stack trace:
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Job.py", line 262, in run
task.execute()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Script\Main.py", line 193, in execute
SCons.Taskmaster.OutOfDateTask.execute(self)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Taskmaster.py", line 235, in execute
self.targets[0].build()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Node_init
.py", line 755, in build
self.get_executor()(self, **kw)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 384, in call
return _do_execute_map[self._do_execute](self, target, kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 120, in execute_action_list
raise status # TODO pylint E0702: raising int not allowed
^^^^^^^^^^^^
scons: *** [_loader.o] Error 3
scons: internal stack trace:
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Job.py", line 262, in run
task.execute()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Script\Main.py", line 193, in execute
SCons.Taskmaster.OutOfDateTask.execute(self)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Taskmaster.py", line 235, in execute
self.targets[0].build()
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Node_init
.py", line 755, in build
self.get_executor()(self, **kw)
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 384, in call
return _do_execute_map[self._do_execute](self, target, kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA3\ANACON1\Lib\SITE-P1\nuitka\build\INLINE1\lib\scons-4.3.0\SCons\Executor.py", line 120, in execute_action_list
raise status # TODO pylint E0702: raising int not allowed
^^^^^^^^^^^^
scons: building terminated because of errors.
Nuitka-Reports: Compilation report written to file 'nuitka-crash-report.xml'.
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'.`
nuitka-crash-report.zip
repcon.txt

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html

Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

from nuitka.

CyberRSR avatar CyberRSR commented on June 26, 2024

It would appear that your ccache.exe cannot do --version output even. If so, report that to winlibs, it will prevent Nuitka from updating winlibs.

Yes:
`ccache --version

terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Illegal byte sequence`

What python -m nuitka --version would have output, is the path to the compiler and that would let me know, that it's essentially an unsupported gcc. I changed my stance from allowing newer versions over time, since LTO and Windows in general are so fragile, to the point, where this gcc of yours should be ignored in favor of a downloaded gcc, independent of versions.

(base) c:\My_Documents\Work\alorAPI_setkaNG>python -m nuitka --version 2.0.6 Commercial: None Python: 3.11.7 | packaged by Anaconda, Inc. | (main, Dec 15 2023, 18:05:47) [MSC v.1916 64 bit (AMD64)] Flavor: Anaconda Python Executable: C:\ProgramData\anaconda3\python.exe OS: Windows Arch: x86_64 WindowsRelease: 10 Version C compiler: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\cl.exe (cl 14.3).

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

The factory and soon 2.1 release will no longer accept random Windows gcc's just because the version is new enough and enforce the use of the downloaded version. It can be changed by making a PR with the URL change, and if tests pass.

Having make, having working ccache, having working LTO, having working binutils with no regressions on windows, having all needed workarounds for false messages, all that is so unlikely to exist outside of properly validated versions, we are wasting time and users time, by letting them even attempt things that they do not understand.

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

The version output reacts to --mingw if you do not provide it, MSVC will be output. The compiler related flags must be given there too.

from nuitka.

CyberRSR avatar CyberRSR commented on June 26, 2024

The version output reacts to --mingw if you do not provide it, MSVC will be output. The compiler related flags must be given there too.

(base) c:\My_Documents\Work\alorAPI_setkaNG>python -m nuitka --version --mingw 2.0.6 Commercial: None Python: 3.11.7 | packaged by Anaconda, Inc. | (main, Dec 15 2023, 18:05:47) [MSC v.1916 64 bit (AMD64)] Flavor: Anaconda Python Executable: C:\ProgramData\anaconda3\python.exe OS: Windows Arch: x86_64 WindowsRelease: 10 Version C compiler: C:\MinGW\bin\gcc.exe (gcc 13.2.0).

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

Yeah, you are all affected by the belief that you need to install it yourself, and that new enough versions will work, which is just not the case. Thanks for confirming this. I believe the user manual is unclear about this. We are rewriting the statements there to be more clear regarding this.

from nuitka.

kayhayen avatar kayhayen commented on June 26, 2024

This is now on develop.

from nuitka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.