[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Cuba multidimensional integration



Hi,

Following #886254 (submitted a while ago), I'm working on packaging
the Cuba library for multidimensional integration.

I'm stuck since a while so I'd like to ask for help. The package lives
here: <https://gitlab.com/montanari/cuba-4.2/>.

I managed to build and install the package like that (just following
dpkg-buildpackage man page):

  debian/rules clean
  dpkg-source -b ./
  debian/rules build
  fakeroot debian/rules binary
  dpkg-genbuildinfo
  dpkg-genchanges > ../cuba_4.2-1_source.changes
  fakeroot debian/rules clean
  dpkg-source --after-build .

I get an error only when installing libcuba4-dbgsym_4.2-1_amd64.deb:

  Unpacking libcuba4-dbgsym:amd64 (4.2-1) ...
dpkg: error processing archive libcuba4-dbgsym_4.2-1_amd64.deb (--install): trying to overwrite '/usr/lib/debug/.build-id/c8/ac72a8619c9fdea68e3b66e9d24249a31b503c.debug', which is also in package libcuba4-dbg:amd64 4.2-1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

However, if I ran directly dpkg-buildpackage the build fails because
of undefined references. I report below lintian output (nothing
related to symbols etc., though) and the failed debuild log.

Any suggestion about what's going wrong?

Thanks,
Francesco

I: cuba source: unused-file-paragraph-in-dep5-copyright paragraph at line 9
N:
N: The Files paragraph in debian/copyright appears to be superfluous as it
N:    is does not match any files.
N:
N:    You should be able to safely remove it.
N:
N:    This can also be caused by incorrect relative ordering of paragraphs.
N:
N:    Refer to
N:    https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ for
N:    details.
N:
N:    Severity: minor, Certainty: possible
N:
N:    Check: source-copyright, Type: source
N:
W: cuba source: timewarp-standards-version (2018-01-03 < 2018-08-25)
N:
N: The source package refers to a Standards-Version that was released after
N:    the date of the most recent debian/changelog entry. Perhaps you forgot
N: to update the timestamp in debian/changelog before building the package?
N:
N:    Severity: normal, Certainty: certain
N:
N:    Check: standards-version, Type: source
N:
I: cuba source: testsuite-autopkgtest-missing
N:
N:    This package does not declare a test suite.
N:
N: Having a test suite aids with automated quality assurance of the archive
N:    outside of your package. For example, if your package has a test suite
N:    it is possible to re-run that test suite when any of your package's
N:    dependencies have a new version and check whether that update causes
N:    problems for your package.
N:
N:    In addition, since May 2018 such tests now influence migration from
N:    unstable to testing:
N:
N:     https://lists.debian.org/debian-devel-announce/2018/05/msg00001.html
N:
N:    Please add a debian/tests/control file to your package to declare a
N: testsuite, but please make sure to only add autopkgtests if they provide
N:    meaningful coverage of your package.
N:
N:    Refer to https://ci.debian.net/doc/ for details.
N:
N:    Severity: wishlist, Certainty: certain
N:
N:    Check: testsuite, Type: source
N:
I: cuba source: debian-watch-uses-insecure-uri http://www.feynarts.de/cuba/Cuba-([\d\.]+)\.tar\.gz
N:
N:    The watch file uses an unencrypted transport protocol for the URI such
N:    as http:// or ftp://. It is recommended to use a secure transport such
N:    as HTTPS for anonymous read-only access.
N:
N: Upstream may already provide a HTTPS variant of the URI. If not, please
N:    contact them and ask them to consider adding one.
N:
N:    Severity: wishlist, Certainty: certain
N:
N:    Check: watch-file, Type: source
N:


 dpkg-buildpackage -us -uc -ui -I -i
dpkg-buildpackage: info: source package cuba
dpkg-buildpackage: info: source version 4.2-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Francesco Montanari <fmnt@fmnt.info>
 dpkg-source -I -i --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
dh_auto_clean
rm -f cuba-partview
make[1]: Leaving directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
   dh_clean
 dpkg-source -I -i -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building cuba using existing ./cuba_4.2.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: warning: ignoring deletion of file configure, use --include-removal to override
dpkg-source: info: building cuba in cuba_4.2-1.debian.tar.xz
dpkg-source: info: building cuba in cuba_4.2-1.dsc
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
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 gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for long double with more range or precision than double... 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 for size_t... yes
checking for ssize_t... yes
checking for pid_t... yes
checking for powl... yes
checking for erf... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for shmget... yes
checking for getloadavg... yes
checking for variable-size arrays... yes
checking for MathLink... no
checking for qmake... qmake
configure: creating ./config.status
config.status: creating makefile
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
   debian/rules override_dh_auto_build
make[1]: Entering directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
dh_auto_build
	make -j8
make[2]: Entering directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/vegas -DNOUNDERSCORE -c -o Vegas.o ./src/vegas/Vegas.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/vegas -c -o Vegas_.o ./src/vegas/Vegas.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/vegas -DLONGLONGINT -DNOUNDERSCORE -c -o llVegas.o ./src/vegas/Vegas.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/vegas -DLONGLONGINT -c -o llVegas_.o ./src/vegas/Vegas.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/suave -DNOUNDERSCORE -c -o Suave.o ./src/suave/Suave.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/suave -c -o Suave_.o ./src/suave/Suave.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/suave -DLONGLONGINT -DNOUNDERSCORE -c -o llSuave.o ./src/suave/Suave.c gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/suave -DLONGLONGINT -c -o llSuave_.o ./src/suave/Suave.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/vegas/Integrate.c:60:3:
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/vegas/Integrate.c:60:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/vegas/Integrate.c:60:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/vegas/Integrate.c:60:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/suave/Integrate.c:63:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/suave/Integrate.c:63:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/suave/Integrate.c:63:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/suave/Integrate.c:63:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a Vegas.o
ar: creating libcuba.a
a - Vegas.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/divonne -DNOUNDERSCORE -c -o Divonne.o ./src/divonne/Divonne.c
ar rv -U -U libcuba.a llVegas.o
a - llVegas.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/divonne -c -o Divonne_.o ./src/divonne/Divonne.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a llVegas_.o
a - llVegas_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/divonne -DLONGLONGINT -DNOUNDERSCORE -c -o llDivonne.o ./src/divonne/Divonne.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Vegas_.o
a - Vegas_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/divonne -DLONGLONGINT -c -o llDivonne_.o ./src/divonne/Divonne.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Suave.o
ar rv -U -U libcuba.a Suave_.o
a - Suave.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/cuhre -DNOUNDERSCORE -c -o Cuhre.o ./src/cuhre/Cuhre.c
a - Suave_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/cuhre -c -o Cuhre_.o ./src/cuhre/Cuhre.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/cuhre/decl.h:9,
                 from ./src/cuhre/Cuhre.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/cuhre/decl.h:9,
                 from ./src/cuhre/Cuhre.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a llSuave.o
ar rv -U -U libcuba.a llSuave_.o
a - llSuave_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/cuhre -DLONGLONGINT -DNOUNDERSCORE -c -o llCuhre.o ./src/cuhre/Cuhre.c
a - llSuave.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/cuhre -DLONGLONGINT -c -o llCuhre_.o ./src/cuhre/Cuhre.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/cuhre/decl.h:9,
                 from ./src/cuhre/Cuhre.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/cuhre/decl.h:9,
                 from ./src/cuhre/Cuhre.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Cuhre.o
ar rv -U -U libcuba.a Cuhre_.o
a - Cuhre.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -DNOUNDERSCORE -c -o Fork.o ./src/common/Fork.c
a - Cuhre_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -c -o Fork_.o ./src/common/Fork.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/common/Fork.c:11:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/common/Fork.c:11:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a llCuhre.o
ar rv -U -U libcuba.a llCuhre_.o
a - llCuhre.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -DNOUNDERSCORE -c -o Global.o ./src/common/Global.c
a - llCuhre_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -c -o Global_.o ./src/common/Global.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/common/Global.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/common/Global.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Global_.o
a - Global_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -c -o Data.o ./src/common/Data.c
ar rv -U -U libcuba.a Global.o
ar rv -U -U libcuba.a Fork_.o
a - Global.o
qmake -o makefile.partview ./tools/partview.pro
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/common/Data.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
a - Fork_.o
ar rv -U -U libcuba.a Fork.o
a - Fork.o
make -f makefile.partview
make[3]: Entering directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -Itools -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Itools -I. tools/partview.cpp -o partview.moc
ar rv -U -U libcuba.a Data.o
a - Data.o
g++ -c -m64 -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -Itools -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Itools -I. -o partview.o tools/partview.cpp
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/divonne/Integrate.c:74:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/divonne/Integrate.c:74:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/divonne/Integrate.c:74:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/divonne/Integrate.c:74:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a Divonne_.o
a - Divonne_.o
ar rv -U -U libcuba.a Divonne.o
a - Divonne.o
ar rv -U -U libcuba.a llDivonne.o
a - llDivonne.o
ar rv -U -U libcuba.a llDivonne_.o
a - llDivonne_.o
ranlib libcuba.a
gcc -shared -Wl,-soname,libcuba.so.4 -o libcuba.so.4.2 *.o -lm -Wl,-z,relro -Wl,-z,now gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -o demo-c ./demo/demo-c.c libcuba.a -lm -Wl,-z,relro -Wl,-z,now gfortran -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -DREALSIZE=8 -o demo-fortran ./demo/demo-fortran.F libcuba.a -lm -Wl,-z,relro -Wl,-z,now
/usr/bin/ld: partview.o: file not recognized: file truncated
collect2: error: ld returned 1 exit status
make[2]: *** [makefile:278: libcuba.so.4.2] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: /tmp/ccI9k7Q2.o: in function `MAIN__':
././demo/demo-fortran.F:122: undefined reference to `cuhre_'
collect2: error: ld returned 1 exit status
make[2]: *** [makefile:289: demo-fortran] Error 1
g++ -m64 -Wl,-z,relro -Wl,-z,now -Wl,-O1 -o ./partview partview.o -L/usr/lib/x86_64-linux-gnu -lQtGui -lQtCore -lpthread
make[3]: Leaving directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
rm -f partview.o partview.moc makefile.partview
strip partview
make[2]: Leaving directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
dh_auto_build: make -j8 returned exit code 2
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
make: *** [debian/rules:13: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: