make[1]: Entering directory `/usr/src/openscenegraph' lsmod | grep unionfs > /dev/null || modprobe unionfs mkdir -p /usr/src/openscenegraph/build/fedora/fc5 /usr/src/openscenegraph/build/fedora/fc5.unionfs if ! unionctl --query /usr/src/openscenegraph/build/fedora/fc5 > /dev/null 2>&1 ; then mount -t unionfs -o rw,dirs=/usr/src/openscenegraph/build/fedora/fc5.unionfs=rw:/chroot/fedora/fc5=ro openscenegraph-fc5 /usr/src/openscenegraph/build/fedora/fc5 ; fi umount /usr/src/openscenegraph/build/fedora/fc5/proc > /dev/null 2>&1 umount /usr/src/openscenegraph/build/fedora/fc5/dev/pts > /dev/null 2>&1 if [ fedora = debian ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/var/cache/apt/archives > /dev/null 2>&1 ; \ elif [ fedora = fedora ] ; then \ : ; \ elif [ fedora = gentoo ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/local/distdir > /dev/null 2>&1 ; \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/portage/packages > /dev/null 2>&1 ; \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/portage > /dev/null 2>&1 ; \ fi umount /usr/src/openscenegraph/build/fedora/fc5/usr/src > /dev/null 2>&1 if [ fedora = gentoo ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/var/tmp/portage/homedir/.ccache > /dev/null 2>&1 ; \ else \ umount /usr/src/openscenegraph/build/fedora/fc5/root/.ccache > /dev/null 2>&1 ; \ fi umount /usr/src/openscenegraph/build/fedora/fc5 && rm -fr /usr/src/openscenegraph/build/fedora/fc5 && mkdir /usr/src/openscenegraph/build/fedora/fc5 rm -fr /usr/src/openscenegraph/build/fedora/fc5.unionfs lsmod | grep unionfs > /dev/null || modprobe unionfs mkdir -p /usr/src/openscenegraph/build/fedora/fc5 /usr/src/openscenegraph/build/fedora/fc5.unionfs if ! unionctl --query /usr/src/openscenegraph/build/fedora/fc5 > /dev/null 2>&1 ; then mount -t unionfs -o rw,dirs=/usr/src/openscenegraph/build/fedora/fc5.unionfs=rw:/chroot/fedora/fc5=ro openscenegraph-fc5 /usr/src/openscenegraph/build/fedora/fc5 ; fi make chroot-mounts make[2]: Entering directory `/usr/src/openscenegraph' lsmod | grep unionfs > /dev/null || modprobe unionfs mkdir -p /usr/src/openscenegraph/build/fedora/fc5 /usr/src/openscenegraph/build/fedora/fc5.unionfs if ! unionctl --query /usr/src/openscenegraph/build/fedora/fc5 > /dev/null 2>&1 ; then mount -t unionfs -o rw,dirs=/usr/src/openscenegraph/build/fedora/fc5.unionfs=rw:/chroot/fedora/fc5=ro openscenegraph-fc5 /usr/src/openscenegraph/build/fedora/fc5 ; fi umount /usr/src/openscenegraph/build/fedora/fc5/proc > /dev/null 2>&1 make[2]: [pre-chroot-umounts] Error 1 (ignored) umount /usr/src/openscenegraph/build/fedora/fc5/dev/pts > /dev/null 2>&1 make[2]: [pre-chroot-umounts] Error 1 (ignored) if [ fedora = debian ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/var/cache/apt/archives > /dev/null 2>&1 ; \ elif [ fedora = fedora ] ; then \ : ; \ elif [ fedora = gentoo ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/local/distdir > /dev/null 2>&1 ; \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/portage/packages > /dev/null 2>&1 ; \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/portage > /dev/null 2>&1 ; \ fi umount /usr/src/openscenegraph/build/fedora/fc5/usr/src > /dev/null 2>&1 make[2]: [pre-chroot-umounts] Error 1 (ignored) if [ fedora = gentoo ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/var/tmp/portage/homedir/.ccache > /dev/null 2>&1 ; \ else \ umount /usr/src/openscenegraph/build/fedora/fc5/root/.ccache > /dev/null 2>&1 ; \ fi make[2]: [pre-chroot-umounts] Error 1 (ignored) lsmod | grep unionfs > /dev/null || modprobe unionfs mkdir -p /usr/src/openscenegraph/build/fedora/fc5 /usr/src/openscenegraph/build/fedora/fc5.unionfs if ! unionctl --query /usr/src/openscenegraph/build/fedora/fc5 > /dev/null 2>&1 ; then mount -t unionfs -o rw,dirs=/usr/src/openscenegraph/build/fedora/fc5.unionfs=rw:/chroot/fedora/fc5=ro openscenegraph-fc5 /usr/src/openscenegraph/build/fedora/fc5 ; fi mount -t proc proc /usr/src/openscenegraph/build/fedora/fc5/proc mount -t devpts devpts /usr/src/openscenegraph/build/fedora/fc5/dev/pts if [ fedora = debian ] ; then \ mkdir -p gnulinux/fedora/fc5/archives/partial ; \ mount --bind gnulinux/fedora/fc5/archives /usr/src/openscenegraph/build/fedora/fc5/var/cache/apt/archives ; \ elif [ fedora = gentoo ] ; then \ mkdir -p /var/cache/packaging-farm/fedora/distdir /usr/src/openscenegraph/build/fedora/fc5/usr/local/distdir ; \ mount --bind /var/cache/packaging-farm/fedora/distdir /usr/src/openscenegraph/build/fedora/fc5/usr/local/distdir ; \ fi if [ fedora = gentoo ] ; then \ mkdir -p /var/cache/packaging-farm/fedora/portage/packages /usr/src/openscenegraph/build/fedora/fc5/usr/portage/packages ; \ mount --bind /var/cache/packaging-farm/fedora/portage/packages /usr/src/openscenegraph/build/fedora/fc5/usr/portage/packages ; \ fi mkdir -p gnulinux/fedora/fc5/src mount --bind gnulinux/fedora/fc5/src /usr/src/openscenegraph/build/fedora/fc5/usr/src if [ fedora = gentoo ] ; then \ mkdir -p /root/.ccache /usr/src/openscenegraph/build/fedora/fc5/var/tmp/portage/homedir/.ccache ; \ mount --bind /root/.ccache /usr/src/openscenegraph/build/fedora/fc5/var/tmp/portage/homedir/.ccache ; \ else \ mkdir -p /root/.ccache /usr/src/openscenegraph/build/fedora/fc5/root/.ccache ; \ mount --bind /root/.ccache /usr/src/openscenegraph/build/fedora/fc5/root/.ccache ; \ fi make[2]: Leaving directory `/usr/src/openscenegraph' if [ fedora = debian ] ; then \ source_list=/usr/src/openscenegraph/build/fedora/fc5/etc/apt/sources.list ; \ : ; \ : ; \ timeout 600 chroot /usr/src/openscenegraph/build/fedora/fc5 apt-get -o Acquire::pdiffs=false update && \ timeout 3600 chroot /usr/src/openscenegraph/build/fedora/fc5 apt-get -y --force-yes dist-upgrade ; \ elif [ fedora = fedora ] ; then \ TEMPLATE=/usr/src/openscenegraph/build/fedora/fc5/etc/packaging-farm.yum ; \ : ; \ : ; \ chroot /usr/src/openscenegraph/build/fedora/fc5 yum -d 0 -e 0 -y update ; \ elif [ fedora = gentoo ] ; then \ overlaydir=/usr/src/openscenegraph/build/fedora/fc5/overlays ; \ mkdir -p $overlaydir ; \ : ; \ fi make chroot-umounts make[2]: Entering directory `/usr/src/openscenegraph' lsmod | grep unionfs > /dev/null || modprobe unionfs mkdir -p /usr/src/openscenegraph/build/fedora/fc5 /usr/src/openscenegraph/build/fedora/fc5.unionfs if ! unionctl --query /usr/src/openscenegraph/build/fedora/fc5 > /dev/null 2>&1 ; then mount -t unionfs -o rw,dirs=/usr/src/openscenegraph/build/fedora/fc5.unionfs=rw:/chroot/fedora/fc5=ro openscenegraph-fc5 /usr/src/openscenegraph/build/fedora/fc5 ; fi umount /usr/src/openscenegraph/build/fedora/fc5/proc > /dev/null 2>&1 umount /usr/src/openscenegraph/build/fedora/fc5/dev/pts > /dev/null 2>&1 if [ fedora = debian ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/var/cache/apt/archives > /dev/null 2>&1 ; \ elif [ fedora = fedora ] ; then \ : ; \ elif [ fedora = gentoo ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/local/distdir > /dev/null 2>&1 ; \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/portage/packages > /dev/null 2>&1 ; \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/portage > /dev/null 2>&1 ; \ fi umount /usr/src/openscenegraph/build/fedora/fc5/usr/src > /dev/null 2>&1 if [ fedora = gentoo ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/var/tmp/portage/homedir/.ccache > /dev/null 2>&1 ; \ else \ umount /usr/src/openscenegraph/build/fedora/fc5/root/.ccache > /dev/null 2>&1 ; \ fi make[2]: Leaving directory `/usr/src/openscenegraph' make[1]: Leaving directory `/usr/src/openscenegraph' make[1]: Entering directory `/usr/src/openscenegraph' mkdir -p "/var/cache/packaging-farm/sources/openscenegraph" rsync --delete -avH /var/cache/packaging-farm/sources/openscenegraph/ openscenegraph/ building file list ... done deleting protected.dpatch deleting openscenegraph.dpatch deleting openscenegraph-debian-protected.dpatch deleting openscenegraph-debian-openscenegraph.dpatch ./ sent 66211 bytes received 26 bytes 132474.00 bytes/sec total size is 73045212 speedup is 1102.79 # # Make sure no update occur less than 1 seconds after the end of the rsync. # If an update can occur within less than 1 second, the -c (checksum) rsync option # *must* be used to ensure that the rsync is accurate and this slows down # the rsync a great deal. By loosing a second here you can save many seconds # later because rsync can rely on the file date and size to figure out which # files are identical. # sleep 1 : : Copy the patches to current directory and include the : package name in their file name : eval tarbal=openscenegraph/openscenegraph*[0-9].tar.gz ; \ version=$(expr $tarbal : '.*-\(.*\).tar.gz') ; \ if [ -f openscenegraph/openscenegraph-*[0-9]/debian/patches/00list ] ; then \ for patch in openscenegraph/openscenegraph-*[0-9]/debian/patches/*.dpatch ; do \ base=$(basename $patch) ; \ cp -a $patch openscenegraph ; \ cp -a $patch openscenegraph/openscenegraph-debian-$base ; \ done ; \ fi /usr/lib/packaging-farm/fedora/get.sh openscenegraph fc5 + PACKAGE=openscenegraph + DISTRIBUTION=fc5 + '[' -z openscenegraph -o -z fc5 ']' ++ packaging-farm --var DISTRIBUTION=fc5 DISTTYPE + DISTTYPE=fedora ++ packaging-farm --var DISTRIBUTION=fc5 OSTYPE + OSTYPE=gnulinux + mkdir -p gnulinux/fedora/fc5/src/redhat/SOURCES + mkdir -p gnulinux/fedora/fc5/src/redhat/SPECS ++ echo openscenegraph/openscenegraph-2.3.7.tar.gz + tarbal=openscenegraph/openscenegraph-2.3.7.tar.gz + rsync_done=/bin/false + '[' '!' -f openscenegraph/openscenegraph-2.3.7.tar.gz ']' + PATCH_MAGIC=333 + MAINTAINER='Loic Dachary ' ++ date '+%a %b %d %Y' + CHANGELOG_HEADER='* Wed Apr 09 2008 Loic Dachary -' + /bin/false + rsync -a --delete '--include=*openscenegraph*[0-9].tar.gz' '--include=*-debian-*' '--exclude=*' openscenegraph/ gnulinux/fedora/fc5/src/redhat/SOURCES/ + spec=gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec ++ grep '^Version:' /usr/lib/packaging-farm/fedora/get.sh: line 85: gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec: No such file or directory ++ sed -e 's/.*:[ ]*//' -e 's/[ ]*//g' + current_version= ++ expr openscenegraph/openscenegraph-2.3.7.tar.gz : '.*-\(.*\).tar.gz' + new_version=2.3.7 + echo 'Source version is 2.3.7' Source version is 2.3.7 + '[' '' '!=' 2.3.7 ']' + echo 'Upgrade openscenegraph from version to 2.3.7' Upgrade openscenegraph from version to 2.3.7 + perl -pi -e 's/^Release:.*/Release: 1%{?dist}/' gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec Can't open gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec: No such file or directory. + perl -pi -e 's/^Version:.*/Version:\t2.3.7/' gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec Can't open gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec: No such file or directory. + perl -pi -e 's/^%changelog\s*/%changelog\n* Wed Apr 09 2008 Loic Dachary - 2.3.7-1\n- upstream sync\n\n/' gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec Can't open gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec: No such file or directory. + patches_pattern='openscenegraph-debian-*.dpatch' ++ ls gnulinux/fedora/fc5/src/redhat/SOURCES/openscenegraph-debian-openscenegraph.dpatch gnulinux/fedora/fc5/src/redhat/SOURCES/openscenegraph-debian-protected.dpatch + patches='gnulinux/fedora/fc5/src/redhat/SOURCES/openscenegraph-debian-openscenegraph.dpatch gnulinux/fedora/fc5/src/redhat/SOURCES/openscenegraph-debian-protected.dpatch' + grep '^%patch333' gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec grep: gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec: No such file or directory + patches_in_spec=/bin/false + update_spec=/bin/false + /bin/false + '[' 'gnulinux/fedora/fc5/src/redhat/SOURCES/openscenegraph-debian-openscenegraph.dpatch gnulinux/fedora/fc5/src/redhat/SOURCES/openscenegraph-debian-protected.dpatch' ']' + echo 'Add debian patches to openscenegraph' Add debian patches to openscenegraph + update_spec=/bin/true + /bin/true + perl -pi -e '$_ = "" if(/^%patch${PATCH_MAGIC}/ || /^Patch${PATCH_MAGIC}/)' gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec Can't open gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec: No such file or directory. + '[' 'gnulinux/fedora/fc5/src/redhat/SOURCES/openscenegraph-debian-openscenegraph.dpatch gnulinux/fedora/fc5/src/redhat/SOURCES/openscenegraph-debian-protected.dpatch' ']' + patch_files= + patch_apply= + count=0 + for patch in '$patches' ++ basename gnulinux/fedora/fc5/src/redhat/SOURCES/openscenegraph-debian-openscenegraph.dpatch + patch=openscenegraph-debian-openscenegraph.dpatch + patch_files='Patch3330:\topenscenegraph-debian-openscenegraph.dpatch\n' + patch_apply='\n%patch3330 -p1' ++ expr 0 + 1 + count=1 + for patch in '$patches' ++ basename gnulinux/fedora/fc5/src/redhat/SOURCES/openscenegraph-debian-protected.dpatch + patch=openscenegraph-debian-protected.dpatch + patch_files='Patch3330:\topenscenegraph-debian-openscenegraph.dpatch\nPatch3331:\topenscenegraph-debian-protected.dpatch\n' + patch_apply='\n%patch3330 -p1\n%patch3331 -p1' ++ expr 1 + 1 + count=2 + perl -pi -e 's/^Source0/Patch3330:\topenscenegraph-debian-openscenegraph.dpatch\nPatch3331:\topenscenegraph-debian-protected.dpatch\nSource0/' gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec Can't open gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec: No such file or directory. + perl -pi -e 's/^(%setup.*)/\1\n%patch3330 -p1\n%patch3331 -p1/' gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec Can't open gnulinux/fedora/fc5/src/redhat/SPECS/openscenegraph.spec: No such file or directory. make[1]: Leaving directory `/usr/src/openscenegraph' make[1]: Entering directory `/usr/src/openscenegraph' lsmod | grep unionfs > /dev/null || modprobe unionfs mkdir -p /usr/src/openscenegraph/build/fedora/fc5 /usr/src/openscenegraph/build/fedora/fc5.unionfs if ! unionctl --query /usr/src/openscenegraph/build/fedora/fc5 > /dev/null 2>&1 ; then mount -t unionfs -o rw,dirs=/usr/src/openscenegraph/build/fedora/fc5.unionfs=rw:/chroot/fedora/fc5=ro openscenegraph-fc5 /usr/src/openscenegraph/build/fedora/fc5 ; fi umount /usr/src/openscenegraph/build/fedora/fc5/proc > /dev/null 2>&1 make[1]: [pre-chroot-umounts] Error 1 (ignored) umount /usr/src/openscenegraph/build/fedora/fc5/dev/pts > /dev/null 2>&1 make[1]: [pre-chroot-umounts] Error 1 (ignored) if [ fedora = debian ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/var/cache/apt/archives > /dev/null 2>&1 ; \ elif [ fedora = fedora ] ; then \ : ; \ elif [ fedora = gentoo ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/local/distdir > /dev/null 2>&1 ; \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/portage/packages > /dev/null 2>&1 ; \ umount /usr/src/openscenegraph/build/fedora/fc5/usr/portage > /dev/null 2>&1 ; \ fi umount /usr/src/openscenegraph/build/fedora/fc5/usr/src > /dev/null 2>&1 make[1]: [pre-chroot-umounts] Error 1 (ignored) if [ fedora = gentoo ] ; then \ umount /usr/src/openscenegraph/build/fedora/fc5/var/tmp/portage/homedir/.ccache > /dev/null 2>&1 ; \ else \ umount /usr/src/openscenegraph/build/fedora/fc5/root/.ccache > /dev/null 2>&1 ; \ fi make[1]: [pre-chroot-umounts] Error 1 (ignored) lsmod | grep unionfs > /dev/null || modprobe unionfs mkdir -p /usr/src/openscenegraph/build/fedora/fc5 /usr/src/openscenegraph/build/fedora/fc5.unionfs if ! unionctl --query /usr/src/openscenegraph/build/fedora/fc5 > /dev/null 2>&1 ; then mount -t unionfs -o rw,dirs=/usr/src/openscenegraph/build/fedora/fc5.unionfs=rw:/chroot/fedora/fc5=ro openscenegraph-fc5 /usr/src/openscenegraph/build/fedora/fc5 ; fi mount -t proc proc /usr/src/openscenegraph/build/fedora/fc5/proc mount -t devpts devpts /usr/src/openscenegraph/build/fedora/fc5/dev/pts if [ fedora = debian ] ; then \ mkdir -p gnulinux/fedora/fc5/archives/partial ; \ mount --bind gnulinux/fedora/fc5/archives /usr/src/openscenegraph/build/fedora/fc5/var/cache/apt/archives ; \ elif [ fedora = gentoo ] ; then \ mkdir -p /var/cache/packaging-farm/fedora/distdir /usr/src/openscenegraph/build/fedora/fc5/usr/local/distdir ; \ mount --bind /var/cache/packaging-farm/fedora/distdir /usr/src/openscenegraph/build/fedora/fc5/usr/local/distdir ; \ fi if [ fedora = gentoo ] ; then \ mkdir -p /var/cache/packaging-farm/fedora/portage/packages /usr/src/openscenegraph/build/fedora/fc5/usr/portage/packages ; \ mount --bind /var/cache/packaging-farm/fedora/portage/packages /usr/src/openscenegraph/build/fedora/fc5/usr/portage/packages ; \ fi mkdir -p gnulinux/fedora/fc5/src mount --bind gnulinux/fedora/fc5/src /usr/src/openscenegraph/build/fedora/fc5/usr/src if [ fedora = gentoo ] ; then \ mkdir -p /root/.ccache /usr/src/openscenegraph/build/fedora/fc5/var/tmp/portage/homedir/.ccache ; \ mount --bind /root/.ccache /usr/src/openscenegraph/build/fedora/fc5/var/tmp/portage/homedir/.ccache ; \ else \ mkdir -p /root/.ccache /usr/src/openscenegraph/build/fedora/fc5/root/.ccache ; \ mount --bind /root/.ccache /usr/src/openscenegraph/build/fedora/fc5/root/.ccache ; \ fi cp -a /usr/lib/packaging-farm/fedora/rpmbuild.sh /usr/src/openscenegraph/build/fedora/fc5/usr/src chroot /usr/src/openscenegraph/build/fedora/fc5 sh -c "cd /usr/src && DISTRIBUTION=fc5 PACKAGE=openscenegraph ./rpmbuild.sh" + rm -fr redhat/BUILD redhat/RPMS/i386 redhat/RPMS/noarch redhat/SRPMS + mkdir -p redhat/BUILD redhat/RPMS/i386 redhat/RPMS/noarch redhat/SRPMS + USER=root.root + chown root.root redhat/SOURCES/openscenegraph-2.3.7.tar.gz redhat/SOURCES/openscenegraph-debian-openscenegraph.dpatch redhat/SOURCES/openscenegraph-debian-protected.dpatch 'redhat/SPECS/*' chown: cannot access `redhat/SPECS/*': No such file or directory make[1]: *** [build/fedora] Error 1 make[1]: Leaving directory `/usr/src/openscenegraph'