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

Melange not adding provides for symlinks to commands #1612

Open
justinvreeland opened this issue Oct 31, 2024 · 0 comments
Open

Melange not adding provides for symlinks to commands #1612

justinvreeland opened this issue Oct 31, 2024 · 0 comments

Comments

@justinvreeland
Copy link
Contributor

It seems like sca isn't adding provides for symlinked commands. If you look at tk you see the following:

~/src/update-openssf jvreeland/automated-ssf-libisoburn.yaml* ≡ 17s
❯ tar -Oxz .PKGINFO < ./packages/aarch64/tk-9.0.0-r1.apk 
# Generated by melange
pkgname = tk
pkgver = 9.0.0-r1
arch = aarch64
size = 9304304
origin = tk
pkgdesc = GUI toolkit for the Tcl scripting language
url = 
commit = unknown
builddate = 1729727081
license = TCL
depend = pc:tcl
depend = so:ld-linux-aarch64.so.1
depend = so:libX11.so.6
depend = so:libc.so.6
depend = so:libm.so.6
depend = tcl
provides = cmd:wish9.0=9.0.0-r1
provides = pc:tk=9.0.0-r1
datahash = 9a3a005635b30cc5146e5ddd61a7ebc97bf932062a52d5c3ab737f6640a21380

If you look at libisoburn you see:

~/src/update-openssf jvreeland/automated-ssf-libisoburn.yaml* ≡
❯ tar -Oxz .PKGINFO < ./packages/aarch64/libisoburn-1.5.6-r1.apk 
# Generated by melange
pkgname = libisoburn
pkgver = 1.5.6-r1
arch = aarch64
size = 2037068
origin = libisoburn
pkgdesc = Library to enable creation and expansion of ISO-9660 filesystems
url = 
commit = unknown
builddate = 1730397938
license = GPL-2.0-or-later
depend = cmd:wish
depend = so:ld-linux-aarch64.so.1
depend = so:libacl.so.1
depend = so:libburn.so.4
depend = so:libc.so.6
depend = so:libedit.so.0
depend = so:libisofs.so.6
depend = so:libz.so.1
provides = cmd:xorriso-dd-target=1.5.6-r1
provides = cmd:xorriso-tcltk=1.5.6-r1
provides = cmd:xorriso=1.5.6-r1
provides = so:libisoburn.so.1=1
datahash = 1168af5fd0f2f11cac3da7dfca60e53b7d01e6df6ac62b5fa307542d71ac3c3d

The better option seems to be to provide cmd:wish than resolve the symlink for libisoburn.

@justinvreeland justinvreeland changed the title Melange not providing for for symlinks to commands Melange not adding providing for symlinks to commands Oct 31, 2024
@justinvreeland justinvreeland changed the title Melange not adding providing for symlinks to commands Melange not adding provides for symlinks to commands Nov 19, 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