Announcement

Announcement Module
Collapse
No announcement yet.

SRPM Build Fails with CFLAG unbound variable

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SRPM Build Fails with CFLAG unbound variable

    [user1@pkg5-64 SRPMS]$ wget -q http://www.percona.com/redir/downloads/XtraBackup/XtraBackup-2.0.0/source/percona-xtrabackup-2.0.0-417.rhel5.src.rpm[user1@pkg5-64 SRPMS]$ md5sum percona-xtrabackup-2.0.0-417.rhel5.src.rpm 582e50d30f2c0e4127dcd791f8fb16cb percona-xtrabackup-2.0.0-417.rhel5.src.rpm[user1@pkg5-64 SRPMS]$ rpm -ivh percona-xtrabackup-2.0.0-417.rhel5.src.rpm 1ercona-xtrabackup warning: user jenkins does not exist - using rootwarning: group jenkins does not exist - using root########################################### [100%]warning: user jenkins does not exist - using rootwarning: group jenkins does not exist - using root[user1@pkg5-64 SRPMS]$ cd ../SPECS/[user1@pkg5-64 SPECS]$ rpmbuild -ba --clean xtrabackup.spec --define="xtrabackup_version 2.0.0"Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.39433+ umask 022+ cd /home/user1/rpmbuild/BUILD+ LANG=C+ export LANG+ unset DISPLAY+ cd /home/user1/rpmbuild/BUILD+ rm -rf percona-xtrabackup-2.0.0+ /bin/gzip -dc /home/user1/rpmbuild/SOURCES/percona-xtrabackup-2.0.0.tar.gz+ tar -xf -+ STATUS=0+ '[' 0 -ne 0 ']'+ cd percona-xtrabackup-2.0.0++ /usr/bin/id -u+ '[' 104114 = 0 ']'++ /usr/bin/id -u+ '[' 104114 = 0 ']'+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .+ exit 0Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3314+ umask 022+ cd /home/user1/rpmbuild/BUILD+ cd percona-xtrabackup-2.0.0+ LANG=C+ export LANG+ unset DISPLAY+ set -ue+ export CC=gcc+ CC=gcc+ export CXX=gcc+ CXX=gcc/var/tmp/rpm-tmp.3314: line 33: CFLAGS: unbound variableerror: Bad exit status from /var/tmp/rpm-tmp.3314 (%build)RPM build errors: Bad exit status from /var/tmp/rpm-tmp.3314 (%build)[user1@pkg5-64 SPECS]$ cat /etc/*-release CentOS release 5.8 (Final)
Working...
X