On Sun, Jul 23, 2017 at 07:33:44AM +0200, Ralf Treinen wrote:
> On Sat, Jul 22, 2017 at 03:40:12PM -0400, Eric Cooper wrote:
> > On Sat, Jul 22, 2017 at 12:20:57AM +0200, Stéphane Glondu wrote:
> > > Yes: ocamlbuild has been split out of ocaml and is a separate package.
> > > You need to explicitly depend on it. Note that the ocaml-nox package
> > > that is currently in unstable provides ocamlbuild, so you can add the
> > > dependency right now.
> >
> > Since it's currently virtual, it looks like I need to add
> > "ocamlbuild | ocaml-nox" as the build dependency
> > (in addition to another one on just ocaml-nox).
> > Is that correct?
>
> no, this will not work, due to a limitation of the autobuilders. Instead,
> if you have already a build-dependency on ocaml-nox, you should
> replace it by "ocaml-nox, ocamlbuild".

That's what I tried first, but I get this failure from "gbp
buildpackage" (using pbuilder):

    The following NEW packages will be installed:
      autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} 
debhelper{a} dh-autoreconf{a} dh-ocaml{a} dh-strip-nondeterminism{a} file{a} 
gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} 
libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libcryptokit-ocaml{a} 
libcryptokit-ocaml-dev{a} libfile-stripnondeterminism-perl{a} 
libfindlib-ocaml{a} libglib2.0-0{a} libicu57{a} libmagic-mgc{a} libmagic1{a} 
libncurses5-dev{a} libnethttpd-ocaml-dev{a} libocamlnet-ocaml{a} 
libocamlnet-ocaml-dev{a} libounit-ocaml-dev{a} libpcre-ocaml{a} 
libpcre-ocaml-dev{a} libpcre16-3{a} libpcre3-dev{a} libpcre32-3{a} 
libpcrecpp0v5{a} libpipeline1{a} libsigsegv2{a} libtimedate-perl{a} 
libtinfo-dev{a} libtool{a} libxml2{a} libzip-ocaml{a} libzip-ocaml-dev{a} m4{a} 
man-db{a} ocaml-base-nox{a} ocaml-compiler-libs{a} ocaml-findlib{a} 
ocaml-interp{a} ocaml-nox{a} po-debconf{a} zlib1g-dev{a}
    The following packages are RECOMMENDED but will NOT be installed:
      camlp4 curl ledit libarchive-cpio-perl libfindlib-ocaml-dev 
libglib2.0-data libltdl-dev libmail-sendmail-perl libocamlnet-ocaml-doc 
lynx-cur rlfe rlwrap shared-mime-info wget xdg-user-dirs xml-core
    0 packages upgraded, 53 newly installed, 0 to remove and 0 not upgraded.
    Need to get 395 kB/50.9 MB of archives. After unpacking 239 MB will be used.
    The following packages have unmet dependencies:
     pbuilder-satisfydepends-dummy : Depends: ocamlbuild which is a virtual 
package and is not provided by any available package

    Unable to resolve dependencies!  Giving up...

(Even though ocaml-nox is listed as one of the packages to be installed.)
Should I be using something other than gbp?  I'd like to match the
autobuilder behavior, if possible, to find these FTBFS's in advance.

--
Eric Cooper             e c c @ c m u . e d u

Reply via email to