NetBSD Problem Report #41592

From www@NetBSD.org  Sun Jun 14 09:08:20 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 9643D63C2E0
	for <gnats-bugs@gnats.netbsd.org>; Sun, 14 Jun 2009 09:08:20 +0000 (UTC)
Message-Id: <20090614090819.196B863C2DE@www.NetBSD.org>
Date: Sun, 14 Jun 2009 09:08:19 +0000 (UTC)
From: yamajun@ofug.net
Reply-To: yamajun@ofug.net
To: gnats-bugs@NetBSD.org
Subject: textproc/migemo cannot compile with autoconf213
X-Send-Pr-Version: www-1.0

>Number:         41592
>Category:       pkg
>Synopsis:       textproc/migemo cannot compile with autoconf213
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 14 09:10:00 +0000 2009
>Closed-Date:    Sun Jun 14 09:53:03 +0000 2009
>Last-Modified:  Sun Jun 14 11:00:04 +0000 2009
>Originator:     YAMASHIRO, Jun
>Release:        NetBSD/amd64 5.99.13
>Organization:
Okinawa FreeBSD Users Group
>Environment:
NetBSD yamajun.local 5.99.13 NetBSD 5.99.13 (YAMAJUN) #1: Sat Jun 13 12:47:44 JST 2009  yamajun@yamajun.local:/usr/src/sys/arch/amd64/compile/YAMAJUN amd64

>Description:
textproc/migemo depend with devel/automake213.  But, automake213 cause an error at "make configure".
>How-To-Repeat:
# cd /usr/pkgsrc/textproc/migemo
# make
(snip)
===> Configuring for ruby18-migemo-0.40nb1
cd /usr/pkgsrc/textproc/migemo/work/migemo-0.40 && aclocal && automake -a --foreign -i && autoconf
automake: configure.in: installing `./config.guess'
automake: configure.in: installing `./config.sub'
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
*** Error code 2

>Fix:
apply this patch to pkgsrc/textproc/migemo.

--- migemo/Makefile.orig	2009-06-11 15:11:25.000000000 +0900
+++ migemo/Makefile	2009-06-11 15:12:12.000000000 +0900
@@ -12,7 +12,7 @@
 DEPENDS+=		${RUBY_PKGPREFIX}-bsearch-*:../../devel/ruby-bsearch
 DEPENDS+=		${RUBY_PKGPREFIX}-romkan-*:../../converters/ruby-romkan

-USE_TOOLS+=		autoconf213 automake14 aclocal
+USE_TOOLS+=		autoconf automake aclocal
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--with-rubydir=${PREFIX}/${RUBY_VENDORLIB}



>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 14 Jun 2009 09:53:03 +0000
State-Changed-Why:
Committed, thanks!


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41592 CVS commit: pkgsrc/textproc/migemo
Date: Sun, 14 Jun 2009 09:52:51 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Sun Jun 14 09:52:51 UTC 2009

 Modified Files:
 	pkgsrc/textproc/migemo: Makefile

 Log Message:
 Fix tools usage, from MAINTAINER YAMASHIRO, Jun in PR 41592.


 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/migemo/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/41592: textproc/migemo cannot compile with autoconf213
Date: Sun, 14 Jun 2009 19:58:36 +0900

 On Sun, 14 Jun 2009 18:10:00 +0900, <yamajun@ofug.net> wrote:

 > ===> Configuring for ruby18-migemo-0.40nb1
 > cd /usr/pkgsrc/textproc/migemo/work/migemo-0.40 && aclocal && automake -a --foreign -i && autoconf
 > automake: configure.in: installing `./config.guess'
 > automake: configure.in: installing `./config.sub'
 > FATAL ERROR: Autoconf version 2.50 or higher is required for this script
 > *** Error code 2

 > -USE_TOOLS+=		autoconf213 automake14 aclocal
 > +USE_TOOLS+=		autoconf automake aclocal

 This modification produce WARNING, WARNING and WARNINGs.
 When I imported this package, if using autoconf&automake instead of autoconf213&automake14,
 configure and build with no error, but "make test" failed.
 (now, no test errors with autoconf&automake, I don't know why).

 This problems depend on whether ${PREFIX}/share/aclocal contains macros that require autoconf>=2.50 or not.
 For me, they come from intltool, libtool-base, and gettext-m4, and without those packaes,
 configure&build&test fine, neither errors nor warnings.

 aclocal-1.4 scans ${PREFIX}/share/aclocal-1.4 then ${PREFIX}/share/aclocal if no --acdir option.
 For this package, if using "aclocal --acdir=${PREFIX}/share/aclocal-1.4",
 configure and build fine without the modification and with installed intltools, libtool-base and gettext-m4.

 Probably, pkgsrc should hide *.m4 macros for aclocal not came from depended packages,
 like *.pc files for pkg-config.

 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache@NetBSD.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.