Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions CI: msys2 failing for last two days #3672

Closed
Shreeshrii opened this issue Dec 3, 2021 · 3 comments
Closed

Actions CI: msys2 failing for last two days #3672

Shreeshrii opened this issue Dec 3, 2021 · 3 comments
Labels

Comments

@Shreeshrii
Copy link
Collaborator

Last Working Run
First failing run

D:\a\_temp\msys64\mingw32\bin\ar.exe: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    tesseract.exe
libtool:   error: Could not determine the host path corresponding to
libtool:   error:   'D:/a/_temp/msys64/mingw32/lib:D:/a/_temp/msys64/mingw32/bin:/d/a/tesseract/tesseract/.libs:/mingw32/lib:/mingw32/bin'
libtool:   error: Continuing, but uninstalled executables may not work.
make[1]: Leaving directory '/d/a/tesseract/tesseract'
Making all in tessdata
make[1]: Entering directory '/d/a/tesseract/tesseract/tessdata'
Making all in configs
make[2]: Entering directory '/d/a/tesseract/tesseract/tessdata/configs'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/d/a/tesseract/tesseract/tessdata/configs'
Making all in tessconfigs
make[2]: Entering directory '/d/a/tesseract/tesseract/tessdata/tessconfigs'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/d/a/tesseract/tesseract/tessdata/tessconfigs'
make[2]: Entering directory '/d/a/tesseract/tesseract/tessdata'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/d/a/tesseract/tesseract/tessdata'
make[1]: Leaving directory '/d/a/tesseract/tesseract/tessdata'
  CXX      src/training/combine_lang_model-combine_lang_model.o
  CXX      src/training/pango/libtesseract_training_la-boxchar.lo
  CXX      src/training/common/libtesseract_training_la-commandlineflags.lo
  CXX      src/training/common/libtesseract_training_la-commontraining.lo
  CXX      src/training/common/libtesseract_training_la-ctc.lo
  CXX      src/training/common/libtesseract_training_la-networkbuilder.lo
  CXX      src/training/libtesseract_training_la-degradeimage.lo
  CXX      src/training/pango/libtesseract_training_la-ligature_table.lo
  CXX      src/training/pango/libtesseract_training_la-pango_font_info.lo
In file included from D:/a/_temp/msys64/mingw32/include/c++/11.2.0/bits/max_size_type.h:37,
                 from D:/a/_temp/msys64/mingw32/include/c++/11.2.0/bits/ranges_base.h:38,
                 from D:/a/_temp/msys64/mingw32/include/c++/11.2.0/string_view:48,
                 from D:/a/_temp/msys64/mingw32/include/c++/11.2.0/bits/basic_string.h:48,
                 from D:/a/_temp/msys64/mingw32/include/c++/11.2.0/string:55,
                 from ./src/ccutil/params.h:26,
                 from ./src/training/common/commandlineflags.h:22,
                 from src/training/pango/pango_font_info.cpp:29:
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:139:9: error: unable to find numeric literal operator 'operator""Q'
  139 |       = 2.718281828459045235360287471352662498Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:139:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:144:9: error: unable to find numeric literal operator 'operator""Q'
  144 |       = 1.442695040888963407359924681001892137Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:144:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:149:9: error: unable to find numeric literal operator 'operator""Q'
  149 |       = 0.434294481903251827651128918916605082Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:149:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:154:9: error: unable to find numeric literal operator 'operator""Q'
  154 |       = 3.141592653589793238462643383279502884Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:154:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:159:9: error: unable to find numeric literal operator 'operator""Q'
  159 |       = 0.318309886183790671537767526745028724Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:159:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:164:9: error: unable to find numeric literal operator 'operator""Q'
  164 |       = 0.564189583547756286948079451560772586Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:164:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:169:9: error: unable to find numeric literal operator 'operator""Q'
  169 |       = 0.693147180559945309417232121458176568Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:169:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:174:9: error: unable to find numeric literal operator 'operator""Q'
  174 |       = 2.302585092994045684017991454684364208Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:174:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:179:9: error: unable to find numeric literal operator 'operator""Q'
  179 |       = 1.414213562373095048801688724209698079Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:179:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:184:9: error: unable to find numeric literal operator 'operator""Q'
  184 |       = 1.732050807568877293527446341505872367Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:184:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:189:9: error: unable to find numeric literal operator 'operator""Q'
  189 |       = 0.577350269189625764509148780501957456Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:189:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:194:9: error: unable to find numeric literal operator 'operator""Q'
  194 |       = 0.577215664901532860606512090082402431Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:194:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:199:9: error: unable to find numeric literal operator 'operator""Q'
  199 |       = 1.618033988749894848204586834365638118Q;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/a/_temp/msys64/mingw32/include/c++/11.2.0/numbers:199:9: note: use '-fext-numeric-literals' to enable more built-in suffixes
make: *** [Makefile:6649: src/training/pango/libtesseract_training_la-pango_font_info.lo] Error 1
Error: Process completed with exit code 2.
@eighttails
Copy link
Contributor

eighttails commented Dec 3, 2021

# undef __STRICT_ANSI__ in
src/training/pango/pango_font_info.cpp:26 looks like cause of the problem.
When I commented out the line build succeeded.

@amitdo
Copy link
Collaborator

amitdo commented Dec 3, 2021

This failure was triggered by a change in compiler version in the the CI runner, and not by a change from our side.

GCC: 10.3.0 -> 11.2.0

@amitdo
Copy link
Collaborator

amitdo commented Dec 5, 2021

@amitdo amitdo closed this as completed in d37dd73 Dec 5, 2021
@amitdo amitdo added the CI label Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants