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

Bug#476812: gcc-defaults: FTBFS (ppc64): Please add 'ppc64' to the architecture lines of the gnat/libgnat* packages.



Andreas Jochens <aj@andaco.de> writes:
> Hello,
>
> On Sat, Apr 19, 2008 at 03:16:13PM +0200, Ludovic Brenta wrote:
>> Great.  Do you thing gcc-defaults depends on this new patch and should
>> therefore wait for it?
>
> the current unstable version 1.70 of the 'gcc-defaults' package FTBFS 
> on ppc64 anyway at the moment because "no_packages = gnat" is missing 
> for ppc64, but the gnat packages do not have ppc64 in their architecture
> lines.
>
> Consequently, I do not think this gcc-defaults patch needs to wait for 
> the gnat-4.3 patch. 
>
> The newly built "gnat" package will obviously be usable only when 
> the gnat-4.3 package becomes available. 
>
> But 'gcc-defaults' will at least not FTBFS on ppc64 anymore.

As I learned the hard way, it is a bad idea to try to build gnat
before gnat-4.3 is available.  Therefore I just committed this patch
to gcc-defaults.  The moment you produce gnat-4.3 for ppc64, I'll add
support for it in gcc-defaults.

Note that I'm not going to upload gcc-defaults without doko's
approval.

-- 
Ludovic Brenta.

Index: debian/changelog
===================================================================
--- debian/changelog    (révision 3018)
+++ debian/changelog    (copie de travail)
@@ -1,3 +1,11 @@
+gcc-defaults (1.71) unstable; urgency=low
+
+  [Ludovic Brenta]
+  * Do not build gnat on ppc64 until such time as gnat-4.3 is available
+    on this architecture.  Closes: #476812.
+
+ -- Ludovic Brenta <lbrenta@debian.org>  Sat, 19 Apr 2008 15:47:50 +0200
+
 gcc-defaults (1.70) unstable; urgency=low
 
   [Matthias Klose]
Index: debian/rules
===================================================================
--- debian/rules        (révision 3018)
+++ debian/rules        (copie de travail)
@@ -256,6 +256,10 @@
     no_packages += gcc-spu g++-spu gfortran-spu
 endif
 
+ifeq (,$(filter $(DEB_HOST_ARCH),ppc64))
+    no_packages += gnat
+endif
+
 ifeq ($(DEB_HOST_ARCH),s390)
 endif
 





Reply to: