Ticket #135 (closed enhancement: fixed)

Opened 19 months ago

Last modified 3 months ago

[patch] Upgrade to requiring autoconf 2.60 or newer

Reported by: tom Owned by: olly
Priority: lowest Milestone: 1.1.0
Component: Build system Version: SVN trunk
Severity: minor Keywords:
Cc: Blocked By:
Operating System: All Blocking:

Description (last modified by richard) (diff)

xapian $ ./bootstrap Bootstrapping `xapian-core' You should update your `aclocal.m4' by running aclocal. configure.ac:386: error: possibly undefined macro: AC_TYPE_SSIZE_T

If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.

autoreconf: /usr/bin/autoconf failed with exit status: 1 Bootstrap failed --

gcc 4.0.1, GNU autoconf 2.59, GNU automake 1.9.5, GNU libtool 1.5.22

(going to try with later autoconf at RB's suggestion. More helpful error message please?)

Attachments

xapian-back-to-autoconf-2.59.patch (2.4 kB) - added by olly 19 months ago.
Patch which reverted to requring autoconf 2.59

Change History

Changed 19 months ago by tom

  • status changed from new to closed
  • resolution set to fixed

Fixed with change to xapian-core/configure.ac.

Changed 19 months ago by olly

We could just revert the change to use AC_TYPE_SSIZE_T - it's hardly a rocket science test. I just changed to using it because I noticed it was there when adding a check for AC_TYPE_MODE_T (which doesn't seem to be so new).

2.59c is a beta release, so really we're now requiring 2.60, which would allow some compatibility cruft to be removed and also mean that people are developing against a version closer to that we use for snapshots and releases (2.61 currently).

Ubuntu edgy has 2.60; the new Debian stable has 2.61. Debian oldstable had 2.59a, but I find it hard to believe anyone doing major development work would be able to use Debian stable for long after release without backports or hand built packages, and besdies they'll be looking to upgrade soon anyway. I don't know about other distros or package based platforms though.

Casual users can also use the SVN snapshots anyway. I think I've convinced myself at least! Would autoconf 2.60 be a problem for you, Tom?

Changed 19 months ago by richard

Answering for Tom - he has 2.61 installed on his machine now, so no problem for him.

Ubuntu Dapper is the only platform I can think of which might have 2.59 on it, but I've not got any machines running that around any more. Hmm, http://packages.ubuntulinux.org/dapper/source/autoconf implies that it's has 2.59a-7. I think it's okay to require developers on that to use newer tools if they want to work on xapian, though.

The real important thing is that we give a useful error message, which we do now.

Changed 19 months ago by olly

  • status changed from closed to reopened
  • severity changed from normal to enhancement
  • rep_platform changed from Macintosh to All
  • summary changed from bootstrap fails on Intel Mac to [patch] Upgrade to requiring autoconf 2.60 or newer
  • priority changed from normal to lowest
  • resolution deleted
  • op_sys changed from MacOS X to All

I've had to revert to requiring autoconf 2.59 for the benefit of older RPM building Linux distributions - the .spec file runs autoreconf to pick up local bugfixes for a libtool rpath bug on 64 bit hosts, which was failing because some still have autoconf 2.59.

I'll attach the patch which did the reverting (so apply with patch -R) for when we eventually upgrade to requiring 2.60 or newer again.

Retitling etc as appropriate.

Changed 19 months ago by olly

Patch which reverted to requring autoconf 2.59

Changed 13 months ago by olly

  • blocking set to 160

We should consider the required versions of autoconf, automake, and libtool for 1.1.0.

Changed 13 months ago by trac

  • platform set to All

Changed 8 months ago by olly

libtool 2.2 is now out, and a patchlevel release should appear shortly. We should try it out for 1.1.0, if only to shake out any bugs which matter to us.

Changed 7 months ago by richard

  • description modified (diff)
  • milestone set to 1.1

Changed 7 months ago by richard

  • blocking deleted

Changed 3 months ago by olly

  • status changed from reopened to closed
  • resolution set to fixed

Fixed in trunk rev [11185].

Note: See TracTickets for help on using tickets.