Advertisement
keith_shannon

rpmbuild error output

Mar 24th, 2015
510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.74 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3.   RPM_SOURCE_DIR="/root/rpmbuild/SOURCES"
  4.   RPM_BUILD_DIR="/root/rpmbuild/BUILD"
  5.   RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic"
  6.   RPM_ARCH="x86_64"
  7.   RPM_OS="linux"
  8.   export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  9.   RPM_DOC_DIR="/usr/share/doc"
  10.   export RPM_DOC_DIR
  11.   RPM_PACKAGE_NAME="perl-namespace-autoclean"
  12.   RPM_PACKAGE_VERSION="0.24"
  13.   RPM_PACKAGE_RELEASE="1.el6"
  14.   export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  15.   LANG=C
  16.   export LANG
  17.   unset CDPATH DISPLAY ||:
  18.   RPM_BUILD_ROOT="/root/rpmbuild/BUILDROOT/perl-namespace-autoclean-0.24-1.el6.x86_64"
  19.   export RPM_BUILD_ROOT
  20.  
  21.   PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/share/pkgconfig"
  22.   export PKG_CONFIG_PATH
  23.  
  24.   set -x
  25.   umask 022
  26.   cd "/root/rpmbuild/BUILD"
  27.     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"
  28.     mkdir -p `dirname "$RPM_BUILD_ROOT"`
  29.     mkdir "$RPM_BUILD_ROOT"
  30.  
  31. cd 'namespace-autoclean-0.24'
  32. LANG=C
  33. export LANG
  34. unset DISPLAY
  35.  
  36. rm -rf $RPM_BUILD_ROOT
  37.  
  38. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  39. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  40.  
  41. /bin/chmod -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
  42.  
  43.  
  44.    
  45.    /usr/lib/rpm/find-debuginfo.sh --strict-build-id  "/root/rpmbuild/BUILD/namespace-autoclean-0.24"
  46.  
  47.     /usr/lib/rpm/check-buildroot
  48.    
  49.     /usr/lib/rpm/redhat/brp-compress
  50.      
  51.     /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
  52.     /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
  53.     /usr/lib/rpm/brp-python-bytecompile
  54.     /usr/lib/rpm/redhat/brp-python-hardlink
  55.     /usr/lib/rpm/redhat/brp-java-repack-jars
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement