Comment 0 for bug 368566

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

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.

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;