Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453798 - sys-devel/autoconf-2.13: Failed to compile on Gentoo/FreeBSD
Summary: sys-devel/autoconf-2.13: Failed to compile on Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-24 11:27 UTC by Yuta SATOH
Modified: 2013-01-28 14:34 UTC (History)
0 users

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


Attachments
sample patch for autoconf-2.13.ebuild (453798.patch,502 bytes, patch)
2013-01-24 11:28 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2013-01-24 11:27:45 UTC
m4 is hard-coded in ebuild.
awk also.

GNU tools are prefix "g" is added to basically on FreeBSD.
Please add code for FreeBSD.


autoconf-2.13.ebuild
src_compile() {
        ac_cv_path_M4=m4 \
        ac_cv_prog_AWK=awk \




Reproducible: Always

Steps to Reproduce:
1. emerge =autoconf-2.13
2.
3.
Actual Results:  
Error: Autoconf requires GNU m4 1.1 or later
gmake: Error: Autoconf requires GNU m4 1.1 or later
*** [autoconf.m4f] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [autoheader.m4f] Error 1
./autoconf.texi:784: warning: `(' follows defined name `AC_CONFIG_AUX_DIR' instead of whitespace.
emake failed
 * ERROR: sys-devel/autoconf-2.13 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2059:  Called die
 * The specific snippet of code:
 *       emake || die




# m4 --version
m4: illegal option -- -
usage: m4 [-d flags] [-t name] [-gs] [-D name[=value]]...
          [-U name]... [-I dirname]... file...

# gm4 --version
m4 (GNU M4) 1.4.16
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Rene' Seindal.


# awk --version
awk version 20110810 (FreeBSD)

# gawk --version
GNU Awk 4.0.2
Copyright (C) 1989, 1991-2012 Free Software Foundation.
Comment 1 Yuta SATOH 2013-01-24 11:28:58 UTC
Created attachment 336702 [details, diff]
sample patch for autoconf-2.13.ebuild
Comment 2 Alexis Ballier gentoo-dev 2013-01-28 14:34:26 UTC
applied a (sligthly) modified version, thanks