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

GNU Parallel - incorrect dependencies #29688

Open
gbucknel opened this issue Sep 30, 2024 · 0 comments
Open

GNU Parallel - incorrect dependencies #29688

gbucknel opened this issue Sep 30, 2024 · 0 comments

Comments

@gbucknel
Copy link
Contributor

Hi,

I wasn't really sure how to figure this out, so was hoping for some pointers.

GNU Parallel has stopping installing since this commit

It fails with :

02:50:41  STEP 5/6: RUN chmod 755 /usr/local/bin/install.sh &&     /usr/local/bin/install.sh &&     rm /usr/local/bin/install.sh
02:50:41  fetch https://packages.wolfi.dev/os/x86_64/APKINDEX.tar.gz
02:50:42  ERROR: unable to select packages:
02:50:42    cmd:ash (no such package):
02:50:42      required by: parallel-20240922-r0[cmd:ash]
02:50:42    cmd:csh (no such package):
02:50:42      required by: parallel-20240922-r0[cmd:csh]
02:50:42    cmd:ksh (no such package):
02:50:42      required by: parallel-20240922-r0[cmd:ksh]
02:50:42    cmd:pdksh (no such package):
02:50:42      required by: parallel-20240922-r0[cmd:pdksh]
02:50:42    cmd:tcsh (no such package):
02:50:42      required by: parallel-20240922-r0[cmd:tcsh]

The package.yaml has not changed besides the version number and hash that was updated in the commit.

The APKINDEX.json from the build only has this dependency listed :

"Dependencies": [
        "cmd:perl"
      ],

The APKINDEX though does seem to add these packages as dependencies
The previous "good" version looks like this :

C:Q16kEgV7Q4tjlsZjjwQqnUCwm6duY=
P:parallel
V:20240822-r0
A:x86_64
S:2541305
I:5199378
T:GNU parallel is a shell tool for executing jobs in parallel using one or more computers
L:GPL-3.0-or-later
o:parallel
t:1724326275
c:e16cb8f03fa293fff8aba67c5598255b2c8bf917
D:cmd:perl
p:cmd:env_parallel.ash=20240822-r0 cmd:env_parallel.bash=20240822-r0 cmd:env_parallel.csh=20240822-r0 cmd:env_parallel.dash=20240822-r0 cmd:env_parallel.fish=20240822-r0 cmd:env_parallel.ksh=20240822-r0 cmd:env_parallel.mksh=20240822-r0 cmd:env_parallel.pdksh=20240822-r0 cmd:env_parallel.sh=20240822-r0 cmd:env_parallel.tcsh=20240822-r0 cmd:env_parallel.zsh=20240822-r0 c

The new "bad" version looks like this :

C:Q19BzAityErtW2LrnFdQ/wKlofUcY=
P:parallel
V:20240922-r0
A:x86_64
S:2499658
I:5155377
T:GNU parallel is a shell tool for executing jobs in parallel using one or more computers
L:GPL-3.0-or-later
o:parallel
t:1727221947
c:08c47d08bf4b8e09ed031f5fa2636afe5a03210c
D:cmd:ash cmd:bash cmd:csh cmd:dash cmd:fish cmd:ksh cmd:pdksh cmd:perl cmd:tcsh cmd:zsh
p:cmd:env_parallel.ash=20240922-r0 cmd:env_parallel.bash=20240922-r0 cmd:env_parallel.csh=20240922-r0 cmd:env_parallel.dash=20240922-r0 cmd:env_parallel.fish=20240922-r0 cmd:env_parallel.ksh=20240922-r0 cmd:env_parallel.mksh=20240922-r0 cmd:env_parallel.pdksh=20240922-r0 cmd:env_parallel.sh=20240922-r0 cmd:env_parallel.tcsh=20240922-r0 cmd:env_parallel.zsh=20240922-r0 c

Has something changed in the build process recently that adds dependencies for provided commands? I just can't see that something else in this particular package had changed so was wondering if it's a build system change?

For this particular case, it doesn't seem like a hard dependency for those shells is appropriate, it's just that a helper script is provided for each one. Is there some way to indicate that in the build?

Thanks for Wolfi - it's fantastic.

@gbucknel gbucknel changed the title GNU Parallel - incorrect GNU Parallel - incorrect dependencies Sep 30, 2024
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

1 participant