[hardy] Package pycaml has unmet dependencies

Bug #197216 reported by David MENTRÉ
10
Affects Status Importance Assigned to Milestone
pycaml (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Undecided
Unassigned

Bug Description

Hello,

Package pycaml cannot be installed:
The following packages have unmet dependencies:
  pycaml: Depends: ocaml-base-nox-3.09.2 but it is not installable
E: Broken packages

Complete test:

(hardy-chroot)root@morgana:/root# apt-get update
Hit http://security.ubuntu.com hardy-security Release.gpg
Hit http://fr.archive.ubuntu.com hardy Release.gpg
Hit http://archive.ubuntu.com hardy Release.gpg
Hit http://security.ubuntu.com hardy-security Release
Hit http://fr.archive.ubuntu.com hardy Release
Hit http://archive.ubuntu.com hardy Release
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://fr.archive.ubuntu.com hardy/universe Packages
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://fr.archive.ubuntu.com hardy/multiverse Packages
Reading package lists... Done

(hardy-chroot)root@morgana:/root# apt-get install pycaml
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  pycaml: Depends: ocaml-base-nox-3.09.2 but it is not installable
E: Broken packages

Revision history for this message
Michael Bienia (geser) wrote :

Here is the proposed patch for hardy-updates:

pycaml (0.82-7ubuntu0.1) hardy-proposed; urgency=low

  * Fix FTBFS (and thus make the package installable again) by backporting
    a patch from pycaml 0.82-8 (LP: #197216).
  * Apply fix from Debian OCaml Group SVN (rev 5688):
    + Add missing dependency on ocaml-interp to pycaml.
    + Move dllpycaml_stubs.so to the directory where ocaml looks for it.
  * debian/Makefile:
    + Build with python 2.5.
  * debian/control:
    + Modify Maintainer value to match DebianMaintainerField spec.

 -- Michael Bienia <email address hidden> Tue, 27 May 2008 19:25:06 +0200

The patch contains two fixes: one for the FTBFS of pycaml with python 2.5 (patch taken from pycaml 0.82-8) and a second fix for a problem I discovered while testing the rebuild package. I've contacted the Debian OCaml maintainers for help and they fixed it in their SVN where I took the fix from.

TEST CASE:
- try to install pycaml in hardy

The second problem is harder to test as it needs a package where only the first fix got applied. But with the fixed package it's possible to run pycamltop (included in pycaml) without getting errors about missing files.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

ACK from motu-sru.

Changed in pycaml:
status: New → Confirmed
Revision history for this message
Michael Bienia (geser) wrote :

Both problems are also fixed for intrepid.

Changed in pycaml:
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Changed in pycaml:
status: Confirmed → Fix Committed
Revision history for this message
Albert Damen (albrt) wrote :

+1

- pycaml from hardy fails to install
- pycaml from hardy-proposed installs fine
- pycamltop runs (gives a prompt #)
- during the test of pycamltop I had inotifywatch running on /usr/lib/ocaml/3.10.0/stublibs/dllpycaml_stubs.so. It showed the file was opened, accessed and closed. So apparently pycamltop looks for the file and finds it in the correct directory.

Revision history for this message
Michael Bienia (geser) wrote :

+1

Tested (on AMD64) now with the package build by the buildds.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

HARDY VERIFICATION

Using version 0.82-4ubuntu1 from hardy-release:
Package is not installable due to missing ocaml-base-nox-3.09.2.

Using version 0.82-7ubuntu0.1 from hardy-proposed:
Package installs successfully.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

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

Other bug subscribers

Remote bug watches

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