Bug#613372: ocsigen: Fails to start (Findlib package lwt.ssl [...] not found)

2011-02-14 Thread ygrek
Package: ocsigen
Version: 1.3.3-1
Severity: important

Freshly installed ocsigen silenty fails to start:

$ sudo aptitude install ocsigen
[...]
$ sudo invoke-rc.d ocsigen force-start
Starting ocsigen: ocsigen.
$ ps faux | grep ocs | grep -v grep
$ sudo tail /var/log/ocsigen/errors.log
2011-02-14 13:06:40 - Fatal - Findlib package lwt.ssl [while trying to load 
ocsigen.ext.staticmod] not found (Required by `ocsigen.server'): maybe you 
forgot findlib path=.../?

Installing liblwt-ssl-ocaml-dev and restarting fixes the problem.
Better behaviour for the daemon would be to check configs before forking.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ocsigen depends on:
ii  adduser3.110 add and remove users and groups
ii  libc6  2.11.2-7  Embedded GNU C Library: Shared lib
ii  libfindlib-ocaml [libf 1.2.5+debian-1+b1 library for managing OCaml librari
ii  liblwt-ocaml [liblwt-o 2.1.1-1   cooperative light-weight thread li
ii  libocamlnet-ocaml [lib 2.2.9-7+b2OCaml application-level Internet l
ii  libocsigen-ocaml [libo 1.3.3-1   runtime librairies for Ocsigen
ii  libpcre-ocaml [libpcre 6.0.1-3   OCaml bindings for PCRE (runtime)
ii  libpcre3   7.8-3 Perl 5 Compatible Regular Expressi
ii  libssl-ocaml [libssl-o 0.4.4-1   OCaml bindings for OpenSSL (runtim
ii  libssl0.9.80.9.8m-2  SSL shared libraries
ii  ocaml-base-nox [ocaml- 3.11.2-1  Runtime system for OCaml bytecode 
ii  procps 1:3.2.7-11/proc file system utilities
ii  psmisc 22.6-1Utilities that use the proc filesy

ocsigen recommends no packages.

Versions of packages ocsigen suggests:
pn  ocsigen-dev   none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#613372: ocsigen: Fails to start (Findlib package lwt.ssl [...] not found)

2011-02-14 Thread Stéphane Glondu

Le 14/02/2011 13:04, ygrek a écrit :

Freshly installed ocsigen silenty fails to start:

$ sudo aptitude install ocsigen
[...]
$ sudo invoke-rc.d ocsigen force-start
Starting ocsigen: ocsigen.
$ ps faux | grep ocs | grep -v grep
$ sudo tail /var/log/ocsigen/errors.log
2011-02-14 13:06:40 - Fatal - Findlib package lwt.ssl [while trying to load 
ocsigen.ext.staticmod] not found (Required by `ocsigen.server'): maybe you forgotfindlib 
path=.../?

Installing liblwt-ssl-ocaml-dev and restarting fixes the problem.
Better behaviour for the daemon would be to check configs before forking.


Sorry, it's my fault. Even though lwt.ssl is statically linked into 
ocsigen, the findlib machinery still needs all findlib packages to be 
present. The list of built-in packages found in ocsigen_config.ml (which 
I though was removing the need for a dependency at the Debian package 
level) is used only to avoid loading the same library twice...


So indeed, there are missing dependencies to liblwt-ssl-ocaml-dev (and 
also to libocsigen-xhtml-ocaml-dev for that matter).



Cheers,

--
Stéphane



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org