Hi Guys:
it failed, I don't know what I will do to fix it , Can you help me ?
junwork:/data/obs/home:todaygood123/zlib-devel # osc build -b SLE_10_SDK
i586
Building zlib.spec for SLE_10_SDK/i586
Getting buildinfo from server and store
to /data/obs/home:todaygood123/zlib-devel/.osc/_buildinfo-SLE_10_SDK-i586.xml
Getting buildconfig from server and store
to /data/obs/home:todaygood123/zlib-devel/.osc/_buildconfig-SLE_10_SDK-i586
Updating cache of required packages
0.0% cache miss. 91/91 dependencies cached.
Verifying integrity of cached packages
using keys from SUSE:SLE-10
Writing build configuration
Running build
logging output to /var/tmp/build-root/.build.log...
[ 0s] Memory limit set to 5934084KB
[ 0s] Using BUILD_ROOT=/var/tmp/build-root
[ 0s] Using BUILD_ARCH=i586:i486:i386
[ 0s]
[ 0s]
[ 0s] junwork.opensuse.com started "build zlib.spec" at Mon May 6
09:44:49 UTC 2013.
[ 0s]
[ 0s]
[ 0s] processing
specfile /data/obs/home:todaygood123/zlib-devel/zlib.spec ...
[ 0s] running changelog2spec --target rpm
--file /data/obs/home:todaygood123/zlib-devel/zlib.spec
[ 0s] init_buildsystem --configdir /usr/lib/build/configs
--cachedir /var/cache/build
--rpmlist /tmp/rpmlist.HMSRJ5 /data/obs/home:todaygood123/zlib-devel/zlib.spec build ...
[ 3s] reordering...done
[ 4s] deleting glibc-32bit
[ 6s] [1/91] deleting unwanted filesystem-10-1.12
[ 6s] preinstalling filesystem...
[ 6s] installing filesystem-10-1.12
[ 7s] [2/91] deleting unwanted glibc-2.4-31.30
[ 7s] warning: /etc/nsswitch.conf saved as /etc/nsswitch.conf.rpmsave
[ 7s] error: %postun(glibc-2.4-31.30.x86_64) scriptlet failed, exit
status 255
[ 7s] re-try deleting glibc using --noscripts
[ 7s] chroot: failed to run command 'rpm': No such file or directory
[ 7s] preinstalling glibc...
[ 7s] installing glibc-2.4-31.30
[ 7s] chroot: failed to run command 'rpm': No such file or directory
[ 7s] exit ...
The buildroot was: /var/tmp/build-root
--
---------------------------------------------------------
Suse Linux ,Best !
---------------------------------------------------------
-----Original Message-----
From: Michal Kubeček
osc build -b , it can run , but can't generate -32bit rpm .
junwork:/data/obs/home:todaygood123/zlib-devel # osc build -b
You need to build it for i586:
osc build -b SLE_10 i586
for exmaple. The binaries from 32bit compile will be packaged then as x86_64.rpms.
junwork:/data/obs/home:todaygood123/zlib-devel # osc build -b SLE_10 i586 Building zlib.spec for SLE_10/i586 Getting buildinfo from server and store to /data/obs/home:todaygood123/zlib-devel/.osc/_buildinfo-SLE_10-i586.xm l ERROR: Either wrong repo/arch as parameter or a parse error of .spec/.dsc/.kiwi file due to syntax error
It was just an example. Your builds use SLE_10_SDK so keep using that. Michal Kubeček -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org