Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zopen missing jq dependency during install #61

Open
chrishodgins opened this issue Aug 12, 2024 · 0 comments
Open

zopen missing jq dependency during install #61

chrishodgins opened this issue Aug 12, 2024 · 0 comments
Assignees

Comments

@chrishodgins
Copy link

Raised on Slack: https://ibm-systems-z.slack.com/archives/C039TNSH9J5/p1723473476732129

Picking up the latest zopen pax file (meta-main.20240807_133741.zos.pax.Z) from github and I think that zopen-init might be assuming jq is already installed on the system in the generateJsonConfiguration function? Installing into an H3N environment to a new /zopen directory.

Failure:

IBMUSER:/u/ibmuser/meta-main #>zopen init --yes --fs-layout fhs /zopen
Initializing zopen framework
Attention: Turning on usage statistics as your host is an IBM host. If this is incorrect, rerun with --noenable-stats
- Binaries will be symlinked under "/zopen/usr/local/bin". Libraries will be symlinked under "/zopen/usr/lib"
- Packages will be installed and maintained under the directory structure fhs (/zopen/opt). To change, re-run with the -f <layout> option.
- Collecting usage statistics: true
Generating File System
- Setting certificate environment variable
- Root FS available at /zopen
- Configured zopen to use stable releaseline packages
Generating global configuration
jq: generateJsonConfiguration 38: /u/ibmuser/meta-main/bin/zopen-init 634: FSUM7351 not found
Generating zopen-config
- Created config in /zopen/etc/zopen-config

... 
...


- Configured zopen to use stable releaseline packages
Refreshing global configuration
jq: error: syntax error, unexpected '/', expecting $end (Unix shell quoting issues?) at <top-level>, line 1:
/zopen/etc/zopen/config.json
jq: 1 compile error
***ERROR: Errors updating existing configuration file. See previous errors for more information and retry command.
- Checking for runtime dependencies.
- No runtime dependencies found.
Successfully installed: meta
***ERROR: Unable to install curl, jq and/or meta; see previous errors and retry the initilisation using the '--re-init' parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants