Your message dated Tue, 8 Sep 2015 22:38:45 -0400
with message-id <[email protected]>
and subject line Re: Bug#798420: devscripts: bts script requires liburi-perl as 
install dependency
has caused the Debian Bug report #798420,
regarding devscripts: bts script requires liburi-perl as install dependency
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
798420: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798420
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.15.8
Severity: normal

Dear Maintainer,

Hi there.  I've recently disabled installing recommended packages 
and this has had the side-effect of breaking the "bts" script.  In the
control file the liburi-perl package is mentioned as a recommends, but
in reality it's a hard requirement:

$ bts
Can't locate URI.pm in @INC (you may need to install the URI module) (@INC 
contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 
/usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 
/usr/local/lib/site_perl .) at /usr/bin/bts line 63.
BEGIN failed--compilation aborted at /usr/bin/bts line 63.

$ sudo apt-get install liburi-perl

$ bts
Usage: bts [options] command [args] [#comment] [.|, command ... ]
Valid options are:
   -o, --offline          Do not attempt to connect to BTS for show/bug
                          commands: use cached copy
   --online, --no-offline Attempt to connect (default)
   -n, --no-action        Do not send emails but print them to standard output.
   --no-cache             Do not attempt to cache new versions of BTS
[...]

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.18.5-tinycore64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages devscripts depends on:
ii  dpkg-dev     1.18.2
ii  libc6        2.19-19
ii  perl         5.20.2-6
ii  python3      3.4.3-4
pn  python3:any  <none>

Versions of packages devscripts recommends:
pn  at                          <none>
ii  curl                        7.44.0-1
pn  dctrl-tools                 <none>
pn  debian-keyring              <none>
pn  dput | dupload              <none>
pn  equivs                      <none>
pn  fakeroot                    <none>
ii  file                        1:5.22+15-2
ii  gnupg                       1.4.19-3
pn  libdistro-info-perl         <none>
pn  libencode-locale-perl       <none>
pn  libjson-perl                <none>
pn  liblwp-protocol-https-perl  <none>
pn  libsoap-lite-perl           <none>
pn  liburi-perl                 <none>
pn  libwww-perl                 <none>
pn  lintian                     <none>
ii  man-db                      2.7.2-1
ii  patch                       2.7.5-1
pn  patchutils                  <none>
ii  python3-debian              0.1.27
pn  python3-magic               <none>
ii  sensible-utils              0.0.9
pn  strace                      <none>
pn  unzip                       <none>
pn  wdiff                       <none>
ii  xz-utils                    5.1.1alpha+20120614-2.1

Versions of packages devscripts suggests:
pn  bsd-mailx | mailx            <none>
ii  build-essential              12.1
pn  cvs-buildpackage             <none>
pn  debbindiff                   <none>
pn  devscripts-el                <none>
pn  gnuplot                      <none>
ii  gpgv                         1.4.19-3
pn  libauthen-sasl-perl          <none>
pn  libfile-desktopentry-perl    <none>
pn  libnet-smtp-ssl-perl         <none>
pn  libterm-size-perl            <none>
pn  libtimedate-perl             <none>
pn  libyaml-syck-perl            <none>
pn  mutt                         <none>
ii  openssh-client [ssh-client]  1:6.9p1-1
pn  svn-buildpackage             <none>
pn  w3m                          <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On Wed, Sep 09, 2015 at 12:25:19PM +1000, Tim Potter wrote:
> Hi there.  I've recently disabled installing recommended packages 
> and this has had the side-effect of breaking the "bts" script.

Then don't do that?  Recommends are expected to be installed and if you
choose to disable them, then you get to deal with the fallout of not
having them installed.

> In the
> control file the liburi-perl package is mentioned as a recommends, but
> in reality it's a hard requirement:

Since the devscripts package is an amalgamation of scripts which each
user may or may not find interesting, we don't put every dependency
which is used into Depends.  The core dependencies are in Depends,
dependencies used by multiple scripts or by more generally applicable
scripts are expressed in Recommends, and the rest are in Suggests.

This is the reason why every script's description in “apt-cache show
devscripts” lists which packages it actually needs.  ‘bts’ happens to be
one of the higher use scripts, so all of its dependencies are in
Recommends.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>

--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to