Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179351 - dev-libs/check-0.9.5: bogus m4age in /usr/share/aclocal/check.m4 breaks autoconf
Summary: dev-libs/check-0.9.5: bogus m4age in /usr/share/aclocal/check.m4 breaks autoconf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://www.mail-archive.com/autoconf@...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-21 19:39 UTC by Ed Catmur
Modified: 2008-12-05 04:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix-AM_PATCH_CHECK-breakage.patch (fix-AM_PATCH_CHECK-breakage.patch,500 bytes, patch)
2007-05-21 19:46 UTC, Ed Catmur
Details | Diff
fix-AM_PATCH_CHECK-breakage.patch (fix-AM_PATCH_CHECK-breakage.patch,886 bytes, patch)
2008-03-24 21:44 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2007-05-21 19:39:02 UTC
See http://www.mail-archive.com/autoconf@gnu.org/msg15264.html for a proper explanation.

Anyway, /usr/share/aclocal/check.m4 has

AC_DEFUN([AM_PATH_CHECK],
[
  AC_MSG_WARN([[AM_PATH_CHECK() is deprecated]])
  AC_MSG_WARN([[use PKG_CHECK_MODULES([CHECK], [check >= 0.9.4]) instead]])

which is supposed to output the relevant warning messages on autoconf, but instead goes horribly wrong and "breaks any package using the AM_PATH_CHECK macro in configure.ac".

The solution as described in the URL is to break up the AM_PATH_CHECK and PKG_CHECK_MODULES with the `@&t@' null quadrigraph.

Patch to follow.
Comment 1 Ed Catmur 2007-05-21 19:46:05 UTC
Created attachment 119921 [details, diff]
fix-AM_PATCH_CHECK-breakage.patch

From: http://check.svn.sourceforge.net/viewvc/check/trunk/check.m4?r1=333&r2=401&view=patch
Comment 2 Ed Catmur 2007-05-21 19:48:22 UTC
oh, and here's the Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395466

though the patch they used is sucky, apparently; quadrigraphs are better.
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2007-09-01 08:56:08 UTC
reassigning to proper alias
Comment 4 Ed Catmur 2008-03-24 21:44:17 UTC
Created attachment 147179 [details, diff]
fix-AM_PATCH_CHECK-breakage.patch

Update.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2008-12-05 04:55:05 UTC
Fixed, thanks.