dpkg-buildpackage -rfakeroot -D -us -uc -sa -mStéphane Glondu dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package mysql-ocaml dpkg-buildpackage: source version 1.0.4-7~odo50+1 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh --with quilt,ocaml clean dh_testdir debian/rules override_dh_auto_clean make[1]: Entering directory `/tmp/mysql-ocaml-1.0.4' rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make clean rm -f config.log config.status Makefile make[1]: Leaving directory `/tmp/mysql-ocaml-1.0.4' dh_quilt_unpatch No patch removed "dh_ocamlinit -d" dh_clean dpkg-source -b mysql-ocaml-1.0.4 dpkg-source: info: using source format `1.0' dpkg-source: info: building mysql-ocaml using existing mysql-ocaml_1.0.4.orig.tar.gz dpkg-source: info: building mysql-ocaml in mysql-ocaml_1.0.4-7~odo50+1.diff.gz dpkg-source: info: building mysql-ocaml in mysql-ocaml_1.0.4-7~odo50+1.dsc debian/rules build dh --with quilt,ocaml build dh_testdir dh_quilt_patch Applying patch 0001-Fix-creation-of-insecure-temporary-files.patch patching file etc/shtool Applying patch 0002-Add-mysql_real_escape_string-to-the-API.patch patching file mysql.ml patching file mysql.mli patching file mysql_stubs.c Now at patch 0002-Add-mysql_real_escape_string-to-the-API.patch dh_ocamlinit debian/rules override_dh_auto_configure make[1]: Entering directory `/tmp/mysql-ocaml-1.0.4' CFLAGS="-Wall -g -fPIC -O2" ./configure --prefix=/usr \ --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info checking for version... Configuring Version 1.0.4 checking for platform... x86_64-whatever-linux2 configure: checking for ocaml compiler and tools... checking for ocamlc... ocamlc checking for ocamlopt... ocamlopt checking for ocamlfind... ocamlfind checking for a BSD-compatible install... /usr/bin/install -c configure: checking for C compiler... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed configure: checking for C header files... checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes configure: checking libraries... configure: checking for MySQL library... checking for mysql_real_connect in -lmysqlclient... yes checking for compress in -lz... yes configure: checking for MySQL header files... checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes configure: creating ./config.status config.status: creating Makefile configure: creating ./config.status config.status: creating Makefile config.status: creating META make[1]: Leaving directory `/tmp/mysql-ocaml-1.0.4' debian/rules override_dh_auto_build make[1]: Entering directory `/tmp/mysql-ocaml-1.0.4' /usr/bin/make make[2]: Entering directory `/tmp/mysql-ocaml-1.0.4' make[3]: Entering directory `/tmp/mysql-ocaml-1.0.4' ocamldep mysql.mli > ._bcdi/mysql.di ocamldep -pp "camlp4o " mysql.ml > ._d/mysql.d make[3]: Leaving directory `/tmp/mysql-ocaml-1.0.4' make[3]: Entering directory `/tmp/mysql-ocaml-1.0.4' ocamlc -c -cc "cc" -ccopt "-fPIC -Wall -g -fPIC -O2 \ -DPIC \ -o mysql_stubs.o " mysql_stubs.c mysql_stubs.c: In function 'db_connect': mysql_stubs.c:190: warning: passing argument 1 of 'mysqlfailwith' discards qualifiers from pointer target type mysql_stubs.c: In function 'db_errmsg': mysql_stubs.c:443: warning: passing argument 1 of 'val_str_option' discards qualifiers from pointer target type ar rcs libmysql_stubs.a mysql_stubs.o ocamlc -c mysql.mli ocamlc -c -pp "camlp4o " mysql.ml ocamlmklib \ -o mysql_stubs mysql_stubs.o -lz -lmysqlclient \ ocamlc -a -dllib dllmysql_stubs.so \ -cclib -lmysql_stubs -cclib -lz -cclib -lmysqlclient -o mysql.cma mysql.cmo make[3]: Leaving directory `/tmp/mysql-ocaml-1.0.4' make[2]: Leaving directory `/tmp/mysql-ocaml-1.0.4' /usr/bin/make opt make[2]: Entering directory `/tmp/mysql-ocaml-1.0.4' make[3]: Entering directory `/tmp/mysql-ocaml-1.0.4' ocamldep -native mysql.mli > ._ncdi/mysql.di make[3]: Leaving directory `/tmp/mysql-ocaml-1.0.4' make[3]: Entering directory `/tmp/mysql-ocaml-1.0.4' make[3]: `libmysql_stubs.a' is up to date. ocamlopt -c -pp "camlp4o " mysql.ml ocamlopt -a -cclib -lmysql_stubs -cclib -lz -cclib -lmysqlclient \ -o mysql.cmxa mysql.cmx make[3]: Leaving directory `/tmp/mysql-ocaml-1.0.4' make[2]: Leaving directory `/tmp/mysql-ocaml-1.0.4' make[1]: Leaving directory `/tmp/mysql-ocaml-1.0.4' dh_auto_test fakeroot debian/rules binary dh --with quilt,ocaml binary dh_testroot dh_prep dh_installdirs debian/rules override_dh_auto_install make[1]: Entering directory `/tmp/mysql-ocaml-1.0.4' mkdir -p /tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml /usr/bin/make install OCAMLFIND_DESTDIR=/tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml OCAMLFIND_LDCONF=ignore make[2]: Entering directory `/tmp/mysql-ocaml-1.0.4' make[3]: Entering directory `/tmp/mysql-ocaml-1.0.4' make[3]: `libmysql_stubs.a' is up to date. make[3]: `mysql.cma' is up to date. make[3]: Leaving directory `/tmp/mysql-ocaml-1.0.4' Installing library with ocamlfind ocamlfind install mysql META mysql.mli mysql.cmi mysql.cma mysql.cmx mysql.cmxa libmysql_stubs.a mysql.a dllmysql_stubs.so Installed /tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml/mysql/dllmysql_stubs.so Installed /tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml/mysql/mysql.a Installed /tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml/mysql/libmysql_stubs.a Installed /tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml/mysql/mysql.cmxa Installed /tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml/mysql/mysql.cmx Installed /tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml/mysql/mysql.cma Installed /tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml/mysql/mysql.cmi Installed /tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml/mysql/mysql.mli Installed /tmp/mysql-ocaml-1.0.4/debian/tmp//usr/lib/ocaml/mysql/META Installation successful. make[2]: Leaving directory `/tmp/mysql-ocaml-1.0.4' make[1]: Leaving directory `/tmp/mysql-ocaml-1.0.4' dh_install dh_ocamldoc dh_installdocs debian/rules override_dh_installchangelogs make[1]: Entering directory `/tmp/mysql-ocaml-1.0.4' dh_installchangelogs CHANGES make[1]: Leaving directory `/tmp/mysql-ocaml-1.0.4' dh_installexamples dh_installman dh_installcatalogs dh_installcron dh_installdebconf dh_installemacsen dh_installifupdown dh_installinfo dh_installinit dh_installmenu dh_installmime dh_installmodules dh_installlogcheck dh_installlogrotate dh_installpam dh_installppp dh_installudev dh_installwm dh_installxfonts dh_bugfiles dh_lintian dh_gconf dh_icons dh_perl dh_usrlocal dh_link dh_compress dh_fixperms dh_strip dh_makeshlibs dh_shlibdeps dpkg-shlibdeps: warning: dependency on libz.so.1 could be avoided if "debian/libmysql-ocaml/usr/lib/ocaml/stublibs/dllmysql_stubs.so" were not uselessly linked against it (they use none of its symbols). dh_installdeb dh_ocaml dh_gencontrol dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends} dh_md5sums dh_builddeb dpkg-deb: building package `libmysql-ocaml' in `../libmysql-ocaml_1.0.4-7~odo50+1_amd64.deb'. dpkg-deb: building package `libmysql-ocaml-dev' in `../libmysql-ocaml-dev_1.0.4-7~odo50+1_amd64.deb'. dpkg-genchanges -sa -mStéphane Glondu >../mysql-ocaml_1.0.4-7~odo50+1_amd64.changes dpkg-genchanges: warning: the current version (1.0.4-7~odo50+1) is smaller than the previous one (1.0.4-7) dpkg-genchanges: including full source code in upload dpkg-buildpackage: full upload (original source is included)