Dependency from the same ppa

Asked by Ivan Bessarabov

I'm trying to put perl module Devel::StackTrace::AsHTML http://search.cpan.org/perldoc?Devel::StackTrace::AsHTML into my ppa https://launchpad.net/~bessarabov/+archive/star This module need version 1.23 of the module http://search.cpan.org/perldoc?Devel::StackTrace (exactly 1.23 not more not less). So I've created package libdevel-stacktrace-perl - 1.23-1 and uploaded it to my ppa.. Then in the debian/control file of the package libdevel-stacktrace-ashtml-perl I've written:

...
Build-Depends: debhelper (>= 7)
Build-Depends-Indep: libdevel-stacktrace-perl (= 1.23), perl (>= 5.10.0)
...
Depends: ${misc:Depends}, ${perl:Depends}, libdevel-stacktrace-perl (= 1.23), perl
...

And I've tired to upload the file to ppa. I've got the mail with the error message: "Files specified in DSC are broken or missing, skipping package unpack verification."

What should I do to make libdevel-stacktrace-ashtml-perl package?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Ivan Bessarabov
Solved:
Last query:
Last reply:
Revision history for this message
William Grant (wgrant) said :
#1

The error is unrelated to the build dependencies. You missed the real one: "File libdevel-stacktrace-ashtml-perl_0.11-1.tar.gz already exists in star, but uploaded version has different contents. See more information about this error in https://help.launchpad.net/Packaging/UploadErrors." You can't upload the same version twice; you have to change the version number between uploads.

Revision history for this message
Ivan Bessarabov (bessarabov) said :
#2

Thank you. I've created libdevel-stacktrace-ashtml-perl_0.11-2 and it uploaded successfully.

But the problem isn't solved. The buildlog [1] shows that the build system installs libdevel-stacktrace-perl but it does not install that package from my ppa, but installs the package from lucuid:

...
** Using build dependencies supplied by package:
Build-Depends: debhelper (>= 7)
Build-Depends-Indep: libdevel-stacktrace-perl (= 1.23), perl (>= 5.10.0)
Checking for already installed source dependencies...
debhelper: missing
libdevel-stacktrace-perl: missing
perl: already installed (5.10.1-8ubuntu2.1 >= 5.10.0 is satisfied)
Checking for source dependency conflicts...
  /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper libdevel-stacktrace-perl
...
Checking correctness of source dependencies...
After installing, the following source dependencies are still unsatisfied:
libdevel-stacktrace-perl(inst 1.2100-1 ! = wanted 1.23)
...

[1] https://launchpadlibrarian.net/71894022/buildlog_ubuntu-lucid-i386.libdevel-stacktrace-ashtml-perl_0.11-2_MANUALDEPWAIT.txt.gz

Revision history for this message
William Grant (wgrant) said :
#3

The one in Ubuntu is newer. You can't depend on an older version.

Revision history for this message
Ivan Bessarabov (bessarabov) said :
#4

Thank you!

I've created libdevel-stacktrace-perl_1.2300-1 and in debian/control of libdevel-stacktrace-ashtml-perl I wrote:

...
Build-Depends-Indep: libdevel-stacktrace-perl (= 1.2300-1), perl (>= 5.10.0)
...
Depends: ${misc:Depends}, ${perl:Depends},
 libdevel-stacktrace-perl (= 1.2300-1), perl
...

After that the package build successfully.

PS For me it is strange that version 1.2100-1 is greater than 1.23, but it is so. I've used perl module Sort::Version (http://search.cpan.org/perldoc?Sort::Versions) to check it.