Skip to content

Instantly share code, notes, and snippets.

@antonym
Created March 6, 2014 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonym/9391707 to your computer and use it in GitHub Desktop.
Save antonym/9391707 to your computer and use it in GitHub Desktop.
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
I: Copying back the cached apt archive contents
I: new cache content debhelper_9.20140228_all.deb added
I: Copying source file
I: copying [/root/xenserver-core/SRPMS/liblwt-ocaml_2.4.3-1.dsc]
I: copying [/root/xenserver-core/SRPMS/liblwt-ocaml_2.4.3.orig.tar.gz]
I: copying [/root/xenserver-core/SRPMS/liblwt-ocaml_2.4.3-1.debian.tar.xz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package (liblwt-ocaml_2.4.3-1.dsc)
dpkg-source: info: extracting liblwt-ocaml in liblwt-ocaml-2.4.3
dpkg-source: info: unpacking liblwt-ocaml_2.4.3.orig.tar.gz
dpkg-source: info: unpacking liblwt-ocaml_2.4.3-1.debian.tar.xz
dpkg-source: info: applying debian-changes-2.4.3-1
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc -rfakeroot
dpkg-buildpackage: source package liblwt-ocaml
dpkg-buildpackage: source version 2.4.3-1
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by David Scott <dave.scott@eu.citrix.com>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build liblwt-ocaml-2.4.3
fakeroot debian/rules clean
dh clean --with ocaml --with python2
dh_testdir
debian/rules override_dh_auto_clean
make[1]: Entering directory `/tmp/buildd/liblwt-ocaml-2.4.3'
debian/clean.sh
/bin/rm -rf /tmp/buildd/liblwt-ocaml-2.4.3/debian/tmp
make[1]: Leaving directory `/tmp/buildd/liblwt-ocaml-2.4.3'
dh_ocamlclean
rm -f ocamlinit-stamp debian/liblwt-ocaml-dev.install debian/liblwt-ocaml.install
dh_clean
rm -f debian/liblwt-ocaml.substvars
rm -f debian/liblwt-ocaml.*.debhelper
rm -rf debian/liblwt-ocaml/
rm -f debian/liblwt-ocaml-dev.substvars
rm -f debian/liblwt-ocaml-dev.*.debhelper
rm -rf debian/liblwt-ocaml-dev/
rm -f debian/*.debhelper.log
rm -f debian/files
find . \( \( -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
rm -f *-stamp
dpkg-source -b liblwt-ocaml-2.4.3
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building liblwt-ocaml using existing ./liblwt-ocaml_2.4.3.orig.tar.gz
dpkg-source: info: building liblwt-ocaml in liblwt-ocaml_2.4.3-1.debian.tar.xz
dpkg-source: info: building liblwt-ocaml in liblwt-ocaml_2.4.3-1.dsc
debian/rules build
dh build --with ocaml --with python2
dh_testdir
dh_ocamlinit
sed -e 's%@OCamlABI@%4.01.0%g' -e 's%@OCamlStdlibDir@%/usr/lib/ocaml%g' -e 's%@OCamlDllDir@%/usr/lib/ocaml/stublibs%g' -e 's/^OPT: //' -e '/^BYTE: /d' -e 's/^DYN: //' debian/liblwt-ocaml-dev.install.in > debian/liblwt-ocaml-dev.install
sed -e 's%@OCamlABI@%4.01.0%g' -e 's%@OCamlStdlibDir@%/usr/lib/ocaml%g' -e 's%@OCamlDllDir@%/usr/lib/ocaml/stublibs%g' -e 's/^OPT: //' -e '/^BYTE: /d' -e 's/^DYN: //' debian/liblwt-ocaml.install.in > debian/liblwt-ocaml.install
touch ocamlinit-stamp
debian/rules override_dh_auto_build
make[1]: Entering directory `/tmp/buildd/liblwt-ocaml-2.4.3'
debian/build.sh
not checking for pkg-config
not checking for libev
testing for pthread: ........................... available
not checking for glib
testing for eventfd: ........................... available
testing for fd passing: ........................ available
testing for sched_getcpu: ...................... available
testing for affinity getting/setting: .......... available
testing for credentials getting (Linux): ....... available
testing for credentials getting (NetBSD): ...... unavailable
testing for credentials getting (OpenBSD): ..... unavailable
testing for credentials getting (FreeBSD): ..... unavailable
testing for credentials getting (getpeereid): .. unavailable
testing for fdatasync: ......................... available
testing for netdb_reentrant: ................... available
Generating C stubs...
Configuration:
ocamlfind: ........................................... /usr/bin/ocamlfind
ocamlc: .............................................. /usr/bin/ocamlc.opt
ocamlopt: ............................................ /usr/bin/ocamlopt.opt
ocamlbuild: .......................................... /usr/bin/ocamlbuild
Package name: ........................................ lwt
Package version: ..................................... 2.4.3
os_type: ............................................. Unix
system: .............................................. linux
architecture: ........................................ amd64
ccomp_type: .......................................... cc
ocaml_version: ....................................... 4.01.0
standard_library_default: ............................ /usr/lib/ocaml
standard_library: .................................... /usr/lib/ocaml
standard_runtime: .................................... /usr/bin/ocamlrun
bytecomp_c_compiler: ................................. gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC
native_c_compiler: ................................... gcc -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
model: ............................................... default
ext_obj: ............................................. .o
ext_asm: ............................................. .s
ext_lib: ............................................. .a
ext_dll: ............................................. .so
default_executable_name: ............................. a.out
systhread_supported: ................................. true
Install architecture-independent files dir: .......... /usr/local
Install architecture-dependent files in dir: ......... $prefix
User executables: .................................... $exec_prefix/bin
System admin executables: ............................ $exec_prefix/sbin
Program executables: ................................. $exec_prefix/libexec
Read-only single-machine data: ....................... $prefix/etc
Modifiable architecture-independent data: ............ $prefix/com
Modifiable single-machine data: ...................... $prefix/var
Object code libraries: ............................... $exec_prefix/lib
Read-only arch-independent data root: ................ $prefix/share
Read-only architecture-independent data: ............. $datarootdir
Info documentation: .................................. $datarootdir/info
Locale-dependent data: ............................... $datarootdir/locale
Man documentation: ................................... $datarootdir/man
Documentation root: .................................. $datarootdir/doc/$pkg_name
HTML documentation: .................................. $docdir
DVI documentation: ................................... $docdir
PDF documentation: ................................... $docdir
PS documentation: .................................... $docdir
findlib_version: ..................................... 1.4
is_native: ........................................... true
suffix_program: ......................................
Remove a file.: ...................................... rm -f
Remove a directory.: ................................. rm -rf
Turn ocaml debug flag on: ............................ true
Turn ocaml profile flag on: .......................... false
Compiler support generation of .cmxs.: ............... true
OCamlbuild additional flags: .........................
build and install everything: ........................ false
Build the syntax extension: .......................... true
Unix support: ........................................ true
React helpers: ....................................... true
Glib integration: .................................... false
SSL support: ......................................... true
Text mode utilities (deprecated): .................... true
Preemptive threads support: .......................... true
Asynchronous unix functions: ......................... true
Enhanced toplevel: ................................... false
Compile with libev support: .......................... false
Use pthread: ......................................... true
Create documentations: ............................... true
Compile tests executable and library and run them: ... false
pkg_camlp4: .......................................... /usr/lib/ocaml/camlp4
pkg_camlp4_quotations_o: ............................. /usr/lib/ocaml/camlp4
pkg_unix: ............................................ /usr/lib/ocaml
pkg_bigarray: ........................................ /usr/lib/ocaml
pkg_react: ........................................... /usr/lib/ocaml/react
pkg_threads: ......................................... /usr/lib/ocaml
pkg_ssl: ............................................. /usr/lib/ocaml/ssl
pkg_text: ............................................ /usr/lib/ocaml/text
pkg_text_bigarray: ................................... /usr/lib/ocaml/text
pkg_findlib: ......................................... /usr/lib/ocaml/findlib
pkg_camlp4_extend: ................................... /usr/lib/ocaml/camlp4
ocamldoc: ............................................ /usr/bin/ocamldoc
make[2]: Entering directory `/tmp/buildd/liblwt-ocaml-2.4.3'
ocamlopt.opt -o setup.exe setup.ml || ocamlopt -o setup.exe setup.ml || ocamlc -o setup.exe setup.ml
rm -f setup.cmx setup.cmi setup.o setup.obj setup.cmo
./setup.exe -configure
not checking for pkg-config
not checking for libev
testing for pthread: ........................... available
not checking for glib
testing for eventfd: ........................... available
testing for fd passing: ........................ available
testing for sched_getcpu: ...................... available
testing for affinity getting/setting: .......... available
testing for credentials getting (Linux): ....... available
testing for credentials getting (NetBSD): ...... unavailable
testing for credentials getting (OpenBSD): ..... unavailable
testing for credentials getting (FreeBSD): ..... unavailable
testing for credentials getting (getpeereid): .. unavailable
testing for fdatasync: ......................... available
testing for netdb_reentrant: ................... available
Generating C stubs...
Configuration:
ocamlfind: ........................................... /usr/bin/ocamlfind
ocamlc: .............................................. /usr/bin/ocamlc.opt
ocamlopt: ............................................ /usr/bin/ocamlopt.opt
ocamlbuild: .......................................... /usr/bin/ocamlbuild
Package name: ........................................ lwt
Package version: ..................................... 2.4.3
os_type: ............................................. Unix
system: .............................................. linux
architecture: ........................................ amd64
ccomp_type: .......................................... cc
ocaml_version: ....................................... 4.01.0
standard_library_default: ............................ /usr/lib/ocaml
standard_library: .................................... /usr/lib/ocaml
standard_runtime: .................................... /usr/bin/ocamlrun
bytecomp_c_compiler: ................................. gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC
native_c_compiler: ................................... gcc -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
model: ............................................... default
ext_obj: ............................................. .o
ext_asm: ............................................. .s
ext_lib: ............................................. .a
ext_dll: ............................................. .so
default_executable_name: ............................. a.out
systhread_supported: ................................. true
Install architecture-independent files dir: .......... /usr/local
Install architecture-dependent files in dir: ......... $prefix
User executables: .................................... $exec_prefix/bin
System admin executables: ............................ $exec_prefix/sbin
Program executables: ................................. $exec_prefix/libexec
Read-only single-machine data: ....................... $prefix/etc
Modifiable architecture-independent data: ............ $prefix/com
Modifiable single-machine data: ...................... $prefix/var
Object code libraries: ............................... $exec_prefix/lib
Read-only arch-independent data root: ................ $prefix/share
Read-only architecture-independent data: ............. $datarootdir
Info documentation: .................................. $datarootdir/info
Locale-dependent data: ............................... $datarootdir/locale
Man documentation: ................................... $datarootdir/man
Documentation root: .................................. $datarootdir/doc/$pkg_name
HTML documentation: .................................. $docdir
DVI documentation: ................................... $docdir
PDF documentation: ................................... $docdir
PS documentation: .................................... $docdir
findlib_version: ..................................... 1.4
is_native: ........................................... true
suffix_program: ......................................
Remove a file.: ...................................... rm -f
Remove a directory.: ................................. rm -rf
Turn ocaml debug flag on: ............................ true
Turn ocaml profile flag on: .......................... false
Compiler support generation of .cmxs.: ............... true
OCamlbuild additional flags: .........................
build and install everything: ........................ false
Build the syntax extension: .......................... true
Unix support: ........................................ true
React helpers: ....................................... true
Glib integration: .................................... false
SSL support: ......................................... true
Text mode utilities (deprecated): .................... true
Preemptive threads support: .......................... true
Asynchronous unix functions: ......................... true
Enhanced toplevel: ................................... false
Compile with libev support: .......................... false
Use pthread: ......................................... true
Create documentations: ............................... true
Compile tests executable and library and run them: ... false
pkg_camlp4: .......................................... /usr/lib/ocaml/camlp4
pkg_camlp4_quotations_o: ............................. /usr/lib/ocaml/camlp4
pkg_unix: ............................................ /usr/lib/ocaml
pkg_bigarray: ........................................ /usr/lib/ocaml
pkg_react: ........................................... /usr/lib/ocaml/react
pkg_threads: ......................................... /usr/lib/ocaml
pkg_ssl: ............................................. /usr/lib/ocaml/ssl
pkg_text: ............................................ /usr/lib/ocaml/text
pkg_text_bigarray: ................................... /usr/lib/ocaml/text
pkg_findlib: ......................................... /usr/lib/ocaml/findlib
pkg_camlp4_extend: ................................... /usr/lib/ocaml/camlp4
ocamldoc: ............................................ /usr/bin/ocamldoc
./setup.exe -build
Finished, 1 target (0 cached) in 00:00:00.
ocamlfind: Package `wikidoc' not found
+ ocamlfind ocamlc -c -g -package camlp4.quotations.o -package camlp4.extend -package camlp4 -syntax camlp4o -I syntax -o syntax/pa_optcomp.cmo syntax/pa_optcomp.ml
File "syntax/pa_optcomp.ml", line 217, characters 50-52:
Warning 3: deprecated feature: operator (or); you should use (||) instead
+ ocamlfind ocamlopt -c -g -package camlp4.quotations.o -package camlp4.extend -package camlp4 -syntax camlp4o -I syntax -o syntax/pa_optcomp.cmx syntax/pa_optcomp.ml
File "syntax/pa_optcomp.ml", line 217, characters 50-52:
Warning 3: deprecated feature: operator (or); you should use (||) instead
+ ocamlfind ocamlc -c -g -I src/core -package unix -package camlp4 -package bigarray -syntax camlp4o -ppopt syntax/pa_optcomp.cmo -I src/unix -I src/core -o src/unix/lwt_unix.cmi src/unix/lwt_unix.mli
File "src/unix/lwt_unix.mli", line 301, characters 5-233:
Error: This variant or record definition does not match that of type
Unix.open_flag
The field O_CLOEXEC is only present in the original definition.
Command exited with code 2.
Compilation unsuccessful after building 124 targets (0 cached) in 00:00:08.
E: Failure("Command ''/usr/bin/ocamlbuild' syntax/optcomp.cma syntax/optcomp.cmxa syntax/optcomp.a syntax/optcomp.cmxs src/core/lwt.cma src/core/lwt.cmxa src/core/lwt.a src/core/lwt.cmxs src/unix/liblwt-unix_stubs.a src/unix/dlllwt-unix_stubs.so src/unix/lwt-unix.cma src/unix/lwt-unix.cmxa src/unix/lwt-unix.a src/unix/lwt-unix.cmxs src/simple_top/lwt-simple-top.cma src/simple_top/lwt-simple-top.cmxa src/simple_top/lwt-simple-top.a src/simple_top/lwt-simple-top.cmxs src/react/lwt-react.cma src/react/lwt-react.cmxa src/react/lwt-react.a src/react/lwt-react.cmxs src/preemptive/lwt-preemptive.cma src/preemptive/lwt-preemptive.cmxa src/preemptive/lwt-preemptive.a src/preemptive/lwt-preemptive.cmxs src/extra/lwt-extra.cma src/extra/lwt-extra.cmxa src/extra/lwt-extra.a src/extra/lwt-extra.cmxs src/ssl/lwt-ssl.cma src/ssl/lwt-ssl.cmxa src/ssl/lwt-ssl.a src/ssl/lwt-ssl.cmxs src/text/liblwt-text_stubs.a src/text/dlllwt-text_stubs.so src/text/lwt-text.cma src/text/lwt-text.cmxa src/text/lwt-text.a src/text/lwt-text.cmxs src/top/lwt-top.cma src/top/lwt-top.cmxa src/top/lwt-top.a src/top/lwt-top.cmxs syntax/lwt-syntax.cma syntax/lwt-syntax.cmxa syntax/lwt-syntax.a syntax/lwt-syntax.cmxs syntax/lwt-syntax-options.cma syntax/lwt-syntax-options.cmxa syntax/lwt-syntax-options.a syntax/lwt-syntax-options.cmxs syntax/lwt-syntax-log.cma syntax/lwt-syntax-log.cmxa syntax/lwt-syntax-log.a syntax/lwt-syntax-log.cmxs examples/unix/logging.native examples/unix/relay.native examples/unix/parallelize.native -tag debug' terminated with error code 10")
make[2]: *** [build] Error 1
make[2]: Leaving directory `/tmp/buildd/liblwt-ocaml-2.4.3'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/tmp/buildd/liblwt-ocaml-2.4.3'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting /root/xenserver-core/SRPMS filesystem
I: unmounting /root/xenserver-core/RPMS filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.11572
make: *** [RPMS/liblwt-ocaml-dev_2.4.3-1_amd64.deb] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment