Bug 258046 - devel/autoconf: Update to 2.71
Summary: devel/autoconf: Update to 2.71
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tijl Coosemans
URL: https://lists.gnu.org/archive/html/au...
Keywords:
Depends on: 263454 263970
Blocks: 263405
  Show dependency treegraph
 
Reported: 2021-08-25 17:38 UTC by Yasuhiro Kimura
Modified: 2022-06-21 21:26 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (tijl)
antoine: exp-run+


Attachments
Patch file (15.06 KB, patch)
2021-08-25 17:38 UTC, Yasuhiro Kimura
no flags Details | Diff
patch2 (21.75 KB, patch)
2022-05-27 11:41 UTC, Tijl Coosemans
no flags Details | Diff
patch3 (26.98 KB, patch)
2022-06-02 19:04 UTC, Tijl Coosemans
no flags Details | Diff
patch4 (27.99 KB, patch)
2022-06-08 07:53 UTC, Tijl Coosemans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2021-08-25 17:38:22 UTC
Created attachment 227431 [details]
Patch file

* Update to 2.71.
* Pet portclippy.
* Reformat Makefile with portfmt.

Release Notes (2.70): https://lists.gnu.org/archive/html/autotools-announce/2020-12/msg00001.html
Release Notes (2.71): https://lists.gnu.org/archive/html/autotools-announce/2021-01/msg00000.html
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2021-09-29 19:25:19 UTC
This version isn't fully backwards compatible so I suspect there might be significant fallout from this.  I'd like to wait with this update until some port actually needs it.
Comment 2 Emanuel Haupt freebsd_committer freebsd_triage 2022-04-18 20:13:14 UTC
Got one. Trying to update net-mgmt/driftnet to 1.4.0 I get:

configure.ac:5: error: Autoconf version 2.71 or higher is required
configure.ac:5: the top level
autom4te-2.69: /usr/local/bin/gm4 failed with exit status: 63
aclocal: error: /usr/local/bin/autom4te-2.69 failed with exit status: 63
autoreconf-2.69: aclocal failed with exit status: 63
*** Error code 63

May I suggest requesting an exp run, then clone the existing one (similar to devel/autoconf213) for ports that fail to build with 2.71.
Comment 3 Emanuel Haupt freebsd_committer freebsd_triage 2022-04-19 07:03:51 UTC
Assign to portmgr for exp-run.
Comment 5 Tijl Coosemans freebsd_committer freebsd_triage 2022-05-27 11:41:52 UTC
Created attachment 234261 [details]
patch2

updated patch for new exp-run.
Comment 7 Tijl Coosemans freebsd_committer freebsd_triage 2022-06-02 19:04:50 UTC
Created attachment 234395 [details]
patch3

Switch more ports to autoconf 2.69.
Comment 9 Tijl Coosemans freebsd_committer freebsd_triage 2022-06-08 07:53:45 UTC
Created attachment 234538 [details]
patch4

textproc/uim, uim-el: replace ./autogen.sh with ${SETENV} ${CONFIGURE_ENV} ./autogen.sh, so DEFAULT_AUTOCONF is defined.
Comment 10 Antoine Brodin freebsd_committer freebsd_triage 2022-06-08 12:15:09 UTC
Exp-run looks fine
Comment 11 commit-hook freebsd_committer freebsd_triage 2022-06-08 16:25:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bd70827c22827422583d9bd6963636ef4f2d5623

commit bd70827c22827422583d9bd6963636ef4f2d5623
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2022-05-13 16:37:50 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2022-06-08 16:24:35 +0000

    devel/autoconf: update to 2.71

    - Copy devel/autoconf to devel/autoconf2.69.
    - Update devel/autoconf to 2.71.
    - Allow ports to use 2.69 with USES=autoreconf:2.69.

    PR:             258046
    Exp-run by:     antoine

 Mk/Uses/autoreconf.mk                              | 29 ++++++--
 UPDATING                                           |  8 ++
 audio/portaudio/Makefile                           |  4 +-
 comms/conserver-com/Makefile                       |  2 +-
 devel/Makefile                                     |  1 +
 devel/autoconf/Makefile                            | 30 +++-----
 devel/autoconf/distinfo                            |  5 +-
 devel/autoconf/files/patch-Makefile.in (new)       | 11 +++
 devel/autoconf/pkg-plist                           |  7 +-
 devel/autoconf2.69/Makefile (new)                  | 85 ++++++++++++++++++++++
 devel/autoconf2.69/distinfo (new)                  |  3 +
 .../files/patch-bin_autoreconf.in (new)            | 10 +++
 .../files/patch-bin_autoscan.in                    |  0
 .../files/patch-doc_Makefile.in                    |  0
 .../files/patch-doc_autoconf.texi                  |  0
 devel/autoconf2.69/pkg-descr (new)                 |  9 +++
 devel/autoconf2.69/pkg-plist (new)                 | 58 +++++++++++++++
 devel/autotools/Makefile                           |  5 +-
 devel/libspice-server/Makefile                     |  4 +-
 devel/pire/Makefile                                |  2 +-
 emulators/snes9x-gtk/Makefile                      |  4 +-
 ftp/wzdftpd/Makefile                               |  2 +-
 lang/erlang-runtime21/Makefile                     |  4 +-
 math/latte-integrale/Makefile                      |  3 +-
 math/mpsolve/Makefile                              |  4 +-
 net/asterisk-chan_sccp/Makefile                    |  2 +-
 net/minidlna/Makefile                              |  2 +-
 net/pacemaker1/Makefile.common                     |  4 +-
 net/vinagre/Makefile                               |  4 +-
 sysutils/clsync/Makefile                           |  2 +-
 textproc/hunspell/Makefile                         |  4 +-
 textproc/uim-el/Makefile                           |  5 +-
 textproc/uim/Makefile                              |  5 +-
 www/varnish4/Makefile                              |  2 +-
 34 files changed, 259 insertions(+), 61 deletions(-)
Comment 12 Robert Clausecker freebsd_committer freebsd_triage 2022-06-21 21:26:05 UTC
Note that the whole autoconf 2.69 business would be unneeded had you simply used the official release tarball instead of rolling your own from github.  I have prepared a patch for this if desired.