[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#423807: libsvn-notify-mirror-perl: FTBFS: Can't locate SVN/Notify.pm in @INC



On Mon, 14 May 2007 18:59:56 -0500, Gunnar Wolf wrote:

[Including debian-perl again, sorry for dropping the "public"]

> > > Tell me, the latest changes you added (build-depends-indep on
> > > libfile-rsync-perl, libnet-ssh-perl, ssmtp | mail-transport-agent and
> > > versioning the dependence on libnet-ssh-perl - and, of course, adding
> > > you as an uploader) have a relation with fixing the reported bug? 

> > gregoa@belanna:/tmp$ svn export svn+alioth://svn.debian.org/svn/pkg-perl/packages/libsvn-notify-mirror-perl/trunk -r5397 
> > ..
> > gregoa@belanna:/tmp$ cd trunk
> > gregoa@belanna:/tmp/trunk$ pdebuild --buildresult ../
> > ..
> > Feature 'rsync_support' disabled because of the following prerequisite failures:
> >  * Prerequisite File::Rsync isn't installed
> > 
> > Feature 'config_support' disabled because of the following prerequisite failures:
> >  * Prerequisite SVN::Notify::Config isn't installed
> > 
> > Feature 'ssh_support' disabled because of the following prerequisite failures:
> >  * Prerequisite Net::SSH isn't installed
 
> Heh, strange, I didn't have neither File::Rsync nor Net::SSH installed
> on my machine! 

Yup, these two just change the "Feature $foo dis/enabled" above.
But without some MTA the build fails in the tests.

On Mon, 14 May 2007 19:02:43 -0500, Gunnar Wolf wrote:

> > Heh, strange, I didn't have neither File::Rsync nor Net::SSH installed
> > on my machine! Anyway, I have to believe you, and right now I'm busy
> > to start debugging - Building and uploading ;-)
> Grmbl... With your packages, the module requires human intervention to
> be built (there are some questions regarding whether to test Net::SSH
> and File::Rsync). 

Hm, in my pbuilder chroot they are answered automagically.

> As I said, I'm quite busy right now, so I cannot
> comment much on this - but this could mean net access is needed to
> build the packages, and that's not exactly good.

I'm never sure if net access is provided in a pbuilder chroot.

> Please check the situation and comment in the list. Tomorrow I'll be
> mostly away, so if somebody else can tackle this, much better.

Right.

I include here the relevant parts of build the package; first -2 (now
in unstable), then -3 (in svn), both built in a sid pbuilder chroot:

## -2 ##

[..]

# Add commands to compile the package here
/usr/bin/perl Build.PL installdirs=vendor
Creating custom builder _build/lib/JPEACOCK/Builder.pm in _build/lib/JPEACOCK
 * ERROR: Version 0.26 of Module::Build is installed, but we need version >= 0.2805
ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
 of the modules indicated above before proceeding with this installation.

Feature 'rsync_support' disabled because of the following prerequisite failures:
 * Prerequisite File::Rsync isn't installed

Feature 'config_support' disabled because of the following prerequisite failures:
 * Prerequisite SVN::Notify::Config isn't installed

Feature 'ssh_support' disabled because of the following prerequisite failures:
 * Prerequisite Net::SSH isn't installed

Checking whether your kit is complete...

[..]

# Add commands to install the package into debian/ACKAGE_NAME here
/usr/bin/perl Build test
/usr/bin/perl t/004_rsynctest.t.PL t/004_rsynctest.t
/usr/bin/perl t/002_config.t.PL t/testconfig t/002_config.t t/002_config
/usr/bin/perl t/003_sshtest.t.PL t/003_sshtest.t
t/001_basic....Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

#   Failed test 'Directories are consistent at rev: 2'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

#   Failed test 'Directories are consistent at rev: 3'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

#   Failed test 'Directories are consistent at rev: 4'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

#   Failed test 'Directories are consistent at rev: 5'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file3} = '6'
#     $expected->{file3} = Does not exist

#   Failed test 'Directories are consistent at rev: 5'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

#   Failed test 'Directories are consistent at rev: 6'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file3} = '6'
#     $expected->{file3} = Does not exist

#   Failed test 'Directories are consistent at rev: 6'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist

#   Failed test 'Directories are consistent at rev: 7'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file3} = '6'
#     $expected->{file3} = Does not exist

#   Failed test 'Directories are consistent at rev: 7'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

#   Failed test 'Directories are consistent at rev: 2'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

#   Failed test 'Directories are consistent at rev: 3'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

#   Failed test 'Directories are consistent at rev: 4'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

#   Failed test 'Directories are consistent at rev: 5'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file3} = '6'
#     $expected->{file3} = Does not exist

#   Failed test 'Directories are consistent at rev: 5'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist
Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

#   Failed test 'Directories are consistent at rev: 6'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file3} = '6'
#     $expected->{file3} = Does not exist

#   Failed test 'Directories are consistent at rev: 6'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist

#   Failed test 'Directories are consistent at rev: 7'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file3} = '6'
#     $expected->{file3} = Does not exist

#   Failed test 'Directories are consistent at rev: 7'
#   in /tmp/buildd/libsvn-notify-mirror-perl-0.03602/t/coretests.pm at line 228.
#     Structures begin differing at:
#          $got->{file1} = '6'
#     $expected->{file1} = Does not exist
# Looks like you failed 18 tests of 32.
dubious
	Test returned status 18 (wstat 4608, 0x1200)
DIED. FAILED tests 2, 4, 7, 9-10, 12-13, 15-16, 18, 20, 23, 25-26, 28-29, 31-32
	Failed 18/32 tests, 43.75% okay
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/001_basic.t   18  4608    32   18  56.25%  2 4 7 9-10 12-13 15-16 18 20 23
                                             25-26 28-29 31-32
Failed 1/1 test scripts, 0.00% okay. 18/32 subtests failed, 43.75% okay.

make: *** [install-stamp] Error 18
pbuilder: Failed autobuilding of package

[..]


## -3 ##

[..]

# Add commands to compile the package here
/usr/bin/perl Build.PL installdirs=vendor
Creating custom builder _build/lib/JPEACOCK/Builder.pm in _build/lib/JPEACOCK
 * ERROR: Version 0.26 of Module::Build is installed, but we need version >= 0.2805
ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
 of the modules indicated above before proceeding with this installation.

Feature 'rsync_support' enabled.

Feature 'config_support' disabled because of the following prerequisite failures:
 * Prerequisite SVN::Notify::Config isn't installed

Feature 'ssh_support' enabled.

Checking whether your kit is complete...
Looks good
Do you want to run the SSH tests?
(see the README for details) [N] N
Do you want to run the rsync tests?
(see the README for details) [N] N
Creating new 'Build' script for 'SVN-Notify-Mirror' version '0.03602'
OPTIMIZE="-Wall -O2 -g" /usr/bin/perl Build

[..]

# Add commands to install the package into debian/ACKAGE_NAME here
/usr/bin/perl Build test
/usr/bin/perl t/004_rsynctest.t.PL t/004_rsynctest.t
/usr/bin/perl t/002_config.t.PL t/testconfig t/002_config.t t/002_config
/usr/bin/perl t/003_sshtest.t.PL t/003_sshtest.t
t/001_basic....ok
All tests successful.
Files=1, Tests=54, 25 wallclock secs ( 4.51 cusr +  1.15 csys =  5.66 CPU)
/usr/bin/perl Build install destdir=/tmp/buildd/libsvn-notify-mirror-perl-0.03602/debian/libsvn-notify-mirror-perl
/usr/bin/perl t/004_rsynctest.t.PL t/004_rsynctest.t
/usr/bin/perl t/002_config.t.PL t/testconfig t/002_config.t t/002_config
/usr/bin/perl t/003_sshtest.t.PL t/003_sshtest.t

[..]


The relevant diff for all those following at home:

-Build-Depends-Indep: perl (>= 5.8.8-7), libsvn-notify-perl, libmodule-build-perl
+Build-Depends-Indep: perl (>= 5.8.8-7), libsvn-notify-perl, libmodule-build-perl, libfile-rsync-perl, libnet-ssh-perl, ssmtp | mail-transport-agent


Could someone help Gunnar and me get out of our confusion?


Cheers,
gregor 
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Furry Lewis: Billy lyons & stack o' lee

Attachment: signature.asc
Description: Digital signature


Reply to: