Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
[opensuse-buildservice] Patch/Fix for current (GIT) bs_srcserver
  • From: Carsten Schoene <cs@xxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Sat, 09 Jan 2010 15:03:00 +0100
  • Message-id: <4B488C94.8020406@xxxxxxxxxxxxxxxxxxxxxxx>
Hello Buildservice Developers and users,


after updating my local buildservice instance to current git and restarting
all services, the following error appears in my sheduler logs and webui for all
packages: "can not parse package name from "

I found it in bs_srcserver which leads to following change:

commit 22b609a8bb01739fff4bb445c783524c8fe62cc4
Author: Michael Schroeder <mls@xxxxxxx>
Date: Fri Jan 8 15:31:56 2010 +0100

- call data2utf8 on parsed dependencies so that valid xml is generated


Here is the patch which fixes the overwritten array data.

Patch:
--- bs_srcserver 2010-01-08 15:35:07.000000000 +0100
+++ bs_srcserver 2010-01-09 14:30:28.000000000 +0100
@@ -1504,7 +1504,7 @@
$rinfo->{'file'} = $file;
# get build dependency info
my $d = Build::parse($conf, "$srcrep/$packid/$md5-$file");
- $d = data2utf8($d);
+ data2utf8($d);
if (defined($d->{'name'})) {
my $version = defined($d->{'version'}) ? $d->{'version'} :
'unknown';
$pinfo->{'versrel'} ||= "$version-$rev->{'vrev'}";



Please apply.

bye
Carsten

< Previous Next >
Follow Ups