openapi-python-client icon indicating copy to clipboard operation
openapi-python-client copied to clipboard

compile.py fails on OS 10.6.8

Open renovate[bot] opened this issue 1 year ago • 0 comments

This happens to me. Python used is 2.6 (I assume the package is self-contained? It has all in, that I need for build?)

gcc -c -g -Wall -Iinclude -Igrub-core/gnulib -Ibuild -DLIBDIR="/usr/local/lib" -DHAVE_CONFIG_H=1 -DGRUB_UTIL=1 -DGRUB_FILE=FILE -D_FILE_OFFSET_BITS=64 -fnested-functions -DAPPLE_CC util/grub-mount.c -o build/util_grub-mount.o In file included from util/grub-mount.c:43: /usr/include/string.h:98: error: conflicting types for ‘strlen’ util/grub-mount.c: In function ‘fuse_init’: util/grub-mount.c:343: warning: unused variable ‘i’ util/grub-mount.c: In function ‘argp_parser’: util/grub-mount.c:420: warning: unused variable ‘p’ Traceback (most recent call last): File "./compile.py", line 159, in compile(f) File "./compile.py", line 67, in compile assert os.system(cmd) == 0 AssertionError

renovate[bot] avatar Apr 25 '24 13:04 renovate[bot]

Ah, this happened for me too when I tried to compile it for i386.

I didn't really found out the conflicting type or the double definition, though.

Maybe digging through the preprocessed source might help to debug this.

albertz avatar Sep 19 '11 09:09 albertz