[Reproducible-builds] Bug#834472: vmmlib: FTBFS: stdlib.h:774:12: error: expected unqualified-id before 'int'

Chris Lamb lamby at debian.org
Tue Aug 16 00:21:58 UTC 2016


Source: vmmlib
Version: 1.0-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

vmmlib fails to build from source in unstable/amd64:

  [..]

  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              vmmlib
   Version:              1.0-2
   Build architecture:   amd64
   Date:                 Tue, 16 Aug 2016 01:17:41 +0100
   Hostname:             bfbc6cea94fe
   Uname:                Linux bfbc6cea94fe 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux
   /etc/timezone:        Europe/London
  
  **************************************************************************************
  ** Installing build dependencies                                                    **
  **************************************************************************************
  
  dh_testdir
  dh_testroot
  dh_prep
  dh_testdir
  dh_testroot
  dh_install
  dh_installdocs
  dh_installchangelogs
  dh_compress
  dh_fixperms
  dh_installdeb
  dh_gencontrol
  dh_md5sums
  dh_builddeb
  dpkg-deb: building package 'vmmlib-build-deps' in '../vmmlib-build-deps_1.0-2_all.deb'.
  
  The package has been created.
  Attention, the package has been created in the current directory,
  not in ".." as indicated by the message above!
  Selecting previously unselected package vmmlib-build-deps.
  (Reading database ... 23237 files and directories currently installed.)
  Preparing to unpack vmmlib-build-deps_1.0-2_all.deb ...
  Unpacking vmmlib-build-deps (1.0-2) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    gfortran gfortran-6 libblas-common libblas-dev libblas3 libf2c2 libf2c2-dev
    libgfortran-6-dev libgfortran3 liblapack-dev liblapack3
  Suggested packages:
    gfortran-multilib gfortran-doc gfortran-6-multilib gfortran-6-doc
    libgfortran3-dbg libcoarrays-dev liblapack-doc-man liblapack-doc
  The following NEW packages will be installed:
    gfortran gfortran-6 libblas-common libblas-dev libblas3 libf2c2 libf2c2-dev
    libgfortran-6-dev libgfortran3 liblapack-dev liblapack3
  0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 36.6 MB of archives.
  After this operation, 177 MB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 libgfortran3 amd64 6.1.1-11 [265 kB]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 libblas-common amd64 3.6.1-2 [13.9 kB]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 libblas3 amd64 3.6.1-2 [157 kB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 libgfortran-6-dev amd64 6.1.1-11 [296 kB]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 gfortran-6 amd64 6.1.1-11 [31.7 MB]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 gfortran amd64 4:6.1.1-1 [1352 B]
  Get:7 http://httpredir.debian.org/debian sid/main amd64 libblas-dev amd64 3.6.1-2 [18.9 kB]
  Get:8 http://httpredir.debian.org/debian sid/main amd64 liblapack3 amd64 3.6.1-2 [1963 kB]
  Get:9 http://httpredir.debian.org/debian sid/main amd64 liblapack-dev amd64 3.6.1-2 [1977 kB]
  Get:10 http://httpredir.debian.org/debian sid/main amd64 libf2c2 amd64 20130926-2 [123 kB]
  Get:11 http://httpredir.debian.org/debian sid/main amd64 libf2c2-dev amd64 20130926-2 [129 kB]
  Fetched 36.6 MB in 0s (49.3 MB/s)
  Selecting previously unselected package libgfortran3:amd64.
  (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23241 files and directories currently installed.)
  Preparing to unpack .../00-libgfortran3_6.1.1-11_amd64.deb ...
  Unpacking libgfortran3:amd64 (6.1.1-11) ...
  Selecting previously unselected package libblas-common.
  Preparing to unpack .../01-libblas-common_3.6.1-2_amd64.deb ...
  Unpacking libblas-common (3.6.1-2) ...
  Selecting previously unselected package libblas3.
  Preparing to unpack .../02-libblas3_3.6.1-2_amd64.deb ...
  Unpacking libblas3 (3.6.1-2) ...
  Selecting previously unselected package libgfortran-6-dev:amd64.
  Preparing to unpack .../03-libgfortran-6-dev_6.1.1-11_amd64.deb ...
  Unpacking libgfortran-6-dev:amd64 (6.1.1-11) ...
  Selecting previously unselected package gfortran-6.
  Preparing to unpack .../04-gfortran-6_6.1.1-11_amd64.deb ...
  Unpacking gfortran-6 (6.1.1-11) ...
  Selecting previously unselected package gfortran.
  Preparing to unpack .../05-gfortran_4%3a6.1.1-1_amd64.deb ...
  Unpacking gfortran (4:6.1.1-1) ...
  Selecting previously unselected package libblas-dev.
  Preparing to unpack .../06-libblas-dev_3.6.1-2_amd64.deb ...
  Unpacking libblas-dev (3.6.1-2) ...
  Selecting previously unselected package liblapack3.
  Preparing to unpack .../07-liblapack3_3.6.1-2_amd64.deb ...
  Unpacking liblapack3 (3.6.1-2) ...
  Selecting previously unselected package liblapack-dev.
  Preparing to unpack .../08-liblapack-dev_3.6.1-2_amd64.deb ...
  Unpacking liblapack-dev (3.6.1-2) ...
  Selecting previously unselected package libf2c2:amd64.
  Preparing to unpack .../09-libf2c2_20130926-2_amd64.deb ...
  Unpacking libf2c2:amd64 (20130926-2) ...
  Selecting previously unselected package libf2c2-dev.
  Preparing to unpack .../10-libf2c2-dev_20130926-2_amd64.deb ...
  Unpacking libf2c2-dev (20130926-2) ...
  Setting up libblas-common (3.6.1-2) ...
  Setting up libgfortran3:amd64 (6.1.1-11) ...
  Setting up libgfortran-6-dev:amd64 (6.1.1-11) ...
  Setting up libblas3 (3.6.1-2) ...
  update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode
  Processing triggers for libc-bin (2.23-4) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up libf2c2:amd64 (20130926-2) ...
  Setting up libf2c2-dev (20130926-2) ...
  Setting up gfortran-6 (6.1.1-11) ...
  Setting up liblapack3 (3.6.1-2) ...
  update-alternatives: using /usr/lib/lapack/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode
  Setting up gfortran (4:6.1.1-1) ...
  update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode
  update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode
  Setting up libblas-dev (3.6.1-2) ...
  update-alternatives: using /usr/lib/libblas/libblas.so to provide /usr/lib/libblas.so (libblas.so) in auto mode
  Setting up liblapack-dev (3.6.1-2) ...
  update-alternatives: using /usr/lib/lapack/liblapack.so to provide /usr/lib/liblapack.so (liblapack.so) in auto mode
  Setting up vmmlib-build-deps (1.0-2) ...
  Processing triggers for libc-bin (2.23-4) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=bfbc6cea94fe
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20160816011740.REaAd6aLU5.db.vmmlib/vmmlib-1.0
  OLDPWD=/home/lamby/temp/cdt.20160816011740.REaAd6aLU5.db.vmmlib
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  GPG_KEY=1E953E27D4311E58
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building vmmlib 1.0-2 on amd64                                                   **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package vmmlib
  dpkg-buildpackage: info: source version 1.0-2
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Bas Wijnen <wijnen at debian.org>
   dpkg-source --before-build vmmlib-1.0
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean
     dh_testdir
     dh_auto_clean
  	make -j1 clean
  make[1]: Entering directory '/home/lamby/temp/cdt.20160816011740.REaAd6aLU5.db.vmmlib/vmmlib-1.0'
  rm -rf tests/unit_test.o tests/vector_test.o tests/matrix_test.o tests/quaternion_test.o tests/qr_decomposition_test.o tests/svd_test.o tests/lapack_svd_test.o tests/lapack_linear_least_squares_test.o tests/lapack_gaussian_elimination_test.o tests/vmmlib_unit_tests_main.o tests/lapack_sym_eigs_test.o tests/tensor3_test.o tests/tensor3_iterator_test.o tests/tucker3_tensor_test.o tests/qtucker3_tensor_test.o tests/tucker3_exporter_importer_test.o tests/cp3_tensor_test.o tests/t3_hosvd_test.o tests/t3_hooi_test.o tests/t3_hopm_test.o tests/t3_ihopm_test.o tests/matrix_pseudoinverse_test.o tests/blas_dgemm_test.o tests/blas_dot_test.o   vmmlib_unit_tests
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160816011740.REaAd6aLU5.db.vmmlib/vmmlib-1.0'
     dh_clean
   debian/rules build
  dh build
     dh_testdir
     dh_update_autotools_config
     dh_auto_configure
     dh_auto_build
  	make -j1
  make[1]: Entering directory '/home/lamby/temp/cdt.20160816011740.REaAd6aLU5.db.vmmlib/vmmlib-1.0'
  g++ -I. -Iinclude -Itests -include stdint.h -include f2c.h -include f2c_fix.h   -c tests/unit_test.cpp -o tests/unit_test.o  
  In file included from <command-line>:0:0:
  /usr/include/stdlib.h:774:12: error: expected unqualified-id before 'int'
   extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
              ^
  /usr/include/stdlib.h:774:12: error: expected ')' before 'int'
  /usr/include/stdlib.h:774:12: error: expected ')' before 'int'
  In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                   from /usr/include/c++/6/bits/basic_string.h:5402,
                   from /usr/include/c++/6/string:52,
                   from tests/unit_test.hpp:4,
                   from tests/unit_test.cpp:1:
  /usr/include/c++/6/cstdlib:128:11: error: '::abs' has not been declared
     using ::abs;
             ^~~
  Makefile:65: recipe for target 'tests/unit_test.o' failed
  make[1]: *** [tests/unit_test.o] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160816011740.REaAd6aLU5.db.vmmlib/vmmlib-1.0'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vmmlib.1.0-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2851 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160816/b6a393ed/attachment.obj>


More information about the Reproducible-builds mailing list