linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] lvm2-2.02.150: error running autotools
@ 2016-04-14 10:24 Timo Gurr
  2016-04-18 17:33 ` Zdenek Kabelac
  2016-04-18 18:16 ` Alasdair G Kergon
  0 siblings, 2 replies; 3+ messages in thread
From: Timo Gurr @ 2016-04-14 10:24 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

When running autotools on lvm2-2.02.150 I get the following error:

Using autoconf:2.5
Using automake:1.15
eautoreconf: running in
/var/tmp/paludis/build/sys-fs-lvm2-2.02.150/work/LVM2.2.02.150 ...
aclocal
aclocal-1.15: warning: autoconf input should be named 'configure.ac',
not 'configure.in'
autoconf
configure.in:1527: error: possibly undefined macro: AC_PYTHON_MODULE
     If this token and others are legitimate, please use m4_pattern_allow.
     See the Autoconf documentation.
* Failed Running autoconf !

Attached is a full build.log and the error can also be observed on our CI:
https://galileo.mailstation.de/jenkins/job/arbor/6248/console

System is a 64bit Exherbo installation, lvm2-2.02.137
configures/compiles und runs without any problems.

-- 
Timo Gurr

[-- Attachment #2: sys-fs_lvm2-2.02.150.txt --]
[-- Type: text/plain, Size: 2693 bytes --]

^[[35;01m===^[[0m Running ebuild phase killold as root:root...
^[[35;01m===^[[0m Starting builtin_killold
^[[35;01m===^[[0m Done builtin_killold
^[[35;01m===^[[0m Completed ebuild phase killold
^[[35;01m===^[[0m Running ebuild phases init saveenv as paludisbuild:paludisbuild...
^[[35;01m===^[[0m Starting builtin_init
^[[35;01m===^[[0m Done builtin_init
^[[35;01m===^[[0m Starting builtin_saveenv
^[[35;01m===^[[0m Done builtin_saveenv
^[[35;01m===^[[0m Completed ebuild phases init saveenv
--- No need to do anything for setup phase
^[[35;01m===^[[0m Running ebuild phases loadenv unpack saveenv as paludisbuild:paludisbuild...
^[[35;01m===^[[0m Starting builtin_loadenv
^[[35;01m===^[[0m Done builtin_loadenv
^[[35;01m===^[[0m Starting src_unpack
>>> Unpacking LVM2.2.02.150.tgz to /var/tmp/paludis/build/sys-fs-lvm2-2.02.150/work
tar zxf /var/cache/paludis/distfiles/LVM2.2.02.150.tgz --no-same-owner
^[[35;01m===^[[0m Done src_unpack
^[[35;01m===^[[0m Starting builtin_saveenv
^[[35;01m===^[[0m Done builtin_saveenv
^[[35;01m===^[[0m Completed ebuild phases loadenv unpack saveenv
^[[35;01m===^[[0m Running ebuild phases loadenv prepare saveenv as paludisbuild:paludisbuild...
^[[35;01m===^[[0m Starting builtin_loadenv
^[[35;01m===^[[0m Done builtin_loadenv
^[[35;01m===^[[0m Starting src_prepare
Using autoconf:2.5
Using automake:1.15
eautoreconf: running in /var/tmp/paludis/build/sys-fs-lvm2-2.02.150/work/LVM2.2.02.150 ...
aclocal
aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoconf
configure.in:1527: error: possibly undefined macro: AC_PYTHON_MODULE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
 ^[[31;01m*^[[0m Failed Running autoconf !

!!! ERROR in sys-fs/lvm2-2.02.150::arbor:
!!! In autotools_run_tool at line 594
!!! Failed Running autoconf !

!!! Call stack:
!!!    * autotools_run_tool (/var/tmp/paludis/build/sys-fs-lvm2-2.02.150/temp/loadsaveenv:594)
!!!    * eautoconf (/var/tmp/paludis/build/sys-fs-lvm2-2.02.150/temp/loadsaveenv:829)
!!!    * eautoreconf (/var/tmp/paludis/build/sys-fs-lvm2-2.02.150/temp/loadsaveenv:885)
!!!    * autotools_src_prepare (/var/tmp/paludis/build/sys-fs-lvm2-2.02.150/temp/loadsaveenv:615)
!!!    * src_prepare (/var/tmp/paludis/build/sys-fs-lvm2-2.02.150/temp/loadsaveenv:2725)
!!!    * exheres_internal_prepare (/usr/x86_64-pc-linux-gnu/libexec/paludis/exheres-0/src_prepare.bash:46)
!!!    * ebuild_main (/usr/x86_64-pc-linux-gnu/libexec/paludis/ebuild.bash:725)
!!!    * main (/usr/x86_64-pc-linux-gnu/libexec/paludis/ebuild.bash:748)

diefunc: making ebuild PID 9494 exit with error
die trap: exiting with error.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] lvm2-2.02.150: error running autotools
  2016-04-14 10:24 [linux-lvm] lvm2-2.02.150: error running autotools Timo Gurr
@ 2016-04-18 17:33 ` Zdenek Kabelac
  2016-04-18 18:16 ` Alasdair G Kergon
  1 sibling, 0 replies; 3+ messages in thread
From: Zdenek Kabelac @ 2016-04-18 17:33 UTC (permalink / raw)
  To: LVM general discussion and development

Dne 14.4.2016 v 12:24 Timo Gurr napsal(a):
> When running autotools on lvm2-2.02.150 I get the following error:
>
> Using autoconf:2.5
> Using automake:1.15
> eautoreconf: running in
> /var/tmp/paludis/build/sys-fs-lvm2-2.02.150/work/LVM2.2.02.150 ...
> aclocal
> aclocal-1.15: warning: autoconf input should be named 'configure.ac',
> not 'configure.in'
> autoconf
> configure.in:1527: error: possibly undefined macro: AC_PYTHON_MODULE
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> * Failed Running autoconf !
>
> Attached is a full build.log and the error can also be observed on our CI:
> https://galileo.mailstation.de/jenkins/job/arbor/6248/console
>
> System is a 64bit Exherbo installation, lvm2-2.02.137
> configures/compiles und runs without any problems.


Hi

Well sorry for now -  the current state of upstream  configure.in file
does require newer version of autotools & autoconf & and few
other devel files installed.

So do not run autoconf and use already generated one - available
in both - git repo &  released tar ball.

Once there will be enough time we may possibly fix it and make
it more backward compatible. Until that - use exiting generated
configure script.

Regards

Zdenek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] lvm2-2.02.150: error running autotools
  2016-04-14 10:24 [linux-lvm] lvm2-2.02.150: error running autotools Timo Gurr
  2016-04-18 17:33 ` Zdenek Kabelac
@ 2016-04-18 18:16 ` Alasdair G Kergon
  1 sibling, 0 replies; 3+ messages in thread
From: Alasdair G Kergon @ 2016-04-18 18:16 UTC (permalink / raw)
  To: Timo Gurr; +Cc: linux-lvm

On Thu, Apr 14, 2016 at 12:24:26PM +0200, Timo Gurr wrote:
> configure.in:1527: error: possibly undefined macro: AC_PYTHON_MODULE

If you have a genuine need to run autoconf, then you need this (or a package
that includes it):
  http://www.gnu.org/software/autoconf-archive/ax_python_module.html

Alasdair

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-18 18:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-14 10:24 [linux-lvm] lvm2-2.02.150: error running autotools Timo Gurr
2016-04-18 17:33 ` Zdenek Kabelac
2016-04-18 18:16 ` Alasdair G Kergon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).