Bug 806567 - nut-2.6.3 does not build on CentOS 5 from git://pkgs.fedoraproject.org/nut.git
Summary: nut-2.6.3 does not build on CentOS 5 from git://pkgs.fedoraproject.org/nut.git
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nut
Version: el5
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-24 20:58 UTC by Simon J Mudd
Modified: 2014-03-07 18:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-07 18:27:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Simon J Mudd 2012-03-24 20:58:44 UTC
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.

Comment 1 Michal Hlavinka 2012-03-26 13:46:43 UTC
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.

Comment 2 Michal Hlavinka 2014-03-07 18:27:42 UTC
no response for a long time, closing nextrelease (nut 2.6.x is present in centos/rhel 6)


Note You need to log in before you can comment on or make changes to this bug.