Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] xbps-src will accept packages from remote repos as fullfilling dependencies even when they aren't available in srcpkgs/
@ 2021-06-16 16:29 ericonr
  2022-05-22  2:11 ` github-actions
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ericonr @ 2021-06-16 16:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]

New issue by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/31526

Description:
Writing a template to depend on `zstd-devel` (removed in d481489dae9449f5212f4e2b5fab74e858962242) should fail because `srcpkgs/zstd-devel/template` doesn't exist. Instead, if it's still available in remote repositories because it hasn't been cleaned up, it will be enough to satisfy the dependency.

An example from adding `zstd-devel` to `depends` for `kicad-library`.

```
   [target] zstd-devel: found (https://alpha.de.repo.voidlinux.org/current/musl)
   [runtime] kicad-footprints-5.1.10_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
   [runtime] kicad-packages3D-5.1.10_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
   [runtime] kicad-symbols-5.1.10_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
   [runtime] kicad-templates-5.1.10_1: found (https://alpha.de.repo.voidlinux.org/current/musl)
```

This can lead to issues such as 5898b6cbe0efcf6c129799a0993943fc7128f1a7 (fixed in d0ae88846bf833a5e1171dff6dd44a65c4891466), where a package can be made to depend on another one that's no longer available.

When fixing this, care should be taken to not break virtual packages or others depending on the `provides=` mechanism (though arguably packages which are `provides`d by something are valid only in `depends`).

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-05  2:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16 16:29 [ISSUE] xbps-src will accept packages from remote repos as fullfilling dependencies even when they aren't available in srcpkgs/ ericonr
2022-05-22  2:11 ` github-actions
2022-05-23 16:38 ` Chocimier
2022-08-22  2:13 ` github-actions
2022-11-21  2:11 ` github-actions
2023-02-20  2:02 ` github-actions
2023-05-22  1:57 ` github-actions
2023-06-05  2:04 ` [ISSUE] [CLOSED] " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).