Package Details: gtkada 2017-3

Git Clone URL: https://aur.archlinux.org/gtkada.git (read-only)
Package Base: gtkada
Description: Ada bindings for the Gtk+ library.
Upstream URL: https://github.com/AdaCore/gtkada
Licenses: GPL
Conflicts: gtkada
Provides: gtkada
Submitter: None
Maintainer: charlie5
Last Packager: charlie5
Votes: 11
Popularity: 0.461079
First Submitted: 2009-07-17 04:43
Last Updated: 2017-07-06 12:07

Latest Comments

LambdaBeta commented on 2017-06-26 18:41

Hi Grenadingue,

I too am getting that unusual message. I tried compiling from the source provided on the Gtk Ada website, but it ran into the same issue.

It looks like the configure script isn't working correctly. I was able to get it to work by hacking out that section of the script, though I don't recall exactly what I did unfortunately. It is just a sh script, and is easily greppable for the message "that you gnat".

I still don't know why it doesn't work, but maybe you will find some insight in the configure script's source as I did.

Grenadingue commented on 2017-05-01 13:00

Hi Charlie,

Yes I got the same result after deleting src in gtkada build directory.

I also tried to uninstall and remove packages and their build cache for every package linked to gnat-gps.

$ pacaur -R gtkada xmlada gnatcoll gnat-gps gnat_util prepare_gnat_util gprbuild libgpr
error: target not found: gtkada
error: target not found: gnatcoll
error: target not found: gnat-gps
error: target not found: gnat_util
error: target not found: libgpr
$ pacaur -R xmlada prepare_gnat_util gprbuild
checking dependencies...

Packages (3) gprbuild-2016-1 prepare_gnat_util-6.3.1-1 xmlada-2016-1

Total Removed Size: 37.42 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/3) removing gprbuild [#############################################################################] 100%
(2/3) removing prepare_gnat_util [#############################################################################] 100%
(3/3) removing xmlada [#############################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
$ cd .cache/pacaur/ && rm -rf gtkada xmlada gnatcoll gnat-gps gnat_util prepare_gnat_util gprbuild libgpr ; cd -

And then $ pacaur -S gnat-gps, which leads to the same result.

charlie5 commented on 2017-04-26 15:30

Hi Grenadingue,

Do you get the same result after a $ rm -fr src/ ?

Grenadingue commented on 2017-04-25 14:28

Hi,

During the install of gnat-gps, while installing gtkada, I got stuck on "checking that your gnat compiler works with a simple example...". I tried to let it run half an hour, nothing happens.

I'm able to compile Ada on my machine, I saw that the xmlada and gprbuild packages had correctly compiled and built.

==> Making package: gtkada 2016-1 (Tue Apr 25 16:05:44 CEST 2017)
==> Retrieving sources...
-> Downloading 5739985fc7a447658e0affae...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 11.3M 100 11.3M 0 0 1338k 0 0:00:08 0:00:08 --:--:-- 1379k
-> Found patch-shared.gpr.in
-> Found patch-Makefile.in
-> Found patch-aclocal.m4
-> Found patch-gtkglarea.c
-> Found patch-testgtk.gpr
==> Validating source files with sha1sums...
5739985fc7a447658e0affae ... Passed
patch-shared.gpr.in ... Passed
patch-Makefile.in ... Passed
patch-aclocal.m4 ... Passed
patch-gtkglarea.c ... Passed
patch-testgtk.gpr ... Passed
:: Building gtkada package(s)...
==> Making package: gtkada 2016-1 (Tue Apr 25 16:05:54 CEST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gprbuild... /usr/bin/gprbuild
checking for gprinstall... /usr/bin/gprinstall
checking that your gnat compiler works with a simple example...

Cheers,

charlie5 commented on 2017-01-18 23:54

Hi Gere,

I've updated package 'prepare_gnat_util' (on which gtkada depends) to work with gcc 6.3.1.

Could you try again now (preferably with pacaur, to update all packages which depend on prepare_gnat_util) ?

Cheers.

Gere commented on 2017-01-16 21:33

Hi,
atm I get

checking Mesa with pthreads... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating shared.gpr
config.status: creating po/Makefile
config.status: creating src/config.h
configure: --------- Summary for Gtkada 2016 -----------------
configure: Shared libraries: yes (default: static)
configure: OpenGL: True
configure: --------------------------------------------
gnatprep -DGETTEXT_INTL=False -DHAVE_GETTEXT=True src/gtkada-intl.gpb src/gtkada-intl.adb
====== Building static libraries =====
/usr/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=static -Psrc/gtkada.gpr
object directory "/tmp/yaourt-tmp-anton/aur-gtkada/src/gtkada-gpl-2016-src/src/obj/gtkada/static/" created
Error: no native compiler found for language 'c', default runtime
Error: no native compiler found for language 'ada', default runtime
library directory "/tmp/yaourt-tmp-anton/aur-gtkada/src/gtkada-gpl-2016-src/src/lib/gtkada/static" created for project gtkada
gtkada.gpr:26:17: warning: no compiler specified for language "Ada", ignoring all its sources
gtkada.gpr:26:17: warning: no compiler specified for language "C", ignoring all its sources
gtkada.gpr:41:25: warning: libraries are not supported on this platform
gtk.gpr:24:18: no languages defined for this project
gprbuild: "src/gtkada.gpr" processing failed
make: *** [Makefile:73: build_library_type/static] Fehler 4
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
==> FEHLER:Makepkg konnte gtkada nicht erstellen.

:(

charlie5 commented on 2016-10-24 06:53

Hi davidmcinnis,

This gtkada is version '3.14.2'.

The 'Official release version is 3.8.4' mentioned on the libre site is last years (2015). I suppose the gtkada page on libre may be out of date.

So, I've un-flagged the recent 'package out of date'.

charlie5 commented on 2016-10-12 04:12

Hi Endruk & Stephan,

I've updated the 'prepare_gnat_util' package to cater for gcc 6.2 (vs prior 6.1). I'm not certain that this will fix your problem but might be worth trying.

To test it ...

$ pacaur -R prepare_gnat_util
$ pacaur -S gtkada


Hope it helps.

EndruK commented on 2016-10-10 13:14

Hi,
I got the same problem Stephan has.

I wanted to install gnat-gps and gtkada won't compile.
Here is the output:
====== Building tools =====
/usr/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=static -Psrc/tools/tools.gpr
object directory "/tmp/packerbuild-1000/gtkada/gtkada/src/gtkada-gpl-2016-src/src/tools/../obj/tools/" created
Error: no native compiler found for language 'ada', default runtime
tools.gpr:27:09: warning: there are no C sources in this project
gtkada.gpr:26:17: warning: no compiler specified for language "Ada", ignoring all its sources
tools.gpr:28:18: "gdialog.adb" is not a source of project "tools"
gprbuild: problems with main sources
make: *** [Makefile:69: tools] Fehler 4
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
The build failed.
Edit gnatcoll PKGBUILD with $EDITOR? [Y/n] n
==> Erstelle Paket: gnatcoll gpl2016-1 (Mo 10. Okt 15:05:55 CEST 2016)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Fehlende Abhängigkeiten:
-> gtkada
-> libgpr
==> Prüfe Buildtime-Abhängigkeiten...
==> FEHLER: Konnte nicht alle Abhängigkeiten auflösen.
The build failed.
Dependencies for `gnat-gps' are not met, not building...

charlie5 commented on 2016-08-29 10:12

Hi Stephan,

I'm having trouble reproducing the problem. I'll try to get onto it this week sometime.

All comments