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

Bug#771243: stage1 multilib cross compiler has unsatisfiable dependencies



Package: src:gcc-4.9
Version: 4.9.2-3.1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

Hi Matthias,

When building a stage1 cross compiler using the default method, the
resulting multilib package is not installable.

gcc-4.9-multilib-$targettriplet depends on

 * libc6-dev-$multilib-$targetarch-cross
   This package cannot be built without a stage1 gcc in the bootstrap
   scenario.
 * lib${biarch}gcc-4.9-dev
   This package is not built in stage1.


Thus the stage1 cross gcc-4.9-multilib-$targettriplet is not
installable.

There are multiple ways to solve this problem. One way is to empty the
respective make variables in d/rules.conf. Another is to drop the
relevant substitution variables in d/control.m4. I am attaching a patch
for the former variant, because this is more consistent with the
packaging.

Helmut
diff -u gcc-4.9-4.9.2/debian/changelog gcc-4.9-4.9.2/debian/changelog
--- gcc-4.9-4.9.2/debian/changelog
+++ gcc-4.9-4.9.2/debian/changelog
@@ -1,3 +1,10 @@
+gcc-4.9 (4.9.2-3.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Inhibit multilib libgcc dependencies in stage1. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 27 Nov 2014 23:15:41 +0100
+
 gcc-4.9 (4.9.2-3) unstable; urgency=medium
 
   * Update to SVN 20141125 (r218048) from the gcc-4_9-branch.
diff -u gcc-4.9-4.9.2/debian/rules.conf gcc-4.9-4.9.2/debian/rules.conf
--- gcc-4.9-4.9.2/debian/rules.conf
+++ gcc-4.9-4.9.2/debian/rules.conf
@@ -663,6 +663,8 @@
     endif
   else
     LIBGCC_DEV_DEP :=
+    libgccbiarchdev :=
+    LIBC_BIARCH_DEV_DEP :=
   endif
 else
 languages = c c++ fortran objc objpp

Reply to: