Bug 1047064 - Autoconf problems on Fedora 21
Summary: Autoconf problems on Fedora 21
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libmodbus
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: John Morris
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-28 19:28 UTC by John Morris
Modified: 2014-01-19 19:05 UTC (History)
2 users (show)

Fixed In Version: libmodbus-3.0.5-2.el6
Clone Of:
Environment:
Last Closed: 2014-01-14 08:37:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description John Morris 2013-12-28 19:28:39 UTC
The libmodbus package build fails on Fedora 21/Rawhide during autoconf.  The specfile is the same revision as Fedora 18-20 and EPEL6, all of which pass.

The error in the build log [1] looks like this:

  + autoreconf
  configure.ac:65: error: required file './compile' not found
  configure.ac:65:   'automake --add-missing' can install 'compile'

I blindly tried the 'automake --add-missing' suggestion, but that failed too.  From the log [2]:

  + automake --add-missing
  aclocal.m4:17: warning: this file was generated for autoconf 2.68.
  You have another version of autoconf.  It may work, but is not guaranteed to.
  If you have problems, you may need to regenerate the build system entirely.
  To do so, use the procedure documented by the package, typically `autoreconf'.
  configure.ac:28: error: version mismatch.  This is Automake 1.14,
  configure.ac:28: but the definition used by this AM_INIT_AUTOMAKE
  configure.ac:28: comes from Automake 1.11.6.  You should recreate
  configure.ac:28: aclocal.m4 with aclocal and run automake again.



[1] http://kojipkgs.fedoraproject.org//work/tasks/9171/6339171/build.log
[2] http://kojipkgs.fedoraproject.org//work/tasks/9230/6339230/build.log

Comment 1 Stéphane Raimbault 2014-01-03 23:20:44 UTC
libmodbus v3.0.5 (git project) doesn't provide aclocal.m4 but this file is generated when the tarball is created with 'make dist'.

You'll certainly need to generate the tarball (make dist) on Fedora 21 (or a recent distributions) to avoid the version mismatch (I can provide one if you want).

Do you know why the logs complain about bogus dates?

Comment 2 John Morris 2014-01-04 15:26:37 UTC
(Reopening this & assigning to myself until fc21 package builds are fixed)

(Note that tarballs must come from an upstream release, with URL in 'Source0:', or we'll see more Buildsys messages about md5sum mismatches.)

The released tarball does include aclocal.m4, but doesn't match the new files generated by 'automake --add-missing' on fc21.  This is solved by running 'aclocal' in the %prep section [1].

Bogus dates:  See [2]

Thanks for the clues!  Looks like the package is back on track.

[1] http://pkgs.fedoraproject.org/cgit/libmodbus.git/commit/?id=3daf4b3702f01a7f57a3b54b7d959eb1970c05f8

[2] http://pkgs.fedoraproject.org/cgit/libmodbus.git/commit/?id=48e4c906e327d0f8ebbd0b8cb8c5c75d5cfe5410

Comment 3 Fedora Update System 2014-01-04 15:42:34 UTC
libmodbus-3.0.5-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/libmodbus-3.0.5-2.fc19

Comment 4 Fedora Update System 2014-01-04 15:42:43 UTC
libmodbus-3.0.5-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libmodbus-3.0.5-2.fc20

Comment 5 Fedora Update System 2014-01-04 15:42:52 UTC
libmodbus-3.0.5-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/libmodbus-3.0.5-2.el6

Comment 6 Fedora Update System 2014-01-04 15:43:00 UTC
libmodbus-3.0.5-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/libmodbus-3.0.5-2.fc18

Comment 7 Fedora Update System 2014-01-04 22:46:45 UTC
Package libmodbus-3.0.5-2.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing libmodbus-3.0.5-2.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-0045/libmodbus-3.0.5-2.el6
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-01-14 08:37:05 UTC
libmodbus-3.0.5-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-01-14 08:39:56 UTC
libmodbus-3.0.5-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-01-14 08:45:59 UTC
libmodbus-3.0.5-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-01-19 19:05:52 UTC
libmodbus-3.0.5-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


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