ikiwiki's debian/rules requires a newer version of debhelper

Bug #368566 reported by David Edmondson
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ikiwiki (Ubuntu)
Fix Released
Medium
Unassigned
Jaunty
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ikiwiki

ikiwiki cannot find its files in /usr/share/ikiwiki as it was built with PREFIX=/usr/local.

It was built with PREFIX=/usr/local because the debian/rules file uses override_dh_auto_configure,
which does not seem to be supported by the version of dh present in Ubuntu.

(I'm new to Debian packaging, so the analysis could be way off.)

Example:
: aw; mkdir /tmp/a /tmp/b
: aw; cd /tmp/a
: aw; touch a.mdwn
: aw; ikiwiki /tmp/a /tmp/b
Can't stat /usr/local/share/ikiwiki/basewiki: No such file or directory
 at /usr/share/perl5/IkiWiki/Render.pm line 320
HTML::Template->new called with multiple (or no) template sources specified! A valid call to new() has exactly one filename => 'file' OR exactly one scalarref => \$scalar OR exactly one arrayref => \@array OR exactly one filehandle => *FH at /usr/share/perl5/IkiWiki.pm line 1566
: aw;

Note the path referenced: /usr/local/share/ikiwiki/basewiki. The files are actually in /usr/share/ikiwiki.
: aw; lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
: aw; apt-cache show ikiwiki
Package: ikiwiki
Priority: optional
Section: universe/web
Installed-Size: 4768
Maintainer: Ubuntu MOTU Developers <email address hidden>
Original-Maintainer: Joey Hess <email address hidden>
Architecture: all
Version: 3.09ubuntu1
Replaces: ikiwiki-plugin-table
Provides: ikiwiki-plugin-table
Depends: perl (>= 5.6.0-16), libtext-markdown-perl | markdown, libhtml-scrubber-perl, libhtml-template-perl, libhtml-parser-perl, liburi-perl
Recommends: gcc | c-compiler, libc6-dev | libc-dev, subversion | git-core (>= 1:1.5.0) | tla | bzr (>= 0.91) | mercurial | monotone (>= 0.38), libxml-simple-perl, libnet-openid-consumer-perl, liblwpx-paranoidagent-perl, libtimedate-perl, libcgi-formbuilder-perl (>= 3.05), libcgi-session-perl (>= 4.14-1), libmail-sendmail-perl, libauthen-passphrase-perl, libterm-readline-gnu-perl
Suggests: viewvc | gitweb | viewcvs, libsearch-xapian-perl, xapian-omega (>= 1.0.5), librpc-xml-perl, libtext-wikiformat-perl, python, python-docutils, polygen, tidy, libhtml-tree-perl, libxml-feed-perl, libmailtools-perl, perlmagick, libfile-mimeinfo-perl, libcrypt-ssleay-perl, liblocale-gettext-perl (>= 1.05-1), libtext-typography-perl, libtext-csv-perl, libdigest-sha1-perl, graphviz, libnet-amazon-s3-perl, sparkline-php, texlive, dvipng, libtext-wikicreole-perl, libsort-naturally-perl, libtext-textile-perl
Conflicts: ikiwiki-plugin-table
Filename: pool/universe/i/ikiwiki/ikiwiki_3.09ubuntu1_all.deb
Size: 802806
MD5sum: 8c8d6b174ea6f0513f9858813076295a
SHA1: 92e102b9e96f1f2a81f683df4d0a79de469c9247
SHA256: 1a6c159827a288c4eff7f31f243bcf752f9a54e29b44259ef29a9905b4c3f68a
Description: a wiki compiler
 ikiwiki converts a directory full of wiki pages into HTML pages suitable
 for publishing on a website. Unlike many wikis, ikiwiki does not have its
 own ad-hoc means of storing page history, and instead uses a revision control
 system such as Subversion or Git.
 .
 ikiwiki implements all of the other standard features of a wiki, including
 web-based page editing, user registration and logins, a RecentChanges
 page, BackLinks, search, Discussion pages, tags, smart merging and conflict
 resolution, and page locking.
 .
 ikiwiki also supports generating news feeds (RSS and Atom) and blogging.
 ikiwiki provides a plugin system which allows many other features to be
 added. Some of the plugins have additional dependencies, found among the
 Recommends and Suggests of this package.
Homepage: http://ikiwiki.info/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

: aw;

David Edmondson (dme)
description: updated
Changed in ikiwiki (Ubuntu):
assignee: nobody → Alessio Treglia (quadrispro)
status: New → In Progress
Changed in ikiwiki (Ubuntu):
assignee: Alessio Treglia (quadrispro) → nobody
importance: Undecided → Medium
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ikiwiki - 3.10ubuntu1

---------------
ikiwiki (3.10ubuntu1) karmic; urgency=low

  * Merge from debian unstable, Ubuntu remaining changes (fixes LP: #368566):
    - Drop wdg-html-validator from Build-Depends field. The xmlns set in the
      generated <html> elements causes /usr/bin/validate to attempt to download
      a file from w3.org. This doesn't work without Internet access.

ikiwiki (3.10) unstable; urgency=low

  * darcs: Finally added support for this VCS, thanks to many
    contributors:
    - Thomas Schwinge wrote the original file, implementing only rcs_commit.
    - Benjamin A'Lee contributed an alternative implementation.
    - Tuomo Valkonen contributed rcs_getctime and stub rcs_recentchanges.
    - Simon Michael contributed multiple changes.
    - Petr Ročkai fixed rcs_recentchanges.
    - Sven M. Hallberg merged the above and added missing features.
  * Add missing newline to Confirm Password prompt.
  * Add missing permalink support to archivepage and titlepage templates.
  * debian/control: Wrap fields.
  * inline: Add author info to archive display.
  * Add a microblog template that is useful for inlining microblogging posts.

 -- Alessio Treglia <email address hidden> Tue, 28 Apr 2009 15:11:32 +0200

Changed in ikiwiki (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
David Edmondson (dme) wrote :

Thanks for the quick attention.

The fix works well for Karmic (tested), though simply creating 3.09ubuntu2 with no changes would also
have worked (as it would have caused a rebuild with the newer debhelper).

How should this bug be fixed for Jaunty?

Revision history for this message
David Edmondson (dme) wrote :

Attached are diffs based on the approach of reverting debian/control to one which doesn't
rely on a post 7.0 version of debhelper. Perhaps this is the right approach?

Two diffs are here:
- ikiwiki.full.diff: full output from debdiff,
- ikiwiki.diff: output from debdiff --exclude \*.pot --exclude \*.po, as it's much easier to read.

Revision history for this message
David Edmondson (dme) wrote :
Revision history for this message
David Edmondson (dme) wrote :

Proposed fix, tested on Jaunty, built and tested in accordance with the pbuilder
guidelines and debdiff recipe.

Changed in ikiwiki (Ubuntu Jaunty):
assignee: nobody → David Edmondson (dme)
status: New → In Progress
Revision history for this message
Alessio Treglia (quadrispro) wrote :

Hi David!

I've just tuned a bit your debdiff, it looks good. Subscribing motu-sru.

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Hi David!

I've just tuned a bit your debdiff, it looks good. Subscribing motu-sru.

Changed in ikiwiki (Ubuntu Jaunty):
importance: Undecided → Medium
status: In Progress → Confirmed
assignee: David Edmondson (dme) → nobody
Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

motu-sru ACK.

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Uploaded, sitting in the queue.

Changed in ikiwiki (Ubuntu Jaunty):
status: Confirmed → Fix Committed
Revision history for this message
Scott Kitterman (kitterman) wrote :

Accepted into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in ikiwiki (Ubuntu Jaunty):
status: Fix Committed → In Progress
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
David Edmondson (dme) wrote :

With jaunty-proposed enabled the updated package doesn't appear. Is it possible to look at
build logs or something similar?

Revision history for this message
David Edmondson (dme) wrote :

Confirm that 3.09ubuntu1.1 in jaunty-proposed fixes this for me.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ikiwiki - 3.09ubuntu1.1

---------------
ikiwiki (3.09ubuntu1.1) jaunty-proposed; urgency=low

  * Revert to older debian/rules to accomodate older debhelper (LP: #368566).
  * Remove dependency on ${misc:Depends} to accomodate older debhelper.

 -- David Edmondson <email address hidden> Thu, 30 Apr 2009 09:41:29 +0100

Changed in ikiwiki (Ubuntu Jaunty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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