Bug#1091023: cmake breaks lfortran autopkgtest

Paul Gevers elbrus at debian.org
Sun Dec 22 08:34:44 GMT 2024


Source: cmake, lfortran
Control: found -1 cmake/3.31.2-1
Control: found -1 lfortran/0.42.0-1
Severity: serious
Tags: sid trixie
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of cmake the autopkgtest of lfortran fails in 
testing when that autopkgtest is run with the binary packages of cmake 
from unstable. It passes when run with only packages from testing. In 
tabular form:

                        pass            fail
cmake                  from testing    3.31.2-1
lfortran               from testing    0.42.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of cmake to testing 
[1]. Due to the nature of this issue, I filed this bug report against 
both packages. Can you please investigate the situation and reassign the 
bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=cmake

https://ci.debian.net/data/autopkgtest/testing/amd64/l/lfortran/55624248/log.gz

  90s CMake Deprecation Warning at CMakeLists.txt:1 
(cmake_minimum_required):
  90s   Compatibility with CMake < 3.10 will be removed from a future 
version of
  90s   CMake.
  90s  90s   Update the VERSION argument <min> value.  Or, use the 
<min>...<max> syntax
  90s   to tell CMake that the project requires at least <min> but has 
been updated
  90s   to work with policies introduced by <max> or earlier.
  90s  90s  90s -- The C compiler identification is GNU 14.2.0
  91s -- The Fortran compiler identification is LFortran 0.42.0
  91s -- Detecting C compiler ABI info
  91s -- Detecting C compiler ABI info - done
  91s -- Check for working C compiler: /usr/bin/cc - skipped
  91s -- Detecting C compile features
  91s -- Detecting C compile features - done
  91s -- Detecting Fortran compiler ABI info
  91s -- Detecting Fortran compiler ABI info - done
  91s -- Check for working Fortran compiler: /usr/bin/lfortran - skipped
  91s -- Configuring done (0.7s)
  91s -- Generating done (0.0s)
  91s -- Build files have been written to: 
/tmp/autopkgtest-lxc.ez47occ5/downtmp/build.xOq/src/examples/project1
  91s [ 25%] Building Fortran object CMakeFiles/project1.dir/b.f90.o
  91s [ 50%] Building Fortran object CMakeFiles/project1.dir/a.f90.o
  91s [ 75%] Building Fortran object CMakeFiles/project1.dir/project1.f90.o
  91s [100%] Linking Fortran executable project1
  91s /usr/bin/ld: CMakeFiles/project1.dir/a.f90.o: in function 
`__module_b_g':
  91s LFortran:(.text+0x0): multiple definition of `__module_b_g'; 
CMakeFiles/project1.dir/project1.f90.o:LFortran:(.text+0x0): first 
defined here
  91s /usr/bin/ld: CMakeFiles/project1.dir/a.f90.o: in function 
`__module_a_f':
  91s LFortran:(.text+0x10): multiple definition of `__module_a_f'; 
CMakeFiles/project1.dir/project1.f90.o:LFortran:(.text+0x10): first 
defined here
  91s /usr/bin/ld: CMakeFiles/project1.dir/a.f90.o: in function 
`__module_a_fib':
  91s LFortran:(.text+0x30): multiple definition of `__module_a_fib'; 
CMakeFiles/project1.dir/project1.f90.o:LFortran:(.text+0x30): first 
defined here
  91s /usr/bin/ld: CMakeFiles/project1.dir/b.f90.o: in function 
`__module_b_g':
  91s LFortran:(.text+0x0): multiple definition of `__module_b_g'; 
CMakeFiles/project1.dir/project1.f90.o:LFortran:(.text+0x0): first 
defined here
  91s clang-19: error: linker command failed with exit code 1 (use -v to 
see invocation)
  91s The command 'clang-19 -o project1 
CMakeFiles/project1.dir/project1.f90.o CMakeFiles/project1.dir/a.f90.o 
CMakeFiles/project1.dir/b.f90.o  -L"/usr/bin/../lib/x86_64-linux-gnu" 
-Wl,-rpath,"/usr/bin/../lib/x86_64-linux-gnu" 
-Wl,--dependency-file=CMakeFiles/project1.dir/link.d -llfortran_runtime 
-lm' failed.
  91s make[2]: *** [CMakeFiles/project1.dir/build.make:130: project1] 
Error 10
  91s make[1]: *** [CMakeFiles/Makefile2:87: 
CMakeFiles/project1.dir/all] Error 2
  91s make: *** [Makefile:91: all] Error 2
  92s autopkgtest [21:08:34]: test project1-llvm-backend

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20241222/1cc3ea5e/attachment.sig>


More information about the debian-science-maintainers mailing list