GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Groups
  • Sign in
  • Conversations
  • About
  • Send feedback

This view

  • Original page
  • New address

GeezerVison is showing groups.google.com — Bug#1013395: mpdecimal: FTBFS with Sphinx 5.0, docutils 0.18: make[1]: *** [debian/rules:60: override_dh_sphinxdoc] Error 255

Groups
Groups

Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more





Bug#1013395: mpdecimal: FTBFS with Sphinx 5.0, docutils 0.18: make[1]: *** [debian/rules:60: override_dh_sphinxdoc] Error 255

14 views
Skip to first unread message

Lucas Nussbaum's profile photo

Lucas Nussbaum

unread,
Jun 23, 2022, 3:00:06 AM6/23/22


Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Source: mpdecimal
Version: 2.5.1-2
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: sphinx5.0

Hi,

mpdecimal fails to build with Sphinx 5.0 and docutils 0.18, both of which
are currently available in experimental.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf debian/tmp/usr/share/doc/mpdecimal/libmpdec++/_static
> ln -sf ../libmpdec/_static debian/tmp/usr/share/doc/mpdecimal/libmpdec++/_static
> rm -f debian/tmp/usr/share/doc/mpdecimal/libmpdec/_static/{doctools,jquery,searchtools,sidebar,underscore}.js
> cp -p /usr/share/javascript/sphinxdoc/1.0/{doctools,jquery,searchtools,sidebar,underscore}.js \
> debian/tmp/usr/share/doc/mpdecimal/libmpdec/_static/.
> cp -a debian/tmp/usr/share/doc/mpdecimal/* \
> debian/libmpdec-doc/usr/share/doc/libmpdec-doc
> rm -f debian/libmpdec-doc/usr/share/doc/libmpdec-doc/LICENSE*
> rm -f debian/libmpdec-doc/usr/share/doc/libmpdec-doc/INSTALL*
> dh_sphinxdoc
> unexpected end of string while parsing JSON string, at character offset 2 (before "ocnames:["arithmetic...") at /usr/bin/dh_sphinxdoc line 245.
> make[1]: *** [debian/rules:60: override_dh_sphinxdoc] Error 255


The full build log is available from:
http://qa-logs.debian.net/2022/06/23/mpdecimal_2.5.1-2_unstable_sphinx-exp.log

Please see [1] for Sphinx changelog and [2] for Docutils changelog.

Also see [3] for the list of deprecated/removed APIs in Sphinx and possible
alternatives to them.

In case you have questions, please Cc [email protected] on reply.

[1]: https://www.sphinx-doc.org/en/master/changes.html
[2]: https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.18.1:/RELEASE-NOTES.txt
[3]: https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=sphinx5.0;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx5.0&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
Dmitry Shachnev's profile photo

Dmitry Shachnev

unread,
Dec 3, 2022, 6:00:04 AM12/3/22


Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
On Thu, Jun 23, 2022 at 08:43:09AM +0200, Lucas Nussbaum wrote:
> mpdecimal fails to build with Sphinx 5.0 and docutils 0.18, both of which
> are currently available in experimental.
>
> Relevant part (hopefully):
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > rm -rf debian/tmp/usr/share/doc/mpdecimal/libmpdec++/_static
> > ln -sf ../libmpdec/_static debian/tmp/usr/share/doc/mpdecimal/libmpdec++/_static
> > rm -f debian/tmp/usr/share/doc/mpdecimal/libmpdec/_static/{doctools,jquery,searchtools,sidebar,underscore}.js
> > cp -p /usr/share/javascript/sphinxdoc/1.0/{doctools,jquery,searchtools,sidebar,underscore}.js \
> > debian/tmp/usr/share/doc/mpdecimal/libmpdec/_static/.
> > cp -a debian/tmp/usr/share/doc/mpdecimal/* \
> > debian/libmpdec-doc/usr/share/doc/libmpdec-doc
> > rm -f debian/libmpdec-doc/usr/share/doc/libmpdec-doc/LICENSE*
> > rm -f debian/libmpdec-doc/usr/share/doc/libmpdec-doc/INSTALL*
> > dh_sphinxdoc
> > unexpected end of string while parsing JSON string, at character offset 2 (before "ocnames:["arithmetic...") at /usr/bin/dh_sphinxdoc line 245.
> > make[1]: *** [debian/rules:60: override_dh_sphinxdoc] Error 255

This happens because mpdecimal does not rebuild documentation from source,
but installs pre-built files provided by upstream.

dh_sphinxdoc only supports the current Sphinx version, not the old version
used by upstream. I recommend to rebuild the documentation from source.

If you do this you also won't need to manually copy JS files.

--
Dmitry Shachnev

signature.asc

Stefan Krah's profile photo

Stefan Krah

unread,
Jan 2, 2024, 6:00:05 PM1/2/24


Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to

The patch was slightly messed up. Attaching a new version.

mpdecimal-sphinxdoc.diff


0 new messages

Search
Clear search
Close search
Google apps
Main menu
You are visitor 01402605 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.