Package: nano
Version: 1.3.7-2
Severity: normal

nano (1.3.7-2) unstable; urgency=low

  * debian/rules:
    - merge a lost change from 1.2.4-4. On hurd-i386 systems, don't ship
      the /usr/bin/nano -> /bin/nano link, as the system might have the
      /usr . -> symlink (closes: #314268).

However, this seems to be happening on non-hurd systems too.

Here's the location in the debian/rules file:

        dh_link                 -p$@
ifneq (,$(findstring gnu,$(DEB_HOST_GNU_SYSTEM)))
        rm -rf debian/nano/usr/bin
endif

Now, that really ought to work as dpkg-architecture gives:

$ dpkg-architecture -qDEB_HOST_GNU_SYSTEM
linux-gnu

However...

$ dpkg --contents nano_1.3.7-2_i386.deb | grep -- -\>
lrwxrwxrwx root/root         0 2005-06-16 09:20:23 
./usr/share/man/man1/pico.1.gz -> nano.1.gz
lrwxrwxrwx root/root         0 2005-06-16 09:20:23 
./usr/share/locale/no/LC_MESSAGES/nano.mo -> ../../nb/LC_MESSAGES/nano.mo
lrwxrwxrwx root/root         0 2005-06-16 09:20:23 ./bin/rnano -> nano
$

Let's see what happens when I build it myself...

....
dh_testdir
dh_testroot
dh_installdocs          -pnano
dh_installexamples      -pnano
dh_installmenu          -pnano
dh_installman           -pnano
dh_installinfo doc/texinfo/nano.info
rm -f debian/nano/usr/share/info/dir \
        debian/nano/usr/share/info/dir.old
dh_installchangelogs ChangeLog  -pnano
dh_link                 -pnano
rm -rf debian/nano/usr/bin
dh_strip                -pnano
dh_compress             -pnano
....

Something's wrong here.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages nano depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libncursesw5                5.4-6        Shared libraries for terminal hand

nano recommends no packages.

Versions of packages nano is related to:
ii  reportbug                     3.13       reports bugs in the Debian distrib
pn  totem-gstreamer               <none>     (no description available)

-- no debconf information


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

Reply via email to