Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 921018

Summary: sys-fs/ntfs3g error: possibly undefined macro: AC_MSG_ERROR
Product: Gentoo Linux Reporter: om3i <r9ku1q>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 893434    
Attachments: autoconf.out
build.log
emerge_info

Description om3i 2023-12-30 07:27:54 UTC
The build of sys-fs/ntfs3g fails with the
error: possibly undefined macro: AC_MSG_ERROR.

Reproducible: Always
Comment 1 om3i 2023-12-30 07:28:37 UTC
Created attachment 880974 [details]
autoconf.out
Comment 2 om3i 2023-12-30 07:29:05 UTC
Created attachment 880975 [details]
build.log
Comment 3 om3i 2023-12-30 07:29:43 UTC
Created attachment 880976 [details]
emerge_info
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-05 04:41:54 UTC
configure.ac:246: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:337: error: possibly undefined macro: AM_PATH_LIBGCRYPT
configure.ac:342: error: possibly undefined macro: AC_MSG_WARN

We end up needing dev-libs/libgcrypt at configure-time for its autoconf/m4 macro because we eautoreconf.

Let's instead drop the bashism patch, use CONFIG_SHELL=bash, and then drop autoreconf.
Comment 5 Larry the Git Cow gentoo-dev 2024-01-05 05:03:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06ef0571fc1557626b9b7c00b27d05800a34b0a

commit a06ef0571fc1557626b9b7c00b27d05800a34b0a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-05 04:43:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-05 04:43:18 +0000

    sys-fs/ntfs3g: drop eautoreconf, use CONFIG_SHELL instead
    
    ```
    configure.ac:246: error: possibly undefined macro: AC_MSG_ERROR
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    configure.ac:337: error: possibly undefined macro: AM_PATH_LIBGCRYPT
    configure.ac:342: error: possibly undefined macro: AC_MSG_WARN
    ```
    
    We end up needing dev-libs/libgcrypt at configure-time for its autoconf/m4 macro because we eautoreconf.
    
    Let's instead drop the bashism patch, use CONFIG_SHELL=bash, and then drop autoreconf.
    
    Closes: https://bugs.gentoo.org/921018
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/ntfs3g/ntfs3g-2022.10.3.ebuild | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)