alire icon indicating copy to clipboard operation
alire copied to clipboard

gtkada build script fails on msys2

Open mosteo opened this issue 2 years ago • 2 comments

If there isn't an easy fix, we should at least disable availability on windows.

As reported on gitter:

Hello! Can anyone help me how to add the gtkada library to my project under Windows 10?

My problem is:

Note: Running post_fetch actions for gtkada=21.0.0...
configure: loading site script /usr/local/etc/config.site
checking build system type... ./config.guess: unable to guess system type

This script, last modified 2013-06-10, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <[email protected]> in order to provide the needed
information to handle your system.

config.guess timestamp = 2013-06-10

uname -m = x86_64
uname -r = 3.3.5-341.x86_64
uname -s = MSYS_NT-10.0-19044
uname -v = 2022-05-13 15:40 UTC

/usr/bin/uname -p = unknown
/bin/uname -X     =

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              = x86_64
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = x86_64
UNAME_RELEASE = 3.3.5-341.x86_64
UNAME_SYSTEM  = MSYS_NT-10.0-19044
UNAME_VERSION = 2022-05-13 15:40 UTC
configure: error: cannot guess build type; you must specify one
ERROR: A post-fetch action failed, re-run with -vv -d for details
Alire version:

PS C:\Users\ptihanyi\alire-workspace\gtkadatest> alr version
APPLICATION
alr version:               1.2.0
libalire version:          1.2.0
compilation date:          2022-06-03 15:49:20
compiler version:          Community 2021 (20210519-103)

CONFIGURATION
config folder:             C:\Users\ptihanyi\.config\alire
force flag:                FALSE
non-interactive flag:      FALSE
community index branch:    stable-1.2
compatible index versions: ^1.1 & <=1.2
indexes folder:            C:\Users\ptihanyi\.config\alire\indexes
indexes metadata:          OK
index #1:                  (community) git+https://github.com/alire-project/alire-index#stable-1.2
toolchain assistant:       disabled
tool #1 gnat:              gnat_native=11.2.4
tool #2 gprbuild:          gprbuild=22.0.1

WORKSPACE
root status:               VALID
root release:              gtkadatest=0.1.0-dev
root load error:           none
root folder:               C:\Users\ptihanyi\alire-workspace\gtkadatest
current folder:            C:\Users\ptihanyi\alire-workspace\gtkadatest

SYSTEM
distribution:              MSYS2
host-arch:                 X86_64
os:                        WINDOWS
target:                    NATIVE
toolchain:                 USER
word-size:                 BITS_64

mosteo avatar Jun 05 '22 09:06 mosteo

The autotools files are too old for msys2 in this release. They have been updated for the next one.

Fabien-Chouteau avatar Jun 06 '22 08:06 Fabien-Chouteau

Is there a workaround to use gtkada package on Windows with Alire? Thanks in advance for any solutions!

tipeter avatar Jun 08 '22 12:06 tipeter

gtkada-23.0 and gtkada-22.0 should work on Windows/msys2.

reznikmm avatar Dec 19 '22 15:12 reznikmm