Bug#858890: gnat-6: missing dependency on the gcc package ?
Package: gnat-6
Version: 6.3.0-10
Severity: normal
Dear Maintainer,
I encountered this issue on a newly installed system while performing
basic ada programming, a simple hello world triggers the following
situation.
What led up to the situation?
Installing gnat and trying to compile a simple hello world program:
sudo aptitude install gnat
gnatmake -gnatyy hello_world
What was the outcome of this action?
Here is the output of the above call to gnatmake:
gcc -c hello_world.adb
gnatmake: error, unable to locate gcc
What outcome did you expect instead?
Once my issue fixed, here is the expected output:
gcc -c -gnatyy hello_world.adb
gnatbind -x hello_world.ali
gnatlink hello_world.ali
What exactly did you do (or not do) that was effective (or
ineffective)?
My first attempt was to tune the gnatmake command :
gnatmake --GCC=gcc-6 \
--GNATLINK='gnatlink --GCC=gcc-6' \
-gnatyy hello_world
Pretty heavy isn't it ? But this did the job. Then I figured out
that the gcc package, which provides /usr/bin/gcc, wasn't present.
Installing it also solve this issue.
Anyhow, thanks for this package in particular and great job on debian
in general !
Cheers
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnat-6 depends on:
ii gcc-6 6.3.0-10
ii gcc-6-base 6.3.0-10
ii libc6 2.24-9
ii libc6-dev 2.24-9
ii libgmp10 2:6.1.2+dfsg-1
ii libgnat-6 6.3.0-10
ii libgnatprj6 6.3.0-10
ii libgnatvsn6 6.3.0-10
ii libisl15 0.18-1
ii libmpc3 1.0.3-1+b2
ii libmpfr4 3.1.5-1
ii zlib1g 1:1.2.8.dfsg-5
gnat-6 recommends no packages.
Versions of packages gnat-6 suggests:
ii ada-reference-manual-2012 1:2012.2-9
pn gnat-6-doc <none>
pn gnat-6-sjlj <none>
-- no debconf information
Reply to: