Debian Bug report logs - #623350
FTBFS: please add libbsd-dev to the build-deps

version graph

Package: src:libdevel-size-perl; Maintainer for src:libdevel-size-perl is Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>;

Reported by: Konstantinos Margaritis <markos@genesi-usa.com>

Date: Tue, 19 Apr 2011 14:30:02 UTC

Severity: serious

Found in version libdevel-size-perl/0.73-1

Done: Konstantinos Margaritis <markos@genesi-usa.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#623350; Package src:libdevel-size-perl. (Tue, 19 Apr 2011 14:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konstantinos Margaritis <markos@genesi-usa.com>:
New Bug report received and forwarded. Copy sent to Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>. (Tue, 19 Apr 2011 14:30:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Konstantinos Margaritis <markos@genesi-usa.com>
To: submit@bugs.debian.org
Subject: FTBFS: please add libbsd-dev to the build-deps
Date: Tue, 19 Apr 2011 17:28:00 +0300
Source: libdevel-size-perl
Version: 0.73-1
Severity: serious

The package fails to build from source if the buildd does not have
libbsd-dev already installed:

http://buildd.debian-ports.org/status/fetch.php?pkg=libdevel-size-perl&arch=armhf&ver=0.73-1&stamp=1303201415

libbsd-dev is an optional package, some buildds might have it, but
it's not a requirement.
Please add it in the build dependencies.

Thanks

Konstantinos




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#623350; Package src:libdevel-size-perl. (Tue, 19 Apr 2011 15:45:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to gregor herrmann <gregoa@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>. (Tue, 19 Apr 2011 15:45:10 GMT) Full text and rfc822 format available.

Message #10 received at 623350@bugs.debian.org (full text, mbox):

From: gregor herrmann <gregoa@debian.org>
To: Konstantinos Margaritis <markos@genesi-usa.com>, 623350@bugs.debian.org
Cc: 623349@bugs.debian.org, 623347@bugs.debian.org, perl@packages.debian.org
Subject: Re: Bug#623350: FTBFS: please add libbsd-dev to the build-deps
Date: Tue, 19 Apr 2011 17:42:29 +0200
[Message part 1 (text/plain, inline)]
On Tue, 19 Apr 2011 17:28:00 +0300, Konstantinos Margaritis wrote:

> The package fails to build from source if the buildd does not have
> libbsd-dev already installed:
> 
> http://buildd.debian-ports.org/status/fetch.php?pkg=libdevel-size-perl&arch=armhf&ver=0.73-1&stamp=1303201415
> 
> libbsd-dev is an optional package, some buildds might have it, but
> it's not a requirement.
> Please add it in the build dependencies.

Given the facts that
- this package built fine in my i386 chroot which doesn't have
  libbsd-dev installed;
- the build log doesn't say anything about libbsd-dev;
- the package built fine everywhere except for armhf
I'm a bit skeptical that the build problem on armhf is really about
the missing libbsd-dev package, and that adding it, at least for all
architectures, is the way to go.

Maybe we should find out why the package looks for libutil.h only on
armhf? Might be the package or something different in perl or whatnot
...


Cheers,
gregor
  
-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Dido: Hunter
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#623350; Package src:libdevel-size-perl. (Tue, 19 Apr 2011 16:15:13 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konstantinos Margaritis <markos@genesi-usa.com>:
Extra info received and forwarded to list. Copy sent to Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>. (Tue, 19 Apr 2011 16:15:13 GMT) Full text and rfc822 format available.

Message #15 received at 623350@bugs.debian.org (full text, mbox):

From: Konstantinos Margaritis <markos@genesi-usa.com>
To: gregor herrmann <gregoa@debian.org>
Cc: 623350@bugs.debian.org, 623349@bugs.debian.org, 623347@bugs.debian.org, perl@packages.debian.org
Subject: Re: Bug#623350: FTBFS: please add libbsd-dev to the build-deps
Date: Tue, 19 Apr 2011 19:13:28 +0300
On 19 April 2011 18:42, gregor herrmann <gregoa@debian.org> wrote:
> Given the facts that
> - this package built fine in my i386 chroot which doesn't have
>  libbsd-dev installed;
> - the build log doesn't say anything about libbsd-dev;

no, but libutil.h exists only in libbsd-dev.

> - the package built fine everywhere except for armhf

yes, this is indeed strange.

> I'm a bit skeptical that the build problem on armhf is really about
> the missing libbsd-dev package, and that adding it, at least for all
> architectures, is the way to go.

I agree that it looks strange. Initially I assumed that this package was somehow
installed by default on some buildds.

> Maybe we should find out why the package looks for libutil.h only on
> armhf? Might be the package or something different in perl or whatnot

I'd gladly help find the problem if it's armhf-related.
After doing a little search it seems that I_DEFUTIL is defined, which
is needed for
setproctitle() (used in FreeBSD, so it seems that you're right that something is
different in armhf perl). I'll do a more thorough search as to
why/when I_DEFUTIL is
defined and why it is defined only on armhf.

Konstantinos




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#623350; Package src:libdevel-size-perl. (Tue, 19 Apr 2011 16:27:25 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dominique Dumont <dominique.dumont@hp.com>:
Extra info received and forwarded to list. Copy sent to Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>. (Tue, 19 Apr 2011 16:27:25 GMT) Full text and rfc822 format available.

Message #20 received at 623350@bugs.debian.org (full text, mbox):

From: Dominique Dumont <dominique.dumont@hp.com>
To: pkg-perl-maintainers@lists.alioth.debian.org, gregor herrmann <gregoa@debian.org>, 623350@bugs.debian.org
Cc: Konstantinos Margaritis <markos@genesi-usa.com>, perl@packages.debian.org, 623347@bugs.debian.org, 623349@bugs.debian.org
Subject: Re: Bug#623350: FTBFS: please add libbsd-dev to the build-deps
Date: Tue, 19 Apr 2011 18:17:05 +0200
On Tuesday 19 April 2011 17:42:29 gregor herrmann wrote:
> I'm a bit skeptical that the build problem on armhf is really about
> the missing libbsd-dev package, and that adding it, at least for all
> architectures, is the way to go.

Boss, I beg to differ.

Looks like perl was compiled differently depending on the arch.

If you look at the build logs of armhf [1] , powerpcspe[2] and amd64[3], 
you can see that util.h was found only on armhf

I guess that perl's configure looked elsewhere on powerpcspe and amd64 
to find the required definitions.

On armhf, libbds-dev was indeed installed before build. But I don't know why.

Hope this helps

[1] http://buildd.debian-ports.org/status/fetch.php?pkg=perl&arch=armhf&ver=5.10.1-19&stamp=1301699165
[2] http://buildd.debian-ports.org/status/fetch.php?pkg=perl&arch=powerpcspe&ver=5.10.1-19&stamp=1301685349
[3] https://buildd.debian.org/status/fetch.php?pkg=perl&arch=amd64&ver=5.10.1-19&stamp=1301652109

Dominique
--
http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/
http://www.ohloh.net/accounts/ddumont     -o- http://ddumont.wordpress.com/




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#623350; Package src:libdevel-size-perl. (Wed, 20 Apr 2011 06:45:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Niko Tyni <ntyni@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>. (Wed, 20 Apr 2011 06:45:10 GMT) Full text and rfc822 format available.

Message #25 received at 623350@bugs.debian.org (full text, mbox):

From: Niko Tyni <ntyni@debian.org>
To: 623350@bugs.debian.org, Konstantinos Margaritis <markos@genesi-usa.com>, perl@packages.debian.org, 623347@bugs.debian.org, 623349@bugs.debian.org
Subject: Re: Bug#623350: FTBFS: please add libbsd-dev to the build-deps
Date: Wed, 20 Apr 2011 08:44:47 +0300
On Tue, Apr 19, 2011 at 06:17:05PM +0200, Dominique Dumont wrote:
> On Tuesday 19 April 2011 17:42:29 gregor herrmann wrote:
> > I'm a bit skeptical that the build problem on armhf is really about
> > the missing libbsd-dev package, and that adding it, at least for all
> > architectures, is the way to go.
> 
> Boss, I beg to differ.
> 
> Looks like perl was compiled differently depending on the arch.
> 
> If you look at the build logs of armhf [1] , powerpcspe[2] and amd64[3], 
> you can see that util.h was found only on armhf
> 
> I guess that perl's configure looked elsewhere on powerpcspe and amd64 
> to find the required definitions.
> 
> On armhf, libbds-dev was indeed installed before build. But I don't know why.

I believe this is a bug in perl that I happend to fix recently in
5.12.3-3/experimental after noticing a Ubuntu deviation:

   * debian/config.debian: never use <libutil.h>, even if libbsd-dev is
     installed. Inspired by a similar Ubuntu change.

The problem is that if perl is compiled with libbsd-dev installed,
the headers require <libutil.h> for all other packages too.

I'll fix it for the next sid upload too, but in the meanwhile, binNMUing
perl on armhf without libbsd-dev should fix the immediate problem.
-- 
Niko Tyni   ntyni@debian.org




Reply sent to Konstantinos Margaritis <markos@genesi-usa.com>:
You have taken responsibility. (Wed, 20 Apr 2011 06:57:14 GMT) Full text and rfc822 format available.

Notification sent to Konstantinos Margaritis <markos@genesi-usa.com>:
Bug acknowledged by developer. (Wed, 20 Apr 2011 06:57:15 GMT) Full text and rfc822 format available.

Message #30 received at 623350-done@bugs.debian.org (full text, mbox):

From: Konstantinos Margaritis <markos@genesi-usa.com>
To: 623344-done@bugs.debian.org, 623346-done@bugs.debian.org, 623347-done@bugs.debian.org, 623348-done@bugs.debian.org, 623349-done@bugs.debian.org, 623350-done@bugs.debian.org
Subject: Closing libbsd-dev bugs for armhf.
Date: Wed, 20 Apr 2011 09:55:55 +0300
On Tue, Apr 19, 2011 at 06:17:05PM +0200, Dominique Dumont wrote:
> I believe this is a bug in perl that I happend to fix recently in
> 5.12.3-3/experimental after noticing a Ubuntu deviation:
>
>  * debian/config.debian: never use <libutil.h>, even if libbsd-dev is
>    installed. Inspired by a similar Ubuntu change.
>
> The problem is that if perl is compiled with libbsd-dev installed,
> the headers require <libutil.h> for all other packages too.
>
> I'll fix it for the next sid upload too, but in the meanwhile, binNMUing
> perl on armhf without libbsd-dev should fix the immediate problem.

This is exactly what I did, apparently the previous perl build for armhf was
done with libbsd-dev installed, so what you suggested happened, once
I decided to clean up the buildds from redundant packages.

All problematic packages were then rebuilt with the newer perl and there
was no error.

So I am closing the bugs as false alarms. Sorry for the fuss eveyone...

Thanks

Konstantinos




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 18 May 2011 07:38:50 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 02:25:04 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.