Error building project in Msys

Ted Ralphs's Avatar

Ted Ralphs

29 Oct, 2018 07:38 PM

I'm getting the following error building my code, which uses the autotools.

configure: loading site script /etc/config.site
/etc/config.site: line 23: config.site:23: default build_alias set to x86_64-pc-msys: command not found
checking build system type... Invalid configuration `x86_64-pc-msys': system `msys' not recognized
configure: error: /bin/sh /c/projects/cbc/COIN/CoinUtils/config.sub x86_64-pc-msys failed

This was previously working fine. I did change a few things in the build system recently, but this error seems to be because of a change in config.site. I guess the problem may be that my configure script was generated using a very old version of the autotools (we are working on updating, but for now, we need to stick with it). It seems as though it doesn't recognize the build type. Note that I did need to pass in a build type to the configure script because the script did not seem to auto-recognize the build type, as it normally would. I was calling the script with --build=x86_64-w64-mingw32, which was working, but I guess that this setting is over-ridden by the config.site. Here is one of the failing builds.

https://ci.appveyor.com/project/tkralphs/cbc/builds/19859842/job/6i2j7jm6y0jj9uf9

Thanks for your help!

  1. Support Staff 1 Posted by Owen McDonnell on 30 Oct, 2018 04:54 AM

    Owen McDonnell's Avatar

    The last update I can see on our platform for msys was in August, but it looks like you were building successfully before that.
    Can you go the last representative, successful build and hit Re-Build Commit button to see if it still succeeds.

  2. 2 Posted by Ted Ralphs on 31 Oct, 2018 02:29 AM

    Ted Ralphs's Avatar

    Ah, OK, thanks for the shove in the right direction! Re-building the old commit did make me realize what was going on. I now tracked down the problem and it was on my side.

    Ted

  3. Support Staff 3 Posted by Owen McDonnell on 31 Oct, 2018 04:47 AM

    Owen McDonnell's Avatar

    Great, sometimes a shove is all that's needed :-o

  4. Owen McDonnell closed this discussion on 31 Oct, 2018 04:47 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 09:10 AM

 

21 Aug, 2019 05:56 AM
21 Aug, 2019 03:08 AM
20 Aug, 2019 11:33 PM
20 Aug, 2019 08:07 PM
20 Aug, 2019 05:50 PM
20 Aug, 2019 12:35 PM