Not the answer you need?
Register and ask your own question!

SRPM Build Fails with CFLAG unbound variable

jcesariojcesario ContributorCurrent User Role Advisor
[[email protected] SRPMS]$ wget -q http://www.percona.com/redir/downloads/XtraBackup/XtraBackup-2.0.0/source/percona-xtrabackup-2.0.0-417.rhel5.src.rpm[[email protected] SRPMS]$ md5sum percona-xtrabackup-2.0.0-417.rhel5.src.rpm 582e50d30f2c0e4127dcd791f8fb16cb percona-xtrabackup-2.0.0-417.rhel5.src.rpm[[email protected] SRPMS]$ rpm -ivh percona-xtrabackup-2.0.0-417.rhel5.src.rpm 1:percona-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[[email protected] SRPMS]$ cd ../SPECS/[[email protected] 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+ ''+ cd percona-xtrabackup-2.0.0++ /usr/bin/id -u+ ''++ /usr/bin/id -u+ ''+ /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)[[email protected] SPECS]$ cat /etc/*-release CentOS release 5.8 (Final)</pre>
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.