Hi Stéphane,

On Tue, 18 Apr 2017 10:50:16 +0200, Stéphane Glondu <glo...@debian.org> wrote:
> On 18/04/2017 10:25, Stéphane Glondu wrote:
> >> on bytecode only architectures, the native related files won't be
> >> compiled because
> >> ocamlopt is not available in ocaml. So I made those files optional in
> >> the attached patch.
> >> Note that on ppc64el, ocamlopt is available starting with ocaml 4.03 and
> >> .cmx and .cmxa will be generated.
> >
> > I am suprised. How come ocaml-ao compiles as is on other bytecode only
> > architectures, e.g. mips, s390x?
> >
> > https://buildd.debian.org/status/package.php?p=ocaml-ao&suite=unstable
> 

As for #859969, I think we don't see the issue on other bytecode
only architectures due to the fact that the builds occurred long time
ago, before the issue actually appeared.
See the attached log where the problem happens on mips.

> Actually, debhelper changed meanwhile. In particular, changelog of 
> version 9.20160402 says:
> 
> >   * dh_install: Fix a regression where a non-existing file
> >     was ignored if another file was matched for the same
> >     destination dir.  Thanks to Ben Hutchings for reporting
> >     the issue.  (Closes: #818834)

That explains indeed.
> Thanks for the patch. However, did you try it on a native architectures? 
> It looks like the destination dir is missing on the OPT line...

That's right, sorry for that, here is better patch which I tested on
amd64 and that puts the .cmx and .cmxa in the good place.

F.
sbuild (Debian sbuild) 0.72.0 (25 Oct 2016) on misc-debomatic2

+==============================================================================+
| ocaml-ao 0.2.0-1 (mips)                      Tue, 18 Apr 2017 09:52:48 +0000 |
+==============================================================================+

Package: ocaml-ao
Version: 0.2.0-1
Source Version: 0.2.0-1
Distribution: unstable
Machine Architecture: amd64
Host Architecture: mips
Build Architecture: mips

I: NOTICE: Log filtering will replace 
'var/run/schroot/mount/unstable-mips-debomatic-0176e65b-066a-4725-8496-f547cccf4e71'
 with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Chroot Setup Commands                                                        |
+------------------------------------------------------------------------------+


/home/debomatic/debomatic/sbuildcommands/chroot-setup-commands/dpkg-speedup 
ocaml-ao_0.2.0-1 unstable mips
----------------------------------------------------------------------------------------------------------


I: Finished running 
'/home/debomatic/debomatic/sbuildcommands/chroot-setup-commands/dpkg-speedup 
ocaml-ao_0.2.0-1 unstable mips'.

Finished processing commands.
--------------------------------------------------------------------------------

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://debomatic-mips.debian.net/debomatic/unstable unstable InRelease 
[2300 B]
Hit:2 http://ftp.debian.org/debian unstable InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian unstable InRelease
Ign:1 http://debomatic-mips.debian.net/debomatic/unstable unstable InRelease
Fetched 2300 B in 12s (178 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
W: GPG error: http://debomatic-mips.debian.net/debomatic/unstable unstable 
InRelease: The following signatures were invalid: 
5EF4B898B5705C8953CFEF9136BF8574F4914DAB
W: The repository 'http://debomatic-mips.debian.net/debomatic/unstable unstable 
InRelease' is not signed.
W: Invalid 'Date' entry in Release file 
/var/lib/apt/lists/partial/debomatic-mips.debian.net_debomatic_unstable_dists_unstable_Release
Reading package lists...
Building dependency tree...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Local sources
-------------

/srv/debomatic-mips/ocaml-ao_0.2.0-1.dsc exists in /srv/debomatic-mips; copying 
to chroot
I: NOTICE: Log filtering will replace 'build/ocaml-ao-f9tSe2/ocaml-ao-0.2.0' 
with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/ocaml-ao-f9tSe2' with 
'<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in 
'/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
Ign:1 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ Release [957 B]
Ign:3 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ Release.gpg
Get:4 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ Packages [431 B]
Fetched 1737 B in 0s (4560 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 776 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ 
sbuild-build-depends-core-dummy 0.invalid.0 [776 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 776 B in 0s (13.4 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 11258 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_mips.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (mips included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: cdbs (>= 0.4.53), debhelper (>= 7.0.1), ocaml-nox, 
dh-ocaml (>= 0.9), libao-dev, ocaml-findlib (>= 1.2.4), pkg-config
Filtered Build-Depends: cdbs (>= 0.4.53), debhelper (>= 7.0.1), ocaml-nox, 
dh-ocaml (>= 0.9), libao-dev, ocaml-findlib (>= 1.2.4), pkg-config
dpkg-deb: building package 'sbuild-build-depends-ocaml-ao-dummy' in 
'/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive/sbuild-build-depends-ocaml-ao-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy 
sbuild-build-depends-ocaml-ao-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
Ign:1 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ Release [963 B]
Ign:3 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ Release.gpg
Get:4 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ Sources [539 B]
Get:5 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ Packages [620 B]
Fetched 2122 B in 0s (5527 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install ocaml-ao build dependencies (apt-based resolver)
--------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils cdbs debhelper
  dh-autoreconf dh-ocaml dh-strip-nondeterminism file gettext gettext-base
  groff-base intltool-debian libao-common libao-dev libao4 libarchive-zip-perl
  libbsd0 libcroco3 libffi6 libfile-stripnondeterminism-perl libfindlib-ocaml
  libglib2.0-0 libicu57 libmagic-mgc libmagic1 libncurses5 libncurses5-dev
  libpipeline1 libsigsegv2 libtimedate-perl libtinfo-dev libtool libunistring0
  libxml2 m4 man-db ocaml-base-nox ocaml-compiler-libs ocaml-findlib
  ocaml-interp ocaml-nox pkg-config po-debconf
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation devscripts dh-make git gettext-doc libasprintf-dev libgettextpo-dev
  groff libasound2 libaudio2 libesd0 | libesd-alsa0 libpulse0 libsndio6.1
  ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less
  www-browser camlp4 ocaml-doc tuareg-mode | ocaml-mode libmail-box-perl
Recommended packages:
  curl | wget | lynx-cur libglib2.0-data shared-mime-info xdg-user-dirs
  libgpm2 libltdl-dev xml-core libfindlib-ocaml-dev ledit | readline-editor
  camlp4 libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils cdbs debhelper
  dh-autoreconf dh-ocaml dh-strip-nondeterminism file gettext gettext-base
  groff-base intltool-debian libao-common libao-dev libao4 libarchive-zip-perl
  libbsd0 libcroco3 libffi6 libfile-stripnondeterminism-perl libfindlib-ocaml
  libglib2.0-0 libicu57 libmagic-mgc libmagic1 libncurses5 libncurses5-dev
  libpipeline1 libsigsegv2 libtimedate-perl libtinfo-dev libtool libunistring0
  libxml2 m4 man-db ocaml-base-nox ocaml-compiler-libs ocaml-findlib
  ocaml-interp ocaml-nox pkg-config po-debconf
  sbuild-build-depends-ocaml-ao-dummy
0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.8 MB of archives.
After this operation, 131 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-Uj6JNc/apt_archive ./ 
sbuild-build-depends-ocaml-ao-dummy 0.invalid.0 [836 B]
Get:2 http://cdn-fastly.deb.debian.org/debian unstable/main mips groff-base 
mips 1.22.3-9 [1275 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian unstable/main mips libbsd0 mips 
0.8.3-1 [99.7 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian unstable/main mips libncurses5 
mips 6.0+20161126-1 [79.5 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian unstable/main mips bsdmainutils 
mips 9.0.12+nmu1 [187 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian unstable/main mips libpipeline1 
mips 1.4.1-2 [26.8 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian unstable/main mips man-db mips 
2.7.6.1-2 [1032 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian unstable/main mips libmagic-mgc 
mips 1:5.29-3 [222 kB]
Get:9 http://cdn-fastly.deb.debian.org/debian unstable/main mips libmagic1 mips 
1:5.29-3 [112 kB]
Get:10 http://cdn-fastly.deb.debian.org/debian unstable/main mips file mips 
1:5.29-3 [63.8 kB]
Get:11 http://cdn-fastly.deb.debian.org/debian unstable/main mips gettext-base 
mips 0.19.8.1-2 [120 kB]
Get:12 http://cdn-fastly.deb.debian.org/debian unstable/main mips libicu57 mips 
57.1-6 [7493 kB]
Get:13 http://cdn-fastly.deb.debian.org/debian unstable/main mips libxml2 mips 
2.9.4+dfsg1-2.2 [816 kB]
Get:14 http://cdn-fastly.deb.debian.org/debian unstable/main mips libsigsegv2 
mips 2.10-5 [28.7 kB]
Get:15 http://cdn-fastly.deb.debian.org/debian unstable/main mips m4 mips 
1.4.18-1 [197 kB]
Get:16 http://cdn-fastly.deb.debian.org/debian unstable/main mips autoconf all 
2.69-10 [338 kB]
Get:17 http://cdn-fastly.deb.debian.org/debian unstable/main mips autotools-dev 
all 20161112.1 [73.4 kB]
Get:18 http://cdn-fastly.deb.debian.org/debian unstable/main mips automake all 
1:1.15-6 [733 kB]
Get:19 http://cdn-fastly.deb.debian.org/debian unstable/main mips autopoint all 
0.19.8.1-2 [433 kB]
Get:20 http://cdn-fastly.deb.debian.org/debian unstable/main mips cdbs all 
0.4.150 [82.6 kB]
Get:21 http://cdn-fastly.deb.debian.org/debian unstable/main mips libtool all 
2.4.6-2 [545 kB]
Get:22 http://cdn-fastly.deb.debian.org/debian unstable/main mips dh-autoreconf 
all 14 [15.9 kB]
Get:23 http://cdn-fastly.deb.debian.org/debian unstable/main mips 
libarchive-zip-perl all 1.59-1 [95.5 kB]
Get:24 http://cdn-fastly.deb.debian.org/debian unstable/main mips 
libfile-stripnondeterminism-perl all 0.032-1 [15.8 kB]
Get:25 http://cdn-fastly.deb.debian.org/debian unstable/main mips 
libtimedate-perl all 2.3000-2 [42.2 kB]
Get:26 http://cdn-fastly.deb.debian.org/debian unstable/main mips 
dh-strip-nondeterminism all 0.032-1 [9888 B]
Get:27 http://cdn-fastly.deb.debian.org/debian unstable/main mips libffi6 mips 
3.2.1-6 [18.6 kB]
Get:28 http://cdn-fastly.deb.debian.org/debian unstable/main mips libglib2.0-0 
mips 2.50.3-2 [2520 kB]
Get:29 http://cdn-fastly.deb.debian.org/debian unstable/main mips libcroco3 
mips 0.6.11-2 [130 kB]
Get:30 http://cdn-fastly.deb.debian.org/debian unstable/main mips libunistring0 
mips 0.9.6+really0.9.3-0.1 [255 kB]
Get:31 http://cdn-fastly.deb.debian.org/debian unstable/main mips gettext mips 
0.19.8.1-2 [1456 kB]
Get:32 http://cdn-fastly.deb.debian.org/debian unstable/main mips 
intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:33 http://cdn-fastly.deb.debian.org/debian unstable/main mips po-debconf 
all 1.0.20 [247 kB]
Get:34 http://cdn-fastly.deb.debian.org/debian unstable/main mips debhelper all 
10.2.5 [961 kB]
Get:35 http://cdn-fastly.deb.debian.org/debian unstable/main mips libao-common 
mips 1.2.2-1 [11.3 kB]
Get:36 http://cdn-fastly.deb.debian.org/debian unstable/main mips libao4 mips 
1.2.2-1 [37.3 kB]
Get:37 http://cdn-fastly.deb.debian.org/debian unstable/main mips libao-dev 
mips 1.2.2-1 [28.6 kB]
Get:38 http://cdn-fastly.deb.debian.org/debian unstable/main mips 
ocaml-base-nox mips 4.02.3-9 [438 kB]
Get:39 http://cdn-fastly.deb.debian.org/debian unstable/main mips 
libfindlib-ocaml mips 1.6.2-1+b1 [114 kB]
Get:40 http://cdn-fastly.deb.debian.org/debian unstable/main mips libtinfo-dev 
mips 6.0+20161126-1 [78.1 kB]
Get:41 http://cdn-fastly.deb.debian.org/debian unstable/main mips 
libncurses5-dev mips 6.0+20161126-1 [175 kB]
Get:42 http://cdn-fastly.deb.debian.org/debian unstable/main mips ocaml-interp 
mips 4.02.3-9 [361 kB]
Get:43 http://cdn-fastly.deb.debian.org/debian unstable/main mips ocaml-nox 
mips 4.02.3-9 [4610 kB]
Get:44 http://cdn-fastly.deb.debian.org/debian unstable/main mips 
ocaml-compiler-libs mips 4.02.3-9 [6877 kB]
Get:45 http://cdn-fastly.deb.debian.org/debian unstable/main mips ocaml-findlib 
mips 1.6.2-1+b1 [176 kB]
Get:46 http://cdn-fastly.deb.debian.org/debian unstable/main mips pkg-config 
mips 0.29-4+b1 [62.1 kB]
Get:47 http://cdn-fastly.deb.debian.org/debian unstable/main mips dh-ocaml all 
1.0.10 [83.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 32.8 MB in 3s (8424 kB/s)
Selecting previously unselected package groff-base.
(Reading database ... 11258 files and directories currently installed.)
Preparing to unpack .../00-groff-base_1.22.3-9_mips.deb ...
Unpacking groff-base (1.22.3-9) ...
Selecting previously unselected package libbsd0:mips.
Preparing to unpack .../01-libbsd0_0.8.3-1_mips.deb ...
Unpacking libbsd0:mips (0.8.3-1) ...
Selecting previously unselected package libncurses5:mips.
Preparing to unpack .../02-libncurses5_6.0+20161126-1_mips.deb ...
Unpacking libncurses5:mips (6.0+20161126-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../03-bsdmainutils_9.0.12+nmu1_mips.deb ...
Unpacking bsdmainutils (9.0.12+nmu1) ...
Selecting previously unselected package libpipeline1:mips.
Preparing to unpack .../04-libpipeline1_1.4.1-2_mips.deb ...
Unpacking libpipeline1:mips (1.4.1-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../05-man-db_2.7.6.1-2_mips.deb ...
Unpacking man-db (2.7.6.1-2) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.29-3_mips.deb ...
Unpacking libmagic-mgc (1:5.29-3) ...
Selecting previously unselected package libmagic1:mips.
Preparing to unpack .../07-libmagic1_1%3a5.29-3_mips.deb ...
Unpacking libmagic1:mips (1:5.29-3) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.29-3_mips.deb ...
Unpacking file (1:5.29-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.19.8.1-2_mips.deb ...
Unpacking gettext-base (0.19.8.1-2) ...
Selecting previously unselected package libicu57:mips.
Preparing to unpack .../10-libicu57_57.1-6_mips.deb ...
Unpacking libicu57:mips (57.1-6) ...
Selecting previously unselected package libxml2:mips.
Preparing to unpack .../11-libxml2_2.9.4+dfsg1-2.2_mips.deb ...
Unpacking libxml2:mips (2.9.4+dfsg1-2.2) ...
Selecting previously unselected package libsigsegv2:mips.
Preparing to unpack .../12-libsigsegv2_2.10-5_mips.deb ...
Unpacking libsigsegv2:mips (2.10-5) ...
Selecting previously unselected package m4.
Preparing to unpack .../13-m4_1.4.18-1_mips.deb ...
Unpacking m4 (1.4.18-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../14-autoconf_2.69-10_all.deb ...
Unpacking autoconf (2.69-10) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../15-autotools-dev_20161112.1_all.deb ...
Unpacking autotools-dev (20161112.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../16-automake_1%3a1.15-6_all.deb ...
Unpacking automake (1:1.15-6) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../17-autopoint_0.19.8.1-2_all.deb ...
Unpacking autopoint (0.19.8.1-2) ...
Selecting previously unselected package cdbs.
Preparing to unpack .../18-cdbs_0.4.150_all.deb ...
Unpacking cdbs (0.4.150) ...
Selecting previously unselected package libtool.
Preparing to unpack .../19-libtool_2.4.6-2_all.deb ...
Unpacking libtool (2.4.6-2) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../20-dh-autoreconf_14_all.deb ...
Unpacking dh-autoreconf (14) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../21-libarchive-zip-perl_1.59-1_all.deb ...
Unpacking libarchive-zip-perl (1.59-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../22-libfile-stripnondeterminism-perl_0.032-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.032-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../23-libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../24-dh-strip-nondeterminism_0.032-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.032-1) ...
Selecting previously unselected package libffi6:mips.
Preparing to unpack .../25-libffi6_3.2.1-6_mips.deb ...
Unpacking libffi6:mips (3.2.1-6) ...
Selecting previously unselected package libglib2.0-0:mips.
Preparing to unpack .../26-libglib2.0-0_2.50.3-2_mips.deb ...
Unpacking libglib2.0-0:mips (2.50.3-2) ...
Selecting previously unselected package libcroco3:mips.
Preparing to unpack .../27-libcroco3_0.6.11-2_mips.deb ...
Unpacking libcroco3:mips (0.6.11-2) ...
Selecting previously unselected package libunistring0:mips.
Preparing to unpack .../28-libunistring0_0.9.6+really0.9.3-0.1_mips.deb ...
Unpacking libunistring0:mips (0.9.6+really0.9.3-0.1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../29-gettext_0.19.8.1-2_mips.deb ...
Unpacking gettext (0.19.8.1-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../30-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../31-po-debconf_1.0.20_all.deb ...
Unpacking po-debconf (1.0.20) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../32-debhelper_10.2.5_all.deb ...
Unpacking debhelper (10.2.5) ...
Selecting previously unselected package libao-common.
Preparing to unpack .../33-libao-common_1.2.2-1_mips.deb ...
Unpacking libao-common (1.2.2-1) ...
Selecting previously unselected package libao4.
Preparing to unpack .../34-libao4_1.2.2-1_mips.deb ...
Unpacking libao4 (1.2.2-1) ...
Selecting previously unselected package libao-dev.
Preparing to unpack .../35-libao-dev_1.2.2-1_mips.deb ...
Unpacking libao-dev (1.2.2-1) ...
Selecting previously unselected package ocaml-base-nox.
Preparing to unpack .../36-ocaml-base-nox_4.02.3-9_mips.deb ...
Unpacking ocaml-base-nox (4.02.3-9) ...
Selecting previously unselected package libfindlib-ocaml.
Preparing to unpack .../37-libfindlib-ocaml_1.6.2-1+b1_mips.deb ...
Unpacking libfindlib-ocaml (1.6.2-1+b1) ...
Selecting previously unselected package libtinfo-dev:mips.
Preparing to unpack .../38-libtinfo-dev_6.0+20161126-1_mips.deb ...
Unpacking libtinfo-dev:mips (6.0+20161126-1) ...
Selecting previously unselected package libncurses5-dev:mips.
Preparing to unpack .../39-libncurses5-dev_6.0+20161126-1_mips.deb ...
Unpacking libncurses5-dev:mips (6.0+20161126-1) ...
Selecting previously unselected package ocaml-interp.
Preparing to unpack .../40-ocaml-interp_4.02.3-9_mips.deb ...
Unpacking ocaml-interp (4.02.3-9) ...
Selecting previously unselected package ocaml-nox.
Preparing to unpack .../41-ocaml-nox_4.02.3-9_mips.deb ...
Unpacking ocaml-nox (4.02.3-9) ...
Selecting previously unselected package ocaml-compiler-libs.
Preparing to unpack .../42-ocaml-compiler-libs_4.02.3-9_mips.deb ...
Unpacking ocaml-compiler-libs (4.02.3-9) ...
Selecting previously unselected package ocaml-findlib.
Preparing to unpack .../43-ocaml-findlib_1.6.2-1+b1_mips.deb ...
Unpacking ocaml-findlib (1.6.2-1+b1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../44-pkg-config_0.29-4+b1_mips.deb ...
Unpacking pkg-config (0.29-4+b1) ...
Selecting previously unselected package dh-ocaml.
Preparing to unpack .../45-dh-ocaml_1.0.10_all.deb ...
Unpacking dh-ocaml (1.0.10) ...
Selecting previously unselected package sbuild-build-depends-ocaml-ao-dummy.
Preparing to unpack 
.../46-sbuild-build-depends-ocaml-ao-dummy_0.invalid.0_mips.deb ...
Unpacking sbuild-build-depends-ocaml-ao-dummy (0.invalid.0) ...
Setting up cdbs (0.4.150) ...
Setting up libncurses5:mips (6.0+20161126-1) ...
Setting up libarchive-zip-perl (1.59-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libsigsegv2:mips (2.10-5) ...
Setting up groff-base (1.22.3-9) ...
Setting up ocaml-base-nox (4.02.3-9) ...
Setting up libtinfo-dev:mips (6.0+20161126-1) ...
Setting up libao-common (1.2.2-1) ...
Setting up dh-ocaml (1.0.10) ...
Setting up gettext-base (0.19.8.1-2) ...
Setting up libpipeline1:mips (1.4.1-2) ...
Setting up m4 (1.4.18-1) ...
Setting up libicu57:mips (57.1-6) ...
Setting up libbsd0:mips (0.8.3-1) ...
Setting up libxml2:mips (2.9.4+dfsg1-2.2) ...
Setting up libmagic-mgc (1:5.29-3) ...
Setting up libmagic1:mips (1:5.29-3) ...
Setting up libncurses5-dev:mips (6.0+20161126-1) ...
Processing triggers for libc-bin (2.24-10) ...
Setting up autotools-dev (20161112.1) ...
Setting up libunistring0:mips (0.9.6+really0.9.3-0.1) ...
Setting up libffi6:mips (3.2.1-6) ...
Setting up bsdmainutils (9.0.12+nmu1) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) 
in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in 
auto mode
Setting up libfindlib-ocaml (1.6.2-1+b1) ...
Setting up ocaml-findlib (1.6.2-1+b1) ...
Setting up autopoint (0.19.8.1-2) ...
Setting up libfile-stripnondeterminism-perl (0.032-1) ...
Setting up libglib2.0-0:mips (2.50.3-2) ...
No schema files found: doing nothing.
Setting up libao4 (1.2.2-1) ...
Setting up autoconf (2.69-10) ...
Setting up file (1:5.29-3) ...
Setting up libcroco3:mips (0.6.11-2) ...
Setting up pkg-config (0.29-4+b1) ...
Setting up automake (1:1.15-6) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake 
(automake) in auto mode
Setting up libao-dev (1.2.2-1) ...
Setting up man-db (2.7.6.1-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libtool (2.4.6-2) ...
Setting up gettext (0.19.8.1-2) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up po-debconf (1.0.20) ...
Setting up ocaml-compiler-libs (4.02.3-9) ...
Setting up dh-autoreconf (14) ...
Setting up ocaml-interp (4.02.3-9) ...
Setting up dh-strip-nondeterminism (0.032-1) ...
Setting up debhelper (10.2.5) ...
Setting up ocaml-nox (4.02.3-9) ...
Setting up sbuild-build-depends-ocaml-ao-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.24-10) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.4.0-0.bpo.1-amd64 amd64 (x86_64)
Toolchain package versions: binutils_2.28-4 dpkg-dev_1.18.23 g++-6_6.3.0-14 
gcc-6_6.3.0-14 libc6-dev_2.24-10 libstdc++-6-dev_6.3.0-14 libstdc++6_6.3.0-14 
linux-libc-dev_4.9.18-1
Package versions: adduser_3.115 apt_1.4 autoconf_2.69-10 automake_1:1.15-6 
autopoint_0.19.8.1-2 autotools-dev_20161112.1 base-files_9.9 base-passwd_3.5.43 
bash_4.4-4+b1 binutils_2.28-4 bsdmainutils_9.0.12+nmu1 bsdutils_1:2.29.2-1 
build-essential_12.3 bzip2_1.0.6-8.1 cdbs_0.4.150 coreutils_8.26-3 
cpp_4:6.3.0-4 cpp-6_6.3.0-14 dash_0.5.8-2.4 debconf_1.5.60 debhelper_10.2.5 
debian-archive-keyring_2014.3 debianutils_4.8.1.1 dh-autoreconf_14 
dh-ocaml_1.0.10 dh-strip-nondeterminism_0.032-1 diffutils_1:3.5-3 dpkg_1.18.23 
dpkg-dev_1.18.23 e2fslibs_1.43.4-2 e2fsprogs_1.43.4-2 fakeroot_1.21-3.1 
file_1:5.29-3 findutils_4.6.0+git+20161106-2 g++_4:6.3.0-4 g++-6_6.3.0-14 
gcc_4:6.3.0-4 gcc-5-base_5.4.1-8 gcc-6_6.3.0-14 gcc-6-base_6.3.0-14 
gettext_0.19.8.1-2 gettext-base_0.19.8.1-2 gpgv_2.1.18-6 grep_2.27-2 
groff-base_1.22.3-9 gzip_1.6-5+b1 hostname_3.18+b1 init-system-helpers_1.47 
intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3+b1 libao-common_1.2.2-1 
libao-dev_1.2.2-1 libao4_1.2.2-1 libapt-pkg5.0_1.4 libarchive-zip-perl_1.59-1 
libatomic1_6.3.0-14 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.6.7-2 
libaudit1_1:2.6.7-2 libblkid1_2.29.2-1 libbsd0_0.8.3-1 libbz2-1.0_1.0.6-8.1 
libc-bin_2.24-10 libc-dev-bin_2.24-10 libc6_2.24-10 libc6-dev_2.24-10 
libcap-ng0_0.7.7-3+b1 libcc1-0_6.3.0-14 libcomerr2_1.43.4-2 libcroco3_0.6.11-2 
libdb5.3_5.3.28-12+b1 libdebconfclient0_0.227 libdpkg-perl_1.18.23 
libfakeroot_1.21-3.1 libfdisk1_2.29.2-1 libffi6_3.2.1-6 
libfile-stripnondeterminism-perl_0.032-1 libfindlib-ocaml_1.6.2-1+b1 
libgcc-6-dev_6.3.0-14 libgcc1_1:6.3.0-14 libgcrypt20_1.7.6-1 libgdbm3_1.8.3-14 
libglib2.0-0_2.50.3-2 libgmp10_2:6.1.2+dfsg-1 libgomp1_6.3.0-14 
libgpg-error0_1.26-2 libicu57_57.1-6 libisl15_0.18-1 liblz4-1_0.0~r131-2+b1 
liblzma5_5.2.2-1.2+b1 libmagic-mgc_1:5.29-3 libmagic1_1:5.29-3 
libmount1_2.29.2-1 libmpc3_1.0.3-1+b2 libmpfr4_3.1.5-1 
libncurses5_6.0+20161126-1 libncurses5-dev_6.0+20161126-1 
libncursesw5_6.0+20161126-1 libpam-modules_1.1.8-3.5 
libpam-modules-bin_1.1.8-3.5 libpam-runtime_1.1.8-3.5 libpam0g_1.1.8-3.5 
libpcre3_2:8.39-3 libperl5.24_5.24.1-2 libpipeline1_1.4.1-2 
libselinux1_2.6-3+b1 libsemanage-common_2.6-2 libsemanage1_2.6-2 
libsepol1_2.6-2 libsigsegv2_2.10-5 libsmartcols1_2.29.2-1 libss2_1.43.4-2 
libstdc++-6-dev_6.3.0-14 libstdc++6_6.3.0-14 libsystemd0_232-22 
libtimedate-perl_2.3000-2 libtinfo-dev_6.0+20161126-1 libtinfo5_6.0+20161126-1 
libtool_2.4.6-2 libudev1_232-22 libunistring0_0.9.6+really0.9.3-0.1 
libustr-1.0-1_1.0.4-6 libuuid1_2.29.2-1 libxml2_2.9.4+dfsg1-2.2 
linux-libc-dev_4.9.18-1 login_1:4.4-4 lsb-base_9.20161125 m4_1.4.18-1 
make_4.1-9.1 man-db_2.7.6.1-2 mawk_1.3.3-17+b3 mount_2.29.2-1 
multiarch-support_2.24-10 ncurses-base_6.0+20161126-1 
ncurses-bin_6.0+20161126-1 ocaml-base-nox_4.02.3-9 ocaml-compiler-libs_4.02.3-9 
ocaml-findlib_1.6.2-1+b1 ocaml-interp_4.02.3-9 ocaml-nox_4.02.3-9 
passwd_1:4.4-4 patch_2.7.5-1+b2 perl_5.24.1-2 perl-base_5.24.1-2 
perl-modules-5.24_5.24.1-2 pkg-config_0.29-4+b1 po-debconf_1.0.20 
sbuild-build-depends-core-dummy_0.invalid.0 
sbuild-build-depends-ocaml-ao-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.9 
sysvinit-utils_2.88dsf-59.9 tar_1.29b-1.1 tzdata_2017b-1 util-linux_2.29.2-1 
xz-utils_5.2.2-1.2+b1 zlib1g_1:1.2.8.dfsg-5

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General 
error
gpgv: Signature made Tue Apr 18 09:52:29 2017 UTC
gpgv:                using RSA key 6B7498FCB9B358AC
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./ocaml-ao_0.2.0-1.dsc
dpkg-source: info: extracting ocaml-ao in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking ocaml-ao_0.2.0.orig.tar.gz
dpkg-source: info: applying ocaml-ao_0.2.0-1.diff.gz

Check disk space
----------------

Sufficient free space for build

+------------------------------------------------------------------------------+
| Starting Timed Build Commands                                                |
+------------------------------------------------------------------------------+


/home/debomatic/debomatic/sbuildcommands/starting-build-commands/no-network 
ocaml-ao_0.2.0-1 unstable mips
----------------------------------------------------------------------------------------------------------

Reading package lists...
Building dependency tree...
Reading state information...
util-linux is already the newest version (2.29.2-1).
The following NEW packages will be installed:
  net-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 239 kB of archives.
After this operation, 979 kB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian unstable/main mips net-tools mips 
1.60+git20161116.90da8a0-1 [239 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 239 kB in 0s (571 kB/s)
Selecting previously unselected package net-tools.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 14428 files and directories currently installed.)
Preparing to unpack .../net-tools_1.60+git20161116.90da8a0-1_mips.deb ...
Unpacking net-tools (1.60+git20161116.90da8a0-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up net-tools (1.60+git20161116.90da8a0-1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

I: Finished running 
'/home/debomatic/debomatic/sbuildcommands/starting-build-commands/no-network 
ocaml-ao_0.2.0-1 unstable mips'.

/home/debomatic/debomatic/sbuildcommands/starting-build-commands/fakeroot 
ocaml-ao_0.2.0-1 unstable mips
--------------------------------------------------------------------------------------------------------


I: Finished running 
'/home/debomatic/debomatic/sbuildcommands/starting-build-commands/fakeroot 
ocaml-ao_0.2.0-1 unstable mips'.

Finished processing commands.
--------------------------------------------------------------------------------

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SCHROOT_ALIAS_NAME=unstable-mips-debomatic
SCHROOT_CHROOT_NAME=unstable-mips-debomatic
SCHROOT_COMMAND=env
SCHROOT_GID=0
SCHROOT_GROUP=root
SCHROOT_SESSION_ID=unstable-mips-debomatic-0176e65b-066a-4725-8496-f547cccf4e71
SCHROOT_UID=0
SCHROOT_USER=root
SHELL=/bin/sh
USER=root
XDG_RUNTIME_DIR=/run/user/0
XDG_SESSION_ID=c1739

dpkg-buildpackage
-----------------

dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: info: source package ocaml-ao
dpkg-buildpackage: info: source version 0.2.0-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Romain Beauxis <to...@rastageeks.org>
 dpkg-source --before-build ocaml-ao-0.2.0
dpkg-buildpackage: info: host architecture mips
 fakeroot debian/rules clean
test -x debian/rules
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
/usr/bin/make -C . -k distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: *** No rule to make target 'distclean'.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/share/cdbs/1/class/makefile.mk:91: recipe for target 'makefile-clean' 
failed
make: [makefile-clean] Error 2 (ignored)
rm -f debian/stamp-autotools
rmdir --ignore-fail-on-non-empty .
/usr/bin/rmdir: failed to remove '.': Invalid argument
/usr/share/cdbs/1/class/autotools.mk:64: recipe for target 'makefile-clean' 
failed
make: [makefile-clean] Error 1 (ignored)
dh_clean 
dh_clean: Compatibility levels before 9 are deprecated (level 7 in use)
rm -f debian/stamp-autotools-files
rm -f debian/*.doc-base.apiref*
dh_ocamlclean
rm -rf Makefile config.log config.status src/META src/Makefile doc
 dpkg-source -b ocaml-ao-0.2.0
dpkg-source: warning: no source format specified in debian/source/format, see 
dpkg-source(1)
dpkg-source: info: using source format '1.0'
dpkg-source: info: building ocaml-ao using existing ocaml-ao_0.2.0.orig.tar.gz
dpkg-source: info: building ocaml-ao in ocaml-ao_0.2.0-1.diff.gz
dpkg-source: info: building ocaml-ao in ocaml-ao_0.2.0-1.dsc
 debian/rules build
test -x debian/rules
mkdir -p "."
dh_ocamlinit
touch debian/stamp-autotools-files
chmod a+x /<<PKGBUILDDIR>>/./configure
mkdir -p .
cd . && CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security" CXXFLAGS="-g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" 
LDFLAGS="-Wl,-z,relro" /<<PKGBUILDDIR>>/./configure --build=mips-linux-gnu 
--prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" 
--infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var 
--libexecdir="\${prefix}/lib/ocaml-ao" --srcdir=. --disable-maintainer-mode 
--disable-dependency-tracking --disable-silent-rules
configure: WARNING: unrecognized options: --disable-maintainer-mode, 
--disable-dependency-tracking, --disable-silent-rules
configuring ocaml-ao 0.2.0
checking for ocamlc... /usr/bin/ocamlc
ocaml version is 4.02.3
ocaml library path is /usr/lib/ocaml
checking for ocamlopt... no
configure: WARNING: Cannot find ocamlopt; bytecode compilation only.
checking for ocamlc.opt... no
checking for ocamldep... /usr/bin/ocamldep
checking for ocamldoc... /usr/bin/ocamldoc
checking for ocamlfind... /usr/bin/ocamlfind
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/META
config.status: creating src/Makefile
configure: WARNING: unrecognized options: --disable-maintainer-mode, 
--disable-dependency-tracking, --disable-silent-rules
touch debian/stamp-autotools
/usr/bin/make -C . 
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C src all
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
making ._bcdi/ao.di from ao.mli
making ._d/ao.d from ao.ml
/usr/bin/ocamlc -c -cc "gcc" -ccopt "-fPIC -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -I/usr/include  -Wall -DCAML_NAME_SPACE \
                        -DPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  \
                            -o ao_stubs.o " ao_stubs.c 
ar rcs libao_stubs.a  ao_stubs.o
/usr/bin/ocamlc -c ao.mli
/usr/bin/ocamlc -c ao.ml
ocamlmklib      -L-Wl,-z,relro -L/usr/lib    \
                        -o ao_stubs  ao_stubs.o -lao \
                        
/usr/bin/ocamlc -a -dllib dllao_stubs.so       -ccopt -Wl,-z,relro -ccopt 
-L/usr/lib  -ccopt -L-Wl,-z,relro -ccopt -L/usr/lib     \
                        -cclib -lao_stubs -cclib -lao  -o ao.cma  ao.cmo
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch debian/stamp-makefile-build
CDBS WARNING:  DEB_MAKE_CHECK_TARGET unset, not running checks
mkdir -p /<<PKGBUILDDIR>>/debian/tmp//usr/lib/ocaml
make doc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C src htdoc
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -rf doc/ao/html
mkdir -p doc/ao/html
/usr/bin/ocamldoc -html -d doc/ao/html -stars ao.mli
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
mkdir -p doc
rm -rf doc/html
mv src/doc/ao/html doc
rm -rf src/doc
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 fakeroot debian/rules binary
test -x debian/rules
dh_testroot
dh_prep 
dh_installdirs -A 
dh_installdirs: Compatibility levels before 9 are deprecated (level 7 in use)
mkdir -p "."
CDBS WARNING:  DEB_MAKE_CHECK_TARGET unset, not running checks
mkdir -p /<<PKGBUILDDIR>>/debian/tmp//usr/lib/ocaml
make doc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C src htdoc
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -rf doc/ao/html
mkdir -p doc/ao/html
/usr/bin/ocamldoc -html -d doc/ao/html -stars ao.mli
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
mkdir -p doc
rm -rf doc/html
mv src/doc/ao/html doc
rm -rf src/doc
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C . install 
OCAMLFIND_DESTDIR=/<<PKGBUILDDIR>>/debian/tmp//usr/lib/ocaml 
OCAMLFIND_LDCONF=ignore
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C src install
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: 'libao_stubs.a' is up to date.
make[3]: 'ao.cma' is up to date.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'

Installing library with ocamlfind
/usr/bin/ocamlfind install  ao META ao.mli ao.cmi ao.cma libao_stubs.a 
dllao_stubs.so
Installed /<<PKGBUILDDIR>>/debian/tmp//usr/lib/ocaml/ao/dllao_stubs.so
Installed /<<PKGBUILDDIR>>/debian/tmp//usr/lib/ocaml/ao/libao_stubs.a
Installed /<<PKGBUILDDIR>>/debian/tmp//usr/lib/ocaml/ao/ao.cma
Installed /<<PKGBUILDDIR>>/debian/tmp//usr/lib/ocaml/ao/ao.cmi
Installed /<<PKGBUILDDIR>>/debian/tmp//usr/lib/ocaml/ao/ao.mli
Installed /<<PKGBUILDDIR>>/debian/tmp//usr/lib/ocaml/ao/META

Installation successful.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch debian/stamp-makefile-install
Adding cdbs dependencies to debian/libao-ocaml.substvars
dh_installdirs -plibao-ocaml \
        
dh_installdirs: Compatibility levels before 9 are deprecated (level 7 in use)
Adding cdbs dependencies to debian/libao-ocaml-dev.substvars
dh_installdirs -plibao-ocaml-dev \
        
dh_installdirs: Compatibility levels before 9 are deprecated (level 7 in use)
dh_installdocs -plibao-ocaml ./README
dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Unsupported ioctl: cmd=0xffffffff80049409
dh_installexamples -plibao-ocaml 
dh_installman -plibao-ocaml 
dh_installinfo -plibao-ocaml 
dh_installmenu -plibao-ocaml 
dh_installcron -plibao-ocaml 
dh_systemd_enable -plibao-ocaml 
dh_installinit -plibao-ocaml 
dh_installinit: Compatibility levels before 9 are deprecated (level 7 in use)
dh_installdebconf -plibao-ocaml 
dh_installemacsen -plibao-ocaml 
dh_installcatalogs -plibao-ocaml 
dh_installpam -plibao-ocaml 
dh_installlogrotate -plibao-ocaml 
dh_installlogcheck -plibao-ocaml 
dh_installchangelogs -plibao-ocaml ./CHANGES
dh_installudev -plibao-ocaml 
dh_lintian -plibao-ocaml 
dh_bugfiles -plibao-ocaml 
dh_install -plibao-ocaml 
dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Unsupported ioctl: cmd=0xffffffff80049409
dh_systemd_start -plibao-ocaml 
dh_systemd_start: Compatibility levels before 9 are deprecated (level 7 in use)
dh_link -plibao-ocaml 
dh_installmime -plibao-ocaml 
dh_installgsettings -plibao-ocaml 
dh_ocamldoc -plibao-ocaml
dh_installdocs -plibao-ocaml-dev ./README
dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Unsupported ioctl: cmd=0xffffffff80049409
Unsupported ioctl: cmd=0xffffffff80049409
dh_installexamples -plibao-ocaml-dev 
dh_installexamples: Compatibility levels before 9 are deprecated (level 7 in 
use)
Unsupported ioctl: cmd=0xffffffff80049409
Unsupported ioctl: cmd=0xffffffff80049409
Unsupported ioctl: cmd=0xffffffff80049409
dh_installman -plibao-ocaml-dev 
dh_installinfo -plibao-ocaml-dev 
dh_installmenu -plibao-ocaml-dev 
dh_installcron -plibao-ocaml-dev 
dh_systemd_enable -plibao-ocaml-dev 
dh_installinit -plibao-ocaml-dev 
dh_installinit: Compatibility levels before 9 are deprecated (level 7 in use)
dh_installdebconf -plibao-ocaml-dev 
dh_installemacsen -plibao-ocaml-dev 
dh_installcatalogs -plibao-ocaml-dev 
dh_installpam -plibao-ocaml-dev 
dh_installlogrotate -plibao-ocaml-dev 
dh_installlogcheck -plibao-ocaml-dev 
dh_installchangelogs -plibao-ocaml-dev ./CHANGES
dh_installudev -plibao-ocaml-dev 
dh_lintian -plibao-ocaml-dev 
dh_bugfiles -plibao-ocaml-dev 
dh_install -plibao-ocaml-dev 
dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
dh_install: Cannot find (any matches for) "src/*.cmx" (tried in "." and 
"debian/tmp")
dh_install: Cannot find (any matches for) "src/*.cmxa" (tried in "." and 
"debian/tmp")
dh_install: missing files, aborting
/usr/share/cdbs/1/rules/debhelper.mk:233: recipe for target 
'binary-install/libao-ocaml-dev' failed
make: *** [binary-install/libao-ocaml-dev] Error 255
 dpkg-genbuildinfo
dpkg-genbuildinfo: error: binary build with no binary artifacts found; 
.buildinfo is meaningless
dpkg-buildpackage: error: dpkg-genbuildinfo gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 2017-04-18T09:57:40Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: mips
Build-Space: 916
Build-Time: 135
Distribution: unstable
Fail-Stage: build
Host Architecture: mips
Install-Time: 103
Job: /srv/debomatic-mips/ocaml-ao_0.2.0-1.dsc
Machine Architecture: amd64
Package: ocaml-ao
Package-Time: 292
Source-Version: 0.2.0-1
Space: 916
Status: attempted
Version: 0.2.0-1
--------------------------------------------------------------------------------
Finished at 2017-04-18T09:57:40Z
Build needed 00:04:52, 916k disk space
diff -u ocaml-ao-0.2.0/debian/libao-ocaml-dev.install.in 
ocaml-ao-0.2.0/debian/libao-ocaml-dev.install.in
--- ocaml-ao-0.2.0/debian/libao-ocaml-dev.install.in
+++ ocaml-ao-0.2.0/debian/libao-ocaml-dev.install.in
@@ -1 +1,2 @@
-src/META src/*.a src/*.cma src/*.cmi src/*.cmx src/*.cmxa src/*.mli 
@OCamlStdlibDir@/ao
+src/META src/*.a src/*.cma src/*.cmi src/*.mli @OCamlStdlibDir@/ao
+OPT: src/*.cmx src/*.cmxa @OCamlStdlibDir@/ao

Attachment: pgpVe7_fKmUqR.pgp
Description: PGP signature

Reply via email to