Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] xbps-src do not build depends of subpackages
@ 2020-03-31 21:40 Chocimier
  2020-04-01  4:27 ` xbps-src does " CameronNemo
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Chocimier @ 2020-03-31 21:40 UTC (permalink / raw)
  To: ml

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

New issue by Chocimier on void-packages repository

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

Description:
This can lead to indexing package without its runtime dependencies being available (broken, misspelled, not yet build).
So depends of subpackages should be build, same as depends of main package.

On the other hand, building them can introduce cycles.

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
@ 2020-04-01  4:27 ` CameronNemo
  2020-04-01  4:27 ` CameronNemo
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2020-04-01  4:27 UTC (permalink / raw)
  To: ml

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

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607023736

Comment:
This is particularly troublesome because subpackages more often than not depend on the main package.

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
  2020-04-01  4:27 ` xbps-src does " CameronNemo
@ 2020-04-01  4:27 ` CameronNemo
  2020-04-01  9:03 ` xtraeme
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2020-04-01  4:27 UTC (permalink / raw)
  To: ml

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

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607023736

Comment:
This is particularly troublesome because subpackages more often than not depend on the main package. Not sure how that can be handled.

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
  2020-04-01  4:27 ` xbps-src does " CameronNemo
  2020-04-01  4:27 ` CameronNemo
@ 2020-04-01  9:03 ` xtraeme
  2020-04-01 10:43 ` Duncaen
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: xtraeme @ 2020-04-01  9:03 UTC (permalink / raw)
  To: ml

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

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607128445

Comment:
The correct way is adding all build dependencies in the main pkg.

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
                   ` (2 preceding siblings ...)
  2020-04-01  9:03 ` xtraeme
@ 2020-04-01 10:43 ` Duncaen
  2020-04-01 10:47 ` xtraeme
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Duncaen @ 2020-04-01 10:43 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607175018

Comment:
Its about runtime dependencies, the assumption that all packages in the index are installable (ignoring ongoing shlib bumps) breaks because sub packages can have runtime dependencies that have not been built at the time xbps-src adds them to the index.

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
                   ` (3 preceding siblings ...)
  2020-04-01 10:43 ` Duncaen
@ 2020-04-01 10:47 ` xtraeme
  2020-04-01 10:55 ` Duncaen
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: xtraeme @ 2020-04-01 10:47 UTC (permalink / raw)
  To: ml

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

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607176775

Comment:
@Duncaen I'm aware. That's why the main pkg should have all deps. Maybe via `hostmakedepends`

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
                   ` (4 preceding siblings ...)
  2020-04-01 10:47 ` xtraeme
@ 2020-04-01 10:55 ` Duncaen
  2020-04-01 11:01 ` xtraeme
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Duncaen @ 2020-04-01 10:55 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607179813

Comment:
I think it would probably more intuitive to just include depends on sub packages when checking build dependencies.
Using `hostmakedepends` would be for the wrong architecture, `makedepends` would work but as with `hostmakedepends` this adds extra useless installation time. 

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
                   ` (5 preceding siblings ...)
  2020-04-01 10:55 ` Duncaen
@ 2020-04-01 11:01 ` xtraeme
  2020-04-01 11:05 ` xtraeme
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: xtraeme @ 2020-04-01 11:01 UTC (permalink / raw)
  To: ml

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

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607182333

Comment:
Another idea I had a while ago is, make `xbps-rindex -a` error out if it cannot resolve all dependencies... this would fix 99% of the issues.

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
                   ` (6 preceding siblings ...)
  2020-04-01 11:01 ` xtraeme
@ 2020-04-01 11:05 ` xtraeme
  2020-04-01 19:31 ` Chocimier
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: xtraeme @ 2020-04-01 11:05 UTC (permalink / raw)
  To: ml

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

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607184011

Comment:
@Duncaen sounds good, but as @Chocimier mentions above it will introduce lots of cycles.

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
                   ` (7 preceding siblings ...)
  2020-04-01 11:05 ` xtraeme
@ 2020-04-01 19:31 ` Chocimier
  2020-04-01 19:49 ` CameronNemo
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Chocimier @ 2020-04-01 19:31 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607447708

Comment:
Depending on subpackage (like -data) from main package is already supported, so this won't be a problem.

What about treating depends of subpackages exactly like depends of main package, ie. build if missing but not install?

Checked for cycles. There is one connected component of 94 packages. Looks like breakable. Here is [tool I used](https://gist.github.com/Chocimier/de76441493ec7775c201dac0bb03ced5).

ModemManager NetworkManager SDL2 attica avahi bluez cargo colord cups dav1d doxygen elogind extra-cmake-modules ffmpeg flac fontforge gcr ghostscript git gnupg2 gpgme graphviz gst-plugins-base1 gstreamer1 gtk+ gtk+3 jack karchive kauth kbookmarks kcodecs kcompletion kconfig kconfigwidgets kcoreaddons kcrash kdbusaddons kded kdelibs4support kdesignerplugin kdoctools kemoticons kglobalaccel kguiaddons ki18n kiconthemes kinit kio kitemmodels kitemviews kjobwidgets knotifications kparts kplotting kservice ksolid ktextwidgets kunitconversion kwallet kwidgetsaddons kwindowsystem kxmlgui lame libblockdev libbs2b libdbusmenu-qt5 liberation-fonts-ttf libgit2 libinput librsvg libsamplerate libsndfile libwacom nasm net-tools networkmanager-qt5 ocl-icd phonon-qt5 pinentry polkit polkit-qt5 pulseaudio qt5 ruby sane sbc sonnet subversion udisks2 upower volume_key x264 x265 xvidcore

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
                   ` (8 preceding siblings ...)
  2020-04-01 19:31 ` Chocimier
@ 2020-04-01 19:49 ` CameronNemo
  2020-04-01 20:04 ` Chocimier
  2020-04-15  9:17 ` [ISSUE] [CLOSED] " xtraeme
  11 siblings, 0 replies; 13+ messages in thread
From: CameronNemo @ 2020-04-01 19:49 UTC (permalink / raw)
  To: ml

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

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607456146

Comment:
I see how my concern was unfounded. This is a strange dependency:

```
"subversion": [
  "kdelibs4support"
],
```

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

* Re: xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
                   ` (9 preceding siblings ...)
  2020-04-01 19:49 ` CameronNemo
@ 2020-04-01 20:04 ` Chocimier
  2020-04-15  9:17 ` [ISSUE] [CLOSED] " xtraeme
  11 siblings, 0 replies; 13+ messages in thread
From: Chocimier @ 2020-04-01 20:04 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/issues/20508#issuecomment-607462540

Comment:
> "subversion": [ "kdelibs4support" ]

It's for subversion-kwallet-auth apparently. But yes, cutting this unties all graph, leaving cycle of three packages, reported in #20438.

Unless method of founding cycles is wrong.

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

* Re: [ISSUE] [CLOSED] xbps-src does not build depends of subpackages
  2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
                   ` (10 preceding siblings ...)
  2020-04-01 20:04 ` Chocimier
@ 2020-04-15  9:17 ` xtraeme
  11 siblings, 0 replies; 13+ messages in thread
From: xtraeme @ 2020-04-15  9:17 UTC (permalink / raw)
  To: ml

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

Closed issue by Chocimier on void-packages repository

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

Description:
This can lead to indexing package without its runtime dependencies being available (broken, misspelled, not yet build).
So depends of subpackages should be build, same as depends of main package.

On the other hand, building them can introduce cycles.

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

end of thread, other threads:[~2020-04-15  9:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-31 21:40 [ISSUE] xbps-src do not build depends of subpackages Chocimier
2020-04-01  4:27 ` xbps-src does " CameronNemo
2020-04-01  4:27 ` CameronNemo
2020-04-01  9:03 ` xtraeme
2020-04-01 10:43 ` Duncaen
2020-04-01 10:47 ` xtraeme
2020-04-01 10:55 ` Duncaen
2020-04-01 11:01 ` xtraeme
2020-04-01 11:05 ` xtraeme
2020-04-01 19:31 ` Chocimier
2020-04-01 19:49 ` CameronNemo
2020-04-01 20:04 ` Chocimier
2020-04-15  9:17 ` [ISSUE] [CLOSED] " xtraeme

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).