Source: eccodes
Version: 0.5.8+dfsg.1-2
Severity: serious
Tags: ftbfs
Justification: FTBFS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

First of all there is a typo (extraneous space) in debian/rules:

        # file exists on full builds only
        [ - e debian/libeccodes-dev/$(INCDIR)/eccodes_ecbuild_config.h ] && ( \
          ^^^

But this is not the main issue. Even with this typo fixed Eccodes FTBFS
on a clean unstable amd64 chroot with this error:

dh_fortran_lib -p libeccodes-dev --flavor gfortran --builddir 
debian/build-gfortran
source=eccodes, binary packages=['libeccodes-dev']
install_dir (debian/libeccodes-dev//usr/lib/x86_64-linux-gnu/fortran/gnu/)
['cp', '--reflink=auto', '-a', 
'debian/tmp/usr/lib/x86_64-linux-gnu/libeccodes_f90_static.a', 
'debian/libeccodes-dev//usr/lib/x86_64-linux-gnu/fortran/gnu//libeccodes_f90_static.a']
Usage: dh_fortran_lib [OPTIONS] [FILES]...
Try 'dh_fortran_lib --help' for help.

Error: lstat: path should be string, bytes or os.PathLike, not NoneType
Traceback (most recent call last):
  File "/usr/share/dh-fortran/dhfortran/cli.py", line 155, in wrapper
    f(*args, **kwargs)
    ~^^^^^^^^^^^^^^^^^
  File "/usr/share/dh-fortran/dhfortran/lib.py", line 508, in dh_fortran_lib
    d.process_and_move_files(searchdirs, *files)
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dh-fortran/dhfortran/debhelper.py", line 530, in 
process_and_move_files
    self.process_file(pkg, fil, pkg, dest)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dh-fortran/dhfortran/lib.py", line 398, in process_file
    s.process_lib()
    ~~~~~~~~~~~~~^^
  File "/usr/share/dh-fortran/dhfortran/lib.py", line 220, in process_lib
    if not islink(self.orig_libfile):
           ~~~~~~^^^^^^^^^^^^^^^^^^^
  File "<frozen genericpath>", line 63, in islink
TypeError: lstat: path should be string, bytes or os.PathLike, not NoneType

make[1]: *** [debian/rules:86: override_dh_install] Error 2

Best,
_g.

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAmsNtl0ACgkQ7+hsbH/+
z4PoYQf8DYg6PqVRDgUFYTa6qXkrSXTPTRq8Yv13qEbpB3fR6KbfE9o5M7ZVDQA9
hV4JX7pga57RHdD/08SMzaFwo4GPwbRKUWvBC7IjbrDe2b82/kVr0Ak/V/ZqNJfs
J6A+7hY7PpK7ra06PHC+blygcuFMihAZjOfSLU87UC0IIcgK8JbVEe/3fduZ/HL1
0vU4k2dYRle7gtili5tnFNqU9LB+U4fktnLqxoP2Z9O5h18WEP4Oa8UgYOWgkACj
fKqgVbY1kRZPRj+3XyBIESokviigI0H4fwJFKiU/SeeS6d8EDCznNctBtVfkrbLi
gU3nJpbUrvYW9qEvYqmYARidrTA0BQ==
=WaGb
-----END PGP SIGNATURE-----

Reply via email to