Bug#921786: kim-api: FTBFS (F90-F-0000-Internal compiler error. process_formal_arguments: Function argument with mismatched size that is neither integer nor floating-point)

Santiago Vila sanvila at debian.org
Sat Feb 9 00:15:26 GMT 2019


Package: src:kim-api
Version: 2.0~beta2.gita734d1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   dh_autoreconf -i
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p /<<PKGBUILDDIR>>/debian/home
dh_auto_configure -- -DKIM_API_BUILD_MODELS_AND_DRIVERS=ON
	cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DKIM_API_BUILD_MODELS_AND_DRIVERS=ON ..
-- The CXX compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- The Fortran compiler identification is Flang 99.99.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works

[... snipped ...]

/usr/bin/cmake -E touch CMakeFiles/kim-api.dir/fortran/src/kim_length_unit_f.f90.o.provides.build
[ 24%] Building Fortran object CMakeFiles/kim-api.dir/fortran/src/kim_log_f.f90.o
/usr/bin/f95 -Dkim_api_EXPORTS -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Fortran_MODULES" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -I"/<<PKGBUILDDIR>>/cpp/include" -I"/<<PKGBUILDDIR>>/c/include" -I"/<<PKGBUILDDIR>>/cpp/src" -I"/<<PKGBUILDDIR>>/fortran/include"  -std=f2003 -Wall -Wextra -pedantic -ffree-line-length-none -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -JFortran_MODULES -fPIC   -c "/<<PKGBUILDDIR>>/fortran/src/kim_log_f.f90" -o CMakeFiles/kim-api.dir/fortran/src/kim_log_f.f90.o
flang: warning: argument unused during compilation: '-ffree-line-length-none' [-Wunused-command-line-argument]
/usr/bin/cmake -E cmake_copy_f90_mod Fortran_MODULES/kim_log_f_module.mod CMakeFiles/kim-api.dir/kim_log_f_module.mod.stamp Flang
/usr/bin/cmake -E touch CMakeFiles/kim-api.dir/fortran/src/kim_log_f.f90.o.provides.build
[ 25%] Building Fortran object CMakeFiles/kim-api.dir/fortran/src/kim_log_verbosity_f.f90.o
/usr/bin/f95 -Dkim_api_EXPORTS -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Fortran_MODULES" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -I"/<<PKGBUILDDIR>>/cpp/include" -I"/<<PKGBUILDDIR>>/c/include" -I"/<<PKGBUILDDIR>>/cpp/src" -I"/<<PKGBUILDDIR>>/fortran/include"  -std=f2003 -Wall -Wextra -pedantic -ffree-line-length-none -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -JFortran_MODULES -fPIC   -c "/<<PKGBUILDDIR>>/fortran/src/kim_log_verbosity_f.f90" -o CMakeFiles/kim-api.dir/fortran/src/kim_log_verbosity_f.f90.o
flang: warning: argument unused during compilation: '-ffree-line-length-none' [-Wunused-command-line-argument]
/usr/bin/cmake -E cmake_copy_f90_mod Fortran_MODULES/kim_log_verbosity_f_module.mod CMakeFiles/kim-api.dir/kim_log_verbosity_f_module.mod.stamp Flang
/usr/bin/cmake -E touch CMakeFiles/kim-api.dir/fortran/src/kim_log_verbosity_f.f90.o.provides.build
[ 25%] Building Fortran object CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_arguments_create_f.f90.o
/usr/bin/f95 -Dkim_api_EXPORTS -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Fortran_MODULES" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -I"/<<PKGBUILDDIR>>/cpp/include" -I"/<<PKGBUILDDIR>>/c/include" -I"/<<PKGBUILDDIR>>/cpp/src" -I"/<<PKGBUILDDIR>>/fortran/include"  -std=f2003 -Wall -Wextra -pedantic -ffree-line-length-none -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -JFortran_MODULES -fPIC   -c "/<<PKGBUILDDIR>>/fortran/src/kim_model_compute_arguments_create_f.f90" -o CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_arguments_create_f.f90.o
flang: warning: argument unused during compilation: '-ffree-line-length-none' [-Wunused-command-line-argument]
/usr/bin/cmake -E cmake_copy_f90_mod Fortran_MODULES/kim_model_compute_arguments_create_f_module.mod CMakeFiles/kim-api.dir/kim_model_compute_arguments_create_f_module.mod.stamp Flang
/usr/bin/cmake -E touch CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_arguments_create_f.f90.o.provides.build
[ 26%] Building Fortran object CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_arguments_destroy_f.f90.o
/usr/bin/f95 -Dkim_api_EXPORTS -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Fortran_MODULES" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -I"/<<PKGBUILDDIR>>/cpp/include" -I"/<<PKGBUILDDIR>>/c/include" -I"/<<PKGBUILDDIR>>/cpp/src" -I"/<<PKGBUILDDIR>>/fortran/include"  -std=f2003 -Wall -Wextra -pedantic -ffree-line-length-none -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -JFortran_MODULES -fPIC   -c "/<<PKGBUILDDIR>>/fortran/src/kim_model_compute_arguments_destroy_f.f90" -o CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_arguments_destroy_f.f90.o
flang: warning: argument unused during compilation: '-ffree-line-length-none' [-Wunused-command-line-argument]
/usr/bin/cmake -E cmake_copy_f90_mod Fortran_MODULES/kim_model_compute_arguments_destroy_f_module.mod CMakeFiles/kim-api.dir/kim_model_compute_arguments_destroy_f_module.mod.stamp Flang
/usr/bin/cmake -E touch CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_arguments_destroy_f.f90.o.provides.build
[ 26%] Building Fortran object CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_arguments_f.f90.o
/usr/bin/f95 -Dkim_api_EXPORTS -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Fortran_MODULES" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -I"/<<PKGBUILDDIR>>/cpp/include" -I"/<<PKGBUILDDIR>>/c/include" -I"/<<PKGBUILDDIR>>/cpp/src" -I"/<<PKGBUILDDIR>>/fortran/include"  -std=f2003 -Wall -Wextra -pedantic -ffree-line-length-none -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -JFortran_MODULES -fPIC   -c "/<<PKGBUILDDIR>>/fortran/src/kim_model_compute_arguments_f.f90" -o CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_arguments_f.f90.o
flang: warning: argument unused during compilation: '-ffree-line-length-none' [-Wunused-command-line-argument]
/usr/bin/cmake -E cmake_copy_f90_mod Fortran_MODULES/kim_model_compute_arguments_f_module.mod CMakeFiles/kim-api.dir/kim_model_compute_arguments_f_module.mod.stamp Flang
/usr/bin/cmake -E touch CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_arguments_f.f90.o.provides.build
[ 27%] Building Fortran object CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_f.f90.o
/usr/bin/f95 -Dkim_api_EXPORTS -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Fortran_MODULES" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -I"/<<PKGBUILDDIR>>/cpp/include" -I"/<<PKGBUILDDIR>>/c/include" -I"/<<PKGBUILDDIR>>/cpp/src" -I"/<<PKGBUILDDIR>>/fortran/include"  -std=f2003 -Wall -Wextra -pedantic -ffree-line-length-none -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -JFortran_MODULES -fPIC   -c "/<<PKGBUILDDIR>>/fortran/src/kim_model_compute_f.f90" -o CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_f.f90.o
flang: warning: argument unused during compilation: '-ffree-line-length-none' [-Wunused-command-line-argument]
/usr/bin/cmake -E cmake_copy_f90_mod Fortran_MODULES/kim_model_compute_f_module.mod CMakeFiles/kim-api.dir/kim_model_compute_f_module.mod.stamp Flang
/usr/bin/cmake -E touch CMakeFiles/kim-api.dir/fortran/src/kim_model_compute_f.f90.o.provides.build
[ 28%] Building Fortran object CMakeFiles/kim-api.dir/fortran/src/kim_model_create_f.f90.o
/usr/bin/f95 -Dkim_api_EXPORTS -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Fortran_MODULES" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -I"/<<PKGBUILDDIR>>/cpp/include" -I"/<<PKGBUILDDIR>>/c/include" -I"/<<PKGBUILDDIR>>/cpp/src" -I"/<<PKGBUILDDIR>>/fortran/include"  -std=f2003 -Wall -Wextra -pedantic -ffree-line-length-none -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -JFortran_MODULES -fPIC   -c "/<<PKGBUILDDIR>>/fortran/src/kim_model_create_f.f90" -o CMakeFiles/kim-api.dir/fortran/src/kim_model_create_f.f90.o
flang: warning: argument unused during compilation: '-ffree-line-length-none' [-Wunused-command-line-argument]
F90-F-0000-Internal compiler error. process_formal_arguments: Function argument with mismatched size that is neither integer nor floating-point       0  (/<<PKGBUILDDIR>>/fortran/src/kim_model_create_f.f90: 623)
F90/x86-64  Flang - 1.5 2017-05-01: compilation aborted
make[3]: *** [CMakeFiles/kim-api.dir/build.make:261: CMakeFiles/kim-api.dir/fortran/src/kim_model_create_f.f90.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:76: CMakeFiles/kim-api.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:144: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 returned exit code 2
make: *** [debian/rules:8: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/kim-api.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the debian-science-maintainers mailing list