Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] xtools misbehaves with out of date bootstrap packages.
@ 2019-07-08 15:43 voidlinux-github
  2019-07-08 21:40 ` voidlinux-github
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: voidlinux-github @ 2019-07-08 15:43 UTC (permalink / raw)
  To: ml

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

New issue by knusbaum on void-packages repository

https://github.com/void-linux/void-packages/issues/12907
Description: ### System

* xuname:  
Void 4.19.50_1 x86_64 GenuineIntel notuptodate rmFFFFFFFFFFFFFFFF
* package:  
xbps-src, xtools

### Expected behavior
xgensum and others generate useful messages on error

### Actual behavior
```
$ xgensum -i srcpkgs/cri-tools/template 
/usr/bin/xgensum: line 32: [: too many arguments
/usr/bin/xgensum: line 36: Bootstrap: command not found
/usr/bin/xgensum: line 49: Bootstrap: command not found
```
The behavior comes as a result (i think) of these lines here:
https://github.com/void-linux/void-packages/blob/a47c2dfb5068a9cfb798df67e129b07eba97b22d/xbps-src#L260-L262

Combined with this:
https://git.vuxu.org/xtools/tree/xgensum?id=e697287c4cad3122ba4fd0efdb1a6f5966395324#n16

```
$ xdistdir 
Bootstrap packages must be updated with 'xbps-src bootstrap-update'
```

`xgensum` seems to expect xdistdir to succeed and doesn't check. What's more, the error output from xbps-src goes out on stdout rather than stderr, so the error messages get swallowed.


### Steps to reproduce the behavior
1. Have an out-of-date masterdir in void-packages.
2. try running xgensum.


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

end of thread, other threads:[~2020-02-25  9:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-08 15:43 [ISSUE] xtools misbehaves with out of date bootstrap packages voidlinux-github
2019-07-08 21:40 ` voidlinux-github
2019-07-08 21:50 ` voidlinux-github
2019-07-08 21:59 ` voidlinux-github
2019-07-08 21:59 ` voidlinux-github
2020-02-25  9:51 ` [ISSUE] [CLOSED] " xtraeme
2020-02-25  9:51 ` xtraeme
2020-02-25  9:52 ` 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).