Bug#592117: debbugsconfig fails due to missing /etc/debbugs/indices/ directory

2010-08-09 Thread Don Armstrong
On Sat, 07 Aug 2010, John Lightsey wrote:
 Hi there, I rebuilt the packages from experimental on my testing
 system, but it looks like this problem may exist in previous
 versions as well. We doing a fresh install of debbugs and running
 debbugsconfig for the first time, it dies while trying to copy the
 /usr/share/doc/debbugs/examples/sources file to
 /etc/debbugs/indices/ since that directory does not exist. This
 stops debbugsconfig from running to completion.

debbugsconfig needs some serious love, because it isn't completely
necessary anymore, and is generating configuration files with options
that are obsolete or not strictly necessary.

I personally don't use it at all, and would love to see a patch that
replaced it with a command which created a local mirror of the bts or
similar. [I'm only still distributing it because I assumed it has some
users, even though I don't use it.]


Don Armstrong

-- 
If you find it impossible to believe that the universe didn't have a
creator, why don't you find it impossible that your creator didn't
have one either?
 -- Anonymous Coward http://slashdot.org/comments.pl?sid=167556cid=13970629

http://www.donarmstrong.com  http://rzlab.ucr.edu



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#592117: debbugsconfig fails due to missing /etc/debbugs/indices/ directory

2010-08-07 Thread John Lightsey
Package: debbugs
Version: 2.4.2~exp1
Severity: normal
Tags: patch

Hi there,  I rebuilt the packages from experimental on my testing system, but
it looks like this problem may exist in previous versions as well.  We doing a
fresh install of debbugs and running debbugsconfig for the first time, it dies
while trying to copy the /usr/share/doc/debbugs/examples/sources file to
/etc/debbugs/indices/ since that directory does not exist.  This stops
debbugsconfig from running to completion.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debbugs depends on:
ii  exim4 4.72-1 metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.72-1 lightweight Exim MTA (v4) daemon
ii  libdebbugs-perl   2.4.2~exp1 modules used by the active Debian 
ii  perl  5.10.1-13  Larry Wall's Practical Extraction 

Versions of packages debbugs recommends:
ii  debbugs-web   2.4.2~exp1 web scripts for the active Debian 

Versions of packages debbugs suggests:
pn  libcgi-alert-perl none (no description available)
pn  spamassassin  none (no description available)

-- no debconf information
=== modified file 'debian/debbugsconfig'
--- debian/debbugsconfig	2005-01-16 22:27:09 +
+++ debian/debbugsconfig	2010-08-07 16:03:35 +
@@ -79,6 +79,10 @@
 sub template {
   my ($name, $destdir) = @_;
   if (! -f $destdir/$name) {
+  if (! -d $destdir ) {
+File::Path::make_path($destdir, {'mode' = 0755 });
+print created $destdir/.\n;
+  }
   system(cp /usr/share/doc/debbugs/examples/$name $destdir/$name) == 0 ||
 	die $!;
   print created $destdir/$name from template.\n;