Bug#916565: libopenmpi3,openmpi-{common,doc}: fails to remove: post-removal script subprocess returned error exit status 1

Alastair McKinstry alastair.mckinstry at sceal.ie
Wed Dec 19 16:11:05 GMT 2018


Thanks for this, yes the bug is in dh-fortran-mod.

I need to test the fixfor openmpi, etc however - how to fix postrm files.

Best regards

Alastair


On 19/12/2018 15:22, Samuel Thibault wrote:
> Control: reassign -1 dh-fortran-mod
> Control: affects -1 + openmpi
> Control: tags -1 + patch
>
>>   rm: cannot remove '/usr/lib/x86_64-linux-gnu/fortran/gfortran-8#': No such file or directory
>>   rm: cannot remove 'End': No such file or directory
>>   rm: cannot remove 'automatically': No such file or directory
>>   rm: cannot remove 'added': No such file or directory
>>   rm: cannot remove 'section': No such file or directory
> Looking at the postrm script, I see
>
> rmdir --ignore-fail-on-non-empty --parents /usr/lib/$multiarch/fortran/$base
> [ -d /usr/lib/$multiarch/fortran/$base ] && rm /usr/lib/$multiarch/fortran/$cmplr# End automatically added section
>
> Its seems to be coming from dh-fortran-mod: the postrm-fortran-mod does
> not have a \n on the last line. Could you apply the attached patch?
> Then we'll have to rebuild openmpi and possibly others with the same
> resulting issue.
>
> Samuel
>
-- 
Alastair McKinstry, <alastair at sceal.ie>, <mckinstry at debian.org>, https://diaspora.sceal.ie/u/amckinstry
Commander Vimes didn’t like the phrase “The innocent have nothing to fear,”
  believing the innocent had everything to fear, mostly from the guilty but in the longer term
  even more from those who say things like “The innocent have nothing to fear.”
  - T. Pratchett, Snuff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20181219/8f7c82d4/attachment-0001.html>


More information about the debian-science-maintainers mailing list