There is no 'en_EN' locale, so osc build fails with
The following package could not be verified:
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_EN)
Firthermore, it is not a good idea to treat any warning message as
error, so do not fail of there is something different than the expected
rpm -K output.
Signed-off-by: Michal Marek <mmarek(a)suse.cz>
---
osc/fetch.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/osc/fetch.py b/osc/fetch.py
index 2e39833..c565bfb 100644
--- a/osc/fetch.py
+++ b/osc/fetch.py
@@ -268,7 +268,7 @@ def verify_pacs_old(pac_list):
# save locale first (we rely on English rpm output here)
saved_LC_ALL = os.environ.get('LC_ALL')
- os.environ['LC_ALL'] = 'en_EN'
+ os.environ['LC_ALL'] = 'C'
o = subprocess.Popen(['rpm', '-K'] + pac_list, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT, close_fds=True).stdout
@@ -280,10 +280,7 @@ def verify_pacs_old(pac_list):
for line in o.readlines():
if not 'OK' in line:
- print
- print >>sys.stderr, 'The following package could not be verified:'
print >>sys.stderr, line
- sys.exit(1)
if 'NOT OK' in line:
print
--
1.7.3.4
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
su-wrapper = su -c has been broken since commit 5376580. Handle this
case so that people do not have to update their configs.
Signed-off-by: Michal Marek <mmarek(a)suse.cz>
---
osc/build.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/osc/build.py b/osc/build.py
index a77865c..e1f1196 100644
--- a/osc/build.py
+++ b/osc/build.py
@@ -847,6 +847,8 @@ def main(apiurl, opts, argv):
if need_root:
sucmd = config['su-wrapper'].split()
if sucmd[0] == 'su':
+ if sucmd[-1] == '-c':
+ sucmd.pop()
cmd = sucmd + ['-s', cmd[0], 'root', '--' ] + cmd[1:]
else:
cmd = sucmd + cmd
--
1.7.3.4
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
Hi,
I just tried to build a package for Fedora_14 x86_64 and got the error
FATAL: kernel too old
In the mailing list archives I found advices like
"You need to use openSUSE 11.3..."
So I wonder how I can specify the build server version to use.
I'm using the web frontend.
I also tried to build for Fedora_14 i586, but that gives
getbinaries: missing packages: WE_NEED_MORE_BUILD_HOSTS_SUPPORTING_FEDORA_14
(Is there more to say about this than what it says? ;-))
For Fedora_13 i586 the build is fine.
Thanx for your help,
cheers,
Martin
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
Current rhel6 missing some devel packages. so I just download them
from redhat and upload to my project (in the same directory with spec
file).
I will execute rpm -ivh in spec file. but what's the path of those file?
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
Since there is appearently no example about how a single specfile could
look like that builds across all supported distros I created
home:olh:hello_world a few months ago. For some reason RPM_BUILD_ROOT
does not exist in SLES* and 11.1. It turned out that %buildroot is not
expanded for some reason.
Any ideas whats missing in home:olh?
Olaf
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
for example, i branch php package from opensuse11.3:update, just
change the --disable-debug to --enable-debug in php.spec.
is it possible to update my package with the original opensuse11.3:update ?
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org
I have just install the osc for ubuntu 10.10
osc --version
0.130.1
And when I do a commit I get this error:
EDITOR=xemacs osc commit
WARNING: source_validator_directory configured but it does not exist:
/usr/lib/osc/source_validators
Install osc-source_validator to fix.
warning: your urllib2 version seems to be broken. Using a workaround for
http://bugs.python.org/issue9639
Warning: Missing charsets in String to FontSet conversion
Sending peless_1.223-1.diff.gz
Sending peless_1.223-1.dsc
Sending peless_1.223.orig.tar.gz
Transmitting file data ...
Committed revision 1.
It seems to work anyway what is osc-source_validator and how do I install it?
It does not seem to be available under opensuse package search?
--
Paul Elliott 1(512)837-1096
pelliott(a)BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J
http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
Hello,
I've setup an server locally(using OpenSuSE 11.3 and OBS 2.1, on
Intel hardware),usually build arm arch binaries. It functioned well
several days ago, but after an unexpected system fail, I restart the
machine, but find all packages stuck at the status scheduled, while
all workers are idle.
My workers have qemu-arm-static installed, they've been build the
arm binaries before.
I've change the obs root from /srv/obs to /obs, and in this
folder, I found an interesting folder:
$ls /obs/run/worker
1 2 boot
$cat 1/state 2/state
<workerstate state="building" jobid="
a81436ad149448efb9a320c3499ecc3d" />
<workerstate state="building" jobid="397d0f1de6a2992cb4f8f78af6caf0be" />
I suspect that it was the workers didn't clean up it's previous
jobs during restart, so I setup workers on other machine, and the
server has found theses additional workers, however, the build doesn't
start still.
----------------------------------------------------------------------------------------------------
$cat /obs/workers/idle/*
<worker hostarch="i686" ip="127.0.0.1" port="37535" workerid="cnbjas56/1" />
<worker hostarch="i686" ip="127.0.0.1" port="49811" workerid="cnbjas56/2" />
<worker hostarch="i686" ip="127.0.0.1" port="36752" workerid="cnbjas56/3" />
<worker hostarch="i686" ip="172.20.0.61" port="33844"
workerid="cnd000379ow/1" />
<worker hostarch="i686" ip="172.20.0.61" port="37058"
workerid="cnd000379ow/2" />
$cat /obs/workers/building/*
cat: /obs/workers/building/*: No such file or directory
Is anyone have any idea about what's happening? I'm quit confused
and don't konw what to do..
-----------------------------------------------
OBS versions:
$rpm -qa | grep obs
obs-signd-2.1.2-1.1.i586
obs-api-2.1.2-4.4.i586
obs-server-2.1.2-4.2.i586
obs-worker-2.1.2-4.2.noarch
obs-utils-2.1.2-4.2.i586
obs-common-2.1.0-1.1.i586
--
Best Regards,
Leaf Johnson<leafjohn(a)gmail.com>
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org