Package: equivs
Version: 2.0.9
Severity: normal

I tried to do something like this:

 [50+1]transitional-foo$ grep '^Files:' control
Files: foo /usr/bin
 [51+1]transitional-foo$ file foo
foo: broken symbolic link to `bar'

The idea was to make a "compatibility" package for bar which would allow
calling /usr/bin/bar as /usr/bin/foo instead (and, more importantly,
would allow the installation of other packages that depend on foo,
without installing the real foo).

Unfortunately equivs gets seriously confused in this situation:
 [40+0]transitional-foo equivs-build control
Cannot copy foo to
 /usr/local/var/git/transitional-sp/equivs.nI3JY_/install/0/foo:\
No such file or directory

When I make foo a trivial shell script instead, it works:
 [52+1]transitional-foo cat foo
#! /bin/sh

exec /usr/bin/bar "$@"
 [53+1]transitional-foo equivs-build control
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `transition-foo' in `../transition-foo_1.0_all.deb'.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!


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

Kernel: Linux 3.4.6-custom (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 equivs depends on:
ii  debhelper  9.20120608
ii  dpkg-dev   1.16.4.3
ii  fakeroot   1.18.4-2
ii  make       3.81-8.2
ii  perl       5.14.2-12

equivs recommends no packages.

equivs suggests no packages.

-- 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

Reply via email to