mig and gnumach need a manual boot-strapping on the buildds

Bug #174851 reported by Michael Bienia
4
Affects Status Importance Assigned to Milestone
gnumach (Ubuntu)
Won't Fix
Medium
Unassigned
Oneiric
Won't Fix
Medium
Unassigned
mig (Ubuntu)
Won't Fix
Medium
Unassigned
Oneiric
Won't Fix
Medium
Unassigned

Bug Description

mig and gnumach are locked inside a depwait loop:

mig depwaits on gnumach-dev (build from gnumach) (see https://edge.launchpad.net/ubuntu/hardy/+source/mig/+builds)
gnumach depwaits on mig (see https://edge.launchpad.net/ubuntu/hardy/+source/gnumach/+builds)

Tags: ftbfs oneiric
Changed in gnumach (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Changed in mig (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

filed an internal ticket (rt#47598); else remove and black-list the two packages.

tags: added: ftfbfs oneiric
Revision history for this message
Michael Bienia (geser) wrote :

In a recent mail thread on the debian-devel mailing list, I stumbled upon a guide how to bootstrap mig and gnumach:

,----[ http://lists.debian.org/debian-devel/2011/06/msg00217.html ]-
| Take mig on kfreebsd-i386 as an example. To build it we'd first need
| to unpack gnumach, manually run “debian/rules build/config.status” and
| “make -C build install-data” to just install the headers. Then unpack
| mig, remove gnumach-dev from the Build-Depends, build and install the
| new mig.deb. Now we can build a clean gnumach, and install the
| resulting gnumach-dev. And finally just to make sure, we rebuild a
| clean mig (and possibly a cleaner gnumach with the clean mig). We've
| just bootstrapped mig ang gnumach on kfreebsd-i386.
`----

Matthias Klose (doko)
tags: added: ftbfs
removed: ftfbfs
Revision history for this message
David Lawson (deej) wrote :
Download full text (3.8 KiB)

mig builds fine, gnumac errors out with the following:

i686-linux-gnu-gcc -nostdlib -nostartfiles -r -static \
-o clib-routines.o `sed 's/^/-Wl,-u,/' < gnumach-undef` -x c
/dev/null -lc -lgcc
ld --defsym _START=0x100000 -T '..'/i386/ldscript -o gnumach
gnumach.o clib-routines.o
clib-routines.o: In function `strcpy':
(.text+0x12d10): multiple definition of `strcpy'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../kern/strings.c:118:
first defined here
clib-routines.o: In function `strncmp':
(.text+0x134e0): multiple definition of `strncmp'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../kern/strings.c:88:
first defined here
clib-routines.o: In function `strncpy':
(.text+0x49920): multiple definition of `strncpy'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../kern/strings.c:141:
first defined here
clib-routines.o: In function `time':
(.text+0x4a6f0): multiple definition of `time'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../i386/i386at/kd.c:1407:
first defined here
ld: Warning: size of symbol `time' changed from 8 in gnumach.o to 26 in
clib-routines.o
ld: Warning: type of symbol `time' changed from 1 to 2 in clib-routines.o
clib-routines.o: In function `strcmp':
(.text+0x12ca0): multiple definition of `strcmp'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../kern/strings.c:60:
first defined here
clib-routines.o: In function `strlen':
(.text+0x12d80): multiple definition of `strlen'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../kern/strings.c:167:
first defined here
clib-routines.o: In function `__new_fclose':
(.text+0x70b0): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `fflush':
(.text+0x71d6): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `_IO_wfile_underflow':
(.text+0x8130): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `_IO_file_fopen':
(.text+0xa6fb): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `_IO_new_file_underflow':
(.text+0xa952): undefined reference to `_Unwind_Resume'
clib-routines.o:(.text+0x239dc): more undefined references to
`_Unwind_Resume' follow
clib-routines.o: In function `backtrace_helper':
null:(.text+0x3841b): undefined reference to `_Unwind_GetIP'
null:(.text+0x38440): undefined reference to `_Unwind_GetGR'
null:(.text+0x3844b): undefined reference to `_Unwind_GetCFA'
clib-routines.o: In function `__backtrace':
(.text+0x384ad): undefined reference to `_Unwind_Backtrace'
clib-routines.o: In function `ftell':
(.text+0x488d9): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `_IO_seekoff':
(.text+0x48ad8): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `fseek':
(.text+0x48c20): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `ftello':
(.text+0x49099): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `__atomic_writev_replacement':
null:(.text+0x4cb47): undefined reference to `_Unwind_Resume'
clib-routines.o:(.eh_frame+0x1743): undefined reference to
`__gcc_personality_v0'
clib-routines.o:(.eh_frame+0x186b): undefined reference to
`__gcc_personality_v0'
clib-routines.o:(.eh_frame+0x1b0b): und...

Read more...

Revision history for this message
Matthias Klose (doko) wrote :

thanks for your help. I think this is a won't fix for oneiric

Revision history for this message
Matthias Klose (doko) wrote :

remove and black-list

2011-09-29 06:02:55 INFO Removing candidates:
2011-09-29 06:02:55 INFO gnumach 2:1.3.99.dfsg.git20110609-1 in oneiric
2011-09-29 06:02:55 INFO mig 1.3.1.99-2 in oneiric
2011-09-29 06:02:55 INFO Removed-by: Matthias Klose
2011-09-29 06:02:55 INFO Comment: FTFBS in oneiric, see LP: #174851, GNU Mach specific
2011-09-29 06:02:55 INFO 2 packages successfully removed.

Changed in mig (Ubuntu Oneiric):
status: Confirmed → Won't Fix
Changed in mig (Ubuntu):
status: Confirmed → Won't Fix
Changed in gnumach (Ubuntu Oneiric):
status: Confirmed → Won't Fix
Changed in gnumach (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.