[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761248: gcc-4.9: Please enable gnat for kFreeBSD and Hurd again



retitle 761248 gnat-4.9: gnat1 should be installed
in /usr/lib/i586-<arch>/4.9 not /usr/lib/i486-<arch>/4.9
reassign 761248 gnat-4.9
found 761248 4.9.1-1
thanks

On Fri, 2014-09-12 at 09:40 +0200, Matthias Klose wrote:
> Am 12.09.2014 um 09:27 schrieb Svante Signell:
> > On Fri, 2014-09-12 at 09:01 +0200, Matthias Klose wrote:
> >> Control: tags -1 + moreinfo

> Yes you are right, but gcc-4.9 does not find gnat1:
> make[3]: Entering directory '/home/srs/DEBs/gnat-4.9/music123-16.3'
> gnatmake -j1 -R -v -eS music123 -cargs -g -O2 -fstack-protector-strong
> -largs -Wl,-z,relro -Wl,--as-needed -Wl,-z,defs
> 
> GNATMAKE 4.9
> Copyright (C) 1992-2014, Free Software Foundation, Inc.
>   "music123.ali" being checked ...
>   -> "music123.ali" missing.
> gcc-4.9 -c -g -O2 -fstack-protector-strong music123.adb
> gcc-4.9: error trying to exec 'gnat1': execvp: No such file or
> directory
> End of compilation
> gnatmake: "music123.adb" compilation error
> 
> and it is here:
> dpkg -S /usr/lib/gcc/i486-gnu/4.9/gnat1
> gnat-4.9: /usr/lib/gcc/i486-gnu/4.9/gnat1
> 
> (can it be something in the gnat package?)

Found the problem: gcc-4.9 is expecting to find gnat1 at
/usr/lib/gcc/i586-{gnu,kfreebsd-gnu}/4.9/
but currently it is installed at
/usr/lib/gcc/i486-{gnu,kfreebsd-gnu}/4.9/

Creating a symbolic link make the build of music123 succeed. Reassigning
the bug to gnat-4.9. This should solve the build problems for both
kFreeBSD and Hurd.


Reply to: