EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: [Bug 1873406] [NEW] EpicsHostArch script does not detect recent MSYS2/MinGW setups on Windows
From: Ralph Lange via Core-talk <core-talk at aps.anl.gov>
To: core-talk at aps.anl.gov
Date: Fri, 17 Apr 2020 08:01:52 -0000
Public bug reported:

On MSYS2/MinGW installations, the EpicsHostArch script does not
recognize the host platform correctly.

64bit:
$ ./startup/EpicsHostArch
lib/perl/EpicsHostArch.pl: Architecture 'x86_64-msys-thread-multi' not recognized

32bit:
$ ./startup/EpicsHostArch
lib/perl/EpicsHostArch.pl: Architecture 'x86_64-msys-thread-multi' not recognized

Which is not surprising, as the underlying MSYS2 subsystem is the same,
and the difference is in the environment settings that point to the
appropriate toolchain.

64bit:
$ echo $PATH
/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
$ printenv | grep MSYSTEM
MSYSTEM_CARCH=x86_64
MSYSTEM_CHOST=x86_64-w64-mingw32
MSYSTEM_PREFIX=/mingw64
MSYSTEM=MINGW64

32bit:
$ echo $PATH
/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
$ printenv | grep MSYSTEM
MSYSTEM_CARCH=i686
MSYSTEM_CHOST=i686-w64-mingw32
MSYSTEM_PREFIX=/mingw32
MSYSTEM=MINGW32


NB: I am impressed by the clarity and simplicity of MSYS2 / MinGW

** Affects: epics-base
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1873406

Title:
  EpicsHostArch script does not detect recent MSYS2/MinGW setups on
  Windows

Status in EPICS Base:
  New

Bug description:
  On MSYS2/MinGW installations, the EpicsHostArch script does not
  recognize the host platform correctly.

  64bit:
  $ ./startup/EpicsHostArch
  lib/perl/EpicsHostArch.pl: Architecture 'x86_64-msys-thread-multi' not recognized

  32bit:
  $ ./startup/EpicsHostArch
  lib/perl/EpicsHostArch.pl: Architecture 'x86_64-msys-thread-multi' not recognized

  Which is not surprising, as the underlying MSYS2 subsystem is the
  same, and the difference is in the environment settings that point to
  the appropriate toolchain.

  64bit:
  $ echo $PATH
  /mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
  $ printenv | grep MSYSTEM
  MSYSTEM_CARCH=x86_64
  MSYSTEM_CHOST=x86_64-w64-mingw32
  MSYSTEM_PREFIX=/mingw64
  MSYSTEM=MINGW64

  32bit:
  $ echo $PATH
  /mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
  $ printenv | grep MSYSTEM
  MSYSTEM_CARCH=i686
  MSYSTEM_CHOST=i686-w64-mingw32
  MSYSTEM_PREFIX=/mingw32
  MSYSTEM=MINGW32

  
  NB: I am impressed by the clarity and simplicity of MSYS2 / MinGW

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1873406/+subscriptions

Replies:
[Bug 1873406] Re: EpicsHostArch script does not detect recent MSYS2/MinGW setups on Windows Ralph Lange via Core-talk
[Bug 1873406] Re: EpicsHostArch script does not detect recent MSYS2/MinGW setups on Windows Ralph Lange via Core-talk
[Bug 1873406] Re: EpicsHostArch script does not detect recent MSYS2/MinGW setups on Windows Ralph Lange via Core-talk
[Bug 1873406] Re: EpicsHostArch script does not detect recent MSYS2/MinGW setups on Windows Ralph Lange via Core-talk
[Bug 1873406] Re: EpicsHostArch script does not detect recent MSYS2/MinGW setups on Windows Ralph Lange via Core-talk
[Bug 1873406] Re: EpicsHostArch script does not detect recent MSYS2/MinGW setups on Windows Ralph Lange via Core-talk
[Bug 1873406] Re: EpicsHostArch script does not detect recent MSYS2/MinGW setups on Windows Greg Huff via Core-talk
[Bug 1873406] Re: EpicsHostArch script does not detect recent MSYS2/MinGW setups on Windows Ralph Lange via Core-talk

Navigate by Date:
Prev: Re: [Merge] ~dirk.zimoch/epics-base:CleanupWhitespace into epics-base:7.0 Dirk Zimoch via Core-talk
Next: Build failed: EPICS Base base-7.0-586 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Build failed: epics-base base-fix-epicsFindSymbol-466 AppVeyor via Core-talk
Next: [Bug 1873406] Re: EpicsHostArch script does not detect recent MSYS2/MinGW setups on Windows Ralph Lange via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 26 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·