DevonianTeuchter / meta

Meta repository to tie together the various underlying z/OS Open Source tools repositories here
https://zosopentools.github.io/meta/
Apache License 2.0
2 stars 0 forks source link

"zopen alt" is not working with perl #31

Closed HarithaIBM closed 1 year ago

HarithaIBM commented 1 year ago

After installing curl , which, perl - zopen alt gives the details of installed version for tools - curl and which, where as running it on perl says "No currently available version of package 'perl'"

HarithaIBM commented 1 year ago

issue is due to -- grep "$needle-[^/]*$" and also when we query with perl5 with alt we get 2 options , 1: perl5-blead 2: perl5-blead.20230605_161457.zos

But, i was expecting option 2 as o/p - similar to curl

HarithaIBM commented 1 year ago

I tried it with latest meta , also did zopen init and followed steps below:

[HARITHA@ZOSCAN2B ~/meta_russel/meta]zopen install perl
- Querying remote repo for latest package information
Installing package: perl
- Installing perl...
- Downloading perl5-blead.20230605_161457.zos.pax.Z file from remote to zopen package cache...
- Downloaded perl5-blead.20230605_161457.zos.pax.Z file from remote to zopen package cache.
- Processing perl5-blead.20230605_161457.zos.pax.Z...
After this operation, 78.64 MB of additional disk space will be used.
Do you want to continue? [y/n]
y
- Expanding perl5-blead.20230605_161457.zos.pax.Z
- Expanded

- Integration complete
- Checking for env file
- .env file found, adding to profiled processing
- Sourcing environment to run any setup
Setting up perl5...
Setup completed.
- Checking for runtime dependencies
- No runtime dependencies found
Successfully installed perl
[HARITHA@ZOSCAN2B ~/meta_russel/meta]$
[HARITHA@ZOSCAN2B ~/meta_russel/meta]$ zopen alt perl
No currently available version of package 'perl'
[HARITHA@ZOSCAN2B ~/meta_russel/meta]$ zopen alt perl5
1: perl5-blead.20230605_161457.zos
[HARITHA@ZOSCAN2B ~/meta_russel/meta]$ type perl
perl is /home/haritha/zopen_russel_24aug/usr/bin/perl
[HARITHA@ZOSCAN2B ~/meta_russel/meta]$ perl
CEE3501S The module libperl.so was not found.
         The traceback information could not be determined.
Killed

Am still facing the same issue with zopen alt perl

HarithaIBM commented 1 year ago

This issue is fixed in branch - https://github.com/DevonianTeuchter/meta/tree/use_package_ver_subdirs