You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "John Plevyak (JIRA)" <ji...@apache.org> on 2011/05/31 00:58:47 UTC

[jira] [Created] (TS-811) libtool configure warnings on Fedora 15

libtool configure warnings on Fedora 15
---------------------------------------

                 Key: TS-811
                 URL: https://issues.apache.org/jira/browse/TS-811
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
    Affects Versions: 2.1.9
         Environment: Fedora 15 x86_64.
            Reporter: John Plevyak
            Priority: Minor
             Fix For: 3.1.0


configure.ac:465: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
build/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
build/libtool.m4:5428: _LT_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:816: _LT_LANG is expanded from...
build/libtool.m4:799: LT_LANG is expanded from...
build/libtool.m4:827: _LT_LANG_DEFAULT_CONFIG is expanded from...
build/libtool.m4:143: _LT_SETUP is expanded from...
build/libtool.m4:69: LT_INIT is expanded from...
build/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
configure.ac:465: the top level


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-811) libtool configure warnings on Fedora 15

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041812#comment-13041812 ] 

Leif Hedstrom commented on TS-811:
----------------------------------

So, the issue is only happening under a few conditions:

1) You run with autoconf 2.68 andr libtool 2.4 (e.g. FC15)

2)It will only trigger if you run autoreconf -i in the v2.1.9 source tar ball. If you simply run ./configure, it will work.

3) It does not trigger in trunk (because trunk doesn't have a build/libtool.m4 file in SVN).


The "solution" for v2.1.9, if you really have to run autoreconf, is to do
{code}
rm build/libtool.m4
{code}


For v3.0.0, I think if we make the source distribution on a machine with these latest autoconf tools (e.g. FC15) we will generate the files that will work with both the new versions, and older versions (but that will have to be verified).



> libtool configure warnings on Fedora 15
> ---------------------------------------
>
>                 Key: TS-811
>                 URL: https://issues.apache.org/jira/browse/TS-811
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.9
>         Environment: Fedora 15 x86_64.
>            Reporter: John Plevyak
>             Fix For: 3.1.0
>
>
> configure.ac:465: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
> build/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
> build/libtool.m4:5428: _LT_LANG_CXX_CONFIG is expanded from...
> build/libtool.m4:816: _LT_LANG is expanded from...
> build/libtool.m4:799: LT_LANG is expanded from...
> build/libtool.m4:827: _LT_LANG_DEFAULT_CONFIG is expanded from...
> build/libtool.m4:143: _LT_SETUP is expanded from...
> build/libtool.m4:69: LT_INIT is expanded from...
> build/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
> configure.ac:465: the top level

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-811) libtool configure warnings on Fedora 15

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041354#comment-13041354 ] 

Leif Hedstrom commented on TS-811:
----------------------------------

Hmmm, I fixed those AC_LANG_SOURCE warnings I thought, on trunk. It should be in 2.1.9, but let me double check.

Not sure about those other errors though :).

> libtool configure warnings on Fedora 15
> ---------------------------------------
>
>                 Key: TS-811
>                 URL: https://issues.apache.org/jira/browse/TS-811
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.9
>         Environment: Fedora 15 x86_64.
>            Reporter: John Plevyak
>             Fix For: 3.1.0
>
>
> configure.ac:465: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
> build/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
> build/libtool.m4:5428: _LT_LANG_CXX_CONFIG is expanded from...
> build/libtool.m4:816: _LT_LANG is expanded from...
> build/libtool.m4:799: LT_LANG is expanded from...
> build/libtool.m4:827: _LT_LANG_DEFAULT_CONFIG is expanded from...
> build/libtool.m4:143: _LT_SETUP is expanded from...
> build/libtool.m4:69: LT_INIT is expanded from...
> build/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
> configure.ac:465: the top level

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-811) libtool configure warnings on Fedora 15

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-811:
-----------------------------

    Backport to Version:   (was: 3.0.1)

> libtool configure warnings on Fedora 15
> ---------------------------------------
>
>                 Key: TS-811
>                 URL: https://issues.apache.org/jira/browse/TS-811
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.9
>         Environment: Fedora 15 x86_64.
>            Reporter: John Plevyak
>
> configure.ac:465: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
> build/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
> build/libtool.m4:5428: _LT_LANG_CXX_CONFIG is expanded from...
> build/libtool.m4:816: _LT_LANG is expanded from...
> build/libtool.m4:799: LT_LANG is expanded from...
> build/libtool.m4:827: _LT_LANG_DEFAULT_CONFIG is expanded from...
> build/libtool.m4:143: _LT_SETUP is expanded from...
> build/libtool.m4:69: LT_INIT is expanded from...
> build/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
> configure.ac:465: the top level

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (TS-811) libtool configure warnings on Fedora 15

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-811.
------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 3.1.0)

This is a bug with modern versions of autoconf / libtool I think (see the bug comments). The solution is for us to use a Linux distro like FC15, which has the latest autoconf (2.68) and libtool (2.4) when preparing the package. That will make it work with both older versions, and newer versions.

Note that the 2.1.9 tar-ball works fine as long as you don't run "autoreconf -i" in it (i.e. just use the ./configure script.

> libtool configure warnings on Fedora 15
> ---------------------------------------
>
>                 Key: TS-811
>                 URL: https://issues.apache.org/jira/browse/TS-811
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.9
>         Environment: Fedora 15 x86_64.
>            Reporter: John Plevyak
>
> configure.ac:465: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
> build/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
> build/libtool.m4:5428: _LT_LANG_CXX_CONFIG is expanded from...
> build/libtool.m4:816: _LT_LANG is expanded from...
> build/libtool.m4:799: LT_LANG is expanded from...
> build/libtool.m4:827: _LT_LANG_DEFAULT_CONFIG is expanded from...
> build/libtool.m4:143: _LT_SETUP is expanded from...
> build/libtool.m4:69: LT_INIT is expanded from...
> build/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
> configure.ac:465: the top level

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-811) libtool configure warnings on Fedora 15

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041367#comment-13041367 ] 

Leif Hedstrom commented on TS-811:
----------------------------------

I tried it with trunk, on FC15 (32-bit):

fc15 (19:40) 100/0 $ autoreconf -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build/aux'.
libtoolize: copying file `build/aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build'.
libtoolize: copying file `build/libtool.m4'
libtoolize: copying file `build/ltoptions.m4'
libtoolize: copying file `build/ltsugar.m4'
libtoolize: copying file `build/ltversion.m4'
libtoolize: copying file `build/lt~obsolete.m4'
configure.ac:103: installing `build/aux/config.guess'
configure.ac:103: installing `build/aux/config.sub'
configure.ac:43: installing `build/aux/install-sh'
configure.ac:43: installing `build/aux/missing'
cop/Makefile.am: installing `build/aux/depcomp'
configure.ac: installing `build/aux/ylwrap'


> libtool configure warnings on Fedora 15
> ---------------------------------------
>
>                 Key: TS-811
>                 URL: https://issues.apache.org/jira/browse/TS-811
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.9
>         Environment: Fedora 15 x86_64.
>            Reporter: John Plevyak
>             Fix For: 3.1.0
>
>
> configure.ac:465: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
> build/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
> build/libtool.m4:5428: _LT_LANG_CXX_CONFIG is expanded from...
> build/libtool.m4:816: _LT_LANG is expanded from...
> build/libtool.m4:799: LT_LANG is expanded from...
> build/libtool.m4:827: _LT_LANG_DEFAULT_CONFIG is expanded from...
> build/libtool.m4:143: _LT_SETUP is expanded from...
> build/libtool.m4:69: LT_INIT is expanded from...
> build/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
> configure.ac:465: the top level

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-811) libtool configure warnings on Fedora 15

Posted by "John Plevyak (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Plevyak updated TS-811:
----------------------------

    Priority: Major  (was: Minor)

autoreconf -i fails.  If the configure file is built on some other machine, then
it will work fine so this only impacts developers :)

The resulting configure and them Makefile's are not functional:

make[3]: Entering directory `/a/home/jplevyak/projects/ts/trafficserver-2.1.9-unstable/lib/ts'
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Dlinux  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT Allocator.lo -MD -MP -MF .deps/Allocator.Tpo -c -o Allocator.lo Allocator.cc
../../libtool: line 2089: ./Allocator.cc: Permission denied
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Dlinux -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -MT Allocator.lo -MD -MP -MF .deps/Allocator.Tpo -c ""  -fPIC -DPIC -o .libs/Allocator.o
g++: error: : No such file or directory
g++: fatal error: no input files
compilation terminated.
make[3]: *** [Allocator.lo] Error 1
make[3]: Leaving directory `/a/home/jplevyak/projects/ts/trafficserver-2.1.9-unstable/lib/ts'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/a/home/jplevyak/projects/ts/trafficserver-2.1.9-unstable/lib/ts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/a/home/jplevyak/projects/ts/trafficserver-2.1.9-unstable/lib'


> libtool configure warnings on Fedora 15
> ---------------------------------------
>
>                 Key: TS-811
>                 URL: https://issues.apache.org/jira/browse/TS-811
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.1.9
>         Environment: Fedora 15 x86_64.
>            Reporter: John Plevyak
>             Fix For: 3.1.0
>
>
> configure.ac:465: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
> build/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
> build/libtool.m4:5428: _LT_LANG_CXX_CONFIG is expanded from...
> build/libtool.m4:816: _LT_LANG is expanded from...
> build/libtool.m4:799: LT_LANG is expanded from...
> build/libtool.m4:827: _LT_LANG_DEFAULT_CONFIG is expanded from...
> build/libtool.m4:143: _LT_SETUP is expanded from...
> build/libtool.m4:69: LT_INIT is expanded from...
> build/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
> configure.ac:465: the top level

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira