Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447760 - autotools.eclass: error: non-option arguments are not accepted: '"-I' aclocal
Summary: autotools.eclass: error: non-option arguments are not accepted: '"-I' aclocal
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 430520
  Show dependency tree
 
Reported: 2012-12-18 19:28 UTC by Markos Chandras (RETIRED)
Modified: 2012-12-18 19:48 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markos Chandras (RETIRED) gentoo-dev 2012-12-18 19:28:29 UTC
Running eautoreconf on dev-libs/libmail-0.3 gives the following error

***** aclocal *****
***** PWD: /var/tmp/portage/dev-libs/libmail-0.3-r1/work/libmail-0.3
***** aclocal "-I m4"

aclocal-1.12: error: non-option arguments are not accepted: '"-I'.
aclocal-1.12: Try '/usr/bin/aclocal-1.12 --help' for more information.

I suspect this is because the Makefile.am has the following lines

ACLOCAL_AMFLAGS="-I m4"
SUBDIRS = man libmail
EXTRA_DIST = TODO

Dropping the quotes should solve the problem (haven't tested it yet). What is the proposed solution here? Fix the package's Makefile.am to not have the quotes around the ACLOCAL_AMFLAGS or fix the eclass instead?
Comment 1 SpanKY gentoo-dev 2012-12-18 19:48:52 UTC
that package is wrong.  run `autoreconf -f -i` and you'll see it fail too.  drop the quotes as they serve literally no purpose (other than perhaps to break).