Bug ID 1203080
Summary git-send-email: perl-TermReadLine-Gnu: Bad file descriptor during global destruction
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.4
Hardware Other
OS Other
Status NEW
Severity Minor
Priority P5 - None
Component Development
Assignee screening-team-bugs@suse.de
Reporter ddiss@suse.com
QA Contact qa-bugs@suse.de
CC coolo@suse.com, ncutler@suse.com, tina.mueller@suse.com
Found By ---
Blocker ---

git-send-email 2.35.3 on Leap 15.4 spits out a page full of warnings after a
patch is successfully sent. E.g.

> git send-email -1
...
Send this email? ([y]es|[n]o|[e]dit|[q]uit|[a]ll): y
...
Result: 250
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global
destruction.

As mentioned, the patch is sent successfully, hence the minor severity.
Searching around lead me to
https://github.com/netdisco/netdisco/wiki/Troubleshooting#perl-termreadline-gnu-operating-system-packages
which states:

> certain versions of this package can make netdisco-deploy error out with:
> Warning: unable to close filehandle properly: Bad file descriptor during global destruction.
> upgrading to a newer version (1.35) should fix the problem.

I upgraded the Leap 15.4 perl-TermReadLine-Gnu-1.20 package to
perl-Term-ReadLine-Gnu-1.42-lp154 from obs devel:languages:perl and sure enough
the warning disappeared (the patch is also still successfully sent).

@Tina, Coolo and Nathan: would you be open to updating the Leap 15.4 /
SLE15-SP4 perl-TermReadLine-Gnu-1.20 package to perl-Term-ReadLine-Gnu-1.42?


You are receiving this mail because: