Bug#657284: systemd: FTBFS - should Build-Depend on automake

2012-01-25 Thread Russell Coker
Package: systemd
Version: 37-1
Severity: important

When I try to build systemd without automake installed the build aborts with
some errors related to autoconf macros.  When I have installeed automake (but
made no other changes to the build system) then it builds correctly.

I believe that it should have a Build-Depends on automake.

Also after the build has aborted due to automake not being installed the
source tree is corrupted and a second build won't succeed.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
ii  initscripts 2.88dsf-18
ii  libacl1 2.2.51-5
ii  libaudit0   2.1.3-1
ii  libc6   2.13-24
ii  libcap2 1:2.22-1
ii  libcryptsetup1  2:1.3.0-3.1
ii  libdbus-1-3 1.4.16-1
ii  libpam0g1.1.3-6
ii  libselinux1 2.1.0-4
ii  libsystemd-daemon0  37-1
ii  libsystemd-login0   37-1
ii  libudev0175-3
ii  libwrap07.6.q-22
ii  udev175-3
ii  util-linux  2.20.1-1.2

Versions of packages systemd recommends:
pn  libpam-systemd  none

Versions of packages systemd suggests:
pn  python   2.7.2-9
pn  systemd-gui  none

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#657284: systemd: FTBFS - should Build-Depend on automake

2012-01-25 Thread Michael Biebl
On 25.01.2012 10:14, Russell Coker wrote:

 When I try to build systemd without automake installed the build aborts with
 some errors related to autoconf macros.  When I have installeed automake (but
 made no other changes to the build system) then it builds correctly.
 
 I believe that it should have a Build-Depends on automake.

The package depends on dh-autoreconf (since we use the autoreconf dh
addon). dh-autoreconf has a depends on automake | automaken.

So a automake version should be installed. So I guess the thing that has
happened is, that your automake version was too old.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#657284: systemd: FTBFS - should Build-Depend on automake

2012-01-25 Thread Russell Coker
On Wed, 25 Jan 2012, Michael Biebl bi...@debian.org wrote:
 The package depends on dh-autoreconf (since we use the autoreconf dh
 addon). dh-autoreconf has a depends on automake | automaken.
 
 So a automake version should be installed. So I guess the thing that has
 happened is, that your automake version was too old.

automake1.10 provides automaken, satisfies the build-dependency on my system, 
and fails to build systemd.

According to aptitude automaken is provided by automake1.7, automake1.9, 
automake1.10, and automake (version 1.11).

If automake1.10 is too old then nothing other than automake (version 1.11) 
will work and thus for Wheezy the build-depends should have automaken removed 
as there is no possibility of the virtual package automaken providing a 
successful build unless it's provided by automake.

Anyway build dependencies can be versioned, so there is no reason for a build 
to fail part way through because of an old version of a package.  You just 
need a build-depends line that requires the correct version.

-- 
My Main Blog http://etbe.coker.com.au/
My Documents Bloghttp://doc.coker.com.au/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#657284: systemd: FTBFS - should Build-Depend on automake

2012-01-25 Thread Michael Biebl
On 25.01.2012 11:30, Russell Coker wrote:

 
 Anyway build dependencies can be versioned, so there is no reason for a build 
 to fail part way through because of an old version of a package.  You just 
 need a build-depends line that requires the correct version.
 

I know that. My point actually was to clarify, that it is about having a
versioned build-depends and not simply an explicit build-depends.
According to configure.ac we require automake = 1.11.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#657284: systemd: FTBFS - should Build-Depend on automake

2012-01-25 Thread Russell Coker
On Wed, 25 Jan 2012, Michael Biebl bi...@debian.org wrote:
 I know that. My point actually was to clarify, that it is about having a
 versioned build-depends and not simply an explicit build-depends.
 According to configure.ac we require automake = 1.11.

True, but AFAIK versioned depenencies on virtual packages don't work so that 
still leaves us with a dependency on only automake.

As it's been 2.5 years since the last automake package with a version less 
than 11 it seems quite unlikely that anyone who has such a package installed 
will be trying to build systemd.  But a versioned dependency is still a good 
thing.

-- 
My Main Blog http://etbe.coker.com.au/
My Documents Bloghttp://doc.coker.com.au/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org