Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Build options leak when building a target's dependency.
@ 2020-12-26 19:28 ericonr
  2020-12-27 21:38 ` fosslinux
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ericonr @ 2020-12-26 19:28 UTC (permalink / raw)
  To: ml

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

New issue by ericonr on void-packages repository

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

Description:
My test case is with `efl` and `enlightenment`; to reproduce, you simply need to increase the revision in both packages, then try to build *enlightenment*, with `./xbps-src pkg enlightenment`. When it doesn't find the up to date `efl` dependency, it will attempt to build it, and fail, as seen here:

```
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://mirror.clarkson.edu/voidlinux/current/x86_64-repodata' ...
[*] Updating repository `https://mirror.clarkson.edu/voidlinux/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://mirror.clarkson.edu/voidlinux/current/debug/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> enlightenment-0.24.2_1: removing autodeps, please wait...
=> enlightenment-0.24.2_1: the following build options are set:
   wayland: Enable support for the Wayland backend (ON)
=> enlightenment-0.24.2_1: building [meson] for x86_64...
   [host] efl-1.24.4_1: not found
   [host] pkg-config-0.29.2_2: found (https://mirror.clarkson.edu/voidlinux/current)
   [host] gettext-0.21_2: found (https://mirror.clarkson.edu/voidlinux/current)
   [host] xorg-server-xwayland-1.20.10_2: found (https://mirror.clarkson.edu/voidlinux/current)
   [host] meson-0.55.3_3: found (https://mirror.clarkson.edu/voidlinux/current)
   [target] gettext-devel-0.21_2: found (https://mirror.clarkson.edu/voidlinux/current)
   [target] efl-devel-1.24.4_1: not found
   [target] pam-devel-1.3.0_2: found (https://mirror.clarkson.edu/voidlinux/current)
   [target] xkeyboard-config-2.31_1: found (https://mirror.clarkson.edu/voidlinux/current)
   [target] libxkbcommon-devel-1.0.3_1: found (https://mirror.clarkson.edu/voidlinux/current)
   [target] MesaLib-devel-20.3.1_1: found (https://mirror.clarkson.edu/voidlinux/current)
   [target] wayland-devel-1.18.0_3: found (https://mirror.clarkson.edu/voidlinux/current)
   [runtime] desktop-file-utils-0.26_1: found (https://mirror.clarkson.edu/voidlinux/current)
   [runtime] hicolor-icon-theme-0.17_3: found (https://mirror.clarkson.edu/voidlinux/current)
   [runtime] xkeyboard-config-2.31_1: found (https://mirror.clarkson.edu/voidlinux/current)
   [runtime] xorg-server-xwayland-1.20.10_2: found (https://mirror.clarkson.edu/voidlinux/current)
   [runtime] efl-devel-1.24.4_1: not found
=> ERROR: efl-1.24.4_1: cannot be built, it's currently broken; see the build log:
=> ERROR: efl-1.24.4_1: wayland requires drm
```

I assume this happens because `enlightenment` has `build_options_default=wayland`, while `efl` has `build_options_default="elogind harfbuzz pulseaudio gstreamer x11 wayland opengl gles2 drm glib ibus"`. `efl`'s options are overridden, and we (luckily) get an error, because the `wayland` build option requires `drm`.

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

* Re: Build options leak when building a target's dependency.
  2020-12-26 19:28 [ISSUE] Build options leak when building a target's dependency ericonr
@ 2020-12-27 21:38 ` fosslinux
  2021-08-12 21:58 ` ericonr
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: fosslinux @ 2020-12-27 21:38 UTC (permalink / raw)
  To: ml

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

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/27456#issuecomment-751519004

Comment:
Oddly, even when I set `XBPS_PKG_OPTS_efl`, this issue still occurs.

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

* Re: Build options leak when building a target's dependency.
  2020-12-26 19:28 [ISSUE] Build options leak when building a target's dependency ericonr
  2020-12-27 21:38 ` fosslinux
@ 2021-08-12 21:58 ` ericonr
  2021-08-12 22:02 ` Duncaen
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-08-12 21:58 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/27456#issuecomment-897994689

Comment:
https://build.voidlinux.org/builders/aarch64_builder/builds/34101/steps/shell_3/logs/stdio shows another instance of leakage. `enchant2` for the host fails to build because it was launched from within a cross build for `OpenRCT2`.

IMO we need to completely revamp how unavailable dependencies are built from within xbps-src.

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

* Re: Build options leak when building a target's dependency.
  2020-12-26 19:28 [ISSUE] Build options leak when building a target's dependency ericonr
  2020-12-27 21:38 ` fosslinux
  2021-08-12 21:58 ` ericonr
@ 2021-08-12 22:02 ` Duncaen
  2022-05-01  2:14 ` github-actions
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Duncaen @ 2021-08-12 22:02 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/27456#issuecomment-897996849

Comment:
Yes would be nice to rework xbps-src to just fork instead of trying to source and later unset a bunch of stuff, there is really no benefit to it afaik.


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

* Re: Build options leak when building a target's dependency.
  2020-12-26 19:28 [ISSUE] Build options leak when building a target's dependency ericonr
                   ` (2 preceding siblings ...)
  2021-08-12 22:02 ` Duncaen
@ 2022-05-01  2:14 ` github-actions
  2022-05-01 19:05 ` ericonr
  2022-07-31  2:13 ` github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-05-01  2:14 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/27456#issuecomment-1114104796

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

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

* Re: Build options leak when building a target's dependency.
  2020-12-26 19:28 [ISSUE] Build options leak when building a target's dependency ericonr
                   ` (3 preceding siblings ...)
  2022-05-01  2:14 ` github-actions
@ 2022-05-01 19:05 ` ericonr
  2022-07-31  2:13 ` github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2022-05-01 19:05 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/27456#issuecomment-1114310945

Comment:
Still an issue

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

* Re: Build options leak when building a target's dependency.
  2020-12-26 19:28 [ISSUE] Build options leak when building a target's dependency ericonr
                   ` (4 preceding siblings ...)
  2022-05-01 19:05 ` ericonr
@ 2022-07-31  2:13 ` github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-07-31  2:13 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/27456#issuecomment-1200332114

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

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

end of thread, other threads:[~2022-07-31  2:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-26 19:28 [ISSUE] Build options leak when building a target's dependency ericonr
2020-12-27 21:38 ` fosslinux
2021-08-12 21:58 ` ericonr
2021-08-12 22:02 ` Duncaen
2022-05-01  2:14 ` github-actions
2022-05-01 19:05 ` ericonr
2022-07-31  2:13 ` 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).