[Bug 1316810] Re: git-doc: example source snippet is empty in technical/api-hashmap.html

Launchpad Bug Tracker 1316810 at bugs.launchpad.net
Mon May 26 07:52:21 UTC 2014


This bug was fixed in the package git - 1:2.0.0~rc4-1

---------------
git (1:2.0.0~rc4-1) unstable; urgency=low


  * new upstream release candidate.
  * remove source-highlight build dependency since the markup
    requiring it was removed upstream (thx Anders Kaserog;
    LP: #1316810).
  * remove git-bzr package to make room for a package built from
    https://github.com/felipec/git-remote-bzr.
    * debian/control: remove references to git-bzr package.
    * debian/control: remove Build-Depends: bzr, python-bzrlib.
    * debian/rules: remove rules to build, install, and clean
      git-remote-bzr.
    * debian/git-doc.docs: do not install git-remote-bzr.html.
    * debian/git-remote-bzr.txt, debian/git-bzr.postinst,
      debian/git-bzr.prerm, debian/git-bzr.README.Debian: remove.

 -- Jonathan Nieder <jrnieder at gmail.com>  Wed, 21 May 2014 11:34:56
-0700

** Changed in: git (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1316810

Title:
  git-doc: example source snippet is empty in technical/api-hashmap.html

Status in “git” package in Ubuntu:
  Fix Released
Status in “git” package in Debian:
  Fix Released

Bug description:
  Anders Kaseorg reports[1]:

  I noticed this warning while building git-doc:

      ASCIIDOC technical/api-hashmap.html
  /bin/sh: 1: source-highlight: not found
  asciidoc: WARNING: api-hashmap.txt: line 218: filter non-zero exit code: source-highlight -f xhtml -s c: returned 127
  asciidoc: WARNING: api-hashmap.txt: line 218: no output from filter: source-highlight -f xhtml -s c

  (Actually, I noticed it because it’s fatal on very old Ubuntu releases, 
  but never mind that.)  The effect is that the example source snippet under 
  ‘Usage example’ in /usr/share/doc/git-doc/technical/api-hashmap.html shows 
  up as empty.  That snippet was added in v2.0.0-rc0~166^2~16.

  This can be resolved by adding source-highlight as a build dependency.

  [1] http://bugs.debian.org/745591

  This was fixed in Debian, but Ubuntu trusty reverted the fix:

   git (1:2.0.0~rc0-2ubuntu1) utopic; urgency=medium

     * debian/control: Drop source-highlight build dependency.

  Unfortunately that changelog entry doesn't say why the fix was
  reverted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1316810/+subscriptions



More information about the foundations-bugs mailing list