While compiling source, portage tries to invoke its internal function, which is not defined: >>> Source configured. >>> Compiling source in /tmp/portage/dev-lang/gnat-gcc-4.3.6/work/gcc-4.3.6 ... * CC=/tmp/portage/dev-lang/gnat-gcc-4.3.6/work/usr/bin/gnatgcc, * ADA_INCLUDE_PATH=/tmp/portage/dev-lang/gnat-gcc-4.3.6/work/usr/lib/adainclude, * LDFLAGS=-L/tmp/portage/dev-lang/gnat-gcc-4.3.6/work/usr/lib, * PATH=/tmp/portage/dev-lang/gnat-gcc-4.3.6/work/usr/bin:/usr/lib/portage/python2.7/ebuild-helpers/xattr:/usr/lib/portage/python2.7/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/4.9.4:/opt/Citrix/ICAClient:/opt/eagle/bin:/opt/cuda/bin /tmp/portage/dev-lang/gnat-gcc-4.3.6/temp/environment: line 2139: tc_version_is_at_least: command not found 'tc_version_is_at_least' is defined in toolchain.eclass but this eclass is not inherited. I also tried to install gnat-gcc-4.3.6-r1 but fails at the same time. There are two eclassess: gnatbuild and gnatbuilf-r1, where both one uses the missing function but only the second one defines it. Both version of ebuilds uses the first eclass, shouldn't gnat-gcc-4.3.6-r1 inherit gnatbuild-r1 actually? Or both should use gnatbuild-r1.eclass? Rafal
Sadly, we have no maintainer for this ebuild at the moment. I do not understand the report yet, but I am not in this topic so this does not mean a lot. In order to get things fixed quickly, I suggest to get help in our support channels [1]. Perhaps it is possible to elaborate a solution with their help and document the solution here. Ada recently was revived by some gentoo developers. Are you are using ada and are interested in supporting ada on gentoo you will find contact data on [2]. Can you check, if this problem occurs also for the other versions and reopen the ticket as soon as you have new information? [1] https://www.gentoo.org/support/ [2] https://wiki.gentoo.org/wiki/Project:Ada