Package: qemubuilder
Version: 0.37
Severity: normal

Hello,

First off, thanks for this wonderfull package. I've tried using it to build ppc 
packages and it fails for this arch. Patch attached, please review. NULL is 
printed as (null) with printf's "%s", leading to a fucked up command line in 
cpbuilder_create.

BTW, is there a git repo for cowdancer ? I could only lay my hands on the 
sources with apt-get source.

Thanks,
JB

diff --git a/qemubuilder.c b/qemubuilder.c                                     
index b296a1d..71db170 100755                                                  
--- a/qemubuilder.c                                                            
+++ b/qemubuilder.c                                                            
@@ -53,7 +53,7 @@ static const char* qemu_arch_serialdevice(const char* arch)
       return "mknod dev/console c 4 64; ";                                    
     }                                                                         
   else                                                                        
-    return NULL;                                                              
+    return "";                                                                
 }

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=locale: Cannot set LC_CTYPE to 
default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages qemubuilder depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries
ii  pbuilder                      0.171      personal package builder for Debia
ii  qemu                          0.9.0-2    fast processor emulator

qemubuilder recommends no packages.

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to