[Bug 782903] New: Shell.pm missing in perl-5.14.2-3.1 package
https://bugzilla.novell.com/show_bug.cgi?id=782903 https://bugzilla.novell.com/show_bug.cgi?id=782903#c0 Summary: Shell.pm missing in perl-5.14.2-3.1 package Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ash25.icon@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=507828) --> (http://bugzilla.novell.com/attachment.cgi?id=507828) Example perl script to exercise Shell.pm User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.8 (KHTML, like Gecko) Chrome/23.0.1255.0 Safari/537.8 SUSE/23.0.1255.0 The following file, Shell.pm is missing in the perl package /usr/lib/perl5/5.16.0/Shell.pm that comes with openSUSE 12.2 In openSUSE 12.1 and earlier this file seems to be present at the correct location. Reproducible: Always Steps to Reproduce: Run the attached test-shell-ls.pl (which is the similar to the example here: http://perldoc.perl.org/Shell.html) Actual Results: $ perl ./test-shell-ls.pl Can't locate Shell.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/5.16.0 /usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.16.0 /usr/lib/perl5/site_perl .) at ./test-shell-ls.pl line 3. BEGIN failed--compilation aborted at ./test-shell-ls.pl line 3. Expected Results: $ perl ./test-shell-ls.pl total 4 -rwxr-xr-x 1 test-user users 113 Sep 29 14:55 test-shell-ls.pl total 4 -rwxr-xr-x 1 test-user users 113 Sep 29 14:55 test-shell-ls.pl Right now, I've copied the Shell.pm from openSUSE 12.1's perl-5.14.2-3.1.x86_64.rpm into /usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi/Shell.pm to workaround this issue so that the scripts which use these do not break. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782903 https://bugzilla.novell.com/show_bug.cgi?id=782903#c Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de AssignedTo|bnc-team-screening@forge.pr |mls@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782903 https://bugzilla.novell.com/show_bug.cgi?id=782903#c1 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |INVALID --- Comment #1 from Michael Schröder <mls@suse.com> 2012-10-08 09:20:06 UTC --- >From perldelta: - Shell has been removed from the Perl core. Prior version was 0.72_01. So it's not a bug. Also, from the Shell module: This package is included as a show case, illustrating a few Perl features. It shouldn't be used for production programs. Although it does provide a simple interface for obtaining the standard output of arbitrary commands, there may be better ways of achieving what you need. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782903 https://bugzilla.novell.com/show_bug.cgi?id=782903#c2 --- Comment #2 from Ashwin G <ash25.icon@gmail.com> 2012-10-08 16:17:36 UTC --- Is there another package which can provides the 'Shell.pm' perl module ? I couldn't find one in the openSUSE repository. If there is no such available, it would be a good idea to provide one - and it can print a 'Warning: deprecated' message everytime any function within this module is called. It would be a better way to phase out packages rather than removing them abruptly for people who're using it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=782903 https://bugzilla.novell.com/show_bug.cgi?id=782903#c3 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@suse.com --- Comment #3 from Michael Schröder <mls@suse.com> 2012-10-08 17:06:50 UTC --- I don't see any (but creating perl-Shell in devel:languages:perl would not be hard). CC coolo (the guy with the nice package creation script). Regarding the deprecation: well, you need to blame upstream. I didn't notice that Shell.pm was dropped until I saw your bug report. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com