Bug 1304985 - libtoolize fails
Summary: libtoolize fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: libtool
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-05 08:23 UTC by Akira TAGOH
Modified: 2016-02-05 12:30 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-05 12:30:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Akira TAGOH 2016-02-05 08:23:35 UTC
Description of problem:
When running libtoolize, fails as:
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
/usr/bin/libtoolize: eval: line 3772: unexpected EOF while looking for matching `"'
/usr/bin/libtoolize: eval: line 3773: syntax error: unexpected end of file

Version-Release number of selected component (if applicable):
libtool-2.4.6-8.fc23.x86_64

How reproducible:
always

Steps to Reproduce:
1.run libtoolize
2.
3.

Actual results:
fails

Expected results:
should be done without any errors

Additional info:

Comment 1 Akira TAGOH 2016-02-05 08:47:34 UTC
Hm, okay. tracked this down. it happens when Makefile.am has:
ACLOCAL_AMFLAGS = \
 ...

if it is one liner, works fine. I think it worked before. dunno what version it is. at least on f22.

Comment 2 Pavel Raiskup 2016-02-05 09:58:40 UTC
Thanks for the report, reproduced.  It probably did not work correctly before
either (the ACLOCAL_AMFLAGS did not parse '-I' option correctly).  Previously
libtoolize just did not complain.  So as a workaround, please specify only
one-line ACLOCAL_AMFLAGS.

Comment 3 Pavel Raiskup 2016-02-05 12:30:35 UTC
As there is AC_CONFIG_MACRO_DIR[S] in autoconf, the ACLOCAL_AMFLAGS should be
less needed in future.  It is still needed nowadays, but it is not much useful
to hack on it right now.  So please let me close this as WONTFIX with
workaround discussed before -- kee ACLOCAL_AMFLAGS on single line.  It is
already documented in auto(re)conf's manual [1]:

      If you want autoreconf to pass flags that are not listed here on to
      aclocal, set ACLOCAL_AMFLAGS in your Makefile.am. Due to a limitation in
      the Autoconf implementation these flags currently must be set on a
      single line in Makefile.am, without any backslash-newlines.

[1] https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/autoreconf-Invocation.html#autoreconf-Invocation


Note You need to log in before you can comment on or make changes to this bug.