python-docutils: rest2html and rest2xml are dangling links

Bug #10282 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
python-docutils (Debian)
Fix Released
Unknown
python-docutils (Ubuntu)
Fix Released
High
Matthias Klose

Bug Description

Automatically imported from Debian bug report #280838 http://bugs.debian.org/280838

Revision history for this message
In , Benjamin Mako Hill (mako) wrote : Re: Bug#280838: python-docutils: rest2html and rest2xml are dangling links

tags 280838 patch
thanks

On Fri, Nov 12, 2004 at 12:46:20AM +0100, Lukasz Pankowski wrote:
>
> Package: python-docutils
> Version: 0.3.5-1
> Severity: normal
>
> /usr/bin/rest2html and /usr/bin/rest2xml are dangling links.

Yeah, upstream changed the the name of the executables. I ran into
this in my package. The links should be changed to:

 ../share/python-docutils/rst2html.py
 ../share/python-docutils/rst2xml.py

I've attached a patch. The whitespace change is intentional (if
pedantic). :)

Regards,
Mako

--
Benjamin Mako Hill
<email address hidden>
http://mako.yukidoke.org/

Revision history for this message
In , Matthias Klose (doko-cs) wrote : renaming / dangling symlink breaks build of other packages

severity 280838 serious
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #280838 http://bugs.debian.org/280838

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 12 Nov 2004 00:46:20 +0100
From: Lukasz Pankowski <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: python-docutils: rest2html and rest2xml are dangling links

Package: python-docutils
Version: 0.3.5-1
Severity: normal

/usr/bin/rest2html and /usr/bin/rest2xml are dangling links.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-k7
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages python-docutils depends on:
ii python 2.3.4-4 An interactive high-level object-o
ii python2.3-docutils 0.3.5-1 Dependency package for python-docu

-- no debconf information
--

=*= Lukasz Pankowski =*=

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20041112004846.GY13744@nozomi>
Date: Thu, 11 Nov 2004 19:48:46 -0500
From: "Benj. Mako Hill" <email address hidden>
To: Lukasz Pankowski <email address hidden>, <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#280838: python-docutils: rest2html and rest2xml are dangling links

--lx6+J6gHrzwEpYNy
Content-Type: multipart/mixed; boundary="HFD/Dq8JdnjNvyuv"
Content-Disposition: inline

--HFD/Dq8JdnjNvyuv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tags 280838 patch
thanks

On Fri, Nov 12, 2004 at 12:46:20AM +0100, Lukasz Pankowski wrote:
>=20
> Package: python-docutils
> Version: 0.3.5-1
> Severity: normal
>=20
> /usr/bin/rest2html and /usr/bin/rest2xml are dangling links.

Yeah, upstream changed the the name of the executables. I ran into
this in my package. The links should be changed to:

 ../share/python-docutils/rst2html.py
 ../share/python-docutils/rst2xml.py

I've attached a patch. The whitespace change is intentional (if
pedantic). :)

Regards,
Mako

--=20
Benjamin Mako Hill
<email address hidden>
http://mako.yukidoke.org/

--HFD/Dq8JdnjNvyuv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="rstsymlinks.diff"
Content-Transfer-Encoding: quoted-printable

--- rules.old 2004-11-11 19:40:46.000000000 -0500
+++ rules 2004-11-11 19:42:57.000000000 -0500
@@ -33,7 +33,7 @@
  dh_clean -k
  dh_installdirs
  -mkdir -p $(d)/usr/bin
-=09
+
  : # Install Python files
  @mkdir -p debian/tmp
  $(PYTHON) setup.py install \
@@ -58,8 +58,8 @@
  : # link scripts to canonical names in /usr/bin
  -mkdir -p $(d)/usr/bin
  cd $(d)/usr/bin && \
- ln -s ../share/python-docutils/html.py rest2html && \
- ln -s ../share/python-docutils/docutils-xml.py rest2xml && \
+ ln -s ../share/python-docutils/rst2html.py rest2html && \
+ ln -s ../share/python-docutils/rst2xml.py rest2xml && \
  ln -s ../share/python-docutils/pep.py pep2html && \
  ln -s ../share/python-docutils/rst2latex.py rest2latex
=20

--HFD/Dq8JdnjNvyuv--

--lx6+J6gHrzwEpYNy
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBlAhuic1LIWB1WeYRAnkVAKCuq2Da7neKdRp5X/CrOKdSXM6eyACgvHBD
lNXbNnlenq3Mu2uYSOCNWx4=
=E/f2
-----END PGP SIGNATURE-----

--lx6+J6gHrzwEpYNy--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 14 Nov 2004 11:52:01 +0100
From: Matthias Klose <email address hidden>
To: <email address hidden>
Subject: renaming / dangling symlink breaks build of other packages

severity 280838 serious
thanks

Revision history for this message
In , Matthias Urlichs (smurf) wrote : Bug#280838: fixed in python-docutils 0.3.5-2
Download full text (3.7 KiB)

Source: python-docutils
Source-Version: 0.3.5-2

We believe that the bug you reported is fixed in the latest version of
python-docutils, which is due to be installed in the Debian FTP archive:

python-docutils_0.3.5-2.diff.gz
  to pool/main/p/python-docutils/python-docutils_0.3.5-2.diff.gz
python-docutils_0.3.5-2.dsc
  to pool/main/p/python-docutils/python-docutils_0.3.5-2.dsc
python-docutils_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python-docutils_0.3.5-2_all.deb
python-roman_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python-roman_0.3.5-2_all.deb
python2.1-difflib_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python2.1-difflib_0.3.5-2_all.deb
python2.1-textwrap_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python2.1-textwrap_0.3.5-2_all.deb
python2.2-docutils_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python2.2-docutils_0.3.5-2_all.deb
python2.2-textwrap_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python2.2-textwrap_0.3.5-2_all.deb
python2.3-docutils_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python2.3-docutils_0.3.5-2_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Urlichs <email address hidden> (supplier of updated python-docutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Changed-By: Matthias Urlichs <email address hidden>
Date: Tue, 16 Nov 2004 16:31:27 +0100
Version: 0.3.5-2
Distribution: unstable
Source: python-docutils
Urgency: medium
Maintainer: Matthias Urlichs <email address hidden>
Binary: python-docutils python-roman python2.1-difflib python2.1-textwrap python2.2-docutils python2.2-textwrap python2.3-docutils
Architecture: all source
Closes: 280838 281175
Changes:
 python-docutils (0.3.5-2) unstable; urgency=medium
 .
   * Fix bad symlinks. Closes: #280838
   * Change #!env python => #!python. Closes: #281175
Description:
 python2.1-difflib - A module for computing deltas between objects
 python2.3-docutils - Dependency package for python-docutils with Python 2.3
 python2.1-textwrap - A module for wrapping text
 python-docutils - Utilities for the documentation of Python modules
 python2.2-docutils - Dependency package for python-docutils with Python 2.2
 python-roman - A module for generating/analyzing Roman numerals
 python2.2-textwrap - A module for wrapping text
Files:
 2fb78713aa1e9a95f3ea6a8f4ca7f609 739 python optional python-docutils_0.3.5-2.dsc
 79e30567187546be0c426048fd89e699 20132 python optional python2.1-difflib_0.3.5-2_all.deb
 f6741c1e547f547f53846214d9f74e50 8788 python optional python2.2-textwrap_0.3.5-2_all.deb
 04450ad6b262f6f4314ef1360eadf95a 9158 python optional python-roman_0.3.5-2_all.deb
 eb0e9e3dc238f1c4a4b003774ebc977d 28290 python optional python-docutils_0.3.5-2.diff.gz
 9b794004...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.9 KiB)

Message-Id: <email address hidden>
Date: Tue, 16 Nov 2004 13:47:14 -0500
From: Matthias Urlichs <email address hidden>
To: <email address hidden>
Subject: Bug#280838: fixed in python-docutils 0.3.5-2

Source: python-docutils
Source-Version: 0.3.5-2

We believe that the bug you reported is fixed in the latest version of
python-docutils, which is due to be installed in the Debian FTP archive:

python-docutils_0.3.5-2.diff.gz
  to pool/main/p/python-docutils/python-docutils_0.3.5-2.diff.gz
python-docutils_0.3.5-2.dsc
  to pool/main/p/python-docutils/python-docutils_0.3.5-2.dsc
python-docutils_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python-docutils_0.3.5-2_all.deb
python-roman_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python-roman_0.3.5-2_all.deb
python2.1-difflib_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python2.1-difflib_0.3.5-2_all.deb
python2.1-textwrap_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python2.1-textwrap_0.3.5-2_all.deb
python2.2-docutils_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python2.2-docutils_0.3.5-2_all.deb
python2.2-textwrap_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python2.2-textwrap_0.3.5-2_all.deb
python2.3-docutils_0.3.5-2_all.deb
  to pool/main/p/python-docutils/python2.3-docutils_0.3.5-2_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Urlichs <email address hidden> (supplier of updated python-docutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Changed-By: Matthias Urlichs <email address hidden>
Date: Tue, 16 Nov 2004 16:31:27 +0100
Version: 0.3.5-2
Distribution: unstable
Source: python-docutils
Urgency: medium
Maintainer: Matthias Urlichs <email address hidden>
Binary: python-docutils python-roman python2.1-difflib python2.1-textwrap python2.2-docutils python2.2-textwrap python2.3-docutils
Architecture: all source
Closes: 280838 281175
Changes:
 python-docutils (0.3.5-2) unstable; urgency=medium
 .
   * Fix bad symlinks. Closes: #280838
   * Change #!env python => #!python. Closes: #281175
Description:
 python2.1-difflib - A module for computing deltas between objects
 python2.3-docutils - Dependency package for python-docutils with Python 2.3
 python2.1-textwrap - A module for wrapping text
 python-docutils - Utilities for the documentation of Python modules
 python2.2-docutils - Dependency package for python-docutils with Python 2.2
 python-roman - A module for generating/analyzing Roman numerals
 python2.2-textwrap - A module for wrapping text
Files:
 2fb78713aa1e9a95f3ea6a8f4ca7f609 739 python optional python-docutils_0.3.5-2.dsc
 79e30567187546be0c426048fd89e699 20132 python optional python2.1-difflib_0.3.5-2_all.deb
 f6741c1e547f547f53846214d9f74e50 8788 python option...

Read more...

Revision history for this message
Matthias Klose (doko) wrote :

fixed in 0.3.5-2

Changed in python-docutils:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.