* [ISSUE] xbps-src -o does not seem to work anymore
@ 2020-02-25 12:42 xtraeme
2020-02-25 13:26 ` q66
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: xtraeme @ 2020-02-25 12:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 498 bytes --]
New issue by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/19495
Description:
```
[juan@leysa void-packages]$ ./xbps-src -o ~webengine show-options qt5
=> qt5-5.13.2_2: the following build options are set:
webengine: Build Chromium-based WebEngine component (ON)
[juan@leysa void-packages]$
[juan@leysa void-packages]$ grep -i opt ~/.xbps-src.conf
XBPS_PKG_OPTIONS=elogind
```
I think this is due to @q66 recent changes to the build options.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xbps-src -o does not seem to work anymore
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
@ 2020-02-25 13:26 ` q66
2020-02-25 13:49 ` q66
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-02-25 13:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 191 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/issues/19495#issuecomment-590865490
Comment:
ok, i'll take a look if i can reproduce and fix this
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xbps-src -o does not seem to work anymore
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
2020-02-25 13:26 ` q66
@ 2020-02-25 13:49 ` q66
2020-02-25 13:55 ` q66
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-02-25 13:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 360 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/issues/19495#issuecomment-590876067
Comment:
This never worked, even before my changes. The problem is basically that inside `setup_pkg` there is `. $XBPS_CONFIG_FILE 2>/dev/null` so everything that's set inside config file still overrides arguments unconditionally.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xbps-src -o does not seem to work anymore
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
2020-02-25 13:26 ` q66
2020-02-25 13:49 ` q66
@ 2020-02-25 13:55 ` q66
2020-02-25 13:55 ` q66
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-02-25 13:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 713 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/issues/19495#issuecomment-590878464
Comment:
My proposed fix would be something like...
1) run that line in `setup` pkg only if `$IN_CHROOT`; the main point of it seems to be that inside chroot, the generated `xbps-src.conf` is run
2) change generation of `xbps-src.conf` so that it doesn't just `grep` out variables from the real config file, as that's not very good - if you have any sort of conditional logic in your conf, or e.g. sourcing other confs, that will break - instead take a list of `XBPS_` variables that are set and actually set them for the generated config.
that should probably fix it for real
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xbps-src -o does not seem to work anymore
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
` (2 preceding siblings ...)
2020-02-25 13:55 ` q66
@ 2020-02-25 13:55 ` q66
2020-02-25 14:02 ` q66
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-02-25 13:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 713 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/issues/19495#issuecomment-590878464
Comment:
My proposed fix would be something like...
1) run that line in `setup_pkg` only if `$IN_CHROOT`; the main point of it seems to be that inside chroot, the generated `xbps-src.conf` is run
2) change generation of `xbps-src.conf` so that it doesn't just `grep` out variables from the real config file, as that's not very good - if you have any sort of conditional logic in your conf, or e.g. sourcing other confs, that will break - instead take a list of `XBPS_` variables that are set and actually set them for the generated config.
that should probably fix it for real
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xbps-src -o does not seem to work anymore
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
` (3 preceding siblings ...)
2020-02-25 13:55 ` q66
@ 2020-02-25 14:02 ` q66
2020-02-26 7:32 ` xtraeme
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-02-25 14:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 332 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/issues/19495#issuecomment-590881263
Comment:
@xtraeme Actually, do we need to run that line at all? Since `xbps-src` is executed in both chroot and outside, shouldn't the first config file read that is directly in `xbps-src` deal with it?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xbps-src -o does not seem to work anymore
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
` (4 preceding siblings ...)
2020-02-25 14:02 ` q66
@ 2020-02-26 7:32 ` xtraeme
2020-02-26 7:44 ` q66
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: xtraeme @ 2020-02-26 7:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/19495#issuecomment-591281132
Comment:
@q66 probably that line is obsolete by the recent changes. I'd vote for the second option, looks cleaner
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xbps-src -o does not seem to work anymore
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
` (5 preceding siblings ...)
2020-02-26 7:32 ` xtraeme
@ 2020-02-26 7:44 ` q66
2020-03-02 9:58 ` xtraeme
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-02-26 7:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/issues/19495#issuecomment-591285288
Comment:
Those were steps, not options :) But in order for step 2 to work, we'll need to either drop the line entirely or change it to only run in chroot. As far as I can tell, dropping it entirely should be fine.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xbps-src -o does not seem to work anymore
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
` (6 preceding siblings ...)
2020-02-26 7:44 ` q66
@ 2020-03-02 9:58 ` xtraeme
2020-03-02 18:09 ` q66
2020-03-06 17:19 ` [ISSUE] [CLOSED] " xtraeme
9 siblings, 0 replies; 11+ messages in thread
From: xtraeme @ 2020-03-02 9:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/19495#issuecomment-593320028
Comment:
any progress on this?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: xbps-src -o does not seem to work anymore
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
` (7 preceding siblings ...)
2020-03-02 9:58 ` xtraeme
@ 2020-03-02 18:09 ` q66
2020-03-06 17:19 ` [ISSUE] [CLOSED] " xtraeme
9 siblings, 0 replies; 11+ messages in thread
From: q66 @ 2020-03-02 18:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 300 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/issues/19495#issuecomment-593538661
Comment:
sorry, haven't had time to look into it yet, had more urgent things to do; this is not a new issue (or an issue caused by my changes) so it'll have to wait a bit
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ISSUE] [CLOSED] xbps-src -o does not seem to work anymore
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
` (8 preceding siblings ...)
2020-03-02 18:09 ` q66
@ 2020-03-06 17:19 ` xtraeme
9 siblings, 0 replies; 11+ messages in thread
From: xtraeme @ 2020-03-06 17:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 501 bytes --]
Closed issue by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/19495
Description:
```
[juan@leysa void-packages]$ ./xbps-src -o ~webengine show-options qt5
=> qt5-5.13.2_2: the following build options are set:
webengine: Build Chromium-based WebEngine component (ON)
[juan@leysa void-packages]$
[juan@leysa void-packages]$ grep -i opt ~/.xbps-src.conf
XBPS_PKG_OPTIONS=elogind
```
I think this is due to @q66 recent changes to the build options.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-03-06 17:19 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-25 12:42 [ISSUE] xbps-src -o does not seem to work anymore xtraeme
2020-02-25 13:26 ` q66
2020-02-25 13:49 ` q66
2020-02-25 13:55 ` q66
2020-02-25 13:55 ` q66
2020-02-25 14:02 ` q66
2020-02-26 7:32 ` xtraeme
2020-02-26 7:44 ` q66
2020-03-02 9:58 ` xtraeme
2020-03-02 18:09 ` q66
2020-03-06 17:19 ` [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).