Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [user@server (13:00:21) ~/rpmbuild/SPECS]$ sudo rpmbuild -ba perl-namespace-autoclean.spec
- [sudo] password for k*****:
- Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M412gV
- + umask 022
- + cd /root/rpm/BUILD
- + LANG=C
- + export LANG
- + unset DISPLAY
- + cd /root/rpm/BUILD
- + rm -rf namespace-autoclean-0.24
- + /usr/bin/gzip -dc /root/rpm/SOURCES/namespace-autoclean-0.24.tar.gz
- + /bin/tar -xf -
- + STATUS=0
- + '[' 0 -ne 0 ']'
- + cd namespace-autoclean-0.24
- + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
- + exit 0
- Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vPlbbN
- + umask 022
- + cd /root/rpm/BUILD
- + cd namespace-autoclean-0.24
- + LANG=C
- + export LANG
- + unset DISPLAY
- + /usr/bin/perl Build.PL installdirs=vendor
- Congratulations, your toolchain understands 'configure_requires'!
- Creating new 'Build' script for 'namespace-autoclean' version '0.24'
- + ./Build
- cp lib/namespace/autoclean.pm blib/lib/namespace/autoclean.pm
- + exit 0
- Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6sa1GG
- + umask 022
- + cd /root/rpm/BUILD
- + '[' /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64 '!=' / ']'
- + rm -rf /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
- ++ dirname /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
- + mkdir -p /root/rpm/BUILDROOT
- + mkdir /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
- + cd namespace-autoclean-0.24
- + LANG=C
- + export LANG
- + unset DISPLAY
- + rm -rf /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
- + mkdir -p /home/k*****/rpmbuild/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
- + ./Build install destdir=/root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64 create_packlist=0
- + find /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64 -depth -type d -exec rmdir '{}' ';'
- error: Bad exit status from /var/tmp/rpm-tmp.6sa1GG (%install)
- RPM build errors:
- Bad exit status from /var/tmp/rpm-tmp.6sa1GG (%install)
- [user@server (13:00:57) ~/rpmbuild/SPECS]$ cat /var/tmp/rpm-tmp.6
- rpm-tmp.6sa1GG rpm-tmp.6x1PMT
- [user@server (13:00:57) ~/rpmbuild/SPECS]$ cat /var/tmp/rpm-tmp.6sa1GG
- cat: /var/tmp/rpm-tmp.6sa1GG: Permission denied
- [user@server (13:01:20) ~/rpmbuild/SPECS]$ sudo cat /var/tmp/rpm-tmp.6sa1GG
- #!/bin/sh
- RPM_SOURCE_DIR="/root/rpm/SOURCES"
- RPM_BUILD_DIR="/root/rpm/BUILD"
- RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic"
- RPM_ARCH="x86_64"
- RPM_OS="linux"
- export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
- RPM_DOC_DIR="/usr/share/doc"
- export RPM_DOC_DIR
- RPM_PACKAGE_NAME="perl-namespace-autoclean"
- RPM_PACKAGE_VERSION="0.24"
- RPM_PACKAGE_RELEASE="1.el6"
- export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
- LANG=C
- export LANG
- unset CDPATH DISPLAY ||:
- RPM_BUILD_ROOT="/root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64"
- export RPM_BUILD_ROOT
- PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/share/pkgconfig"
- export PKG_CONFIG_PATH
- set -x
- umask 022
- cd "/root/rpm/BUILD"
- [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"
- mkdir -p `dirname "$RPM_BUILD_ROOT"`
- mkdir "$RPM_BUILD_ROOT"
- cd 'namespace-autoclean-0.24'
- LANG=C
- export LANG
- unset DISPLAY
- rm -rf $RPM_BUILD_ROOT
- mkdir -p /home/k*****/rpmbuild/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
- ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
- find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
- /bin/chmod -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
- /usr/lib/rpm/find-debuginfo.sh --strict-build-id "/root/rpm/BUILD/namespace-autoclean-0.24"
- /usr/lib/rpm/check-buildroot
- /usr/lib/rpm/redhat/brp-compress
- /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
- /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
- /usr/lib/rpm/brp-python-bytecompile
- /usr/lib/rpm/redhat/brp-python-hardlink
- /usr/lib/rpm/redhat/brp-java-repack-jars
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement