Bug#838786: debpear: error 'cp: target ‘yaml-1.2.0.orig.tar.gz’ is not a directory'

2016-09-24 Thread rohieb
Package: debpear
Version: 0.4
Severity: normal

Dear Maintainer,

I tried installing php-yaml from PECL, but the script errored out with the error
message given above.  I'm lost and I don't know (yet) what to do.

Here is what happens when I run the script with set -x:

-- 8< --
$ debpear -c pecl yaml
+ PHPPKGINFO=/usr/share/pkg-php-tools/scripts/phppkginfo
+ DO_INSTALL=no
+ PEAR_CHANNEL=pear.php.net
+ BUILD_DIR=./build-area
+ VERBOSE=no
+ [ -z pecl ]
+ grep -w ^pecl.txt
+ cut -d/ -f7
+ grep .alias/
+ dpkg -L pear-channels
+ [ -z  -a pecl != pecl -a pecl != pear ]
+ PEAR_CHANNEL=pecl
+ shift
+ shift
+ [ 1 != 1 ]
+ PEAR_PKG_NAME=yaml
+ [ -z yaml ]
+ echoIfVerbose debpear ===> Preparing build area in ./build-area
+ [ no = yes ]
+ /usr/share/pkg-php-tools/scripts/phppkginfo debian_pkgname pecl yaml
+ DEB_PKG_NAME=php-yaml
+ [ -d ./build-area ]
+ [ -n  ]
+ cd ./build-area
+ [ -z  ]
+ [ -z pecl ]
+ pear download pecl/yaml
downloading yaml-1.2.0.tgz ...
Starting to download yaml-1.2.0.tgz (38,606 bytes)
..done: 38,606 bytes
File /home/rohieb/php-yaml-2.0.0~rc8+1.3.0~b1/build-area/yaml-1.2.0.tgz 
downloaded
+ grep yaml
+ ls
+ DOWNLOADED_PEAR_PKG=php-yaml-1.2.0
php-yaml_1.2.0.orig.tar.gz
yaml-1.2.0.tgz
+ awk {printf length($0)}
+ echo php-yaml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0.tgz
+ FILENAME_LEN=56
+ awk {printf length($0)}
+ echo yaml
+ PEAR_PKG_NAME_LEN=4
+ VERSION_START=6
+ VERSION_LEN=47
+ awk {printf substr($0,6,47)}
+ echo php-yaml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0.tgz
+ VERSION_STRING=aml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0
+ DEB_SRC_FOLDER=php-yaml-aml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0
+ DEB_PKG_RESULT=php-yaml_aml-1.2.0 php-yaml_1.2.0.orig.tar.gz 
yaml-1.2.0-1_all.deb
+ DEB_BIN_PKG_NAME=php-yaml
+ cp php-yaml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0.tgz 
php-yaml_aml-1.2.0 php-yaml_1.2.0.orig.tar.gz yaml-1.2.0.orig.tar.gz
cp: target ‘yaml-1.2.0.orig.tar.gz’ is not a directory

-- >8 --


-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debpear depends on:
ii  build-essential  11.7
ii  devscripts   2.15.3+deb8u1
ii  fakeroot 1.20.2-1
ii  pear-channels0~20141011-1
ii  php-pear 5.6.24+dfsg-0+deb8u1
ii  pkg-php-tools1.28

debpear recommends no packages.

debpear suggests no packages.

-- no debconf information



Bug#814463: irker: does not start when /dev/log and /var/run/syslog exist

2016-02-11 Thread rohieb
Package: irker
Version: 2.12+dfsg-1
Severity: normal

Dear Maintainer,

lines 989-993 of `/usr/bin/irkerd' look like this:

logdev = [x for x in ('/dev/log', '/var/run/syslog', '/var/run/log')
  if os.path.exists(x)]
if len(logdev) != 1:
sys.stderr.write("can't initialize log device, bailing out!\n")
raise SystemExit(1)

However, on my host running jessie and systemd, both /dev/log and /var/run/log
exist:

  $ ls -ld '/dev/log' '/var/run/syslog' '/var/run/log'
  ls: cannot access /var/run/syslog: No such file or directory
  lrwxrwxrwx 1 root root 28 Jun 22  2015 /dev/log -> 
/run/systemd/journal/dev-log
  drwxr-xr-x 3 root root 60 Jun 22  2015 /var/run/log

As a result, irker exits with the respective failure message right after it has
been started.

A trivial patch, which forks for me, is attached.

Cheers, 
 - Roland


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages irker depends on:
ii  adduser  3.113+nmu3
ii  init-system-helpers  1.22
pn  python:any   

irker recommends no packages.

irker suggests no packages.

-- no debconf information
--- /home/rohieb/irkerd.orig	2016-02-11 21:35:18.90800 +0100
+++ /usr/bin/irkerd	2016-02-11 21:35:52.89600 +0100
@@ -988,7 +988,7 @@
 # The Linux, Mac, and FreeBSD values of the logging device.
 logdev = [x for x in ('/dev/log', '/var/run/syslog', '/var/run/log')
   if os.path.exists(x)]
-if len(logdev) != 1:
+if len(logdev) < 1:
 sys.stderr.write("can't initialize log device, bailing out!\n")
 raise SystemExit(1)
 # There's a case for falling back to address = ('localhost', 514)


Bug#663175: signing-party: should depend on libgd-gd2-perl, not only recommend it

2012-03-08 Thread rohieb
Package: signing-party
Version: 1.1.3-1
Severity: normal

After a fresh install of signing-party, I tried to use springgraph:

$ gpg --no-default-keyring --keyring ./today.keyring --list-sigs | sig2dot | 
springgraph
Color.
Can't locate GD.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1
/usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10
/usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/springgraph line 
187.
BEGIN failed--compilation aborted at /usr/bin/springgraph line 187.

To make the springgraph tool more usable, the package should require
libgd-gd2-perl, not only recommend it.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-028stab085.5-ent (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages signing-party depends on:
ii  gnupg  1.4.10-4  GNU privacy guard - a free PGP rep
ii  libc6  2.11.3-2  Embedded GNU C Library: Shared lib
ii  libclass-methodmaker-p 2.15-2Perl module for creating generic m
ii  libgnupg-interface-per 0.42-3Perl interface to GnuPG
ii  libmailtools-perl  2.06-1Manipulate email in perl programs
ii  libmime-tools-perl 5.428-1   Perl5 modules for MIME-compliant m
ii  libterm-readkey-perl   2.30-4A perl module for simple terminal 
ii  libtext-template-perl  1.45-1Text::Template perl module
ii  perl   5.10.1-17squeeze3 Larry Wall's Practical Extraction 
ii  qprint 1.0.dfsg.2-2  encoder and decoder for quoted-pri

Versions of packages signing-party recommends:
ii  dialog  1.1-20100428-1   Displays user-friendly dialog boxe
ii  libgd-gd2-perl  1:2.39-2+b1  Perl module wrapper for libgd - gd
pn  libpaper-utils  none   (no description available)
ii  libtext-iconv-perl  1.7-2converts between character sets in
ii  postfix [mail-transport 2.7.1-1+squeeze1 High-performance mail transport ag
ii  whiptail0.52.11-1Displays user-friendly dialog boxe

Versions of packages signing-party suggests:
pn  imagemagick | graphicsmagick- none (no description available)
pn  mutt  none (no description available)
ii  texlive-latex-recommended 2009-11TeX Live: LaTeX recommended packag
pn  wipe  none (no description available)

-- no debconf information



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



Bug#599714: feed2imap: throws exception while closing IMAP connections

2010-10-10 Thread rohieb
Package: feed2imap
Version: 0.9.3-1
Severity: normal

Everytime I call feed2imap with -v (which is basically everytime I use it), I 
see the following lines at the end:

I, [2010-10-10T14:00:43.865029 #32502]  INFO -- : Finished. Saving cache ...
I, [2010-10-10T14:00:43.924358 #32502]  INFO -- : Closing IMAP connections ...
I, [2010-10-10T14:00:43.960970 #32502]  INFO -- : Exception caught while 
closing connection to imap://rohieb:passw...@localhost: uninitialized constant 
Net::IMAP::SSL

The IMAP server is cyrus-imapd-2.2_2.2.13-14+lenny3.

-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-028stab060.8-ent (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages feed2imap depends on:
ii  libfeedparser-ruby1.8   0.6-1Ruby library to parse ATOM/RSS fee
ii  librmail-ruby1.80.17-1   lightweight mail library for Ruby 
ii  ruby4.2  An interpreter of object-oriented 
ii  ruby1.8 1.8.7.72-3lenny1 Interpreter of object-oriented scr

Versions of packages feed2imap recommends:
pn  libopenssl-ruby1.8none (no description available)

Versions of packages feed2imap suggests:
ii  cyrus-imapd-2.2 [imap-s 2.2.13-14+lenny3 Cyrus mail system (IMAP support)
pn  imap-client none   (no description available)

-- no debconf information



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