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

Bug#322539: marked as done (yaboot: FTBFS: label at end of compound statement)

Your message dated Tue, 07 Mar 2006 19:15:42 +0100
with message-id <874q2aglyp.fsf@diziet.irb.hr>
and subject line Bug#322539: fixed in yaboot 1.3.13-4.1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: yaboot
Version: 1.3.13-4
Severity: serious
Tags: patch

When building 'yaboot' on powerpc/unstable,
I get the following error:

gcc -Os  -nostdinc -Wall -isystem `gcc -print-file-name=include` -fsigned-char -DVERSION=\"1.3.13\"	 -DTEXTADDR=0x200000 -DDEBUG=0 -DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I ./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -c -o lib/strstr.o lib/strstr.c
lib/strstr.c: In function 'strstr':
lib/strstr.c:79: error: label at end of compound statement
make[1]: *** [lib/strstr.o] Error 1
make[1]: Leaving directory `/yaboot-1.3.13'
make: *** [debian/stamps/build] Error 2

The attached patch fixes this.

Andreas Jochens

diff -urN ../tmp-orig/yaboot-1.3.13/lib/strstr.c ./lib/strstr.c
--- ../tmp-orig/yaboot-1.3.13/lib/strstr.c	2001-09-20 13:15:31.000000000 +0000
+++ ./lib/strstr.c	2005-08-11 08:56:27.000000000 +0000
@@ -76,7 +76,8 @@
 	      a = *++haystack;
 	      if (a == '\0')
 		goto ret0;
-shloop:	    }
+shloop:	      continue;
+	    }
           while (a != b);
 jin:	  a = *++haystack;

--- End Message ---
--- Begin Message ---
Source: yaboot
Source-Version: 1.3.13-4.1

Now that yaboot is orphaned, bugs fixed in non-maintainer uploads can be
closed.  The original .changes file follows.

Hash: SHA1

Format: 1.7
Date: Sat, 31 Dec 2005 00:04:32 -0800
Source: yaboot
Binary: yaboot
Architecture: source powerpc
Version: 1.3.13-4.1
Distribution: unstable
Urgency: low
Maintainer: Warren A. Layton <zeevon@debian.org>
Changed-By: Don Armstrong <don@debian.org>
 yaboot     - Yet Another Bootloader
Closes: 322539
 yaboot (1.3.13-4.1) unstable; urgency=low
   * NMU
   * Fix the FTBS in strstr.c. Thanks to Andreas Jochens for the patch.
     (Closes: #322539)
 bc780a9ce3327d6ee3eb763420f82bb4 563 base important yaboot_1.3.13-4.1.dsc
 db5bb21e2370eb9604ed41d37dc95031 9098 base important yaboot_1.3.13-4.1.diff.gz
 c6cc1bbf04ee79151fd37c010ff7e355 181768 base important yaboot_1.3.13-4.1_powerpc.deb

Version: GnuPG v1.4.2 (GNU/Linux)


--- End Message ---

Reply to: