Advertisement
keith_shannon

rpmbuild root

Mar 24th, 2015
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.00 KB | None | 0 0
  1. [user@server (13:00:21) ~/rpmbuild/SPECS]$ sudo rpmbuild -ba perl-namespace-autoclean.spec
  2. [sudo] password for k*****:
  3. Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M412gV
  4. + umask 022
  5. + cd /root/rpm/BUILD
  6. + LANG=C
  7. + export LANG
  8. + unset DISPLAY
  9. + cd /root/rpm/BUILD
  10. + rm -rf namespace-autoclean-0.24
  11. + /usr/bin/gzip -dc /root/rpm/SOURCES/namespace-autoclean-0.24.tar.gz
  12. + /bin/tar -xf -
  13. + STATUS=0
  14. + '[' 0 -ne 0 ']'
  15. + cd namespace-autoclean-0.24
  16. + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
  17. + exit 0
  18. Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vPlbbN
  19. + umask 022
  20. + cd /root/rpm/BUILD
  21. + cd namespace-autoclean-0.24
  22. + LANG=C
  23. + export LANG
  24. + unset DISPLAY
  25. + /usr/bin/perl Build.PL installdirs=vendor
  26. Congratulations, your toolchain understands 'configure_requires'!
  27.  
  28. Creating new 'Build' script for 'namespace-autoclean' version '0.24'
  29. + ./Build
  30. cp lib/namespace/autoclean.pm blib/lib/namespace/autoclean.pm
  31. + exit 0
  32. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6sa1GG
  33. + umask 022
  34. + cd /root/rpm/BUILD
  35. + '[' /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64 '!=' / ']'
  36. + rm -rf /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
  37. ++ dirname /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
  38. + mkdir -p /root/rpm/BUILDROOT
  39. + mkdir /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
  40. + cd namespace-autoclean-0.24
  41. + LANG=C
  42. + export LANG
  43. + unset DISPLAY
  44. + rm -rf /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
  45. + mkdir -p /home/k*****/rpmbuild/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
  46. + ./Build install destdir=/root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64 create_packlist=0
  47. + find /root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64 -depth -type d -exec rmdir '{}' ';'
  48. error: Bad exit status from /var/tmp/rpm-tmp.6sa1GG (%install)
  49.  
  50.  
  51. RPM build errors:
  52.     Bad exit status from /var/tmp/rpm-tmp.6sa1GG (%install)
  53. [user@server (13:00:57) ~/rpmbuild/SPECS]$ cat /var/tmp/rpm-tmp.6
  54. rpm-tmp.6sa1GG  rpm-tmp.6x1PMT  
  55. [user@server (13:00:57) ~/rpmbuild/SPECS]$ cat /var/tmp/rpm-tmp.6sa1GG
  56. cat: /var/tmp/rpm-tmp.6sa1GG: Permission denied
  57. [user@server (13:01:20) ~/rpmbuild/SPECS]$ sudo cat /var/tmp/rpm-tmp.6sa1GG
  58. #!/bin/sh
  59.  
  60.   RPM_SOURCE_DIR="/root/rpm/SOURCES"
  61.   RPM_BUILD_DIR="/root/rpm/BUILD"
  62.   RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic"
  63.   RPM_ARCH="x86_64"
  64.   RPM_OS="linux"
  65.   export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  66.   RPM_DOC_DIR="/usr/share/doc"
  67.   export RPM_DOC_DIR
  68.   RPM_PACKAGE_NAME="perl-namespace-autoclean"
  69.   RPM_PACKAGE_VERSION="0.24"
  70.   RPM_PACKAGE_RELEASE="1.el6"
  71.   export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  72.   LANG=C
  73.   export LANG
  74.   unset CDPATH DISPLAY ||:
  75.   RPM_BUILD_ROOT="/root/rpm/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64"
  76.   export RPM_BUILD_ROOT
  77.  
  78.   PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/share/pkgconfig"
  79.   export PKG_CONFIG_PATH
  80.  
  81.   set -x
  82.   umask 022
  83.   cd "/root/rpm/BUILD"
  84.     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"
  85.     mkdir -p `dirname "$RPM_BUILD_ROOT"`
  86.     mkdir "$RPM_BUILD_ROOT"
  87.  
  88. cd 'namespace-autoclean-0.24'
  89. LANG=C
  90. export LANG
  91. unset DISPLAY
  92.  
  93. rm -rf $RPM_BUILD_ROOT
  94. mkdir -p /home/k*****/rpmbuild/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64
  95. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  96. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  97.  
  98. /bin/chmod -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
  99.  
  100.  
  101.    
  102.    /usr/lib/rpm/find-debuginfo.sh --strict-build-id  "/root/rpm/BUILD/namespace-autoclean-0.24"
  103.  
  104.     /usr/lib/rpm/check-buildroot
  105.    
  106.     /usr/lib/rpm/redhat/brp-compress
  107.      
  108.     /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
  109.     /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
  110.     /usr/lib/rpm/brp-python-bytecompile
  111.     /usr/lib/rpm/redhat/brp-python-hardlink
  112.     /usr/lib/rpm/redhat/brp-java-repack-jars
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement