Public bug reported:

eccodes 2.48.1 FTBFS in stonking. dh_strip chokes on the library that
dh_fortran_lib creates with patchelf:

  patchelf --set-soname libeccodes_f90-gnu.so.0 --output \
      debian/libeccodes0/usr/lib/x86_64-linux-gnu/libeccodes_f90-gnu.so.0 \
      debian/tmp/usr/lib/x86_64-linux-gnu/libeccodes_f90.so.0

  debugedit --build-id --build-id-seed=libeccodes0/2.48.1-1ubuntu1 \
      debian/libeccodes0/usr/lib/x86_64-linux-gnu/libeccodes_f90-gnu.so.0
  readelf: Error: no .dynamic section in the dynamic segment
  objcopy: warning: libeccodes_f90-gnu.so.0 has a corrupt string table index
  objcopy: unable to modify 'libeccodes_f90-gnu.so.0' due to errors
  dh_strip: error: Aborting due to earlier error

Debian builds the same source with the same patchelf (0.18.0-1.4) and objcopy
accepts the file there, so this only shows up in Ubuntu.

This is the same thing as bug #2158963 in glew, which was worked around
with:

  override_dh_strip:
      dh_strip -a -XlibEGLEW.so.2.3.1 -Xeglewinfo

** Affects: eccodes (Ubuntu)
     Importance: Undecided
     Assignee: Nadzeya Hutsko (nadzeya)
         Status: In Progress

** Changed in: eccodes (Ubuntu)
     Assignee: (unassigned) => Nadzeya Hutsko (nadzeya)

** Changed in: eccodes (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166402

Title:
  dh_strip fails on the patchelf'd libeccodes_f90-gnu.so.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eccodes/+bug/2166402/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to