Mailinglist Archive: opensuse-buildservice (209 mails)

< Previous Next >
Re: [opensuse-packaging] Re: [opensuse-buildservice] [help]how to local build XX-32bit rpm on a x86_64 machine?
Hi Guys:

osc build -b , it can run , but can't generate -32bit rpm .

junwork:/data/obs/home:todaygood123/zlib-devel # osc build -b
Building zlib.spec for SLE_10_SDK/x86_64
Getting buildinfo from server and store
to /data/obs/home:todaygood123/zlib-devel/.osc/_buildinfo-SLE_10_SDK-x86_64.xml
Getting buildconfig from server and store
to /data/obs/home:todaygood123/zlib-devel/.osc/_buildconfig-SLE_10_SDK-x86_64
Updating cache of required packages
0.0% cache miss. 92/92 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=x86_64:i686:i586:i486:i386
[ 0s]
[ 0s]
[ 0s] junwork.opensuse.com started "build zlib.spec" at Mon May 6
07:41: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.Asfbng /data/obs/home:todaygood123/zlib-devel/zlib.spec
build ...
[ 0s] It seems that there was an incomplete setup
of /var/tmp/build-root.
[ 0s] To be sure, we will build it again completely...
[ 0s] Your build system is broken!! Shall I execute
[ 0s]
[ 0s] rm -rf -- /var/tmp/build-root/*
[ 0s]
[ 0s] y - yes, cleanup the build root
[ 0s] N - No, abort build (default on enter)
[ 0s] c - Continue anyway with this build root
y
[ 171s] [y/N/c] hostname: Name or service not known
[ 172s] [1/30] preinstalling filesystem...
[ 172s] [2/30] preinstalling glibc...
[ 172s] [3/30] preinstalling libattr...
[ 172s] [4/30] preinstalling libgcc...
[ 172s] [5/30] preinstalling libnscd...
[ 172s] [6/30] preinstalling libxcrypt...
[ 173s] [7/30] preinstalling ncurses...
[ 173s] [8/30] preinstalling popt...
[ 173s] [9/30] preinstalling zlib...
[ 173s] [10/30] preinstalling attr...
[ 173s] [11/30] preinstalling db...
[ 173s] [12/30] preinstalling libacl...
[ 173s] [13/30] preinstalling readline...
[ 173s] [14/30] preinstalling pam...
[ 173s] [15/30] preinstalling acl...
[ 174s] [16/30] preinstalling bash...
[ 174s] [17/30] preinstalling bzip2...
[ 174s] [18/30] preinstalling diffutils...
[ 174s] [19/30] preinstalling fillup...
[ 174s] [20/30] preinstalling grep...
[ 174s] [21/30] preinstalling insserv...
[ 174s] [22/30] preinstalling m4...
[ 175s] [23/30] preinstalling sed...
[ 175s] [24/30] preinstalling tar...
[ 175s] [25/30] preinstalling coreutils...
[ 175s] [26/30] preinstalling perl...
[ 178s] [27/30] preinstalling pwdutils...
[ 179s] [28/30] preinstalling aaa_base...
[ 179s] [29/30] preinstalling permissions...
[ 179s] [30/30] preinstalling rpm...
[ 179s]
[ 179s] running aaa_base preinstall script
[ 180s] running aaa_base postinstall script
[ 180s] Updating etc/sysconfig/language...
[ 180s] Updating etc/sysconfig/backup...
[ 180s] Updating etc/sysconfig/boot...
[ 180s] Updating etc/sysconfig/displaymanager...
[ 180s] Updating etc/sysconfig/kernel...
[ 180s] Updating etc/sysconfig/suseconfig...
[ 180s] Updating etc/sysconfig/clock...
[ 180s] Updating etc/sysconfig/proxy...
[ 180s] Updating etc/sysconfig/windowmanager...
[ 180s] Updating etc/sysconfig/sysctl...
[ 180s] Updating etc/sysconfig/mail...
[ 180s] Updating etc/sysconfig/cron...
[ 180s] Updating etc/sysconfig/news...
[ 180s] Updating etc/sysconfig/shutdown...
[ 180s] Updating etc/sysconfig/sw_management...
[ 180s] Updating etc/passwd...unchanged
[ 180s] Updating etc/group...unchanged
[ 180s] Updating etc/shadow...new
[ 180s] initializing rpm db...
[ 180s] reordering...done
[ 181s] [1/92] installing filesystem-10-1.12
[ 181s] [2/92] installing glibc-2.4-31.30
[ 182s] warning: /etc/bindresvport.blacklist created
as /etc/bindresvport.blacklist.rpmnew
[ 182s] warning: /etc/default/nss created as /etc/default/nss.rpmnew
[ 182s] warning: /etc/nsswitch.conf created
as /etc/nsswitch.conf.rpmnew
[ 182s] warning: /etc/rpc created as /etc/rpc.rpmnew
[ 182s] [3/92] installing audit-libs-1.2.9-6.9
[ 182s] [4/92] installing gdbm-1.8.3-243.2
[ 182s] [5/92] installing glibc-32bit-2.4-31.30
[ 182s] [6/92] installing glibc-locale-2.4-31.30
[ 196s] [7/92] installing libattr-2.4.34-0.7
[ 196s] [8/92] installing libnscd-1.1-16.4.1
[ 196s] [9/92] installing libxcrypt-2.4-12.2
[ 196s] [10/92] installing mktemp-1.5-744.2
[ 196s] [11/92] installing ncurses-5.5-18.11
[ 197s] [12/92] installing net-tools-1.60-583.4
[ 197s] [13/92] installing patch-2.5.9-160.2
[ 197s] [14/92] installing pkgconfig-0.20-14.2
[ 197s] [15/92] installing popt-1.7-271.19
[ 197s] [16/92] installing rcs-5.7-879.2
[ 197s] [17/92] installing zlib-1.2.3-15.2
[ 197s] [18/92] installing attr-2.4.34-0.7
[ 198s] [19/92] installing file-4.16-15.9
[ 198s] [20/92] installing libacl-2.2.41-0.7
[ 198s] [21/92] installing libgcc-4.1.2_20070115-0.11
[ 198s] [22/92] installing libmudflap-4.1.2_20070115-0.11
[ 198s] [23/92] installing ncurses-devel-5.5-18.11
[ 198s] [24/92] installing readline-5.1-24.13
[ 198s] [25/92] installing acl-2.2.41-0.7
[ 198s] [26/92] installing bash-3.1-24.14
[ 199s] [27/92] installing libstdc++-4.1.2_20070115-0.11
[ 199s] [28/92] installing bzip2-1.0.3-17.2
[ 199s] [29/92] installing cpp-4.1.2_20070115-0.11
[ 200s] [30/92] installing cracklib-2.8.6-14.2
[ 201s] [31/92] installing insserv-1.04.0-20.13
[ 201s] [32/92] installing libcom_err-1.38-25.21
[ 201s] [33/92] installing libzio-0.1-17.2
[ 201s] [34/92] installing module-init-tools-3.2.2-32.27
[ 201s] [35/92] installing tcpd-7.6-731.2
[ 202s] [36/92] installing timezone-2.4-31.30
[ 202s] WARNING: Not updating /etc/localtime with new zone file
[ 202s] [37/92] installing unzip-5.52-16.2
[ 202s] [38/92] installing db-4.3.29-15.2
[ 203s] [39/92] installing less-394-14.2
[ 203s] [40/92] installing pam-0.99.6.3-28.8
[ 203s] warning: /etc/environment created as /etc/environment.rpmnew
[ 203s] warning: /etc/pam.d/common-account created
as /etc/pam.d/common-account.rpmnew
[ 203s] warning: /etc/pam.d/common-auth created
as /etc/pam.d/common-auth.rpmnew
[ 203s] warning: /etc/pam.d/common-password created
as /etc/pam.d/common-password.rpmnew
[ 203s] warning: /etc/pam.d/common-session created
as /etc/pam.d/common-session.rpmnew
[ 203s] warning: /etc/pam.d/other created as /etc/pam.d/other.rpmnew
[ 203s] warning: /etc/securetty created as /etc/securetty.rpmnew
[ 203s] warning: /etc/security/access.conf created
as /etc/security/access.conf.rpmnew
[ 203s] warning: /etc/security/group.conf created
as /etc/security/group.conf.rpmnew
[ 203s] warning: /etc/security/limits.conf created
as /etc/security/limits.conf.rpmnew
[ 203s] warning: /etc/security/pam_env.conf created
as /etc/security/pam_env.conf.rpmnew
[ 203s] warning: /etc/security/time.conf created
as /etc/security/time.conf.rpmnew
[ 203s] [41/92] installing info-4.8-22.2
[ 203s] [42/92] installing binutils-2.16.91.0.5-23.20
[ 204s] [43/92] installing cpio-2.6-19.12
[ 205s] [44/92] installing diffutils-2.8.7-17.14
[ 205s] [45/92] installing fillup-1.42-118.2
[ 205s] [46/92] installing findutils-4.2.27-14.10
[ 205s] [47/92] installing gawk-3.1.5-18.2
[ 205s] [48/92] installing gdbm-devel-1.8.3-243.2
[ 205s] [49/92] installing grep-2.5.1a-20.11
[ 205s] [50/92] installing gzip-1.3.5-159.5
[ 205s] [51/92] installing libtool-1.5.22-13.12
[ 206s] [52/92] installing m4-1.4.4-12.2
[ 206s] [53/92] installing make-3.80-202.2
[ 206s] [54/92] installing sed-4.1.4-17.11
[ 206s] [55/92] installing tar-1.15.1-23.5
[ 206s] [56/92] installing e2fsprogs-1.38-25.21
[ 206s] [57/92] installing pam-modules-10-2.11
[ 207s] [58/92] installing gettext-0.14.5-13.2
[ 207s] [59/92] installing coreutils-5.93-22.14
[ 207s] warning: /etc/default/su created as /etc/default/su.rpmnew
[ 207s] [60/92] installing sysvinit-2.86-21.15
[ 208s] [61/92] installing bison-2.1-13.2
[ 208s] [62/92] installing flex-2.5.31-18.4
[ 208s] [63/92] installing libgssapi-0.6-13.4.1
[ 208s] [64/92] installing klogd-1.4.1-559.12
[ 208s] [65/92] installing psmisc-22.1-14.2
[ 208s] [66/92] installing cyrus-sasl-2.1.21-18.4
[ 208s] [67/92] installing perl-5.8.8-14.2
[ 214s] Updating etc/sysconfig/suseconfig...
[ 214s] [68/92] installing procps-3.2.6-18.7
[ 214s] [69/92] installing gpm-1.20.1-322.2
[ 214s] Updating etc/sysconfig/mouse...
[ 214s] [70/92] installing build-2007.05.10-0.3
[ 214s] [71/92] installing strace-4.5.14-15.2
[ 214s] [72/92] installing automake-1.9.6-13.2
[ 214s] [73/92] installing openssl-0.9.8a-18.15
[ 215s] [74/92] installing procinfo-18-55.12
[ 215s] [75/92] installing autoconf-2.59-92.2
[ 215s] [76/92] installing glibc-devel-2.4-31.30
[ 217s] [77/92] installing cvs-1.12.12-19.2
[ 217s] [78/92] installing texinfo-4.8-22.5
[ 217s] [79/92] installing vim-6.4.6-19.4
[ 219s] [80/92] installing groff-1.18.1.1-29.2
[ 220s] Updating etc/sysconfig/suseconfig...
[ 220s] [81/92] installing aaa_base-10-12.26
[ 220s] warning: /etc/DIR_COLORS created as /etc/DIR_COLORS.rpmnew
[ 220s] warning: /etc/inittab created as /etc/inittab.rpmnew
[ 220s] warning: /root/.exrc created as /root/.exrc.rpmnew
[ 220s] Updating etc/sysconfig/language...
[ 220s] Updating etc/sysconfig/backup...
[ 220s] Updating etc/sysconfig/boot...
[ 220s] Updating etc/sysconfig/displaymanager...
[ 220s] Updating etc/sysconfig/kernel...
[ 220s] Updating etc/sysconfig/suseconfig...
[ 220s] Updating etc/sysconfig/clock...
[ 220s] Updating etc/sysconfig/proxy...
[ 220s] Updating etc/sysconfig/windowmanager...
[ 220s] Updating etc/sysconfig/sysctl...
[ 220s] Updating etc/sysconfig/mail...
[ 220s] Updating etc/sysconfig/cron...
[ 220s] Updating etc/sysconfig/news...
[ 220s] Updating etc/sysconfig/shutdown...
[ 220s] Updating etc/sysconfig/sw_management...
[ 220s] Updating etc/passwd...unchanged
[ 220s] Updating etc/group...unchanged
[ 220s] Updating etc/shadow...unchanged
[ 220s] [82/92] installing bind-libs-9.3.4-1.8
[ 222s] [83/92] installing netcfg-10-1.2
[ 222s] warning: /etc/HOSTNAME created as /etc/HOSTNAME.rpmnew
[ 222s] [84/92] installing openldap2-client-2.3.32-0.10
[ 222s] [85/92] installing permissions-2007.2.15-0.7
[ 222s] Updating etc/sysconfig/security...
[ 222s] [86/92] installing gcc-4.1.2_20070115-0.11
[ 222s] [87/92] installing gettext-devel-0.14.5-13.2
[ 223s] [88/92] installing man-2.4.1-237.6
[ 223s] Updating etc/sysconfig/cron...
[ 223s] [89/92] installing bind-utils-9.3.4-1.8
[ 223s] [90/92] installing pwdutils-3.0.7.1-17.24
[ 224s] warning: /etc/default/passwd created
as /etc/default/passwd.rpmnew
[ 224s] warning: /etc/default/useradd created
as /etc/default/useradd.rpmnew
[ 224s] warning: /etc/ldap.conf created as /etc/ldap.conf.rpmnew
[ 224s] warning: /etc/pwdutils/logging created
as /etc/pwdutils/logging.rpmnew
[ 224s] warning: /etc/rpasswd.conf created as /etc/rpasswd.conf.rpmnew
[ 224s] warning: /usr/sbin/groupadd.local created
as /usr/sbin/groupadd.local.rpmnew
[ 224s] warning: /usr/sbin/useradd.local created
as /usr/sbin/useradd.local.rpmnew
[ 224s] warning: /usr/sbin/userdel-post.local created
as /usr/sbin/userdel-post.local.rpmnew
[ 224s] warning: /usr/sbin/userdel-pre.local created
as /usr/sbin/userdel-pre.local.rpmnew
[ 224s] [91/92] installing rpm-4.4.2-43.19
[ 224s] Updating etc/sysconfig/services...
[ 224s] [92/92] installing util-linux-2.12r-35.22
[ 225s] removing nis flags
from /var/tmp/build-root/etc/nsswitch.conf...
[ 225s] now finalizing build dir...
[ 225s] Checking permissions and ownerships - using the permissions
files
[ 225s] /tmp/Check.perms.C28054
[ 225s] setting /usr/src/packages/SOURCES/ to root:root 1777. (wrong
permissions 0755)
[ 225s] setting /usr/src/packages/BUILD/ to root:root 1777. (wrong
permissions 0755)
[ 225s] setting /usr/src/packages/RPMS/ to root:root 1777. (wrong
permissions 0755)
[ 225s] setting /usr/src/packages/RPMS/x86_64/ to root:root 1777.
(wrong permissions 0755)
[ 225s] setting /usr/src/packages/RPMS/noarch/ to root:root 1777.
(wrong permissions 0755)
[ 225s] setting /usr/src/packages/SPECS/ to root:root 1777. (wrong
permissions 0755)
[ 225s] setting /usr/src/packages/SRPMS/ to root:root 1777. (wrong
permissions 0755)
[ 225s] setting /usr/bin/wall to root:tty 2755. (wrong permissions
0755)
[ 225s] setting /usr/bin/write to root:tty 2755. (wrong permissions
0755)
[ 225s] Starting SuSEconfig, the SuSE Configuration Tool...
[ 225s] Running in full featured mode.
[ 225s] Reading /etc/sysconfig and updating the system...
[ 225s] Executing /sbin/conf.d/SuSEconfig.automake...
[ 225s] Executing /sbin/conf.d/SuSEconfig.groff...
[ 225s] Executing /sbin/conf.d/SuSEconfig.news...
[ 225s] Installing new /etc/nntpserver
[ 225s] Executing /sbin/conf.d/SuSEconfig.perl...
[ 225s] Executing /sbin/conf.d/SuSEconfig.permissions...
[ 225s] Executing /sbin/conf.d/SuSEconfig.sortpasswd...
[ 225s] Executing /sbin/conf.d/SuSEconfig.zmessages...
[ 225s] Finished.
[ 227s]
-----------------------------------------------------------------
[ 227s] ----- building zlib.spec (user abuild)
[ 227s]
-----------------------------------------------------------------
[ 227s]
-----------------------------------------------------------------
[ 227s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)'
--nosignature /usr/src/packages/SOURCES/zlib.spec
[ 227s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.18117
[ 227s] + umask 022
[ 227s] + cd /usr/src/packages/BUILD
[ 227s] + cd /usr/src/packages/BUILD
[ 227s] + rm -rf zlib-1.2.7
[ 227s] + tar -xf -
[ 227s] + /usr/bin/bzip2
-dc /usr/src/packages/SOURCES/zlib-1.2.7.tar.bz2
[ 228s] + STATUS=0
[ 228s] + '[' 0 -ne 0 ']'
[ 228s] + cd zlib-1.2.7
[ 228s] ++ /usr/bin/id -u
[ 228s] + '[' 399 = 0 ']'
[ 228s] ++ /usr/bin/id -u
[ 228s] + '[' 399 = 0 ']'
[ 228s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
[ 228s] + echo 'Patch #0
(zlib-1.2.7-improve-longest_match-performance.patch):'
[ 228s] Patch #0 (zlib-1.2.7-improve-longest_match-performance.patch):
[ 228s] + patch -p1 -s
[ 228s] + exit 0
[ 228s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.90584
[ 228s] + umask 022
[ 228s] + cd /usr/src/packages/BUILD
[ 228s] + /bin/rm -rf /var/tmp/zlib-1.2.7-build
[ 228s] ++ dirname /var/tmp/zlib-1.2.7-build
[ 228s] + /bin/mkdir -p /var/tmp
[ 228s] + /bin/mkdir /var/tmp/zlib-1.2.7-build
[ 228s] + cd zlib-1.2.7
[ 228s] + export LDFLAGS=-Wl,-z,relro,-z,now
[ 228s] + LDFLAGS=-Wl,-z,relro,-z,now
[ 228s] + export 'CFLAGS=-fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2'
[ 228s] + CFLAGS='-fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2'
[ 228s] + CC=gcc
[ 228s] + ./configure --shared --prefix=/usr --libdir=/lib64
[ 228s] Checking for shared library support...
[ 228s] Building shared library libz.so.1.2.7 with gcc.
[ 228s] Checking for off64_t... Yes.
[ 228s] Checking for fseeko... Yes.
[ 228s] Checking for strerror... Yes.
[ 228s] Checking for unistd.h... Yes.
[ 228s] Checking for stdarg.h... Yes.
[ 228s] Checking whether to use vs[n]printf() or s[n]printf()... using
vs[n]printf().
[ 228s] Checking for vsnprintf() in stdio.h... Yes.
[ 228s] Checking for return value of vsnprintf()... Yes.
[ 228s] Checking for attribute(visibility) support... Yes.
[ 228s] Looking for a four-byte integer type... Found.
[ 228s] + make -j2
[ 228s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o example.o test/example.c
[ 228s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c
[ 229s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c
[ 229s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c
[ 229s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c
[ 229s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c
[ 229s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c
[ 229s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c
[ 230s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c
[ 230s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c
[ 230s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c
[ 230s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c
[ 230s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c
[ 230s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c
[ 230s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c
[ 230s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c
[ 230s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o minigzip.o
test/minigzip.c
[ 230s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/adler32.o
adler32.c
[ 231s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/crc32.o crc32.c
[ 231s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/deflate.o
deflate.c
[ 231s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/infback.o
infback.c
[ 231s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inffast.o
inffast.c
[ 231s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inflate.o
inflate.c
[ 231s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inftrees.o
inftrees.c
[ 233s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/trees.o trees.c
[ 233s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/zutil.o zutil.c
[ 233s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/compress.o
compress.c
[ 233s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/uncompr.o
uncompr.c
[ 233s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzclose.o
gzclose.c
[ 233s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzlib.o gzlib.c
[ 233s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzread.o gzread.c
[ 234s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzwrite.o
gzwrite.c
[ 234s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o
example64.o test/example.c
[ 234s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o
minigzip64.o test/minigzip.c
[ 234s] ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o
inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o
gzlib.o gzread.o gzwrite.o
[ 234s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example example.o -L. libz.a
[ 234s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a
[ 234s] gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2 -fPIC
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o libz.so.1.2.7 adler32.lo
crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo
trees.lo zutil.lo compress.lo uncompr.lo gzclose.lo gzlib.lo gzread.lo
gzwrite.lo -lc -Wl,-z,relro,-z,now
[ 234s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example64 example64.o -L.
libz.a
[ 234s] rm -f libz.so libz.so.1
[ 234s] ln -s libz.so.1.2.7 libz.so
[ 234s] ln -s libz.so.1.2.7 libz.so.1
[ 234s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip64 minigzip64.o -L.
libz.a
[ 234s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o examplesh example.o -L.
libz.so.1.2.7
[ 234s] gcc -fmessage-length=0 -D_FORTIFY_SOURCE=2 -O2
-D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzipsh minigzip.o -L.
libz.so.1.2.7
[ 234s] + exit 0
[ 234s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.92883
[ 234s] + umask 022
[ 234s] + cd /usr/src/packages/BUILD
[ 234s] + cd zlib-1.2.7
[ 234s] + mkdir -p /var/tmp/zlib-1.2.7-build/usr/lib64
[ 234s] + make install DESTDIR=/var/tmp/zlib-1.2.7-build
[ 234s] cp libz.a /var/tmp/zlib-1.2.7-build/lib64
[ 234s] chmod 644 /var/tmp/zlib-1.2.7-build/lib64/libz.a
[ 234s] cp libz.so.1.2.7 /var/tmp/zlib-1.2.7-build/lib64
[ 234s] chmod 755 /var/tmp/zlib-1.2.7-build/lib64/libz.so.1.2.7
[ 234s] cp zlib.3 /var/tmp/zlib-1.2.7-build/usr/share/man/man3
[ 234s] chmod 644 /var/tmp/zlib-1.2.7-build/usr/share/man/man3/zlib.3
[ 234s] cp zlib.pc /var/tmp/zlib-1.2.7-build/lib64/pkgconfig
[ 234s] chmod 644 /var/tmp/zlib-1.2.7-build/lib64/pkgconfig/zlib.pc
[ 234s] cp zlib.h zconf.h /var/tmp/zlib-1.2.7-build/usr/include
[ 234s] chmod
644 /var/tmp/zlib-1.2.7-build/usr/include/zlib.h
/var/tmp/zlib-1.2.7-build/usr/include/zconf.h
[ 234s] ++ readlink /var/tmp/zlib-1.2.7-build/lib64/libz.so
[ 234s] + ln -s
-v /lib64/libz.so.1.2.7 /var/tmp/zlib-1.2.7-build/usr/lib64/libz.so
[ 234s] create symbolic link
`/var/tmp/zlib-1.2.7-build/usr/lib64/libz.so' to `/lib64/libz.so.1.2.7'
[ 234s] + rm -v /var/tmp/zlib-1.2.7-build/lib64/libz.so
[ 234s] removed `/var/tmp/zlib-1.2.7-build/lib64/libz.so'
[ 234s] +
mv /var/tmp/zlib-1.2.7-build/lib64/libz.a /var/tmp/zlib-1.2.7-build/usr/lib64
[ 234s] +
mv /var/tmp/zlib-1.2.7-build/lib64/pkgconfig /var/tmp/zlib-1.2.7-build/usr/lib64
[ 234s] + install -m 644
zlib.3 /var/tmp/zlib-1.2.7-build/usr/share/man/man3
[ 234s] + install -m 644 zutil.h /var/tmp/zlib-1.2.7-build/usr/include
[ 234s] + /usr/lib/rpm/brp-lib64-linux
[ 234s] sf@xxxxxxx: if you find problems with this script, drop me a
note
[ 234s] + RPM_BUILD_ROOT=/var/tmp/zlib-1.2.7-build
[ 234s] + export RPM_BUILD_ROOT
[ 234s] + test -x /usr/sbin/Check -a 399 = 0 -o -x /usr/sbin/Check -a
'!' -z /var/tmp/zlib-1.2.7-build
[ 234s] + echo 'I call /usr/sbin/Check...'
[ 234s] I call /usr/sbin/Check...
[ 234s] + /usr/sbin/Check
[ 234s] -rw-r--r-- 1 abuild abuild 1975 May 6
07:45 /var/tmp/zlib-1.2.7-build//usr/share/man/man3/zlib.3.gz
[ 234s] Checking permissions and ownerships - using the permissions
files
[ 234s] /tmp/Check.perms.B28603
[ 234s] setting /var/tmp/zlib-1.2.7-build/ to root:root 0755. (wrong
owner/group abuild:abuild)
[ 234s] setting /var/tmp/zlib-1.2.7-build/usr to root:root 0755. (wrong
owner/group abuild:abuild)
[ 234s] + /usr/lib/rpm/brp-compress
[ 234s] + /usr/lib/rpm/brp-symlink
[ 234s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.92883
[ 234s] + umask 022
[ 234s] + cd /usr/src/packages/BUILD
[ 234s] + cd zlib-1.2.7
[ 234s] + make check
[ 234s] hello world
[ 234s] zlib version 1.2.7 = 0x1270, compile flags = 0xa9
[ 234s] uncompress(): hello, hello!
[ 234s] gzread(): hello, hello!
[ 234s] gzgets() after gzseek: hello!
[ 234s] inflate(): hello, hello!
[ 234s] large_inflate(): OK
[ 234s] after inflateSync(): hello, hello!
[ 234s] inflate with dictionary: hello, hello!
[ 234s] *** zlib test OK ***
[ 234s] hello world
[ 234s] zlib version 1.2.7 = 0x1270, compile flags = 0xa9
[ 234s] uncompress(): hello, hello!
[ 234s] gzread(): hello, hello!
[ 234s] gzgets() after gzseek: hello!
[ 234s] inflate(): hello, hello!
[ 234s] large_inflate(): OK
[ 234s] after inflateSync(): hello, hello!
[ 234s] inflate with dictionary: hello, hello!
[ 234s] *** zlib shared test OK ***
[ 234s] hello world
[ 234s] zlib version 1.2.7 = 0x1270, compile flags = 0xa9
[ 234s] uncompress(): hello, hello!
[ 234s] gzread(): hello, hello!
[ 234s] gzgets() after gzseek: hello!
[ 234s] inflate(): hello, hello!
[ 234s] large_inflate(): OK
[ 234s] after inflateSync(): hello, hello!
[ 234s] inflate with dictionary: hello, hello!
[ 234s] *** zlib 64-bit test OK ***
[ 234s]
[ 234s] real 0m0.052s
[ 234s] user 0m0.012s
[ 234s] sys 0m0.016s
[ 234s] + exit 0
[ 234s] Processing files: libz1-1.2.7-7.1.1
[ 234s] Finding Provides: /usr/lib/rpm/find-provides zlib
[ 235s] Finding Requires: /usr/lib/rpm/find-requires zlib
[ 235s] Finding Supplements: /usr/lib/rpm/find-supplements zlib
[ 235s] Provides: zlib = 1.2.7-7.1.1 libz.so.1()(64bit)
libz.so.1(ZLIB_1.2.0)(64bit) libz.so.1(ZLIB_1.2.0.2)(64bit)
libz.so.1(ZLIB_1.2.0.8)(64bit) libz.so.1(ZLIB_1.2.2)(64bit)
libz.so.1(ZLIB_1.2.2.3)(64bit) libz.so.1(ZLIB_1.2.2.4)(64bit)
libz.so.1(ZLIB_1.2.3.3)(64bit) libz.so.1(ZLIB_1.2.3.4)(64bit)
libz.so.1(ZLIB_1.2.3.5)(64bit) libz.so.1(ZLIB_1.2.5.1)(64bit)
libz.so.1(ZLIB_1.2.5.2)(64bit) libz.so.1(libz.so.1)(64bit)
[ 235s] Requires(interp): /sbin/ldconfig /sbin/ldconfig
[ 235s] Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <=
3.0.4-1
[ 235s] Requires(post): /sbin/ldconfig
[ 235s] Requires(postun): /sbin/ldconfig
[ 235s] Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
[ 235s] Obsoletes: zlib < 1.2.7-7.1.1
[ 235s] Processing files: zlib-devel-1.2.7-7.1.1
[ 235s] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.80573
[ 235s] + umask 022
[ 235s] + cd /usr/src/packages/BUILD
[ 235s] + cd zlib-1.2.7
[ 235s] +
DOCDIR=/var/tmp/zlib-1.2.7-build/usr/share/doc/packages/zlib-devel
[ 235s] + export DOCDIR
[ 235s] + rm
-rf /var/tmp/zlib-1.2.7-build/usr/share/doc/packages/zlib-devel
[ 235s] + /bin/mkdir
-p /var/tmp/zlib-1.2.7-build/usr/share/doc/packages/zlib-devel
[ 235s] + cp -pr README
ChangeLog /var/tmp/zlib-1.2.7-build/usr/share/doc/packages/zlib-devel
[ 235s] + exit 0
[ 235s] Finding Provides: /usr/lib/rpm/find-provides zlib
[ 235s] Finding Requires: /usr/lib/rpm/find-requires zlib
[ 235s] Finding Supplements: /usr/lib/rpm/find-supplements zlib
[ 235s] Provides: libz:/usr/include/zlib.h
[ 235s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
[ 235s] Requires: glibc-devel libz1 = 1.2.7
[ 235s] Processing files: zlib-devel-static-1.2.7-7.1.1
[ 235s] Finding Provides: /usr/lib/rpm/find-provides zlib
[ 235s] Finding Requires: /usr/lib/rpm/find-requires zlib
[ 235s] Finding Supplements: /usr/lib/rpm/find-supplements zlib
[ 235s] Provides: zlib-devel:/usr/lib64/libz.a
[ 235s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
[ 235s] Requires: zlib-devel = 1.2.7
[ 235s] Checking for unpackaged
file(s): /usr/lib/rpm/check-files /var/tmp/zlib-1.2.7-build
[ 235s] Wrote: /usr/src/packages/SRPMS/zlib-1.2.7-7.1.1.src.rpm
[ 235s]
Wrote: /usr/src/packages/RPMS/x86_64/libz1-1.2.7-7.1.1.x86_64.rpm
[ 235s]
Wrote: /usr/src/packages/RPMS/x86_64/zlib-devel-1.2.7-7.1.1.x86_64.rpm
[ 235s]
Wrote: /usr/src/packages/RPMS/x86_64/zlib-devel-static-1.2.7-7.1.1.x86_64.rpm
[ 235s] ... checking for files with abuild user/group
[ 235s] ... creating baselibs
[ 235s] no targets for arch x86_64, nothing to do
[ 235s]
[ 235s] junwork.opensuse.com finished "build zlib.spec" at Mon May 6
07:45:44 UTC 2013.
[ 235s]

/var/tmp/build-root/usr/src/packages/SRPMS/zlib-1.2.7-7.1.1.src.rpm

/var/tmp/build-root/usr/src/packages/RPMS/x86_64/libz1-1.2.7-7.1.1.x86_64.rpm
/var/tmp/build-root/usr/src/packages/RPMS/x86_64/zlib-devel-1.2.7-7.1.1.x86_64.rpm
/var/tmp/build-root/usr/src/packages/RPMS/x86_64/zlib-devel-static-1.2.7-7.1.1.x86_64.rpm


--
---------------------------------------------------------
Jun Hu

DSE In Suse China.
----------------------------------------------------------



-----Original Message-----
From: Jan Engelhardt <jengelh@xxxxxxx>
To: Jun Hu <jhu_com@xxxxxxx>
Subject: Re: [opensuse-packaging] Re: [opensuse-buildservice] [help]how
to local build XX-32bit rpm on a x86_64 machine?
Date: Mon, 6 May 2013 09:30:04 +0200 (CEST)

On Monday 2013-05-06 04:16, Jun Hu wrote:

Hi Guys:

how to use the "-b " parameter ?

You... type it in.



On Sunday 2013-05-05 08:28, Jun Hu wrote:

but if using local build , I found it can't generate the rpm by
command "osc build i586" or "osc build "

Well no. Have you actually read the help text or manpage?

-b, --baselibs Create -32bit/-64bit/-x86 rpms for other architectures
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx




--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx



--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups