Semigroups icon indicating copy to clipboard operation
Semigroups copied to clipboard

Semigroups under Cygwin

Open olexandr-konovalov opened this issue 6 years ago • 7 comments

In Jenkins builds for GAP 4.9.1 release candidates (the one that uses the -win.zip archives with line endings for text files converted to Windows format), the following problem happens:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/_pkgconfig.h
config.status: src/_pkgconfig.h is unchanged
config.status: executing depfiles commands
config.status: executing src/semigroups-config.h commands
config.status: creating src/semigroups-config.h - prefix SEMIGROUPS for src/_pkgconfig.h defines
config.status: src/semigroups-config.h is unchanged
config.status: executing libtool commands
=== configuring in src/libsemigroups (/cygdrive/c/gap-4.9.1/pkg/semigroups-3.0.15/src/libsemigroups)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=${abs_top_builddir}/../../bin/'  --cache-file=/dev/null --srcdir=.
./configure: line 16: $'\r': command not found
./configure: line 31: syntax error near unexpected token `newline'
'/configure: line 31: `     ;;
configure: error: ./configure failed for src/libsemigroups

gapw7-build+jenkins@gapw7-build /cygdrive/c/gap-4.9.1/pkg/semigroups-3.0.15

However, this does not happen for the nightly build (which uses Unix style line endings). The nightly build properly fails because of the old gcc compiler (which indeed should be upgraded, but that's another TODO item for me).

I suspect that some file has been converted to have Windows line ends, while it should be not. Patterns to decide which files are text and which binary are specified at https://github.com/gap-system/gap-distribution/blob/master/DistributionUpdate/patternstextbinary.txt - do you see anything missing there?

olexandr-konovalov avatar May 17 '18 13:05 olexandr-konovalov