I'm trying to install pyinstaller on aix. When I use pip (python 3) to install it, it tells me the bootloader couldn't be built, then it says to try to build it manually.
../../src/pyi_path.c: In function 'pyi_path_join':
../../src/pyi_path.c:143:5: error: 'strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
strncpy(result, path1, strlen(path1));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/pyi_path.c:156:9: error: 'strncat' specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
strncat(result, path2, len - 2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/pyi_path.c:152:11: note: length computed here
len = strlen(path2);
^~~~~~~~~~~~~
cc1: all warnings being treated as errors
../../src/pyi_pythonlib.c: In function 'pyi_pylib_start_python':
../../src/pyi_pythonlib.c:469:9: error: 'strncat' specified bound 1 equals source length [-Werror=stringop-overflow=]
strncat(pypath, PYI_SEPSTR, strlen(PYI_SEPSTR));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/pyi_pythonlib.c:470:9: error: 'strncat' specified bound 16 equals source length [-Werror=stringop-overflow=]
strncat(pypath, "base_library.zip", strlen("base_library.zip"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/pyi_pythonlib.c:471:9: error: 'strncat' specified bound 1 equals source length [-Werror=stringop-overflow=]
strncat(pypath, PYI_PATHSEPSTR, strlen(PYI_PATHSEPSTR));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/pyi_pythonlib.c:468:9: error: 'strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
strncpy(pypath, status->mainpath, strlen(status->mainpath));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/pyi_pythonlib.c:472:9: error: 'strncat' specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
strncat(pypath, status->mainpath, strlen(status->mainpath));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/pyi_pythonlib.c:464:9: error: 'strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
strncpy(pypath, status->mainpath, strlen(status->mainpath));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm not a C++ programmer, but I took a stab at it and changed strncpy to just strcpy, strncat to strcat, etc. It didn't work (probably obvious to all you C++ programmers).
Is there a way to install pyinstaller on AIX? It does say it's supported on the pyinstaller web site.