Description of problem: Build of nut-2.6.3 rpm on CentOS5 fails in %build section. Version-Release number of selected component (if applicable): This version from the nut.git repo: commit 74731fdeed7b6f7ae0932c83c32b02cfe22db00a Author: Michal Hlavinka <mhlavink> Date: Thu Jan 5 16:19:57 2012 +0100 nut updated to 2.6.3 How reproducible: Always Steps to Reproduce: 1. git clone git://pkgs.fedoraproject.org/nut.git, setup rpm directories 2. Download the nut-2.6.3.tar.gz file 3. rpmbuild -ba --define 'rhel 5' nut.spec Actual results: Executing(%build): /bin/sh -e /home/sjmudd/RPM/TMP/rpm-tmp.46033 + umask 022 + cd /home/sjmudd/RPM/TMP + cd nut-2.6.3 + LANG=C + export LANG + unset DISPLAY + autoreconf -i You should update your `aclocal.m4' by running aclocal. libtoolize: `config.guess' exists: use `--force' to overwrite libtoolize: `config.sub' exists: use `--force' to overwrite libtoolize: `ltmain.sh' exists: use `--force' to overwrite configure.in:93: error: possibly undefined macro: AC_C_FLEXIBLE_ARRAY_MEMBER If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:94: error: possibly undefined macro: AC_C_VARARRAYS configure.in:104: error: possibly undefined macro: AC_TYPE_LONG_DOUBLE configure.in:105: error: possibly undefined macro: AC_TYPE_LONG_LONG_INT autoreconf: /usr/bin/autoconf failed with exit status: 1 error: Bad exit status from /home/sjmudd/RPM/TMP/rpm-tmp.46033 (%build) RPM build errors: Bad exit status from /home/sjmudd/RPM/TMP/rpm-tmp.46033 (%build) [sjmudd@mad06 nut]$ Expected results: Package builds to completion. Additional info: I built 2.2.1 a long time ago but it's now giving me some issues. I'd like to update this. It seems that nut is not provided with RHEL5 so adding the package to the EPEL list would be good.
I know it does not work for rhel 5. There is nut 2.2.2 in epel 5 repository: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2011-2897/nut-2.2.2-1.el5 > I built 2.2.1 a long time ago but it's now giving me some issues. If you still have issues with this version, let me know what issues are they.
no response for a long time, closing nextrelease (nut 2.6.x is present in centos/rhel 6)