Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921018 - sys-fs/ntfs3g error: possibly undefined macro: AC_MSG_ERROR
Summary: sys-fs/ntfs3g error: possibly undefined macro: AC_MSG_ERROR
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 893434
  Show dependency tree
 
Reported: 2023-12-30 07:27 UTC by om3i
Modified: 2024-01-05 05:03 UTC (History)
1 user (show)

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


Attachments
autoconf.out (autoconf.out,859 bytes, text/plain)
2023-12-30 07:28 UTC, om3i
Details
build.log (build.log,2.40 KB, text/plain)
2023-12-30 07:29 UTC, om3i
Details
emerge_info (emerge_info,3.99 KB, text/plain)
2023-12-30 07:29 UTC, om3i
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)