Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620114 - dev-lang/gnat-gcc-4.3.6 -- 'tc_version_is_at_least' missing
Summary: dev-lang/gnat-gcc-4.3.6 -- 'tc_version_is_at_least' missing
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-29 13:19 UTC by Rafal Lalik
Modified: 2017-05-30 00:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Lalik 2017-05-29 13:19:09 UTC
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
Comment 1 Jonas Stein gentoo-dev 2017-05-30 00:34:26 UTC
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