https://bugzilla.redhat.com/show_bug.cgi?id=2130616



--- Comment #3 from Petr Pisar <ppi...@redhat.com> ---
It happens when executing system($cmd) in Inline::C::system_call(). $cmd does
perl Makefile.PL, then make, and make install in the temporary XS module
compiled into _Inline directory. system() executes "sh -c '$cmd'". In that
process a special BASH_FUNC_which%% variable is garbled:

$ env
BASH_FUNC_which%%=() {  ( alias;
SHELL=/bin/sh
[...]

The variable is set in /etc/profile.d/which2.sh with "export -f which" to more
complex value:

function which {
    (alias; eval ${which_declare}) | /usr/bin/which --tty-only --read-alias
--read-functions --show-tilde --show-dot $@
}


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2130616
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to