Source: mig
Version: 1.8+git20231217-8
Tags: patch
User: [email protected]
Usertags: rebootstrap

Hi Samuel,

until very recently, hurd failed to cross build a stage1 and you fixed
that. Thank you. This failure hid a regression in mig. The refactoring
of debian/control caused mig-for-host to disappear from a targeted
build. However, glibc stage1 depends on mig-for-host. debian/rules
actually tries to generate a mig-for-host, but debhelper ends up
skipping it as it is not part of debian/control.

I propose that we move mig-for-host from control.native.in to the
generally used control.in. Once doing so, targeted builds end up
generating it and I can complete a toolchain bootstrap for hurd-i386
again.

Helmut
diff -Nru mig-1.8+git20231217/debian/changelog 
mig-1.8+git20231217/debian/changelog
--- mig-1.8+git20231217/debian/changelog        2025-06-12 01:33:19.000000000 
+0200
+++ mig-1.8+git20231217/debian/changelog        2026-02-21 21:08:01.000000000 
+0100
@@ -1,3 +1,10 @@
+mig (1.8+git20231217-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Include mig-for-host in the targeted control file. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 21 Feb 2026 21:08:01 +0100
+
 mig (1.8+git20231217-8) unstable; urgency=medium
 
   * tests: Run make check in autopkgtest.
diff -Nru mig-1.8+git20231217/debian/control mig-1.8+git20231217/debian/control
--- mig-1.8+git20231217/debian/control  2024-11-30 16:31:44.000000000 +0100
+++ mig-1.8+git20231217/debian/control  2026-02-21 21:07:29.000000000 +0100
@@ -11,6 +11,17 @@
  flex, libfl-dev, bison
 Rules-Requires-Root: no
 Standards-Version: 4.6.0
+
+Package: mig-for-host
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${mig:host}
+Description: GNU Mach Interface Generator - metapackage for host
+ This is the GNU distribution of the MIG, which is needed to compile
+ the GNU C library, the GNU Hurd and GNU Mach.
+ .
+ Like the mig package, this produces interfaces for the host architecture of
+ this package, but as a triplet-mig command which is possibly a 
cross-generator.
 #Note: XXX this file is generated from .in files, see debian/rules
 
 Package: mig
@@ -24,17 +35,6 @@
  This package provides a mig command that generates interfaces for the host
  architecture of this package.
 
-Package: mig-for-host
-Architecture: any
-Multi-Arch: same
-Depends: ${misc:Depends}, ${mig:host}
-Description: GNU Mach Interface Generator - metapackage for host
- This is the GNU distribution of the MIG, which is needed to compile
- the GNU C library, the GNU Hurd and GNU Mach.
- .
- Like the mig package, this produces interfaces for the host architecture of
- this package, but as a triplet-mig command which is possibly a 
cross-generator.
-
 Package: mig-i686-gnu
 Architecture: any-i386
 Multi-Arch: foreign
diff -Nru mig-1.8+git20231217/debian/control.in 
mig-1.8+git20231217/debian/control.in
--- mig-1.8+git20231217/debian/control.in       2023-12-18 00:29:30.000000000 
+0100
+++ mig-1.8+git20231217/debian/control.in       2026-02-21 21:07:05.000000000 
+0100
@@ -11,3 +11,14 @@
  flex, libfl-dev, bison
 Rules-Requires-Root: no
 Standards-Version: 4.6.0
+
+Package: mig-for-host
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${mig:host}
+Description: GNU Mach Interface Generator - metapackage for host
+ This is the GNU distribution of the MIG, which is needed to compile
+ the GNU C library, the GNU Hurd and GNU Mach.
+ .
+ Like the mig package, this produces interfaces for the host architecture of
+ this package, but as a triplet-mig command which is possibly a 
cross-generator.
diff -Nru mig-1.8+git20231217/debian/control.native.in 
mig-1.8+git20231217/debian/control.native.in
--- mig-1.8+git20231217/debian/control.native.in        2024-11-30 
16:31:15.000000000 +0100
+++ mig-1.8+git20231217/debian/control.native.in        2026-02-21 
21:07:07.000000000 +0100
@@ -9,14 +9,3 @@
  .
  This package provides a mig command that generates interfaces for the host
  architecture of this package.
-
-Package: mig-for-host
-Architecture: any
-Multi-Arch: same
-Depends: ${misc:Depends}, ${mig:host}
-Description: GNU Mach Interface Generator - metapackage for host
- This is the GNU distribution of the MIG, which is needed to compile
- the GNU C library, the GNU Hurd and GNU Mach.
- .
- Like the mig package, this produces interfaces for the host architecture of
- this package, but as a triplet-mig command which is possibly a 
cross-generator.

Reply via email to