Your message dated Sat, 7 Oct 2006 13:15:04 +0100
with message-id <[EMAIL PROTECTED]>
and subject line xcache_1.0-4(ia64/unstable): FTBFS: compiler errors
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: xcache
Version: 1.0-4
Severity: serious

There was an error while trying to autobuild your package:

> Automatic build of xcache_1.0-4 on caballero by sbuild/ia64 85
> Build started at 20060922-0746

[...]

> ** Using build dependencies supplied by package:
> Build-Depends: debhelper (>= 4.2), php4-dev, php5-dev

[...]

> /build/buildd/xcache-1.0/build-php4/processor_real.c: In function 
> 'xc_restore_HashTable_zval_ptr':
> /build/buildd/xcache-1.0/build-php4/processor_real.c:13505: error: 'zval_ptr' 
> undeclared (first use in this function)
> /build/buildd/xcache-1.0/build-php4/processor_real.c:13518: warning: implicit 
> declaration of function 'xc_restore_zval_ptr'
> /build/buildd/xcache-1.0/build-php4/processor_real.c:13522: error: expected 
> expression before ')' token
> /build/buildd/xcache-1.0/build-php4/processor_real.c:13548: error: expected 
> expression before ')' token
> /build/buildd/xcache-1.0/build-php4/processor_real.c:13560: error: expected 
> expression before ')' token
> /build/buildd/xcache-1.0/build-php4/processor_real.c: At top level:
> /build/buildd/xcache-1.0/build-php4/processor_real.c:14888: error: expected 
> declaration specifiers or '...' before 'zval_ptr'
> /build/buildd/xcache-1.0/build-php4/processor_real.c:14888: warning: type 
> defaults to 'int' in declaration of 'zval_ptr'
> /build/buildd/xcache-1.0/build-php4/processor_real.c:14888: error: expected 
> ';', ',' or ')' before '*' token
> /build/buildd/xcache-1.0/build-php4/processor_real.c: In function 
> 'xc_restore_zend_op_array':
> /build/buildd/xcache-1.0/build-php4/processor_real.c:17122: warning: unused 
> variable 'i'
> make[1]: *** [processor.lo] Error 1
> make[1]: Leaving directory `/build/buildd/xcache-1.0/build-php4'
> make: *** [build-php4-stamp] Error 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=ia64&pkg=xcache&ver=1.0-4



--- End Message ---
--- Begin Message ---
On Sat, Oct 07, 2006 at 11:05:00AM +0100, Steve McIntyre wrote:
>Looking at this on i386 and hppa, there seems to be a problem with the
>m4 script in build-php4...

... which is generated by a badly-written awk script. Here's a patch
that fixes this failure. In the long run, IMHO it'd be better if
upstream gave up trying to parse C headers using a simple awk script.

Uploaded to unstable today from the Zurich BSP.

-- 
Steve McIntyre, Cambridge, UK.                                [EMAIL PROTECTED]
"The problem with defending the purity of the English language is that
 English is about as pure as a cribhouse whore. We don't just borrow words; on
 occasion, English has pursued other languages down alleyways to beat them
 unconscious and rifle their pockets for new vocabulary."  -- James D. Nicoll
diff -u xcache-1.0/debian/changelog xcache-1.0/debian/changelog
--- xcache-1.0/debian/changelog
+++ xcache-1.0/debian/changelog
@@ -1,3 +1,14 @@
+xcache (1.0-4.1) unstable; urgency=low
+
+  * NMU from the Zurich BSP
+  * Apply a temporary fix for the broken code in mkstructinfo.awk -
+    cope with single-line structure typedefs. Closes: #389318 . The
+    real fix is to *not* to use an awk script to parse header files to
+    generate an m4 script to generate C source. Parsing C structures
+    reliably would be better done by using the C compiler itself!
+
+ -- Steve McIntyre <[EMAIL PROTECTED]>  Sat,  7 Oct 2006 13:45:28 +0200
+
 xcache (1.0-4) unstable; urgency=low
 
   * removing po-debconf dependency, debian/po/, debian/config (closes:
only in patch2:
unchanged:
--- xcache-1.0.orig/mkstructinfo.awk
+++ xcache-1.0/mkstructinfo.awk
@@ -99,6 +99,12 @@
        }
 }
 
+/^typedef struct.*\{.*\}/ {
+        brace = 0;
+        instruct = 0;
+        next;
+}
+
 /^typedef struct [^{]*;/ {
        sub(";", "");
        typedefs[$3] = $4;

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to