[opensuse-buildservice] Local fedora build fails on openSUSE host
Hi, I am trying to locally build a package for Fedora17, on a openSUSE 12.1 host. The package builds fine in the build service, but when I run osc build Fedora_17 x86_64 joe.spec it fails with [...] initializing rpm db... chroot: failed to run command `rpm': No such file or directory (see complete output below) I have verified that rpm is missing in the build root: suse2:/var/tmp/build-root # ls bin/ |grep rpm rpm2cpio rpmdb rpmkeys rpmquery rpmsign rpmverify How can I get rpm into the build root? Also I notice quite a few errors with " Cannot extract through symlink ", among these is rpm. How can I fix this? Isaac Complete osc output: ==================== Updating cache of required packages 0.0% cache miss. 204/204 dependencies cached. Verifying integrity of cached packages using keys from Fedora:17 Writing build configuration Running build logging output to /var/tmp/build-root/.build.log... Memory limit set to 1674644KB Using BUILD_ROOT=/var/tmp/build-root Using BUILD_ARCH=x86_64:i686:i586:i486:i386 suse2 started "build joe.spec" at Fri Jul 13 19:23:27 UTC 2012. processing specfile /home/isaac/MYPROJECT/home:shoubam/joe/joe.spec ... running changelog2spec --target rpm --file /home/isaac/MYPROJECT/home:shoubam/joe/joe.spec init_buildsystem --cachedir /var/cache/build --rpmlist /tmp/rpmlist.V9VLHG /home/isaac/MYPROJECT/home:shoubam/joe/joe.spec ... hostname: Name or service not known [1/52] preinstalling acl... [2/52] preinstalling attr... [3/52] preinstalling bash... [4/52] preinstalling bzip2... [5/52] preinstalling coreutils... [6/52] preinstalling device-mapper-libs... [7/52] preinstalling diffutils... [8/52] preinstalling filesystem... ./lib64: Can't remove already-existing dir bsdtar: Error exit delayed from previous errors. [9/52] preinstalling glibc... ./sbin/ldconfig: Cannot extract through symlink sbin ./sbin/sln: Cannot extract through symlink sbin bsdtar: Error exit delayed from previous errors. [10/52] preinstalling grep... ./bin/egrep: Cannot extract through symlink bin ./bin/fgrep: Cannot extract through symlink bin ./bin/grep: Cannot extract through symlink bin bsdtar: Error exit delayed from previous errors. [11/52] preinstalling libacl... [12/52] preinstalling libattr... [13/52] preinstalling libgcc... [14/52] preinstalling m4... [15/52] preinstalling ncurses... [16/52] preinstalling pam... ./lib/security: Cannot extract through symlink lib ./sbin/faillock: Cannot extract through symlink sbin ./sbin/mkhomedir_helper: Cannot extract through symlink sbin ./sbin/pam_console_apply: Cannot extract through symlink sbin ./sbin/pam_tally2: Cannot extract through symlink sbin ./sbin/pam_timestamp_check: Cannot extract through symlink sbin ./sbin/unix_chkpwd: Cannot extract through symlink sbin ./sbin/unix_update: Cannot extract through symlink sbin bsdtar: Error exit delayed from previous errors. [17/52] preinstalling nss... [18/52] preinstalling nspr... [19/52] preinstalling popt... [20/52] preinstalling readline... [21/52] preinstalling ncurses-libs... [22/52] preinstalling rpm... ./bin/rpm: Cannot extract through symlink bin bsdtar: Error exit delayed from previous errors. [23/52] preinstalling rpm-sign... [24/52] preinstalling sed... ./bin/sed: Cannot extract through symlink bin bsdtar: Error exit delayed from previous errors. [25/52] preinstalling tar... ./bin/gtar: Cannot extract through symlink bin ./bin/tar: Cannot extract through symlink bin bsdtar: Error exit delayed from previous errors. [26/52] preinstalling zlib... [27/52] preinstalling rpm-libs... [28/52] preinstalling pcre... [29/52] preinstalling info... ./sbin/install-info: Cannot extract through symlink sbin bsdtar: Error exit delayed from previous errors. [30/52] preinstalling libselinux... [31/52] preinstalling sqlite... [32/52] preinstalling elfutils-libelf... [33/52] preinstalling findutils... [34/52] preinstalling openssl... [35/52] preinstalling krb5-libs... [36/52] preinstalling e2fsprogs-libs... [37/52] preinstalling expat... [38/52] preinstalling bzip2-libs... [39/52] preinstalling libstdc++... [40/52] preinstalling setup... [41/52] preinstalling libsepol... [42/52] preinstalling libcap... [43/52] preinstalling libdb... [44/52] preinstalling file-libs... [45/52] preinstalling lua... [46/52] preinstalling shadow-utils... [47/52] preinstalling chkconfig... ./sbin/chkconfig: Cannot extract through symlink sbin bsdtar: Error exit delayed from previous errors. [48/52] preinstalling util-linux... [49/52] preinstalling xz-libs... [50/52] preinstalling nss-util... [51/52] preinstalling nss-softokn-freebl... [52/52] preinstalling nss-softokn... initializing rpm db... chroot: failed to run command `rpm': No such file or directory The buildroot was: /var/tmp/build-root -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (1)
-
Isaac Hailperin