tags 395271 + confirmed
reassign 395271 dpkg-dev
thanks

Lucas Nussbaum <[EMAIL PROTECTED]> writes:

> While trying to build libmail-box-perl using sbuild, I ran into a
> problem: it seems that sbuild doesn't resolve the build-deps
> correctly when it involves dealing with Provides. Here is the log:

> libscalar-list-utils-perl: already installed (=*=PROVIDED=*= >= 1.13 is
> satisfied)
> dpkg-source: warning: could not verify signature on
> /tmp/build/libmail-box-perl_2.068-1.dsc since gpg isn't installed
> dpkg-source: extracting libmail-box-perl in libmail-box-perl-2.068
> dpkg-source: unpacking libmail-box-perl_2.068.orig.tar.gz
> dpkg-source: applying /tmp/build/libmail-box-perl_2.068-1.diff.gz
> dpkg-buildpackage: source package is libmail-box-perl
> dpkg-buildpackage: source version is 2.068-1
> dpkg-buildpackage: host architecture i386
> dpkg-buildpackage: source version without epoch 2.068-1
> dpkg-checkbuilddeps: Unmet build dependencies: libtest-harness-perl (>=
> 2.62)
> dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
> dpkg-buildpackage: (Use -d flag to override.)

> It would be great if either:
> - sbuild could say which package provides a specific dependancy, to help
>   debugging this
> - this was handled correctly (but I'm not sure of what "correctly" means
>   here)

It's dpkg-checkbuilddeps (part of dpkg-dev) that's failing, rather
than sbuild.  I'm reassigning to dpkg-dev.

Summary: libtest-harness-perl is a binary package, but is also
Provided by perl-modules.  sbuild notices the perl-modules Provides
libtest-harness-perl, so doesn't install libtest-harness-perl.
dpkg-checkbuilddeps appears not to notice the Provides.

> Another possible example of this bug is libtest-base-perl and its
> dependancy on libtest-simple-perl.

Summary: libtest-base-perl is a binary package, but is also Provided
by perl-modules.  sbuild notices the perl-modules Provides
libtest-base-perl, so doesn't install libtest-base-perl.
dpkg-checkbuilddeps appears not to notice the Provides.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
Automatic build of libmail-box-perl_2.068-1 on hardknott by sbuild/powerpc 0.52
Build started at 20061027-2301
******************************************************************************
Checking available source versions...
Fetching source files...
Reading package lists...
Building dependency tree...
Need to get 594kB of source archives.
Get:1 http://ftp.uk.debian.org unstable/main libmail-box-perl 2.068-1 (dsc) 
[1276B]
Get:2 http://ftp.uk.debian.org unstable/main libmail-box-perl 2.068-1 (tar) 
[589kB]
Get:3 http://ftp.uk.debian.org unstable/main libmail-box-perl 2.068-1 (diff) 
[3680B]
Fetched 594kB in 21s (28.0kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends: debhelper (>= 4.0)
Build-Depends-Indep: perl (>= 5.6.0-16), libtimedate-perl, libio-stringy-perl, 
libmime-types-perl (>= 1.004), libmailtools-perl, libobject-realize-later-perl 
(>= 0.14), libscalar-list-utils-perl (>= 1.13) | perl (>= 5.8.2-2), liburi-perl 
(>= 1.23), libdigest-hmac-perl, libuser-identity-perl, libfile-remove-perl, 
libtext-autoformat-perl, netbase, libhtml-format-perl, libtest-harness-perl (>= 
2.62)
Checking for already installed source dependencies...
debhelper: already installed (5.0.40 >= 4.0 is satisfied)
perl: already installed (5.8.8-6.1 >= 5.6.0-16 is satisfied)
libtimedate-perl: missing
libio-stringy-perl: missing
libmime-types-perl: missing
Using default version 1.17-2
libmailtools-perl: missing
libobject-realize-later-perl: missing
Using default version 0.15-3
libscalar-list-utils-perl: already installed (=*=PROVIDED=*= >= 1.13 is 
satisfied)
liburi-perl: missing
Using default version 1.35-2
libdigest-hmac-perl: missing
libuser-identity-perl: missing
libfile-remove-perl: missing
libtext-autoformat-perl: missing
netbase: already installed (4.27)
libhtml-format-perl: missing
libtest-harness-perl: already installed (=*=PROVIDED=*= >= 2.62 is satisfied)
Checking for source dependency conflicts...
Reading package lists...
Building dependency tree...
The following extra packages will be installed:
  libdigest-sha1-perl libfont-afm-perl libhtml-parser-perl libhtml-tagset-perl
  libhtml-tree-perl libtext-reform-perl
Suggested packages:
  libwww-perl
The following NEW packages will be installed:
  libdigest-hmac-perl libdigest-sha1-perl libfile-remove-perl libfont-afm-perl
  libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl
  libhtml-tree-perl libio-stringy-perl libmailtools-perl libmime-types-perl
  libobject-realize-later-perl libtext-autoformat-perl libtext-reform-perl
  libtimedate-perl liburi-perl libuser-identity-perl
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 491kB/907kB of archives.
After unpacking 3183kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libdigest-sha1-perl libdigest-hmac-perl libfile-remove-perl libfont-afm-perl
  libhtml-tagset-perl liburi-perl libhtml-parser-perl libhtml-tree-perl
  libhtml-format-perl libio-stringy-perl libtimedate-perl libmailtools-perl
  libmime-types-perl libobject-realize-later-perl libtext-reform-perl
  libtext-autoformat-perl libuser-identity-perl
Authentication warning overridden.
Get:1 http://ftp.uk.debian.org unstable/main libdigest-sha1-perl 2.11-1 [26.3kB]
Get:2 http://ftp.uk.debian.org unstable/main libdigest-hmac-perl 1.01-4 [10.6kB]
Get:3 http://ftp.uk.debian.org unstable/main libfile-remove-perl 0.31-1 [8962B]
Get:4 http://ftp.uk.debian.org unstable/main libfont-afm-perl 1.19-1 [13.7kB]
Get:5 http://ftp.uk.debian.org unstable/main libhtml-format-perl 2.04-1 [37.9kB]
Get:6 http://ftp.uk.debian.org unstable/main libio-stringy-perl 2.110-1 [88.6kB]
Get:7 http://ftp.uk.debian.org unstable/main libtimedate-perl 1.1600-5 [32.7kB]
Get:8 http://ftp.uk.debian.org unstable/main libmailtools-perl 1.74-0.1 [85.7kB]
Get:9 http://ftp.uk.debian.org unstable/main libmime-types-perl 1.17-2 [28.3kB]
Get:10 http://ftp.uk.debian.org unstable/main libobject-realize-later-perl 
0.15-3 [17.4kB]
Get:11 http://ftp.uk.debian.org unstable/main libtext-reform-perl 1.11-5 
[34.9kB]
Get:12 http://ftp.uk.debian.org unstable/main libtext-autoformat-perl 1.13-1 
[30.2kB]
Get:13 http://ftp.uk.debian.org unstable/main libuser-identity-perl 0.90-3 
[75.5kB]
Fetched 491kB in 15s (30.8kB/s)
Selecting previously deselected package libdigest-sha1-perl.
(Reading database ... 11350 files and directories currently installed.)
Unpacking libdigest-sha1-perl (from .../libdigest-sha1-perl_2.11-1_powerpc.deb) 
...
Selecting previously deselected package libdigest-hmac-perl.
Unpacking libdigest-hmac-perl (from .../libdigest-hmac-perl_1.01-4_all.deb) ...
Selecting previously deselected package libfile-remove-perl.
Unpacking libfile-remove-perl (from .../libfile-remove-perl_0.31-1_all.deb) ...
Selecting previously deselected package libfont-afm-perl.
Unpacking libfont-afm-perl (from .../libfont-afm-perl_1.19-1_all.deb) ...
Selecting previously deselected package libhtml-tagset-perl.
Unpacking libhtml-tagset-perl (from .../libhtml-tagset-perl_3.10-2_all.deb) ...
Selecting previously deselected package liburi-perl.
Unpacking liburi-perl (from .../liburi-perl_1.35-2_all.deb) ...
Selecting previously deselected package libhtml-parser-perl.
Unpacking libhtml-parser-perl (from .../libhtml-parser-perl_3.55-1_powerpc.deb) 
...
Selecting previously deselected package libhtml-tree-perl.
Unpacking libhtml-tree-perl (from .../libhtml-tree-perl_3.19.01-2_all.deb) ...
Selecting previously deselected package libhtml-format-perl.
Unpacking libhtml-format-perl (from .../libhtml-format-perl_2.04-1_all.deb) ...
Selecting previously deselected package libio-stringy-perl.
Unpacking libio-stringy-perl (from .../libio-stringy-perl_2.110-1_all.deb) ...
Selecting previously deselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.1600-5_all.deb) ...
Selecting previously deselected package libmailtools-perl.
Unpacking libmailtools-perl (from .../libmailtools-perl_1.74-0.1_all.deb) ...
Selecting previously deselected package libmime-types-perl.
Unpacking libmime-types-perl (from .../libmime-types-perl_1.17-2_all.deb) ...
Selecting previously deselected package libobject-realize-later-perl.
Unpacking libobject-realize-later-perl (from 
.../libobject-realize-later-perl_0.15-3_all.deb) ...
Selecting previously deselected package libtext-reform-perl.
Unpacking libtext-reform-perl (from .../libtext-reform-perl_1.11-5_all.deb) ...
Selecting previously deselected package libtext-autoformat-perl.
Unpacking libtext-autoformat-perl (from 
.../libtext-autoformat-perl_1.13-1_all.deb) ...
Selecting previously deselected package libuser-identity-perl.
Unpacking libuser-identity-perl (from .../libuser-identity-perl_0.90-3_all.deb) 
...
Setting up libdigest-sha1-perl (2.11-1) ...
Setting up libdigest-hmac-perl (1.01-4) ...
Setting up libfile-remove-perl (0.31-1) ...
Setting up libfont-afm-perl (1.19-1) ...
Setting up libhtml-tagset-perl (3.10-2) ...
Setting up liburi-perl (1.35-2) ...
Setting up libhtml-parser-perl (3.55-1) ...
Setting up libhtml-tree-perl (3.19.01-2) ...
Setting up libhtml-format-perl (2.04-1) ...
Setting up libio-stringy-perl (2.110-1) ...

Setting up libtimedate-perl (1.1600-5) ...
Setting up libmailtools-perl (1.74-0.1) ...
Setting up libmime-types-perl (1.17-2) ...
Setting up libobject-realize-later-perl (0.15-3) ...
Setting up libtext-reform-perl (1.11-5) ...
Setting up libtext-autoformat-perl (1.13-1) ...
Setting up libuser-identity-perl (0.90-3) ...
Checking correctness of source dependencies...
Kernel: Linux 2.6.18-1-powerpc powerpc (ppc)
Toolchain package versions: libc6-dev_2.3.6.ds1-7 linux-kernel-headers_2.6.18-6 
gcc-4.1_4.1.1-17 g++-4.1_4.1.1-17 binutils_2.17-3 libstdc++6-4.1-dev_4.1.1-17 
libstdc++6_4.1.1-17
------------------------------------------------------------------------------
dpkg-source: extracting libmail-box-perl in libmail-box-perl-2.068
dpkg-source: unpacking libmail-box-perl_2.068.orig.tar.gz
dpkg-source: applying /home/rleigh/build/libmail-box-perl_2.068-1.diff.gz
dpkg-buildpackage: source package is libmail-box-perl
dpkg-buildpackage: source version is 2.068-1
dpkg-buildpackage: source changed by gregor herrmann <[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture powerpc
dpkg-buildpackage: source version without epoch 2.068-1
dpkg-checkbuilddeps: Unmet build dependencies: libtest-harness-perl (>= 2.62)
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
******************************************************************************
Build finished at 20061027-2302
FAILED [dpkg-buildpackage died]
------------------------------------------------------------------------------
(Reading database ... 11769 files and directories currently installed.)
Removing libmime-types-perl ...
Removing libio-stringy-perl ...
Removing libuser-identity-perl ...
Removing libobject-realize-later-perl ...
Removing libmailtools-perl ...
Removing libtext-autoformat-perl ...
Removing libfile-remove-perl ...
Removing libdigest-hmac-perl ...
Removing libhtml-format-perl ...
Removing libtimedate-perl ...
Removing libfont-afm-perl ...
Removing libdigest-sha1-perl ...
Removing libhtml-tree-perl ...
Removing libtext-reform-perl ...
Removing libhtml-parser-perl ...
Removing liburi-perl ...
Removing libhtml-tagset-perl ...
******************************************************************************
Finished at 20061027-2302
Build needed 00:00:04, 3756k disk space

Attachment: pgpwWyydU3Rqw.pgp
Description: PGP signature

Reply via email to