eh... not yet there

* cleanup:

 - either use .examples (prune .example) or cmdline args for dh_installexamples,
  why both? (later on my lead to confused and wasted time trying to figure out 
WTF)

  preferably .examples files and clean
dh_installexamples cmdline -- just add debian/tmp/ prefix into .examples so
they could find the files (I do not think they search under BUILDDIR like
dh_install does)


 - why to have debian/README symlinked to QUICK-START if that one gets
  installed proudly under its own name anyways now ;)

$> ls -l *.example*
-rw------- 1 yoh yoh 27 Jan 29 02:22 libdmtcpaware-dev.example
-rw------- 1 yoh yoh 25 Jan 29 02:22 libdmtcpaware-dev.examples
-rw------- 1 yoh yoh 56 Jan 29 02:22 libdmtcpaware1.0.example
-rw------- 1 yoh yoh 25 Jan 29 02:22 libdmtcpaware1.0.examples

$> grep example rules 
    dh_installexamples -plibdmtcpaware-dev $(BUILDDIR)/usr/lib/dmtcp/examples/*
    dh_installexamples -plibdmtcpaware1.0  $(BUILDDIR)/usr/lib/dmtcp/examples/*

* Almost forgot:

 please add me to Uploaders field in control, right after
 Maintainer: (so bugs get closed properly with uploads by me etc):

 Uploaders: Yaroslav Halchenko <deb...@onerussian.com>


* tried to build across recent debian/ubuntu releases (just for the sake of
backporting -- not necessary for actual submission), and architectures -- it
seems that 32bit patch does not apply cleanly (that is an important failure
needed to be fixed)

,---
| ...
| rm -f mtcp.tmp mtcp.t-fail
| if test `uname -m` = x86_64; then \
|           if patch mtcp.t mtcp.t.patch-x86_64; then \
|             :; \
|           else \
|             mv mtcp.t mtcp.t-fail; false; \
|           fi \
|         else \
|           if patch mtcp.t mtcp.t.patch-i386; then \
|             :; \
|           else \
|             mv mtcp.t mtcp.t-fail; false; \
|           fi \
|         fi
| patching file mtcp.t
| Hunk #1 succeeded at 6 with fuzz 2.
| Hunk #2 FAILED at 175.
| 1 out of 2 hunks FAILED -- saving rejects to file mtcp.t.rej
| make[2]: *** [mtcp.t] Error 1
| make[2]: Leaving directory `/tmp/buildd/dmtcp-1.2.0+svn864/mtcp'
| make[1]: *** [mtcp] Error 2
| make[1]: Leaving directory `/tmp/buildd/dmtcp-1.2.0+svn864'
| make: *** [build-stamp] Error 2
| dpkg-buildpackage: error: debian/rules build gave error exit status 2
| E: Failed autobuilding of package
| I: unmounting /var/cache/pbuilder/ccache filesystem
| I: unmounting dev/pts filesystem
| I: unmounting proc filesystem
| neurodebian@lego:/tmp/dmtcp$ grep 'saving rejects' *build
| dmtcp_1.2.0+svn864-1~nd09.04+1_i386.build:1 out of 2 hunks FAILED -- saving 
rejects to file mtcp.t.rej
| dmtcp_1.2.0+svn864-1~nd09.10+1_i386.build:1 out of 2 hunks FAILED -- saving 
rejects to file mtcp.t.rej
| dmtcp_1.2.0+svn864-1~nd10.04+1_i386.build:1 out of 2 hunks FAILED -- saving 
rejects to file mtcp.t.rej
| dmtcp_1.2.0+svn864-1~nd10.10+1_i386.build:1 out of 2 hunks FAILED -- saving 
rejects to file mtcp.t.rej
| dmtcp_1.2.0+svn864-1~nd+1_i386.build:1 out of 2 hunks FAILED -- saving 
rejects to file mtcp.t.rej
| dmtcp_1.2.0+svn864-1~nd50+1_i386.build:1 out of 2 hunks FAILED -- saving 
rejects to file mtcp.t.rej
| dmtcp_1.2.0+svn864-1~nd60+1_i386.build:1 out of 2 hunks FAILED -- saving 
rejects to file mtcp.t.rej
| neurodebian@lego:/tmp/dmtcp$ cat summary.build
| dmtcp_1.2.0+svn864-1_amd64.build        OK
| dmtcp_1.2.0+svn864-1~nd50+1_i386.build  FAILED
| dmtcp_1.2.0+svn864-1~nd50+1_amd64.build FAILED
| dmtcp_1.2.0+svn864-1~nd60+1_i386.build  FAILED
| dmtcp_1.2.0+svn864-1~nd60+1_amd64.build OK
| dmtcp_1.2.0+svn864-1~nd+1_i386.build    FAILED
| dmtcp_1.2.0+svn864-1~nd+1_amd64.build   OK
| dmtcp_1.2.0+svn864-1~nd10.10+1_i386.build       FAILED
| dmtcp_1.2.0+svn864-1~nd10.10+1_amd64.build      OK
| dmtcp_1.2.0+svn864-1~nd10.04+1_i386.build       FAILED
| dmtcp_1.2.0+svn864-1~nd10.04+1_amd64.build      OK
| dmtcp_1.2.0+svn864-1~nd09.10+1_i386.build       FAILED
| dmtcp_1.2.0+svn864-1~nd09.10+1_amd64.build      OK
| dmtcp_1.2.0+svn864-1~nd09.04+1_i386.build       FAILED
| dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build      FAILED
`---

* side point -- not sure if you even want to approach it, but since I have it
already -- may be you want to make it compatible with elderly ubuntu and 
Debians:

 - Ubuntu 0.04

neurodebian@lego:/tmp/dmtcp$ grep -3 "error: ex" *
dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build-mv -f .deps/connectionstate.Tpo 
.deps/connectionstate.Po
dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build-g++ -DHAVE_CONFIG_H -I.    -fPIC -g 
-O2 -MT connection.o -MD -MP -MF .deps/connection.Tpo -c -o connection.o 
connection.cpp
dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build-In file included from 
connection.cpp:28:
dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build:syscallwrappers.h:281: error: 
expected `}' before '(' token
dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build:syscallwrappers.h:281: error: 
expected initializer before 'enum_getpid'
dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build:syscallwrappers.h:283: error: 
expected constructor, destructor, or type conversion before ';' token
dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build:syscallwrappers.h:513: error: 
expected declaration before '}' token
dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build-make[3]: *** [connection.o] Error 1
dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build-make[3]: Leaving directory 
`/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src'
dmtcp_1.2.0+svn864-1~nd09.04+1_amd64.build-make[2]: *** [all] Error 2

 - Debian 5.0 (squeeze):

neurodebian@lego:/tmp/dmtcp$ grep -4 ': undefined reference' *build
dmtcp_1.2.0+svn864-1~nd50+1_amd64.build-g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 
-MT pthreadwrappers.o -MD -MP -MF .deps/pthreadwrappers.Tpo -c -o 
pthreadwrappers.o pthreadwrappers.cpp
dmtcp_1.2.0+svn864-1~nd50+1_amd64.build-mv -f .deps/pthreadwrappers.Tpo 
.deps/pthreadwrappers.Po
dmtcp_1.2.0+svn864-1~nd50+1_amd64.build-g++ -fPIC -g -O2 -shared -avoid-version 
-module -Wl,-z,defs -o dmtcphijack.so dmtcpawareapi.o dmtcpworker.o 
dmtcpcoordinatorapi.o execwrappers.o mtcpinterface.o signalwrappers.o 
socketwrappers.o workerhijack.o pidwrappers.o miscwrappers.o glibcsystem.o 
sysvipc.o filewrappers.o mallocwrappers.o pthreadwrappers.o 
synchronizationlogging.o libdmtcpinternal.a libsyscallsreal.a -ldl -lpthread 
dmtcp_1.2.0+svn864-1~nd50+1_amd64.build-socketwrappers.o: In function `accept4':
dmtcp_1.2.0+svn864-1~nd50+1_amd64.build:/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src/socketwrappers.cpp:342:
 undefined reference to `_real_accept4'
dmtcp_1.2.0+svn864-1~nd50+1_amd64.build:/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src/socketwrappers.cpp:339:
 undefined reference to `_real_accept4'
dmtcp_1.2.0+svn864-1~nd50+1_amd64.build-collect2: ld returned 1 exit status
dmtcp_1.2.0+svn864-1~nd50+1_amd64.build-make[3]: *** [dmtcphijack.so] Error 1
dmtcp_1.2.0+svn864-1~nd50+1_amd64.build-make[3]: Leaving directory 
`/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src'
dmtcp_1.2.0+svn864-1~nd50+1_amd64.build-make[2]: *** [all] Error 2

attaching complete build logs for reference

* dynamic library

 -  -dev package should carry symlink for .so file, not the lib package
    (carrying versioned one)

    and then libdmtcpaware-dev should depend on libdmtcpaware1.0 package not
    dmtcp

 -  soname is not set within the library... you might like to follow
    instructions embedded in some other pieces of your code

$> grep -A2 soname ./mtcp/Makefile 
# Could add something like -Wl,-soname,libmtcp.so.1 if one wants to globally
#  install a copy of libmtcp.so for others to use.

 -  is there a reason to have soversion 1.0 instead of plain 1 ? or you expect
    it not being compatible with new minor releases?


*  do not embed homepage into description since homepage field is already there:

$> apt-cache show libdmtcpaware1.0 | grep http
 For more information see: http://dmtcp.sourceforge.net/
Homepage: http://dmtcp.sourceforge.net

 also not sure if
  The user application should link with libdmtcpaware.so (-ldmtcpaware) to use
  the dmtcp API for checkpoint/restart.
 is not obvious for anyone installing that package ;-)


Let's hope that next time will be the final push ;-)

On Fri, 28 Jan 2011, Kapil Arya wrote:

> Hello Yaroslav,

> I have now uploaded the newer version of DMTCP which provides the
> dynamic library as well. Here is the url to .dsc file:
> http://mentors.debian.net/debian/pool/main/d/dmtcp/dmtcp_1.2.0+svn864-1.dsc

> I have also fixed the debian revision as well.

> Please let me know if there are any questions.

> Thanks,
> -Kapil

> 2011/1/27 Yaroslav Halchenko <deb...@onerussian.com>:
> > thank you Kapil for keeping rolling forward... if you don't hear from
> > me with comments about current changes, please buzz me whenever you
> > upload .dsc which should have provided dynamic libraries as well...

> > btw
> > http://mentors.debian.net/debian/pool/main/d/dmtcp/dmtcp_1.2.0+svn859.dsc
> > sounds wrong -- there is no debian revision (-1) in the version and
> > dmtcp is not a "native Debian package", so upstream version should be
> > 1.2.0+svn859  and debian revision 1, so it should have looked like
> > http://mentors.debian.net/debian/pool/main/d/dmtcp/dmtcp_1.2.0+svn859-1.dsc

> > On Wed, 26 Jan 2011, Kapil Arya wrote:

> >> Hello All,
> >> I have uploaded the new version of the package with most of the
> >> suggested modifications. I am still working on the rest. Here is the
> >> url to the signed dsc:
> >>  http://mentors.debian.net/debian/pool/main/d/dmtcp/dmtcp_1.2.0+svn859.dsc


> > --
> > =------------------------------------------------------------------=
> > Keep in touch                                     www.onerussian.com
> > Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic



-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic
I: Running in no-targz mode
I: using fakeroot in build.
I: Current time: Sat Jan 29 03:12:37 EST 2011
I: pbuilder-time-stamp: 1296288757
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /var/cache/pbuilder/ccache
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Setting up ccache
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (>= 7)
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in 
`/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 10691 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from 
.../pbuilder-satisfydepends-dummy.deb) ...
dpkg: dependency problems prevent configuration of 
pbuilder-satisfydepends-dummy:
 pbuilder-satisfydepends-dummy depends on debhelper (>= 7); however:
  Package debhelper is not installed.
dpkg: error processing pbuilder-satisfydepends-dummy (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pbuilder-satisfydepends-dummy
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
The following NEW packages will be installed:
  bsdmainutils{a} debhelper{a} file{a} gettext{a} gettext-base{a} 
  groff-base{a} html2text{a} intltool-debian{a} libcroco3{a} 
  libglib2.0-0{a} libmagic1{a} libxml2{a} man-db{a} po-debconf{a} 
The following partially installed packages will be configured:
  pbuilder-satisfydepends-dummy 
0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/7480kB of archives. After unpacking 24.9MB will be used.
Writing extended state information...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package libmagic1.
(Reading database ... 10691 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.26-2ubuntu3_amd64.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../file_4.26-2ubuntu3_amd64.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-5_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.20.1-0ubuntu2_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.6.32.dfsg-5ubuntu4_amd64.deb) ...
Selecting previously deselected package libcroco3.
Unpacking libcroco3 (from .../libcroco3_0.6.1-2_amd64.deb) ...
Selecting previously deselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.17-6ubuntu2_amd64.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.17-6ubuntu2_amd64.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) 
...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.15ubuntu1_all.deb) ...
Selecting previously deselected package groff-base.
Unpacking groff-base (from .../groff-base_1.18.1.1-22build1_amd64.deb) ...
Selecting previously deselected package bsdmainutils.
Unpacking bsdmainutils (from .../bsdmainutils_6.1.10ubuntu3_amd64.deb) ...
Selecting previously deselected package man-db.
Unpacking man-db (from .../man-db_2.5.5-1build1_amd64.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_7.4.11~bpo50+1~jaunty.nd1_all.deb) ...
Setting up libmagic1 (4.26-2ubuntu3) ...

Setting up file (4.26-2ubuntu3) ...
Setting up html2text (1.3.2a-5) ...

Setting up libglib2.0-0 (2.20.1-0ubuntu2) ...

Setting up libxml2 (2.6.32.dfsg-5ubuntu4) ...

Setting up libcroco3 (0.6.1-2) ...

Setting up gettext-base (0.17-6ubuntu2) ...

Setting up gettext (0.17-6ubuntu2) ...

Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.15ubuntu1) ...

Setting up groff-base (1.18.1.1-22build1) ...

Setting up bsdmainutils (6.1.10ubuntu3) ...

Setting up man-db (2.5.5-1build1) ...
Building database of manual pages ...

Setting up debhelper (7.4.11~bpo50+1~jaunty.nd1) ...
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  fakeroot
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/117kB of archives.
After this operation, 455kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(Reading database ... 11722 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.12.1ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Setting up fakeroot (1.12.1ubuntu1) ...

I: Copying back the cached apt archive contents
I: Copying source file
I: copying [/tmp/dmtcp/dmtcp_1.2.0+svn864-1~nd09.04+1.dsc]
I: copying [/tmp/dmtcp/dmtcp_1.2.0+svn864.orig.tar.gz]
I: copying [/tmp/dmtcp/dmtcp_1.2.0+svn864-1~nd09.04+1.debian.tar.gz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package 
(dmtcp_1.2.0+svn864-1~nd09.04+1.dsc)
dpkg-source: extracting dmtcp in dmtcp-1.2.0+svn864
dpkg-source: info: unpacking dmtcp_1.2.0+svn864.orig.tar.gz
dpkg-source: info: unpacking dmtcp_1.2.0+svn864-1~nd09.04+1.debian.tar.gz
I: Building the package
I: Running cd tmp/buildd/*/ && dpkg-buildpackage -us -uc  -sa -sa -rfakeroot
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package dmtcp
dpkg-buildpackage: source version 1.2.0+svn864-1~nd09.04+1
dpkg-buildpackage: source changed by NeuroDebian Maintainers 
<t...@neuro.debian.net>
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || /usr/bin/make distclean
rm -f config.sub config.guess
dh_clean  --exclude ./mtcp/mtcp.t.orig
 dpkg-source -b dmtcp-1.2.0+svn864
dpkg-source: warning: unknown information field 'X-Original-Maintainer' in 
input data in general section of control info file
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building dmtcp using existing 
./dmtcp_1.2.0+svn864.orig.tar.gz
dpkg-source: warning: ignoring deletion of directory debian/patches
dpkg-source: warning: ignoring deletion of file debian/patches/series
dpkg-source: info: building dmtcp in 
dmtcp_1.2.0+svn864-1~nd09.04+1.debian.tar.gz
dpkg-source: info: building dmtcp in dmtcp_1.2.0+svn864-1~nd09.04+1.dsc
 debian/rules build
dh_testdir
./configure --build x86_64-linux-gnu --prefix=/usr 
--mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="-g -O2" 
LDFLAGS="-Wl,-z,defs"
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
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 ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for readline in -lreadline... no
checking if 'gcc -static' works... checking for conftest... yes
checking for dash... yes
checking for tcsh... no
checking for zsh... no
checking for gcl... no
checking for script... yes
checking for screen... no
checking for screen... no
checking for matlab... no
checking for patch... yes
checking for g++... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
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 linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking for gzip... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating test/testconfig.py
=== configuring in dmtcp (/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp)
configure: running /bin/bash ./configure --disable-option-checking 
'--prefix=/usr'  '--build' 'x86_64-linux-gnu' '--mandir=${prefix}/share/man' 
'--infodir=${prefix}/share/info' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,-z,defs' 
'build_alias=x86_64-linux-gnu' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' 
--cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
touch configure-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory `/tmp/buildd/dmtcp-1.2.0+svn864'
(cd mtcp && /usr/bin/make CC=gcc build readmtcp)
make[2]: Entering directory `/tmp/buildd/dmtcp-1.2.0+svn864/mtcp'
rm -f mtcp.t
ld -shared --verbose > mtcp.t
cat mtcp.t | sed -e '1,/========================/ d' > mtcp.tmp
cat mtcp.tmp | sed -e '/========================/,$ d' > mtcp.t
rm -f mtcp.tmp mtcp.t-fail
if test `uname -m` = x86_64; then \
          if patch mtcp.t mtcp.t.patch-x86_64; then \
            :; \
          else \
            mv mtcp.t mtcp.t-fail; false; \
          fi \
        else \
          if patch mtcp.t mtcp.t.patch-i386; then \
            :; \
          else \
            mv mtcp.t mtcp.t-fail; false; \
          fi \
        fi
patching file mtcp.t
Hunk #2 succeeded at 173 (offset -2 lines).
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_ptrace.o mtcp_ptrace.c
gcc -g -O2 -O0 -g -fPIC -DPIC -Wa,-adhl=mtcp.lis -c -o mtcp.o mtcp.c
mtcp.c:2609: warning: 'optimize' attribute directive ignored
if  gcc -v --help 2>&1 | grep stack-protector > /dev/null; then \
          cflags_extra=-fno-stack-protector ; \
        fi; \
        if  uname -a | grep '2\.6\.9.*x86_64' > /dev/null; then \
          cflags_extra="-DBUG_64BIT_2_6_9 $cflags_extra"; \
        fi; \
        echo cflags_extra='"'$cflags_extra'"'; \
        gcc -g -O2 -O0 -g -fPIC -DPIC $cflags_extra -c -o mtcp_restart_nolibc.o 
mtcp_restart_nolibc.c;
cflags_extra="-fno-stack-protector"
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_maybebpt.o mtcp_maybebpt.c
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_find_executable.o 
mtcp_find_executable.c
if  gcc -v --help 2>&1 | grep stack-protector > /dev/null; then \
          gcc -g -O2 -O0 -g -fPIC -DPIC -fno-stack-protector -c -o 
mtcp_printf.o \
            mtcp_printf.c; \
        else \
          gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_printf.o mtcp_printf.c; \
        fi
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_readhexetc.o mtcp_readhexetc.c
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_safemmap.o mtcp_safemmap.c
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_safe_open.o mtcp_safe_open.c
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_state.o mtcp_state.c
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_check_vdso.o mtcp_check_vdso.c
gcc -o ucontext_i_sym ucontext_i_sym.c
./ucontext_i_sym > ucontext_i_sym.h
rm ucontext_i_sym
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_sigaction.o mtcp_sigaction.c
##ld -shared -Map mtcp.map -o libmtcp.so mtcp.lo mtcp_restart_nolibc.lo 
--verbose
#   this gets a default .t file so it can be chopped up
echo LD gcc
LD gcc
echo LDFLAGS -shared -fPIC 
LDFLAGS -shared -fPIC
gcc -shared -fPIC  -T mtcp.t -Wl,-Map,mtcp.map -o libmtcp.so \
          mtcp.o mtcp_restart_nolibc.o mtcp_maybebpt.o mtcp_find_executable.o 
mtcp_printf.o mtcp_readhexetc.o mtcp_safemmap.o mtcp_safe_open.o mtcp_state.o 
mtcp_check_vdso.o mtcp_sigaction.o mtcp_ptrace.o -ldl -lpthread
gcc -g -O2 -O0 -g -fPIC -DPIC -static \
    -o mtcp_restart mtcp_restart.c mtcp_maybebpt.o mtcp_find_executable.o \
    mtcp_printf.o mtcp_readhexetc.o mtcp_safemmap.o \
    mtcp_state.o mtcp_safe_open.o mtcp_check_vdso.o mtcp_ptrace.o -lpthread
gcc -o readmtcp readmtcp.c
make[2]: Leaving directory `/tmp/buildd/dmtcp-1.2.0+svn864/mtcp'
(cd dmtcp/src && /usr/bin/make)
make[2]: Entering directory `/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src'
/usr/bin/make  all-am
make[3]: Entering directory `/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src'
gcc -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcpaware.o -MD -MP -MF 
.deps/dmtcpaware.Tpo -c -o dmtcpaware.o dmtcpaware.c
mv -f .deps/dmtcpaware.Tpo .deps/dmtcpaware.Po
rm -f libdmtcpaware.a
ar cru libdmtcpaware.a dmtcpaware.o 
ranlib libdmtcpaware.a
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT connectionstate.o -MD -MP -MF 
.deps/connectionstate.Tpo -c -o connectionstate.o connectionstate.cpp
mv -f .deps/connectionstate.Tpo .deps/connectionstate.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT connection.o -MD -MP -MF 
.deps/connection.Tpo -c -o connection.o connection.cpp
In file included from connection.cpp:28:
syscallwrappers.h:281: error: expected `}' before '(' token
syscallwrappers.h:281: error: expected initializer before 'enum_getpid'
syscallwrappers.h:283: error: expected constructor, destructor, or type 
conversion before ';' token
syscallwrappers.h:513: error: expected declaration before '}' token
make[3]: *** [connection.o] Error 1
make[3]: Leaving directory `/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src'
make[1]: *** [dmtcp] Error 2
make[1]: Leaving directory `/tmp/buildd/dmtcp-1.2.0+svn864'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: Running in no-targz mode
I: using fakeroot in build.
I: Current time: Sat Jan 29 02:36:12 EST 2011
I: pbuilder-time-stamp: 1296286572
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /var/cache/pbuilder/ccache
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Setting up ccache
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (>= 7)
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in 
`/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 9953 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from 
.../pbuilder-satisfydepends-dummy.deb) ...
dpkg: dependency problems prevent configuration of 
pbuilder-satisfydepends-dummy:
 pbuilder-satisfydepends-dummy depends on debhelper (>= 7); however:
  Package debhelper is not installed.
dpkg: error processing pbuilder-satisfydepends-dummy (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pbuilder-satisfydepends-dummy
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
The following NEW packages will be installed:
  bsdmainutils{a} debhelper{a} file{a} gettext{a} gettext-base{a} 
  groff-base{a} html2text{a} intltool-debian{a} libmagic1{a} man-db{a} 
  po-debconf{a} 
The following partially installed packages will be configured:
  pbuilder-satisfydepends-dummy 
0 packages upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/6352kB of archives. After unpacking 20.2MB will be used.
Writing extended state information...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package libmagic1.
(Reading database ... 9953 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.26-1_amd64.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.26-1_amd64.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-5_amd64.deb) ...
Selecting previously deselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.17-4_amd64.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.17-4_amd64.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) 
...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.15_all.deb) ...
Selecting previously deselected package groff-base.
Unpacking groff-base (from .../groff-base_1.18.1.1-21_amd64.deb) ...
Selecting previously deselected package bsdmainutils.
Unpacking bsdmainutils (from .../bsdmainutils_6.1.10_amd64.deb) ...
Selecting previously deselected package man-db.
Unpacking man-db (from .../man-db_2.5.2-4_amd64.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_7.4.11~bpo50+1~lenny.nd1_all.deb) ...
Setting up libmagic1 (4.26-1) ...
Setting up file (4.26-1) ...
Setting up html2text (1.3.2a-5) ...
Setting up gettext-base (0.17-4) ...
Setting up gettext (0.17-4) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.15) ...
Setting up groff-base (1.18.1.1-21) ...
Setting up bsdmainutils (6.1.10) ...
Setting up man-db (2.5.2-4) ...
Building database of manual pages ...
Setting up debhelper (7.4.11~bpo50+1~lenny.nd1) ...
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  fakeroot
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/116kB of archives.
After this operation, 467kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(Reading database ... 11073 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.11_amd64.deb) ...
Processing triggers for man-db ...
Setting up fakeroot (1.11) ...
I: Copying back the cached apt archive contents
I: Copying source file
I: copying [/tmp/dmtcp/dmtcp_1.2.0+svn864-1~nd50+1.dsc]
I: copying [/tmp/dmtcp/dmtcp_1.2.0+svn864.orig.tar.gz]
I: copying [/tmp/dmtcp/dmtcp_1.2.0+svn864-1~nd50+1.debian.tar.gz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package 
(dmtcp_1.2.0+svn864-1~nd50+1.dsc)
dpkg-source: extracting dmtcp in dmtcp-1.2.0+svn864
dpkg-source: info: unpacking dmtcp_1.2.0+svn864.orig.tar.gz
dpkg-source: info: unpacking dmtcp_1.2.0+svn864-1~nd50+1.debian.tar.gz
I: Building the package
I: Running cd tmp/buildd/*/ && dpkg-buildpackage -us -uc  -sa -sa -rfakeroot
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 dmtcp
dpkg-buildpackage: source version 1.2.0+svn864-1~nd50+1
dpkg-buildpackage: source changed by NeuroDebian Maintainers 
<t...@neuro.debian.net>
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || /usr/bin/make distclean
rm -f config.sub config.guess
dh_clean  --exclude ./mtcp/mtcp.t.orig
 dpkg-source -b dmtcp-1.2.0+svn864
dpkg-source: warning: unknown information field 'X-Original-Maintainer' in 
input data in general section of control info file
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building dmtcp using existing 
./dmtcp_1.2.0+svn864.orig.tar.gz
dpkg-source: warning: ignoring deletion of directory debian/patches
dpkg-source: warning: ignoring deletion of file debian/patches/series
dpkg-source: info: building dmtcp in dmtcp_1.2.0+svn864-1~nd50+1.debian.tar.gz
dpkg-source: info: building dmtcp in dmtcp_1.2.0+svn864-1~nd50+1.dsc
 debian/rules build
dh_testdir
./configure --build x86_64-linux-gnu --prefix=/usr 
--mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="-g -O2" 
LDFLAGS="-Wl,-z,defs"
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
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 ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for readline in -lreadline... no
checking if 'gcc -static' works... checking for conftest... yes
checking for dash... no
checking for tcsh... no
checking for zsh... no
checking for gcl... no
checking for script... yes
checking for screen... no
checking for screen... no
checking for matlab... no
checking for patch... yes
checking for g++... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
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 linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking for gzip... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating test/testconfig.py
=== configuring in dmtcp (/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp)
configure: running /bin/sh ./configure --disable-option-checking 
'--prefix=/usr'  '--build' 'x86_64-linux-gnu' '--mandir=${prefix}/share/man' 
'--infodir=${prefix}/share/info' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,-z,defs' 
'build_alias=x86_64-linux-gnu' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' 
--cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
touch configure-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory `/tmp/buildd/dmtcp-1.2.0+svn864'
(cd mtcp && /usr/bin/make CC=gcc build readmtcp)
make[2]: Entering directory `/tmp/buildd/dmtcp-1.2.0+svn864/mtcp'
rm -f mtcp.t
ld -shared --verbose > mtcp.t
cat mtcp.t | sed -e '1,/========================/ d' > mtcp.tmp
cat mtcp.tmp | sed -e '/========================/,$ d' > mtcp.t
rm -f mtcp.tmp mtcp.t-fail
if test `uname -m` = x86_64; then \
          if patch mtcp.t mtcp.t.patch-x86_64; then \
            :; \
          else \
            mv mtcp.t mtcp.t-fail; false; \
          fi \
        else \
          if patch mtcp.t mtcp.t.patch-i386; then \
            :; \
          else \
            mv mtcp.t mtcp.t-fail; false; \
          fi \
        fi
patching file mtcp.t
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_ptrace.o mtcp_ptrace.c
gcc -g -O2 -O0 -g -fPIC -DPIC -Wa,-adhl=mtcp.lis -c -o mtcp.o mtcp.c
mtcp.c:2609: warning: 'optimize' attribute directive ignored
if  gcc -v --help 2>&1 | grep stack-protector > /dev/null; then \
          cflags_extra=-fno-stack-protector ; \
        fi; \
        if  uname -a | grep '2\.6\.9.*x86_64' > /dev/null; then \
          cflags_extra="-DBUG_64BIT_2_6_9 $cflags_extra"; \
        fi; \
        echo cflags_extra='"'$cflags_extra'"'; \
        gcc -g -O2 -O0 -g -fPIC -DPIC $cflags_extra -c -o mtcp_restart_nolibc.o 
mtcp_restart_nolibc.c;
cflags_extra="-fno-stack-protector"
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_maybebpt.o mtcp_maybebpt.c
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_find_executable.o 
mtcp_find_executable.c
if  gcc -v --help 2>&1 | grep stack-protector > /dev/null; then \
          gcc -g -O2 -O0 -g -fPIC -DPIC -fno-stack-protector -c -o 
mtcp_printf.o \
            mtcp_printf.c; \
        else \
          gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_printf.o mtcp_printf.c; \
        fi
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_readhexetc.o mtcp_readhexetc.c
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_safemmap.o mtcp_safemmap.c
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_safe_open.o mtcp_safe_open.c
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_state.o mtcp_state.c
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_check_vdso.o mtcp_check_vdso.c
gcc -o ucontext_i_sym ucontext_i_sym.c
./ucontext_i_sym > ucontext_i_sym.h
rm ucontext_i_sym
gcc -g -O2 -O0 -g -fPIC -DPIC -c -o mtcp_sigaction.o mtcp_sigaction.c
##ld -shared -Map mtcp.map -o libmtcp.so mtcp.lo mtcp_restart_nolibc.lo 
--verbose
#   this gets a default .t file so it can be chopped up
echo LD gcc
LD gcc
echo LDFLAGS -shared -fPIC 
LDFLAGS -shared -fPIC
gcc -shared -fPIC  -T mtcp.t -Wl,-Map,mtcp.map -o libmtcp.so \
          mtcp.o mtcp_restart_nolibc.o mtcp_maybebpt.o mtcp_find_executable.o 
mtcp_printf.o mtcp_readhexetc.o mtcp_safemmap.o mtcp_safe_open.o mtcp_state.o 
mtcp_check_vdso.o mtcp_sigaction.o mtcp_ptrace.o -ldl -lpthread
gcc -g -O2 -O0 -g -fPIC -DPIC -static \
    -o mtcp_restart mtcp_restart.c mtcp_maybebpt.o mtcp_find_executable.o \
    mtcp_printf.o mtcp_readhexetc.o mtcp_safemmap.o \
    mtcp_state.o mtcp_safe_open.o mtcp_check_vdso.o mtcp_ptrace.o -lpthread
gcc -o readmtcp readmtcp.c
make[2]: Leaving directory `/tmp/buildd/dmtcp-1.2.0+svn864/mtcp'
(cd dmtcp/src && /usr/bin/make)
make[2]: Entering directory `/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src'
/usr/bin/make  all-am
make[3]: Entering directory `/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src'
gcc -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcpaware.o -MD -MP -MF 
.deps/dmtcpaware.Tpo -c -o dmtcpaware.o dmtcpaware.c
mv -f .deps/dmtcpaware.Tpo .deps/dmtcpaware.Po
rm -f libdmtcpaware.a
ar cru libdmtcpaware.a dmtcpaware.o 
ranlib libdmtcpaware.a
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT connectionstate.o -MD -MP -MF 
.deps/connectionstate.Tpo -c -o connectionstate.o connectionstate.cpp
mv -f .deps/connectionstate.Tpo .deps/connectionstate.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT connection.o -MD -MP -MF 
.deps/connection.Tpo -c -o connection.o connection.cpp
mv -f .deps/connection.Tpo .deps/connection.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT connectionidentifier.o -MD -MP -MF 
.deps/connectionidentifier.Tpo -c -o connectionidentifier.o 
connectionidentifier.cpp
mv -f .deps/connectionidentifier.Tpo .deps/connectionidentifier.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT connectionmanager.o -MD -MP -MF 
.deps/connectionmanager.Tpo -c -o connectionmanager.o connectionmanager.cpp
mv -f .deps/connectionmanager.Tpo .deps/connectionmanager.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT connectionrewirer.o -MD -MP -MF 
.deps/connectionrewirer.Tpo -c -o connectionrewirer.o connectionrewirer.cpp
mv -f .deps/connectionrewirer.Tpo .deps/connectionrewirer.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcpmessagetypes.o -MD -MP -MF 
.deps/dmtcpmessagetypes.Tpo -c -o dmtcpmessagetypes.o dmtcpmessagetypes.cpp
mv -f .deps/dmtcpmessagetypes.Tpo .deps/dmtcpmessagetypes.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT jassert.o -MD -MP -MF 
.deps/jassert.Tpo -c -o jassert.o `test -f '../jalib/jassert.cpp' || echo 
'./'`../jalib/jassert.cpp
mv -f .deps/jassert.Tpo .deps/jassert.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT jbuffer.o -MD -MP -MF 
.deps/jbuffer.Tpo -c -o jbuffer.o `test -f '../jalib/jbuffer.cpp' || echo 
'./'`../jalib/jbuffer.cpp
mv -f .deps/jbuffer.Tpo .deps/jbuffer.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT jfilesystem.o -MD -MP -MF 
.deps/jfilesystem.Tpo -c -o jfilesystem.o `test -f '../jalib/jfilesystem.cpp' 
|| echo './'`../jalib/jfilesystem.cpp
mv -f .deps/jfilesystem.Tpo .deps/jfilesystem.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT jserialize.o -MD -MP -MF 
.deps/jserialize.Tpo -c -o jserialize.o `test -f '../jalib/jserialize.cpp' || 
echo './'`../jalib/jserialize.cpp
mv -f .deps/jserialize.Tpo .deps/jserialize.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT jsocket.o -MD -MP -MF 
.deps/jsocket.Tpo -c -o jsocket.o `test -f '../jalib/jsocket.cpp' || echo 
'./'`../jalib/jsocket.cpp
mv -f .deps/jsocket.Tpo .deps/jsocket.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT jtimer.o -MD -MP -MF 
.deps/jtimer.Tpo -c -o jtimer.o `test -f '../jalib/jtimer.cpp' || echo 
'./'`../jalib/jtimer.cpp
mv -f .deps/jtimer.Tpo .deps/jtimer.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT kernelbufferdrainer.o -MD -MP -MF 
.deps/kernelbufferdrainer.Tpo -c -o kernelbufferdrainer.o 
kernelbufferdrainer.cpp
mv -f .deps/kernelbufferdrainer.Tpo .deps/kernelbufferdrainer.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT nodetable.o -MD -MP -MF 
.deps/nodetable.Tpo -c -o nodetable.o nodetable.cpp
mv -f .deps/nodetable.Tpo .deps/nodetable.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT protectedfds.o -MD -MP -MF 
.deps/protectedfds.Tpo -c -o protectedfds.o protectedfds.cpp
mv -f .deps/protectedfds.Tpo .deps/protectedfds.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT sockettable.o -MD -MP -MF 
.deps/sockettable.Tpo -c -o sockettable.o sockettable.cpp
mv -f .deps/sockettable.Tpo .deps/sockettable.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT syslogcheckpointer.o -MD -MP -MF 
.deps/syslogcheckpointer.Tpo -c -o syslogcheckpointer.o syslogcheckpointer.cpp
mv -f .deps/syslogcheckpointer.Tpo .deps/syslogcheckpointer.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT uniquepid.o -MD -MP -MF 
.deps/uniquepid.Tpo -c -o uniquepid.o uniquepid.cpp
mv -f .deps/uniquepid.Tpo .deps/uniquepid.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcpworker.o -MD -MP -MF 
.deps/dmtcpworker.Tpo -c -o dmtcpworker.o dmtcpworker.cpp
mv -f .deps/dmtcpworker.Tpo .deps/dmtcpworker.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcpcoordinatorapi.o -MD -MP -MF 
.deps/dmtcpcoordinatorapi.Tpo -c -o dmtcpcoordinatorapi.o 
dmtcpcoordinatorapi.cpp
mv -f .deps/dmtcpcoordinatorapi.Tpo .deps/dmtcpcoordinatorapi.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT virtualpidtable.o -MD -MP -MF 
.deps/virtualpidtable.Tpo -c -o virtualpidtable.o virtualpidtable.cpp
mv -f .deps/virtualpidtable.Tpo .deps/virtualpidtable.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT sysvipc.o -MD -MP -MF 
.deps/sysvipc.Tpo -c -o sysvipc.o sysvipc.cpp
mv -f .deps/sysvipc.Tpo .deps/sysvipc.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo 
-c -o util.o util.cpp
mv -f .deps/util.Tpo .deps/util.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT jalloc.o -MD -MP -MF 
.deps/jalloc.Tpo -c -o jalloc.o `test -f '../jalib/jalloc.cpp' || echo 
'./'`../jalib/jalloc.cpp
mv -f .deps/jalloc.Tpo .deps/jalloc.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT synchronizationlogging.o -MD -MP 
-MF .deps/synchronizationlogging.Tpo -c -o synchronizationlogging.o 
synchronizationlogging.cpp
mv -f .deps/synchronizationlogging.Tpo .deps/synchronizationlogging.Po
rm -f libdmtcpinternal.a
ar cru libdmtcpinternal.a connectionstate.o connection.o connectionidentifier.o 
connectionmanager.o connectionrewirer.o dmtcpmessagetypes.o jassert.o jbuffer.o 
jfilesystem.o jserialize.o jsocket.o jtimer.o kernelbufferdrainer.o nodetable.o 
protectedfds.o sockettable.o syslogcheckpointer.o uniquepid.o dmtcpworker.o 
dmtcpcoordinatorapi.o virtualpidtable.o sysvipc.o util.o jalloc.o 
synchronizationlogging.o 
ranlib libdmtcpinternal.a
gcc -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT syscallsreal.o -MD -MP -MF 
.deps/syscallsreal.Tpo -c -o syscallsreal.o syscallsreal.c
mv -f .deps/syscallsreal.Tpo .deps/syscallsreal.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT trampolines.o -MD -MP -MF 
.deps/trampolines.Tpo -c -o trampolines.o trampolines.cpp
mv -f .deps/trampolines.Tpo .deps/trampolines.Po
rm -f libsyscallsreal.a
ar cru libsyscallsreal.a syscallsreal.o trampolines.o 
ranlib libsyscallsreal.a
gcc -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT nosyscallsreal.o -MD -MP -MF 
.deps/nosyscallsreal.Tpo -c -o nosyscallsreal.o nosyscallsreal.c
mv -f .deps/nosyscallsreal.Tpo .deps/nosyscallsreal.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcpnohijackstubs.o -MD -MP -MF 
.deps/dmtcpnohijackstubs.Tpo -c -o dmtcpnohijackstubs.o dmtcpnohijackstubs.cpp
mv -f .deps/dmtcpnohijackstubs.Tpo .deps/dmtcpnohijackstubs.Po
rm -f libnohijack.a
ar cru libnohijack.a nosyscallsreal.o dmtcpnohijackstubs.o 
ranlib libnohijack.a
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcp_checkpoint.o -MD -MP -MF 
.deps/dmtcp_checkpoint.Tpo -c -o dmtcp_checkpoint.o dmtcp_checkpoint.cpp
mv -f .deps/dmtcp_checkpoint.Tpo .deps/dmtcp_checkpoint.Po
g++ -fPIC -g -O2 -fPIC -Wl,-z,defs -o dmtcp_checkpoint dmtcp_checkpoint.o 
libdmtcpinternal.a libnohijack.a -ldl -lpthread 
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcp_command.o -MD -MP -MF 
.deps/dmtcp_command.Tpo -c -o dmtcp_command.o dmtcp_command.cpp
mv -f .deps/dmtcp_command.Tpo .deps/dmtcp_command.Po
g++ -fPIC -g -O2 -fPIC -Wl,-z,defs -o dmtcp_command dmtcp_command.o 
libdmtcpinternal.a libnohijack.a -ldl -lpthread 
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcp_coordinator.o -MD -MP -MF 
.deps/dmtcp_coordinator.Tpo -c -o dmtcp_coordinator.o dmtcp_coordinator.cpp
mv -f .deps/dmtcp_coordinator.Tpo .deps/dmtcp_coordinator.Po
g++ -fPIC -g -O2 -fPIC -Wl,-z,defs -o dmtcp_coordinator dmtcp_coordinator.o 
libdmtcpinternal.a libnohijack.a -lpthread 
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcp_restart.o -MD -MP -MF 
.deps/dmtcp_restart.Tpo -c -o dmtcp_restart.o dmtcp_restart.cpp
mv -f .deps/dmtcp_restart.Tpo .deps/dmtcp_restart.Po
g++ -fPIC -g -O2 -fPIC -Wl,-z,defs -o dmtcp_restart dmtcp_restart.o 
libdmtcpinternal.a libnohijack.a -ldl -lpthread 
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcp_inspector.o -MD -MP -MF 
.deps/dmtcp_inspector.Tpo -c -o dmtcp_inspector.o dmtcp_inspector.cpp
mv -f .deps/dmtcp_inspector.Tpo .deps/dmtcp_inspector.Po
g++ -fPIC -g -O2 -fPIC -Wl,-z,defs -o dmtcp_inspector dmtcp_inspector.o 
libdmtcpinternal.a libnohijack.a -lpthread 
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT dmtcpawareapi.o -MD -MP -MF 
.deps/dmtcpawareapi.Tpo -c -o dmtcpawareapi.o dmtcpawareapi.cpp
mv -f .deps/dmtcpawareapi.Tpo .deps/dmtcpawareapi.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT execwrappers.o -MD -MP -MF 
.deps/execwrappers.Tpo -c -o execwrappers.o execwrappers.cpp
mv -f .deps/execwrappers.Tpo .deps/execwrappers.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT mtcpinterface.o -MD -MP -MF 
.deps/mtcpinterface.Tpo -c -o mtcpinterface.o mtcpinterface.cpp
mv -f .deps/mtcpinterface.Tpo .deps/mtcpinterface.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT signalwrappers.o -MD -MP -MF 
.deps/signalwrappers.Tpo -c -o signalwrappers.o signalwrappers.cpp
mv -f .deps/signalwrappers.Tpo .deps/signalwrappers.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT socketwrappers.o -MD -MP -MF 
.deps/socketwrappers.Tpo -c -o socketwrappers.o socketwrappers.cpp
mv -f .deps/socketwrappers.Tpo .deps/socketwrappers.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT workerhijack.o -MD -MP -MF 
.deps/workerhijack.Tpo -c -o workerhijack.o workerhijack.cpp
mv -f .deps/workerhijack.Tpo .deps/workerhijack.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT pidwrappers.o -MD -MP -MF 
.deps/pidwrappers.Tpo -c -o pidwrappers.o pidwrappers.cpp
mv -f .deps/pidwrappers.Tpo .deps/pidwrappers.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT miscwrappers.o -MD -MP -MF 
.deps/miscwrappers.Tpo -c -o miscwrappers.o miscwrappers.cpp
mv -f .deps/miscwrappers.Tpo .deps/miscwrappers.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT glibcsystem.o -MD -MP -MF 
.deps/glibcsystem.Tpo -c -o glibcsystem.o glibcsystem.cpp
mv -f .deps/glibcsystem.Tpo .deps/glibcsystem.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT filewrappers.o -MD -MP -MF 
.deps/filewrappers.Tpo -c -o filewrappers.o filewrappers.cpp
mv -f .deps/filewrappers.Tpo .deps/filewrappers.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT mallocwrappers.o -MD -MP -MF 
.deps/mallocwrappers.Tpo -c -o mallocwrappers.o mallocwrappers.cpp
mv -f .deps/mallocwrappers.Tpo .deps/mallocwrappers.Po
g++ -DHAVE_CONFIG_H -I.    -fPIC -g -O2 -MT pthreadwrappers.o -MD -MP -MF 
.deps/pthreadwrappers.Tpo -c -o pthreadwrappers.o pthreadwrappers.cpp
mv -f .deps/pthreadwrappers.Tpo .deps/pthreadwrappers.Po
g++ -fPIC -g -O2 -shared -avoid-version -module -Wl,-z,defs -o dmtcphijack.so 
dmtcpawareapi.o dmtcpworker.o dmtcpcoordinatorapi.o execwrappers.o 
mtcpinterface.o signalwrappers.o socketwrappers.o workerhijack.o pidwrappers.o 
miscwrappers.o glibcsystem.o sysvipc.o filewrappers.o mallocwrappers.o 
pthreadwrappers.o synchronizationlogging.o libdmtcpinternal.a libsyscallsreal.a 
-ldl -lpthread 
socketwrappers.o: In function `accept4':
/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src/socketwrappers.cpp:342: undefined 
reference to `_real_accept4'
/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src/socketwrappers.cpp:339: undefined 
reference to `_real_accept4'
collect2: ld returned 1 exit status
make[3]: *** [dmtcphijack.so] Error 1
make[3]: Leaving directory `/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/buildd/dmtcp-1.2.0+svn864/dmtcp/src'
make[1]: *** [dmtcp] Error 2
make[1]: Leaving directory `/tmp/buildd/dmtcp-1.2.0+svn864'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem

Attachment: signature.asc
Description: Digital signature

Reply via email to