New issue 2298: cygwin build fails for release-5.1.1 https://bitbucket.org/pypy/pypy/issues/2298/cygwin-build-fails-for-release-511
Eliot Moss: For the record, with the small patch previously submitted in issue [2296](https://bitbucket.org/pypy/pypy/issues/2296/building-on-cygwin-base-loggingh-not-found), the build gets through to the point where it tries to compile the generated C code. This failed, and in order to see if there was more than one problem, I did `make -k` and let the good compilations complete, and then `make -k` again to offer this list of problems: gcc -O3 -fomit-frame-pointer -Wall -Wno-unused -fvisibility=hidden -DPy_BUILD_CORE -DPy_BUILD_CORE -DPYPY_CPU_HAS_STANDARD_PRECISION -DPYPY_X86_CHECK_SSE2 -msse2 -mfpmath=sse -DPy_BUILD_CORE -o data_rpython_jit_metainterp.o -c data_rpython_jit_metainterp.c -I"/home/moss/projects/pypy/rpython"/translator/c -I"/home/moss/projects/pypy/rpython"/../pypy/module/_multibytecodec -I"/home/moss/projects/pypy/rpython"/rlib/rvmprof/src -I"/home/moss/projects/pypy/rpython"/../pypy/module/cpyext/include -I.. -I"/home/moss/projects/pypy/rpython"/../pypy/module/operator -I"/home/moss/projects/pypy/rpython"/../pypy/module/_cffi_backend/src data_rpython_jit_metainterp.c:52439:2: error: ‘crypt’ undeclared here (not in a function) crypt, /* 1344 */ ^ Makefile:746: recipe for target 'data_rpython_jit_metainterp.o' failed make: *** [data_rpython_jit_metainterp.o] Error 1 gcc -O3 -fomit-frame-pointer -Wall -Wno-unused -fvisibility=hidden -DPy_BUILD_CORE -DPy_BUILD_CORE -DPYPY_CPU_HAS_STANDARD_PRECISION -DPYPY_X86_CHECK_SSE2 -msse2 -mfpmath=sse -DPy_BUILD_CORE -o nonfuncnodes_19.o -c nonfuncnodes_19.c -I"/home/moss/projects/pypy/rpython"/translator/c -I"/home/moss/projects/pypy/rpython"/../pypy/module/_multibytecodec -I"/home/moss/projects/pypy/rpython"/rlib/rvmprof/src -I"/home/moss/projects/pypy/rpython"/../pypy/module/cpyext/include -I.. -I"/home/moss/projects/pypy/rpython"/../pypy/module/operator -I"/home/moss/projects/pypy/rpython"/../pypy/module/_cffi_backend/src nonfuncnodes_19.c:33868:11: error: ‘crypt’ undeclared here (not in a function) ((Signed)crypt), /* 5 */ ^ Makefile:746: recipe for target 'nonfuncnodes_19.o' failed make: *** [nonfuncnodes_19.o] Error 1 gcc -O3 -fomit-frame-pointer -Wall -Wno-unused -fvisibility=hidden -DPy_BUILD_CORE -DPy_BUILD_CORE -DPYPY_CPU_HAS_STANDARD_PRECISION -DPYPY_X86_CHECK_SSE2 -msse2 -mfpmath=sse -DPy_BUILD_CORE -o ../module_cache/module_23.o -c ../module_cache/module_23.c -I"/home/moss/projects/pypy/rpython"/translator/c -I"/home/moss/projects/pypy/rpython"/../pypy/module/_multibytecodec -I"/home/moss/projects/pypy/rpython"/rlib/rvmprof/src -I"/home/moss/projects/pypy/rpython"/../pypy/module/cpyext/include -I.. -I"/home/moss/projects/pypy/rpython"/../pypy/module/operator -I"/home/moss/projects/pypy/rpython"/../pypy/module/_cffi_backend/src ../module_cache/module_23.c: In function ‘_cffi_init_home’: ../module_cache/module_23.c:398:5: error: unknown type name ‘Dl_info’ Dl_info info; ^ ../module_cache/module_23.c:400:9: warning: implicit declaration of function ‘dladdr’ [-Wimplicit-function-declaration] if (dladdr(&_cffi_init, &info) == 0) { ^ ../module_cache/module_23.c:404:22: error: request for member ‘dli_fname’ in something not a structure or union if (realpath(info.dli_fname, output_home_path) == NULL) { ^ Makefile:746: recipe for target '../module_cache/module_23.o' failed make: *** [../module_cache/module_23.o] Error 1 make: Target 'all' not remade because of errors. So two failures are related to the name 'crypt' and two to other things. I will try an earlier stable release. It would be good to test at least major releases on cygwin if pypy is going to include build support for that platform, even if nightly checks aren't done. Regards - Eliot Moss _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue