pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54161: Package py-rst2pdf lacks all styles in pkgsrc-current.



>Number:         54161
>Category:       pkg
>Synopsis:       Package py-rst2pdf lacks all styles in pkgsrc-current.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 05 08:15:00 +0000 2019
>Originator:     Lars-Johan Liman
>Release:        pkgsrc-current
>Organization:
Cafax AB
>Environment:
Darwin hostname.liman.net 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
>Description:
The package py-rst2pdf, which is a handy text-to-PDF converter, was recently upgraded from ver 0.93 to 0.94 in pkgsrc-current. (It seems as the installation procedure was also changed.) In doing so, the PLIST file was severely "damaged". The package used to contain a substantial set of necessary (vital) "styles". All styles were "lost" in the transition rendering the package totally useless. It crashes on the mere attempt at executing it.

Please check what went wrong and update the PLIST file as appropriate.

Here's the diff between pkgsrc/textproc/py-rst2pdf/PLIST files version 1.2 and 1.3. You can see that the entire "/styles/" subtree has been removed for non-obvious reasons. ;-)

Cheers,
  /Liman


% diff -Naur PLIST-1.*
--- PLIST-1.1	2017-03-16 21:00:39.000000000 +0100
+++ PLIST-1.2	2019-04-03 17:23:24.000000000 +0200
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/16 20:00:39 darcy Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/04/03 15:23:24 adam Exp $
 bin/rst2pdf-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -18,6 +18,9 @@
 ${PYSITELIB}/rst2pdf/config.py
 ${PYSITELIB}/rst2pdf/config.pyc
 ${PYSITELIB}/rst2pdf/config.pyo
+${PYSITELIB}/rst2pdf/counter_off_role.py
+${PYSITELIB}/rst2pdf/counter_off_role.pyc
+${PYSITELIB}/rst2pdf/counter_off_role.pyo
 ${PYSITELIB}/rst2pdf/counter_role.py
 ${PYSITELIB}/rst2pdf/counter_role.pyc
 ${PYSITELIB}/rst2pdf/counter_role.pyo
@@ -66,8 +69,6 @@
 ${PYSITELIB}/rst2pdf/image.py
 ${PYSITELIB}/rst2pdf/image.pyc
 ${PYSITELIB}/rst2pdf/image.pyo
-${PYSITELIB}/rst2pdf/images/image-missing.jpg
-${PYSITELIB}/rst2pdf/images/image-missing.png
 ${PYSITELIB}/rst2pdf/languages.py
 ${PYSITELIB}/rst2pdf/languages.pyc
 ${PYSITELIB}/rst2pdf/languages.pyo
@@ -83,6 +84,9 @@
 ${PYSITELIB}/rst2pdf/nodehandlers.py
 ${PYSITELIB}/rst2pdf/nodehandlers.pyc
 ${PYSITELIB}/rst2pdf/nodehandlers.pyo
+${PYSITELIB}/rst2pdf/noop_directive.py
+${PYSITELIB}/rst2pdf/noop_directive.pyc
+${PYSITELIB}/rst2pdf/noop_directive.pyo
 ${PYSITELIB}/rst2pdf/oddeven_directive.py
 ${PYSITELIB}/rst2pdf/oddeven_directive.pyc
 ${PYSITELIB}/rst2pdf/oddeven_directive.pyo
@@ -92,9 +96,6 @@
 ${PYSITELIB}/rst2pdf/pdfbuilder.py
 ${PYSITELIB}/rst2pdf/pdfbuilder.pyc
 ${PYSITELIB}/rst2pdf/pdfbuilder.pyo
-${PYSITELIB}/rst2pdf/pygments2json.py
-${PYSITELIB}/rst2pdf/pygments2json.pyc
-${PYSITELIB}/rst2pdf/pygments2json.pyo
 ${PYSITELIB}/rst2pdf/pygments2style.py
 ${PYSITELIB}/rst2pdf/pygments2style.pyc
 ${PYSITELIB}/rst2pdf/pygments2style.pyo
@@ -110,87 +111,15 @@
 ${PYSITELIB}/rst2pdf/sinker.py
 ${PYSITELIB}/rst2pdf/sinker.pyc
 ${PYSITELIB}/rst2pdf/sinker.pyo
-${PYSITELIB}/rst2pdf/smartypants.py
-${PYSITELIB}/rst2pdf/smartypants.pyc
-${PYSITELIB}/rst2pdf/smartypants.pyo
 ${PYSITELIB}/rst2pdf/sphinxnodes.py
 ${PYSITELIB}/rst2pdf/sphinxnodes.pyc
 ${PYSITELIB}/rst2pdf/sphinxnodes.pyo
 ${PYSITELIB}/rst2pdf/styles.py
 ${PYSITELIB}/rst2pdf/styles.pyc
 ${PYSITELIB}/rst2pdf/styles.pyo
-${PYSITELIB}/rst2pdf/styles/11x17.style
-${PYSITELIB}/rst2pdf/styles/a0.style
-${PYSITELIB}/rst2pdf/styles/a1-landscape.style
-${PYSITELIB}/rst2pdf/styles/a1.style
-${PYSITELIB}/rst2pdf/styles/a2-landscape.style
-${PYSITELIB}/rst2pdf/styles/a2.style
-${PYSITELIB}/rst2pdf/styles/a3-landscape.style
-${PYSITELIB}/rst2pdf/styles/a3.style
-${PYSITELIB}/rst2pdf/styles/a4-landscape.style
-${PYSITELIB}/rst2pdf/styles/a4.style
-${PYSITELIB}/rst2pdf/styles/a5-landscape.style
-${PYSITELIB}/rst2pdf/styles/a5.style
-${PYSITELIB}/rst2pdf/styles/a6-landscape.style
-${PYSITELIB}/rst2pdf/styles/a6.style
-${PYSITELIB}/rst2pdf/styles/autumn.style
-${PYSITELIB}/rst2pdf/styles/b0.style
-${PYSITELIB}/rst2pdf/styles/b1-landscape.style
-${PYSITELIB}/rst2pdf/styles/b1.style
-${PYSITELIB}/rst2pdf/styles/b2-landscape.style
-${PYSITELIB}/rst2pdf/styles/b2.style
-${PYSITELIB}/rst2pdf/styles/b3-landscape.style
-${PYSITELIB}/rst2pdf/styles/b3.style
-${PYSITELIB}/rst2pdf/styles/b4-landscape.style
-${PYSITELIB}/rst2pdf/styles/b4.style
-${PYSITELIB}/rst2pdf/styles/b5-landscape.style
-${PYSITELIB}/rst2pdf/styles/b5.style
-${PYSITELIB}/rst2pdf/styles/b6-landscape.style
-${PYSITELIB}/rst2pdf/styles/b6.style
-${PYSITELIB}/rst2pdf/styles/borland.style
-${PYSITELIB}/rst2pdf/styles/bw.style
-${PYSITELIB}/rst2pdf/styles/colorful.style
-${PYSITELIB}/rst2pdf/styles/debugtables.style
-${PYSITELIB}/rst2pdf/styles/default.style
-${PYSITELIB}/rst2pdf/styles/dejavu.style
-${PYSITELIB}/rst2pdf/styles/double-sided.style
-${PYSITELIB}/rst2pdf/styles/eightpoint.style
-${PYSITELIB}/rst2pdf/styles/emacs.style
-${PYSITELIB}/rst2pdf/styles/freetype-sans.style
-${PYSITELIB}/rst2pdf/styles/freetype-serif.style
-${PYSITELIB}/rst2pdf/styles/friendly.style
-${PYSITELIB}/rst2pdf/styles/fruity.style
-${PYSITELIB}/rst2pdf/styles/kerning.style
-${PYSITELIB}/rst2pdf/styles/legal.style
-${PYSITELIB}/rst2pdf/styles/letter-landscape.style
-${PYSITELIB}/rst2pdf/styles/letter.style
-${PYSITELIB}/rst2pdf/styles/manni.style
-${PYSITELIB}/rst2pdf/styles/monokai.style
-${PYSITELIB}/rst2pdf/styles/murphy.style
-${PYSITELIB}/rst2pdf/styles/native.style
-${PYSITELIB}/rst2pdf/styles/no-compact-lists.style
-${PYSITELIB}/rst2pdf/styles/pastie.style
-${PYSITELIB}/rst2pdf/styles/perldoc.style
-${PYSITELIB}/rst2pdf/styles/serif.style
-${PYSITELIB}/rst2pdf/styles/sphinx.style
-${PYSITELIB}/rst2pdf/styles/styles.style
-${PYSITELIB}/rst2pdf/styles/tango.style
-${PYSITELIB}/rst2pdf/styles/tenpoint.style
-${PYSITELIB}/rst2pdf/styles/trac.style
-${PYSITELIB}/rst2pdf/styles/twelvepoint.style
-${PYSITELIB}/rst2pdf/styles/twocolumn.style
-${PYSITELIB}/rst2pdf/styles/vs.style
 ${PYSITELIB}/rst2pdf/svgimage.py
 ${PYSITELIB}/rst2pdf/svgimage.pyc
 ${PYSITELIB}/rst2pdf/svgimage.pyo
-${PYSITELIB}/rst2pdf/templates/cover.tmpl
-${PYSITELIB}/rst2pdf/templates/sphinxcover.tmpl
-${PYSITELIB}/rst2pdf/tenjin.py
-${PYSITELIB}/rst2pdf/tenjin.pyc
-${PYSITELIB}/rst2pdf/tenjin.pyo
-${PYSITELIB}/rst2pdf/uniconvsaver.py
-${PYSITELIB}/rst2pdf/uniconvsaver.pyc
-${PYSITELIB}/rst2pdf/uniconvsaver.pyo
 ${PYSITELIB}/rst2pdf/utils.py
 ${PYSITELIB}/rst2pdf/utils.pyc
 ${PYSITELIB}/rst2pdf/utils.pyo
>How-To-Repeat:
Install py27-rst2pdf from pkgsrc-current.

rst2pdf-2.7 --print-stylesheet

(Watch the stack trace unfold ... ;-) )

(NOTE! that the problem is unrelated to OS platform. I happen to run Darwin with packages from Joyent on the machine where I noted this, but the same issue will obviously arise also on other platforms.)
>Fix:
I don't know how the PLIST files are generated, but reverting to something close to the previous version of the PLIST file is likely to improve things ... ;-)



Home | Main Index | Thread Index | Old Index