xenserver / buildroot

Package buildroot for xen-api and related packages
45 stars 29 forks source link

Ubuntu (trusty): misses a build dependency: liburi-ocaml-dev #429

Open djs55 opened 10 years ago

djs55 commented 10 years ago

My control file looks ok:

Format: 3.0 (quilt)
Source: libcohttp-ocaml
Binary: libcohttp-ocaml, libcohttp-ocaml-dev
Architecture: any
Version: 0.9.8-1
Maintainer: Euan Harris <euan.harris@citrix.com>
Standards-Version: 3.9.3
Build-Depends: dh-ocaml (>= 0.9), ocaml-nox, camlp4, python, debhelper (>= 8), liburi-ocaml-dev, camlp4-extra, libssl-dev, ocaml-native-compilers, libounit-ocaml-dev, liblwt-ocaml-dev, ocaml-findlib, libre-ocaml-dev

(notice liburi-ocaml-dev)

but then:

Suggested packages:
  wamerican wordlist whois vacation dh-make apparmor-easyprof git gettext-doc
  groff ncurses-doc less www-browser ocaml-findlib-wizard ocaml-doc
  tuareg-mode ocaml-mode libmail-box-perl python-doc python-tk python2.7-doc
  binfmt-support
Recommended packages:
  curl wget lynx-cur libasprintf-dev libgettextpo-dev libssl-doc xml-core
  ledit readline-editor libmail-sendmail-perl
The following NEW packages will be installed:
  bsdmainutils camlp4 camlp4-extra debhelper dh-apparmor dh-ocaml file gettext
  gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libexpat1
  libfindlib-ocaml libfindlib-ocaml-dev liblwt-ocaml liblwt-ocaml-dev
  libmagic1 libncurses5-dev libounit-ocaml libounit-ocaml-dev libpcre-ocaml
  libpcre-ocaml-dev libpcre3-dev libpcrecpp0 libpipeline1 libpython-stdlib
  libpython2.7-minimal libpython2.7-stdlib libre-ocaml-dev libreact-ocaml
  libreact-ocaml-dev libsqlite3-0 libssl-dev libssl-ocaml libssl-ocaml-dev
  libssl1.0.0 libtext-ocaml libtext-ocaml-dev libtinfo-dev libunistring0
  libxml2 man-db mime-support ocaml-base-nox ocaml-compiler-libs ocaml-findlib
  ocaml-interp ocaml-native-compilers ocaml-nox po-debconf python
  python-minimal python2.7 python2.7-minimal zlib1g-dev
0 upgraded, 57 newly installed, 0 to remove and 0 not upgraded.
Need to get 432 kB/41.3 MB of archives.
After this operation, 255 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libreact-ocaml liblwt-ocaml libreact-ocaml-dev liblwt-ocaml-dev
  libounit-ocaml libounit-ocaml-dev

followed inevitably by

dpkg-checkbuilddeps: Unmet build dependencies: liburi-ocaml-dev

This is on my "linaro" branch.

djs55 commented 10 years ago

It turned out that liburi-ocaml-dev couldn't be installed because libre-ocaml-dev was being taken from upstream -- which should be ok -- but the upstream package seems to be broken. I worked around this for now in the trusty branch by upgrading our ocaml-re so that it naturally takes precedence. I'll leave this ticket open because we should investigate this a little more and report the bug upstream once we're sure.