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

Bug#961381: gsutil: autopkgtest failure: Can't locate LWP/UserAgent.pm in @INC



Control: tags 961381 patch

Hi Paul

thank you very much for your report.

The problem is that there are dependencies issues for gsutil since the changes from 3.1-1 (see: #620478)

I confirmed it by just running gsutil from the command line in a clean environment.

As we can see in the README from upstream

> Only perl and perl-libwww-perl were used, and they came
> with the operating system, so you probably won't have to
> download any perl modules.

But Depends field from debian/control says:

libhtml-form-perl | libwww-perl (<< 6)


The fix is just change to:


libhtml-form-perl, libwww-perl

The restrictions for the version of libwww-perl needs to be removed because libhtml-form-perl don't replaces libwww-perl. It could be used only if a package needs only libhtml-form-perl. As said in #620478 there was only libwww-perl in the past, which was splitted in libwww-perl and libhtml-form-perl at the time of #620478 .

I tested the changes in a clean jail and I reproduced it with both source and binary packages, from 3.1-1 to 3.1-4.

I'll upload the fix and also the 'Restrictions: superficial' for autopkgtest.

Cheers

Régis
diff -Nru gsutil-3.1/debian/control gsutil-3.1/debian/control
--- gsutil-3.1/debian/control	2020-05-11 03:16:27.000000000 +0000
+++ gsutil-3.1/debian/control	2020-06-18 06:33:01.000000000 +0000
@@ -7,7 +7,7 @@
 
 Package: gsutil
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libhtml-form-perl | libwww-perl (<< 6)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libhtml-form-perl, libwww-perl
 Description: configure and manage Grandstream BudgeTone 100 VOIP and GX2000 phones
  GsUtil is a short program written to dump and restore the data
  from randstream BudgeTone 100 VOIP and GX2000 phone.

Reply to: