Tuesday, April 29, 2008

SBBS: Lintian warning: file-in-unusual-dir

Lintian warning "file-in-unusual-dir" on multiple files being installed to /opt/synchronet
Added Lintian override for Lintian warning file-in-unusual-dir. (r107) to go along with the exiting override for the opt install. (ticket:14)

SBBS: empty-directory opt/synchronet/mods/

Lintian warning: package-contains-empty-directory opt/synchronet/mods/
The mods/ directory is a standard directory but is distributed empty because it is only intended for use by the administrator of the system after SBBS has been installed.
Added Lintian override for empty /opt/synchronet/mods directory, plus an explanation of it. (r106)

Lintian error "dir-or-file-in-opt" on multiple files.

Get the following error when building a 3.14a package:
> dir-or-file-in-opt
* Added lintian override for installing files to /opt. (r99)
* Added note about need for opt install to debian/source.lintian-overrides. (r105)
> Per upstream:
> Synchronet is better suited to a /opt install.
> A huge number of things use relative paths and those paths are almost always
relative to ctrl. A fairly major scrub to replace those would be required.

Lintian warning: windows-thumbnail-database

Lintian warning: windows-thumbnail-database-in-package usr/share/synchronet/web/root/images/nightshade/Thumbs.db
An explanation of the tag:
> There is a file in the package named Thumbs.db or Thumbs.db.gz, which is normally a Windows image thumbnail database. Such databases are generally useless in Debian packages and were usually accidentally included by copying complete directories from the source tarball.
Removed the file from the source archive being used. Add note about deleting web/root/images/nightshade/Thumbs.db to debian/README.source (r104)

Saturday, April 26, 2008

Use /opt/synchronet as the default base install directory?

I hadn't been aware of the extent of the issue with relative paths but had thought there might be something like that present. Because of it, I had been using /usr/lib/synchronet as the install directory for exec/* and then manually using a symlink to a runtime directory in /svr along with symlinks or sub-directories for the rest of the SBBS files and directories. It looks like it may be better, at this time in the development work, to use the /opt/synchronet file layout instead.
* Change to using /opt/synchronet as the main directory. (r94)
* Change to using /opt/synchronet/exec as the main executables directory. (r98)
* Add lintian override for installing files to /opt. (r99)

rpath issue in SBBS Debian builds

Lintian warnings on each executable: binary-or-shlib-defines-rpath
Reference also for a writeup on this issue in Debian.
Note that besides anything else, the rpath being set in the executables by the original build system is not useful because it is a build time path rather than an actual runtime path.

Error at sbbs startup about unable to find

After package installation & initial configuration, the following error comes up when attempting to start sbbs:
* /usr/lib/synchronet/sbbs: error while loading shared libraries: cannot open shared object file: No such file or directory

Wednesday, April 16, 2008

SBBS ITP update

Added a note to the Debian [ITP #418776]( via email as follows:
Note that although the last stable version of Synchronet was v3.14a, the Linux version of that does not compile (reference, for instance, i have therefore been working on packaging v3.15a, which is currently under development.
Information regarding my work in progress is available at:

Syntax error in debian/control: duplicate field Vcs-Browser found

After updating the build system to Debian Testing (lenny), get the following error when attempting a package build:
> dpkg-checkbuilddeps: error: syntax error in debian/control at line 10: duplicate field Vcs-Browser found
Apparantly, only one such line is allowed. Removed extra Vcs-Browser line in debian/control. (r91)