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.

Building it manually yields a set of errors:

../../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.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/e101312e-df9b-4757-b6b5-103b51371d36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to