[Pkg-hpijs-devel] Bug#687129: error in clean build env.. hang if not previos hplib, due hard link in line 258 of debian/rules

PICCORO McKAY Lenz mckaygerhard at gmail.com
Mon Sep 10 03:19:39 UTC 2012


Package: hplip
Version: 3.12.2-1
Severity: important

Dear Maintainer, theres a several error in debian rules file..

i'm a dm from venenux backporting extra team

in debian/rules, around line 258:

	install -d ./debian/tmp/usr/sbin/
	ln -s /usr/share/hplip/hpssd.py ./debian/tmp/usr/sbin/hpssd

	# Correct Python interpreter path in all executables
	for file in ./debian/tmp/usr/bin/* ./debian/tmp/usr/sbin/*
./debian/tmp/usr/lib/cups/*/*; do \
	    perl -p -i -e
's:^\s*\#\!/usr/bin/env\s+python.*:#!/usr/bin/python:' `readlink -f
$$file`; \
	done

the linking are bad.. (its suppost ther's no /usr/share/hplib/hpssd.py
right? so then python loop will hang!!!) if link directly here the
python search andreplace will hang in this due innexistence of (a
break link..) if no hplib env are happ..

its better remove this:

	ln -s /usr/share/hplip/hpssd.py ./debian/tmp/usr/sbin/hpssd

and then set using dh_link manualy later ..

if not building this package will hang in this line..


how to reproduce, easy: try to compile in a clean very clean env.. and
so this will hang...

-- System Information:
Debian Release: 6.1
  APT prefers stable
  APT policy: (1000, 'stable'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core)
Locale: LANG=es_VE.UTF-8, LC_CTYPE=es_VE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hplip depends on:
ii  adduser                3.113+nmu1
ii  coreutils              8.13-3
ii  cups                   1.5.2-5
ii  hplip-data             3.12.2-1
ii  libc6                  2.13-27
ii  libcups2               1.5.2-5
ii  libdbus-1-3            1.4.18-1
ii  libhpmud0              3.12.2-1
ii  libsane                1.0.23-1
ii  libsane-hpaio          3.12.2-1
ii  libssl1.0.0            1.0.0g-1
ii  lsb-base               3.2-28.1
ii  policykit-1            0.99-2
ii  printer-driver-hpcups  3.12.2-1
ii  python                 2.7.2-10
ii  python-dbus            0.84.0-3
ii  python-imaging         1.1.7-4
ii  python-pexpect         2.3-1
ii  python-reportlab       2.5-1.1
ii  wget                   1.13.4-2

Versions of packages hplip recommends:
ii  avahi-daemon  0.6.30-6
ii  sane-utils    1.0.22-7

Versions of packages hplip suggests:
pn  hplip-doc              <none>
pn  hplip-gui              <none>
pn  python-notify          0.1.1-3
pn  system-config-printer  <none>

-- no debconf information


-- 
Lenz McKAY Gerardo (PICCORO)
http://qglochekone.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-hpijs-devel/attachments/20120909/2b156edc/attachment.html>


More information about the Pkg-hpijs-devel mailing list