Package: python-central
Version: 0.5.13-0.1
Severity: important

When building a new package, I noticed that the -p doesn't work (bug
378442), and also, dh_pycentral fails when there is a package in the
control file with "++" in the name, like "libplayerc++2".

The combination of these two bugs makes it impossible for me to build
my package :(

Relevant sections of control file:
Package: libplayerc++2
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Networked server for robots and sensors - C++ client
library
 Provides a network interface to a variety of robot and sensor
 hardware.  Player's client/server model allows robot control programs
 to be written in any programming language and to run on any computer
 with a network connection to th e robot. Player supports multiple
 concurrent client connections to devices, creating new possibilities
 for distributed and collaborative sensing and control.
 .
 This package contains the C++ library for interface to Player
servers.
 .
 Homepage: http://playerstage.sourceforge.net/

Package: python-playerc
Provides: ${python:Provides}
Section: python
Architecture: any
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:depends}
XB-Python-Version: ${python:Versions}
Description: Networked server for robots and sensors - python wrapper
 Provides a network interface to a variety of robot and sensor
 hardware.  Player's client/server model allows robot control programs
 to be written in any programming language and to run on any computer
 with a network connection to th e robot. Player supports multiple
 concurrent client connections to devices, creating new possibilities
 for distributed and collaborative sensing and control.
 .
 This package contains the python wrapper module.
 .
 Homepage: http://playerstage.sourceforge.net/

Error message: 
pycentral: pycentral debhelper: missing XB-Python-Version attribute in package 
libplayerc2-dev
pycentral: pycentral debhelper: missing XB-Python-Version attribute in package 
libplayerc++2
Nested quantifiers in regex; marked by <-- HERE in m/^debian/libplayerc++ <-- 
HERE 2/usr/share/doc// at /usr/bin/dh_pycentral line 191.  
make[1]: *** [binary-common] Error 2
make[1]: Leaving directory
`/home/jamuraa/debian-devel/player/player-2.0.4'
make: *** [binary-arch] Error 2

This can be fixed by escaping regex things in the $tmp on line 191
thusly: 

 my $found = 0;
  find sub {
                $tmp2 = $tmp
    $tmp2 =~ s/\+/\\+/g;
    return if $File::Find::dir =~ m|^$tmp2/usr/share/doc/|;
    return unless -f and /\.py$/;
    $found++;
  }, $tmp;

That's how I fixed it for my problem.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18.2 (SMP w/2 CPU cores; PREEMPT)
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 python-central depends on:
ii  python                        2.4.4-5    An interactive high-level object-o

python-central recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to