Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
Re: [opensuse-buildservice] Patch/Fix for current (GIT) bs_srcserver
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Sat, 9 Jan 2010 16:03:05 +0100
  • Message-id: <201001091603.05874.adrian@xxxxxxx>
Am Samstag, 9. Januar 2010 15:03:00 schrieb Carsten Schoene:
Hello Buildservice Developers and users,

Hello Carsten,

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.

Thanks a lot, fix in local git. Will get pushed soon.

bye
adrian


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



--

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References