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

2014-09-12 Thread Svante Signell
retitle 761248 gnat-4.9: gnat1 should be installed
in /usr/lib/i586-/4.9 not /usr/lib/i486-/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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2014-09-12 Thread Svante Signell
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
> >>

> > The part of debian/rules.defs is:
> > 
> > ifndef DEB_STAGE
> > # Ada 
> > ada_no_cpus := m32r sh3 sh3eb sh4 sh4eb
> > ada_no_systems  := 
> > ada_no_cross:= yes
> > ada_no_snap := no
> > ifeq ($(single_package),yes)
> >   ada_no_cpus += m68k powerpcspe sh4 sparc64
> >   ada_no_cpus += alpha
> >   ifneq (,$(filter $(DEB_TARGET_ARCH),m68k mips mipsel powerpcspe sh4
> > sparc64 hurd-i386 kfreebsd-i386 kfreebsd-amd64))
> > ada_no_cpus += mips mipsel
> > ada_no_cpus += hurd-i386 kfreebsd-i386 kfreebsd-amd64
> > ada_no_snap := yes
> >   endif
> > endif
> > 
> > and later
> > 
> > ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),$(ada_no_cpus)))
> >   with_ada := disabled for cpu $(DEB_TARGET_ARCH_CPU)
> > endif
> > 
> > The problem is not ada_no_snap but ada_no_cpus causing gnat1 no longer
> > found by the gcc-4.9 compiler driver.
> 
> and everything guarded by: ifeq ($(single_package),yes), which is not set for
> gcc-4.9 and gnat-4.9 builds.

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?)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2014-09-12 Thread Matthias Klose
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
>>
>> Am 12.09.2014 um 08:50 schrieb Svante Signell:
>>> Source: gcc-4.9
>>> Version: 4.9.1-13
>>> Severity: important
>>> User: debian-h...@lists.debian.org
>>> Usertags: hurd, kfreebsd
>>>
>>> >From the changelog of 4.9.1-6:
>>> gcc-4.9 (4.9.1-6) unstable; urgency=medium
>>>
>>>   * Disable Ada for snapshot builds on kfreebsd-i386, kfreebsd-amd64.
>>> Local patch needs an update and upstreaming.
>>>   * Disable Ada for snapshot builds on hurd-i386, build dependencies are
>>> not installable.
> 
>> what has a patch for the snapshot builds to do with gnat-4.9?
>>
>> If this is for the snapshot builds, did you test build the gcc-snapshot 
>> package?
> 
> The part of debian/rules.defs is:
> 
> ifndef DEB_STAGE
> # Ada 
> ada_no_cpus := m32r sh3 sh3eb sh4 sh4eb
> ada_no_systems  := 
> ada_no_cross:= yes
> ada_no_snap := no
> ifeq ($(single_package),yes)
>   ada_no_cpus += m68k powerpcspe sh4 sparc64
>   ada_no_cpus += alpha
>   ifneq (,$(filter $(DEB_TARGET_ARCH),m68k mips mipsel powerpcspe sh4
> sparc64 hurd-i386 kfreebsd-i386 kfreebsd-amd64))
> ada_no_cpus += mips mipsel
> ada_no_cpus += hurd-i386 kfreebsd-i386 kfreebsd-amd64
> ada_no_snap := yes
>   endif
> endif
> 
> and later
> 
> ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),$(ada_no_cpus)))
>   with_ada := disabled for cpu $(DEB_TARGET_ARCH_CPU)
> endif
> 
> The problem is not ada_no_snap but ada_no_cpus causing gnat1 no longer
> found by the gcc-4.9 compiler driver.

and everything guarded by: ifeq ($(single_package),yes), which is not set for
gcc-4.9 and gnat-4.9 builds.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2014-09-12 Thread Svante Signell
On Fri, 2014-09-12 at 09:01 +0200, Matthias Klose wrote:
> Control: tags -1 + moreinfo
> 
> Am 12.09.2014 um 08:50 schrieb Svante Signell:
> > Source: gcc-4.9
> > Version: 4.9.1-13
> > Severity: important
> > User: debian-h...@lists.debian.org
> > Usertags: hurd, kfreebsd
> > 
> >>From the changelog of 4.9.1-6:
> > gcc-4.9 (4.9.1-6) unstable; urgency=medium
> > 
> >   * Disable Ada for snapshot builds on kfreebsd-i386, kfreebsd-amd64.
> > Local patch needs an update and upstreaming.
> >   * Disable Ada for snapshot builds on hurd-i386, build dependencies are
> > not installable.

> what has a patch for the snapshot builds to do with gnat-4.9?
> 
> If this is for the snapshot builds, did you test build the gcc-snapshot 
> package?

The part of debian/rules.defs is:

ifndef DEB_STAGE
# Ada 
ada_no_cpus := m32r sh3 sh3eb sh4 sh4eb
ada_no_systems  := 
ada_no_cross:= yes
ada_no_snap := no
ifeq ($(single_package),yes)
  ada_no_cpus += m68k powerpcspe sh4 sparc64
  ada_no_cpus += alpha
  ifneq (,$(filter $(DEB_TARGET_ARCH),m68k mips mipsel powerpcspe sh4
sparc64 hurd-i386 kfreebsd-i386 kfreebsd-amd64))
ada_no_cpus += mips mipsel
ada_no_cpus += hurd-i386 kfreebsd-i386 kfreebsd-amd64
ada_no_snap := yes
  endif
endif

and later

ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),$(ada_no_cpus)))
  with_ada := disabled for cpu $(DEB_TARGET_ARCH_CPU)
endif

The problem is not ada_no_snap but ada_no_cpus causing gnat1 no longer
found by the gcc-4.9 compiler driver.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2014-09-12 Thread Matthias Klose
Control: tags -1 + moreinfo

Am 12.09.2014 um 08:50 schrieb Svante Signell:
> Source: gcc-4.9
> Version: 4.9.1-13
> Severity: important
> User: debian-h...@lists.debian.org
> Usertags: hurd, kfreebsd
> 
>>From the changelog of 4.9.1-6:
> gcc-4.9 (4.9.1-6) unstable; urgency=medium
> 
>   * Disable Ada for snapshot builds on kfreebsd-i386, kfreebsd-amd64.
> Local patch needs an update and upstreaming.
>   * Disable Ada for snapshot builds on hurd-i386, build dependencies are
> not installable.
> 
> Please enable gnat for Hurd and kfreeBSD again. Without it gnat1 is not
> found by gcc-4.9 and all packages scheduled for build fails.
> For Hurd the missing build dependency of gdb is no more and gnat-4.9.1
> builds, see:
> https://buildd.debian.org/status/fetch.php?pkg=gnat-4.9&arch=hurd-i386&ver=4.9.1-1%2Bb1&stamp=1407885531
> 
> For kFreeBSD I admit that the local patch should be updated and
> submitted upstream (and the Hurd patch), but due to this gnat is
> scheduled for removal from testing with bug #759407.
> 
> Ludovic, can you help out here?
> 
> Below is the relevant part of the debdiff from between 4.9.1-6 and
> 4.9.1-5:
>  --- gcc-4.9-4.9.1/debian/rules.defs
> +++ gcc-4.9-4.9.1/debian/rules.defs
> @@ -521,9 +521,7 @@
>  ifeq ($(single_package),yes)
>ada_no_cpus += m68k powerpcspe sh4 sparc64
>ada_no_cpus += alpha
> -  ifneq (,$(filter $(DEB_TARGET_ARCH),m68k mips mipsel powerpcspe sh4 
> sparc64 hurd-i386 kfreebsd-i386 kfreebsd-amd64))
> -ada_no_cpus += mips mipsel
> -ada_no_cpus += hurd-i386 kfreebsd-i386 kfreebsd-amd64
> +  ifneq (,$(filter $(DEB_TARGET_ARCH),m68k powerpcspe sh4 sparc64))
>  ada_no_snap := yes
>endif
>  endif

what has a patch for the snapshot builds to do with gnat-4.9?

If this is for the snapshot builds, did you test build the gcc-snapshot package?


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2014-09-11 Thread Svante Signell
Source: gcc-4.9
Version: 4.9.1-13
Severity: important
User: debian-h...@lists.debian.org
Usertags: hurd, kfreebsd

>From the changelog of 4.9.1-6:
gcc-4.9 (4.9.1-6) unstable; urgency=medium

  * Disable Ada for snapshot builds on kfreebsd-i386, kfreebsd-amd64.
Local patch needs an update and upstreaming.
  * Disable Ada for snapshot builds on hurd-i386, build dependencies are
not installable.

Please enable gnat for Hurd and kfreeBSD again. Without it gnat1 is not
found by gcc-4.9 and all packages scheduled for build fails.
For Hurd the missing build dependency of gdb is no more and gnat-4.9.1
builds, see:
https://buildd.debian.org/status/fetch.php?pkg=gnat-4.9&arch=hurd-i386&ver=4.9.1-1%2Bb1&stamp=1407885531

For kFreeBSD I admit that the local patch should be updated and
submitted upstream (and the Hurd patch), but due to this gnat is
scheduled for removal from testing with bug #759407.

Ludovic, can you help out here?

Below is the relevant part of the debdiff from between 4.9.1-6 and
4.9.1-5:
 --- gcc-4.9-4.9.1/debian/rules.defs
+++ gcc-4.9-4.9.1/debian/rules.defs
@@ -521,9 +521,7 @@
 ifeq ($(single_package),yes)
   ada_no_cpus += m68k powerpcspe sh4 sparc64
   ada_no_cpus += alpha
-  ifneq (,$(filter $(DEB_TARGET_ARCH),m68k mips mipsel powerpcspe sh4 sparc64 
hurd-i386 kfreebsd-i386 kfreebsd-amd64))
-ada_no_cpus += mips mipsel
-ada_no_cpus += hurd-i386 kfreebsd-i386 kfreebsd-amd64
+  ifneq (,$(filter $(DEB_TARGET_ARCH),m68k powerpcspe sh4 sparc64))
 ada_no_snap := yes
   endif
 endif


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org