Package: gtk-doc-tools
Version: 1.3-1.1~lool
Severity: wishlist
Tags: patch

        Hi,

 libbonobo FTBFS on ia64, see
 
<http://buildd.debian.org/fetch.php?&pkg=libbonobo&ver=2.8.1-1&arch=ia64&stamp=1108514028&file=log&as=raw>

 I can't debug it further because gtk-doc-scanobj doesn't print the
 command line of the libbonobo-scan binary it calls (this fails).

 The attached pacth will wrap the call in sh -c -x which will permit to
 see errors such as segfaults and the exact command being run.

 This is upstream <http://bugzilla.gnome.org/show_bug.cgi?id=167688>.

   Regards,

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages gtk-doc-tools depends on:
ii  docbook-dsssl                 1.79-2     modular DocBook DSSSL stylesheets,
ii  docbook-to-man                1:2.0.0-17 converter from DocBook SGML into r
ii  docbook-xml                   4.3-1.1    standard XML documentation system,
ii  docbook-xsl                   1.66.1-1   stylesheets for processing DocBook
ii  gnome-common                  2.8.0-3    common scripts and macros to devel
ii  jade                          1.2.1-43   James Clark's DSSSL Engine
ii  perl                          5.8.4-6    Larry Wall's Practical Extraction 
ii  xsltproc                      1.1.12-5   XSLT command line processor

-- no debconf information

-- 
Loïc Minier <[EMAIL PROTECTED]>
"Neutral President: I have no strong feelings one way or the other."
diff -urN gtk-doc-1.3.orig/gtkdoc-scanobj.in gtk-doc-1.3/gtkdoc-scanobj.in
--- gtk-doc-1.3.orig/gtkdoc-scanobj.in  2004-10-14 17:50:50.000000000 +0200
+++ gtk-doc-1.3/gtkdoc-scanobj.in       2005-02-17 10:59:06.070448414 +0100
@@ -810,11 +810,11 @@
   $o_file = "$MODULE-scan.o"
 }
 
-$command = "$CC $CFLAGS -c -o $o_file $MODULE-scan.c && $LD -o $MODULE-scan 
$o_file $LDFLAGS";
+$command = "sh -c -x $CC $CFLAGS -c -o $o_file $MODULE-scan.c && $LD -o 
$MODULE-scan $o_file $LDFLAGS";
 
 system($command) == 0 or die "Compilation of scanner failed\n";
 
-system("./$MODULE-scan") == 0 or die "Scan failed\n";
+system("sh -c -x ./$MODULE-scan") == 0 or die "Scan failed\n";
 
 unlink "./$MODULE-scan.c", "./$MODULE-scan.o", "./$MODULE-scan.lo", 
"./$MODULE-scan";
 

Reply via email to