* [PR PATCH] xbps, xbps-static: update to 0.57
@ 2019-10-21 19:38 voidlinux-github
2019-10-27 7:19 ` voidlinux-github
` (29 more replies)
0 siblings, 30 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-21 19:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
There is a new pull request by q66 against master on the void-packages repository
https://github.com/void-ppc/void-packages xbps057
https://github.com/void-linux/void-packages/pull/15677
xbps, xbps-static: update to 0.57
A patch file from https://github.com/void-linux/void-packages/pull/15677.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xbps057-15677.patch --]
[-- Type: text/x-diff, Size: 9430 bytes --]
From 4f4611a99e0bfdbb709ef16f31c6880e3a25419b Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 19:40:11 +0200
Subject: [PATCH 1/2] xbps: update to 0.57
---
srcpkgs/xbps/patches/44692f28d8.patch | 22 --------
srcpkgs/xbps/patches/7b728f5ac.patch | 22 --------
srcpkgs/xbps/patches/83aa486f6ba049399.patch | 56 --------------------
srcpkgs/xbps/patches/bb96486b127.patch | 33 ------------
srcpkgs/xbps/patches/d72091a20.patch | 18 -------
srcpkgs/xbps/patches/series | 7 +--
srcpkgs/xbps/patches/werror.patch | 11 ++++
srcpkgs/xbps/template | 6 +--
8 files changed, 16 insertions(+), 159 deletions(-)
delete mode 100644 srcpkgs/xbps/patches/44692f28d8.patch
delete mode 100644 srcpkgs/xbps/patches/7b728f5ac.patch
delete mode 100644 srcpkgs/xbps/patches/83aa486f6ba049399.patch
delete mode 100644 srcpkgs/xbps/patches/bb96486b127.patch
delete mode 100644 srcpkgs/xbps/patches/d72091a20.patch
create mode 100644 srcpkgs/xbps/patches/werror.patch
diff --git a/srcpkgs/xbps/patches/44692f28d8.patch b/srcpkgs/xbps/patches/44692f28d8.patch
deleted file mode 100644
index fdfe56ec7d8..00000000000
--- a/srcpkgs/xbps/patches/44692f28d8.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit 44692f28d859728fb919a5d736ada82606196f75
-Author: Johannes Brechtmann <johannes@jnbr.me>
-Date: Wed Jun 26 22:51:41 2019 +0200
-
- bin/xbps-install: update_pkg return EEXIST if package is up to date
-
- makes 58509996aabea52ffc40e5e01c9eb00730c6cdcc work for
- xbps-install -u <pkg>
-
-diff --git a/bin/xbps-install/transaction.c b/bin/xbps-install/transaction.c
-index cdcc92d7..fc5538bb 100644
---- bin/xbps-install/transaction.c
-+++ bin/xbps-install/transaction.c
-@@ -286,7 +286,7 @@ update_pkg(struct xbps_handle *xhp, const char *pkgname)
- rv = xbps_transaction_update_pkg(xhp, pkgname);
- if (rv == EEXIST) {
- printf("Package '%s' is up to date.\n", pkgname);
-- return 0;
-+ return EEXIST;
- } else if (rv == ENOENT)
- fprintf(stderr, "Package '%s' not found in "
- "repository pool.\n", pkgname);
diff --git a/srcpkgs/xbps/patches/7b728f5ac.patch b/srcpkgs/xbps/patches/7b728f5ac.patch
deleted file mode 100644
index 7310ddd609d..00000000000
--- a/srcpkgs/xbps/patches/7b728f5ac.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 7b728f5ac0adc28f3d7270c26e14ecff73a7f16f Mon Sep 17 00:00:00 2001
-From: Duncaen <mail@duncano.de>
-Date: Wed, 26 Jun 2019 22:24:47 +0200
-Subject: [PATCH] bin/xbps-remove: fix skipping executing orphans transaction
-
----
- bin/xbps-remove/main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c
-index 1ef328a8..4ff943c0 100644
---- bin/xbps-remove/main.c
-+++ bin/xbps-remove/main.c
-@@ -295,7 +295,7 @@ main(int argc, char **argv)
- exit(rv);
- }
- }
-- if (missing == argc) {
-+ if (!orphans && missing == argc) {
- goto out;
- }
- if (orphans || (argc > optind)) {
diff --git a/srcpkgs/xbps/patches/83aa486f6ba049399.patch b/srcpkgs/xbps/patches/83aa486f6ba049399.patch
deleted file mode 100644
index 12c9575d8c2..00000000000
--- a/srcpkgs/xbps/patches/83aa486f6ba049399.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-commit 83aa486f6ba049399e457c34be23a7a435f83ceb
-Author: Juan RP <xtraeme@gmail.com>
-Date: Tue Jun 25 10:32:02 2019 +0200
-
- xbps-remove: skip trans if all pkgs were not found.
-
- Restores behaviour with xbps<0.54.
-
-diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c
-index 61057029..1ef328a8 100644
---- bin/xbps-remove/main.c
-+++ bin/xbps-remove/main.c
-@@ -145,7 +145,7 @@ remove_pkg(struct xbps_handle *xhp, const char *pkgname, bool recursive)
- return rv;
- } else if (rv == ENOENT) {
- printf("Package `%s' is not currently installed.\n", pkgname);
-- return 0;
-+ return rv;
- } else if (rv != 0) {
- xbps_error_printf("Failed to queue `%s' for removing: %s\n",
- pkgname, strerror(rv));
-@@ -180,7 +180,7 @@ main(int argc, char **argv)
- const char *rootdir, *cachedir, *confdir;
- int c, flags, rv;
- bool yes, drun, recursive, clean_cache, orphans;
-- int maxcols;
-+ int maxcols, missing;
-
- rootdir = cachedir = confdir = NULL;
- flags = rv = 0;
-@@ -284,16 +284,24 @@ main(int argc, char **argv)
- }
- }
-
-+ missing = optind;
- for (int i = optind; i < argc; i++) {
- rv = remove_pkg(&xh, argv[i], recursive);
-- if (rv != 0) {
-+ if (rv == ENOENT) {
-+ missing++;
-+ continue;
-+ } else if (rv != 0) {
- xbps_end(&xh);
- exit(rv);
- }
- }
-+ if (missing == argc) {
-+ goto out;
-+ }
- if (orphans || (argc > optind)) {
- rv = exec_transaction(&xh, maxcols, yes, drun);
- }
-+out:
- xbps_end(&xh);
- exit(rv);
- }
diff --git a/srcpkgs/xbps/patches/bb96486b127.patch b/srcpkgs/xbps/patches/bb96486b127.patch
deleted file mode 100644
index 34f1f5610a6..00000000000
--- a/srcpkgs/xbps/patches/bb96486b127.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-commit bb96486b127054e7b0e02c467b0f61a20d227161
-Author: Juan RP <xtraeme@gmail.com>
-Date: Thu Jun 27 08:02:19 2019 +0200
-
- xbps-install: make sure to call xbps_end() before exiting.
-
-diff --git a/bin/xbps-install/main.c b/bin/xbps-install/main.c
-index 371f26c8..3622af5a 100644
---- bin/xbps-install/main.c
-+++ bin/xbps-install/main.c
-@@ -263,7 +263,7 @@ main(int argc, char **argv)
- }
- }
- if (eexist == argc)
-- return 0;
-+ goto out;
-
- rv = exec_transaction(&xh, maxcols, yes, drun);
- } else if (!update) {
-@@ -280,11 +280,12 @@ main(int argc, char **argv)
- }
- }
- if (eexist == argc)
-- return 0;
-+ goto out;
-
- rv = exec_transaction(&xh, maxcols, yes, drun);
- }
-
-+out:
- xbps_end(&xh);
- exit(rv);
- }
diff --git a/srcpkgs/xbps/patches/d72091a20.patch b/srcpkgs/xbps/patches/d72091a20.patch
deleted file mode 100644
index 25234d95e1c..00000000000
--- a/srcpkgs/xbps/patches/d72091a20.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-commit d72091a2060817ac10f55fbd8de4e0611d6d6940
-Author: Duncaen <mail@duncano.de>
-Date: Wed Jun 26 13:07:16 2019 +0200
-
- lib/transaction_files.c: fix returning error on hash mismatch
-
-diff --git lib/transaction_files.c lib/transaction_files.c
-index 4dbf4584..9a6ca630 100644
---- lib/transaction_files.c
-+++ lib/transaction_files.c
-@@ -331,6 +331,7 @@ collect_obsoletes(struct xbps_handle *xhp)
- continue;
- case ERANGE:
- /* hash mismatch don't delete it */
-+ rv = 0;
- continue;
- default:
- break;
diff --git a/srcpkgs/xbps/patches/series b/srcpkgs/xbps/patches/series
index f47146b9d4b..18952842899 100644
--- a/srcpkgs/xbps/patches/series
+++ b/srcpkgs/xbps/patches/series
@@ -1,6 +1,3 @@
-d72091a20.patch
-83aa486f6ba049399.patch
-7b728f5ac.patch
-44692f28d8.patch
-bb96486b127.patch
+56ae190.patch
fix-missing-sh.patch
+werror.patch
diff --git a/srcpkgs/xbps/patches/werror.patch b/srcpkgs/xbps/patches/werror.patch
new file mode 100644
index 00000000000..8af63a7bcf8
--- /dev/null
+++ b/srcpkgs/xbps/patches/werror.patch
@@ -0,0 +1,11 @@
+--- bin/xbps-checkvers/main.c
++++ bin/xbps-checkvers/main.c
+@@ -192,7 +192,7 @@ rcv_load_file(rcv_t *rcv, const char *fname)
+ }
+ }
+
+- (void)fread(rcv->buf, sizeof(char), rcv->len, file);
++ (void)!fread(rcv->buf, sizeof(char), rcv->len, file);
+ rcv->buf[rcv->len] = '\0';
+ fclose(file);
+ rcv->ptr = rcv->buf;
diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template
index 8f217f60afa..ce945d31f86 100644
--- a/srcpkgs/xbps/template
+++ b/srcpkgs/xbps/template
@@ -1,7 +1,7 @@
# Template file for 'xbps'
pkgname=xbps
-version=0.56
-revision=7
+version=0.57
+revision=1
bootstrap=yes
build_style=configure
short_desc="XBPS package system utilities"
@@ -10,7 +10,7 @@ license="BSD-2-Clause"
homepage="https://github.com/void-linux/xbps"
changelog="https://github.com/void-linux/xbps/blob/master/NEWS"
distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz"
-checksum=e46521513b0c0ff486cc190089277381b18db45e770b04f799dc4eec99ffccd4
+checksum=d01b9c0ca625131862ac0bda1ad065841c0e4fef4085cf46a3972e06a067f75e
hostmakedepends="pkg-config"
checkdepends="kyua"
From a22314fcf0df5194c6bc194d6b3a16b48002fef8 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 19:47:59 +0200
Subject: [PATCH 2/2] xbps-static: update to 0.57
---
srcpkgs/xbps-static/template | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/xbps-static/template b/srcpkgs/xbps-static/template
index 4f8d4275601..090430aa752 100644
--- a/srcpkgs/xbps-static/template
+++ b/srcpkgs/xbps-static/template
@@ -1,8 +1,8 @@
# Template file for 'xbps-static'
# NOTE: keep this package synchronized with "srcpkgs/xbps"
pkgname=xbps-static
-version=0.56
-revision=5
+version=0.57
+revision=1
# only musl
archs="*-musl"
wrksrc="xbps-${version}"
@@ -16,7 +16,11 @@ license="BSD-2-Clause"
homepage="https://www.voidlinux.org/xbps"
changelog="https://github.com/void-linux/xbps/blob/master/NEWS"
distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz"
-checksum=e46521513b0c0ff486cc190089277381b18db45e770b04f799dc4eec99ffccd4
+checksum=d01b9c0ca625131862ac0bda1ad065841c0e4fef4085cf46a3972e06a067f75e
+
+# LTO objects break static builds, override
+CFLAGS="-fno-lto"
+LDFLAGS="-fno-lto"
do_configure() {
./configure --prefix=/usr --sysconfdir=/etc --enable-static
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
@ 2019-10-27 7:19 ` voidlinux-github
2019-10-27 7:20 ` voidlinux-github
` (28 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 7:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 174 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546668347
Comment:
I would prefer to wait until 0.48
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
2019-10-27 7:19 ` voidlinux-github
@ 2019-10-27 7:20 ` voidlinux-github
2019-10-27 7:26 ` voidlinux-github
` (27 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 7:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546668347
Comment:
I would prefer to wait until 0.58 (edited)
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
2019-10-27 7:19 ` voidlinux-github
2019-10-27 7:20 ` voidlinux-github
@ 2019-10-27 7:26 ` voidlinux-github
2019-10-27 7:30 ` voidlinux-github
` (26 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 7:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 264 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546668692
Comment:
Well, @Duncaen said it should be safe and there is also a patch that is accidentally not being applied rn (missing from series)
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (2 preceding siblings ...)
2019-10-27 7:26 ` voidlinux-github
@ 2019-10-27 7:30 ` voidlinux-github
2019-10-27 7:31 ` voidlinux-github
` (25 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 7:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546668911
Comment:
The issue with xbps-src skipping first dep due to xbps upgrade still exists... but ok.
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (3 preceding siblings ...)
2019-10-27 7:30 ` voidlinux-github
@ 2019-10-27 7:31 ` voidlinux-github
2019-10-27 7:40 ` voidlinux-github
` (24 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 7:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546668993
Comment:
That will happen even if we bump xbps revision, which we should either way to get the alternatives patch applied
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (4 preceding siblings ...)
2019-10-27 7:31 ` voidlinux-github
@ 2019-10-27 7:40 ` voidlinux-github
2019-10-27 7:47 ` voidlinux-github
` (23 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 7:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546669453
Comment:
can't find commit 56ae190.patch in the xbps repo...
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (5 preceding siblings ...)
2019-10-27 7:40 ` voidlinux-github
@ 2019-10-27 7:47 ` voidlinux-github
2019-10-27 7:59 ` voidlinux-github
` (22 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 7:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 215 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546669796
Comment:
@q66 I pushed this to the xbps repo, now it's a proper commit. Please sync
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (6 preceding siblings ...)
2019-10-27 7:47 ` voidlinux-github
@ 2019-10-27 7:59 ` voidlinux-github
2019-10-27 8:01 ` voidlinux-github
` (21 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 7:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546670602
Comment:
Okay, I'm not at home today so I'll do it in the evening
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (7 preceding siblings ...)
2019-10-27 7:59 ` voidlinux-github
@ 2019-10-27 8:01 ` voidlinux-github
2019-10-27 8:03 ` voidlinux-github
` (20 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546670694
Comment:
Why didn't you fix the -Werror related failure while at it?
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (8 preceding siblings ...)
2019-10-27 8:01 ` voidlinux-github
@ 2019-10-27 8:03 ` voidlinux-github
2019-10-27 8:06 ` voidlinux-github
` (19 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546670872
Comment:
how did you find the issue? (CFLAGS, arch, etc)
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (9 preceding siblings ...)
2019-10-27 8:03 ` voidlinux-github
@ 2019-10-27 8:06 ` voidlinux-github
2019-10-27 8:09 ` voidlinux-github
` (18 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546671055
Comment:
gcc 9.2:
```
main.c:195:8: error: ignoring return value of 'fread', declared with attribute warn_unused_result [-Werror=unused-result]
```
Arch etc. should not matter
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (10 preceding siblings ...)
2019-10-27 8:06 ` voidlinux-github
@ 2019-10-27 8:09 ` voidlinux-github
2019-10-27 8:10 ` voidlinux-github
` (17 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 187 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546671255
Comment:
Also fix-missing-sh.patch should also get applied
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (11 preceding siblings ...)
2019-10-27 8:09 ` voidlinux-github
@ 2019-10-27 8:10 ` voidlinux-github
2019-10-27 8:10 ` voidlinux-github
` (16 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:10 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/pull/15677#issuecomment-546671307
Comment:
I can't reproduce it...
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (12 preceding siblings ...)
2019-10-27 8:10 ` voidlinux-github
@ 2019-10-27 8:10 ` voidlinux-github
2019-10-27 8:11 ` voidlinux-github
` (15 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546671336
Comment:
i'm on x86_64/musl. maybe glibc related?
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (13 preceding siblings ...)
2019-10-27 8:10 ` voidlinux-github
@ 2019-10-27 8:11 ` voidlinux-github
2019-10-27 8:12 ` voidlinux-github
` (14 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546671366
Comment:
Surely, musl probably does not declare fread with warn_unused_result
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (14 preceding siblings ...)
2019-10-27 8:11 ` voidlinux-github
@ 2019-10-27 8:12 ` voidlinux-github
2019-10-27 8:15 ` voidlinux-github
` (13 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546671414
Comment:
ok, I can now set a good commit msg.
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (15 preceding siblings ...)
2019-10-27 8:12 ` voidlinux-github
@ 2019-10-27 8:15 ` voidlinux-github
2019-10-27 8:16 ` voidlinux-github
` (12 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546671620
Comment:
ok, pushed to master
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (16 preceding siblings ...)
2019-10-27 8:15 ` voidlinux-github
@ 2019-10-27 8:16 ` voidlinux-github
2019-10-27 8:17 ` voidlinux-github
` (11 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546671699
Comment:
We're down to 1 patch not in the repo then...
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (17 preceding siblings ...)
2019-10-27 8:16 ` voidlinux-github
@ 2019-10-27 8:17 ` voidlinux-github
2019-10-27 8:39 ` voidlinux-github
` (10 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546671723
Comment:
looking into it
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (18 preceding siblings ...)
2019-10-27 8:17 ` voidlinux-github
@ 2019-10-27 8:39 ` voidlinux-github
2019-10-27 8:46 ` voidlinux-github
` (9 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 235 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546673361
Comment:
Pushed, see https://github.com/void-linux/xbps/commit/bc59d0b407e644c0d75e5fa7fead4393e904f51e
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (19 preceding siblings ...)
2019-10-27 8:39 ` voidlinux-github
@ 2019-10-27 8:46 ` voidlinux-github
2019-10-27 8:47 ` voidlinux-github
` (8 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546673834
Comment:
Alright, maybe we could spin a 0.58.1 or something to get rid of the patches?
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (20 preceding siblings ...)
2019-10-27 8:46 ` voidlinux-github
@ 2019-10-27 8:47 ` voidlinux-github
2019-10-27 8:50 ` voidlinux-github
` (7 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 153 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546673903
Comment:
0.57.1 ? heh
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (21 preceding siblings ...)
2019-10-27 8:47 ` voidlinux-github
@ 2019-10-27 8:50 ` voidlinux-github
2019-10-27 8:53 ` voidlinux-github
` (6 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546674161
Comment:
Did that. Now to update NEWS
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (22 preceding siblings ...)
2019-10-27 8:50 ` voidlinux-github
@ 2019-10-27 8:53 ` voidlinux-github
2019-10-27 8:53 ` voidlinux-github
` (5 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546674349
Comment:
I've tagged 0.57.1 just now
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (23 preceding siblings ...)
2019-10-27 8:53 ` voidlinux-github
@ 2019-10-27 8:53 ` voidlinux-github
2019-10-27 20:07 ` voidlinux-github
` (4 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 8:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546674366
Comment:
Yeah, probably better that way, considering the only changes since 0.57 itself were fixes
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (24 preceding siblings ...)
2019-10-27 8:53 ` voidlinux-github
@ 2019-10-27 20:07 ` voidlinux-github
2019-10-28 17:52 ` [PR PATCH] [Updated] " voidlinux-github
` (3 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-27 20:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-546729032
Comment:
currently doing a massive rebuild (all the kde5 stuff etc... :/), once that's done i'll get back to this and bump it to 0.57.1
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [PR PATCH] [Updated] xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (26 preceding siblings ...)
2019-10-28 17:52 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-10-28 17:52 ` voidlinux-github
2019-10-28 17:53 ` xbps, xbps-static: update to 0.57.1 voidlinux-github
2019-10-28 20:03 ` [PR PATCH] [Merged]: " voidlinux-github
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-28 17:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
There is an updated pull request by q66 against master on the void-packages repository
https://github.com/void-ppc/void-packages xbps057
https://github.com/void-linux/void-packages/pull/15677
xbps, xbps-static: update to 0.57
A patch file from https://github.com/void-linux/void-packages/pull/15677.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xbps057-15677.patch --]
[-- Type: text/x-diff, Size: 11589 bytes --]
From 73b90b4f253056f73a2e501a251ca902186c7215 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 19:40:11 +0200
Subject: [PATCH 1/2] xbps: update to 0.57.1
---
srcpkgs/xbps/patches/44692f28d8.patch | 22 --------
srcpkgs/xbps/patches/56ae190.patch | 30 -----------
srcpkgs/xbps/patches/7b728f5ac.patch | 22 --------
srcpkgs/xbps/patches/83aa486f6ba049399.patch | 56 --------------------
srcpkgs/xbps/patches/bb96486b127.patch | 33 ------------
srcpkgs/xbps/patches/d72091a20.patch | 18 -------
srcpkgs/xbps/patches/fix-missing-sh.patch | 30 -----------
srcpkgs/xbps/patches/series | 6 ---
srcpkgs/xbps/template | 6 +--
9 files changed, 3 insertions(+), 220 deletions(-)
delete mode 100644 srcpkgs/xbps/patches/44692f28d8.patch
delete mode 100644 srcpkgs/xbps/patches/56ae190.patch
delete mode 100644 srcpkgs/xbps/patches/7b728f5ac.patch
delete mode 100644 srcpkgs/xbps/patches/83aa486f6ba049399.patch
delete mode 100644 srcpkgs/xbps/patches/bb96486b127.patch
delete mode 100644 srcpkgs/xbps/patches/d72091a20.patch
delete mode 100644 srcpkgs/xbps/patches/fix-missing-sh.patch
delete mode 100644 srcpkgs/xbps/patches/series
diff --git a/srcpkgs/xbps/patches/44692f28d8.patch b/srcpkgs/xbps/patches/44692f28d8.patch
deleted file mode 100644
index fdfe56ec7d8..00000000000
--- a/srcpkgs/xbps/patches/44692f28d8.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit 44692f28d859728fb919a5d736ada82606196f75
-Author: Johannes Brechtmann <johannes@jnbr.me>
-Date: Wed Jun 26 22:51:41 2019 +0200
-
- bin/xbps-install: update_pkg return EEXIST if package is up to date
-
- makes 58509996aabea52ffc40e5e01c9eb00730c6cdcc work for
- xbps-install -u <pkg>
-
-diff --git a/bin/xbps-install/transaction.c b/bin/xbps-install/transaction.c
-index cdcc92d7..fc5538bb 100644
---- bin/xbps-install/transaction.c
-+++ bin/xbps-install/transaction.c
-@@ -286,7 +286,7 @@ update_pkg(struct xbps_handle *xhp, const char *pkgname)
- rv = xbps_transaction_update_pkg(xhp, pkgname);
- if (rv == EEXIST) {
- printf("Package '%s' is up to date.\n", pkgname);
-- return 0;
-+ return EEXIST;
- } else if (rv == ENOENT)
- fprintf(stderr, "Package '%s' not found in "
- "repository pool.\n", pkgname);
diff --git a/srcpkgs/xbps/patches/56ae190.patch b/srcpkgs/xbps/patches/56ae190.patch
deleted file mode 100644
index 022c7166b04..00000000000
--- a/srcpkgs/xbps/patches/56ae190.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-commit 56ae1907b9d588910a5e4712fdaa5784c1641f14
-Author: Duncan Overbruck <mail@duncano.de>
-Date: Tue Aug 13 12:53:01 2019 +0200
-
- lib/package_alternatives.c: check if alternative is a symlink before removing it
-
-diff --git lib/package_alternatives.c lib/package_alternatives.c
-index 9b4d0027..5e4f2b36 100644
---- lib/package_alternatives.c
-+++ lib/package_alternatives.c
-@@ -111,6 +111,7 @@ static int
- remove_symlinks(struct xbps_handle *xhp, xbps_array_t a, const char *grname)
- {
- unsigned int i, cnt;
-+ struct stat st;
-
- cnt = xbps_array_count(a);
- for (i = 0; i < cnt; i++) {
-@@ -132,6 +133,11 @@ remove_symlinks(struct xbps_handle *xhp, xbps_array_t a, const char *grname)
- } else {
- lnk = xbps_xasprintf("%s%s", xhp->rootdir, l);
- }
-+ if (lstat(lnk, &st) == -1 || !S_ISLNK(st.st_mode)) {
-+ free(lnk);
-+ free(l);
-+ continue;
-+ }
- xbps_set_cb_state(xhp, XBPS_STATE_ALTGROUP_LINK_REMOVED, 0, NULL,
- "Removing '%s' alternatives group symlink: %s", grname, l);
- unlink(lnk);
diff --git a/srcpkgs/xbps/patches/7b728f5ac.patch b/srcpkgs/xbps/patches/7b728f5ac.patch
deleted file mode 100644
index 7310ddd609d..00000000000
--- a/srcpkgs/xbps/patches/7b728f5ac.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 7b728f5ac0adc28f3d7270c26e14ecff73a7f16f Mon Sep 17 00:00:00 2001
-From: Duncaen <mail@duncano.de>
-Date: Wed, 26 Jun 2019 22:24:47 +0200
-Subject: [PATCH] bin/xbps-remove: fix skipping executing orphans transaction
-
----
- bin/xbps-remove/main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c
-index 1ef328a8..4ff943c0 100644
---- bin/xbps-remove/main.c
-+++ bin/xbps-remove/main.c
-@@ -295,7 +295,7 @@ main(int argc, char **argv)
- exit(rv);
- }
- }
-- if (missing == argc) {
-+ if (!orphans && missing == argc) {
- goto out;
- }
- if (orphans || (argc > optind)) {
diff --git a/srcpkgs/xbps/patches/83aa486f6ba049399.patch b/srcpkgs/xbps/patches/83aa486f6ba049399.patch
deleted file mode 100644
index 12c9575d8c2..00000000000
--- a/srcpkgs/xbps/patches/83aa486f6ba049399.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-commit 83aa486f6ba049399e457c34be23a7a435f83ceb
-Author: Juan RP <xtraeme@gmail.com>
-Date: Tue Jun 25 10:32:02 2019 +0200
-
- xbps-remove: skip trans if all pkgs were not found.
-
- Restores behaviour with xbps<0.54.
-
-diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c
-index 61057029..1ef328a8 100644
---- bin/xbps-remove/main.c
-+++ bin/xbps-remove/main.c
-@@ -145,7 +145,7 @@ remove_pkg(struct xbps_handle *xhp, const char *pkgname, bool recursive)
- return rv;
- } else if (rv == ENOENT) {
- printf("Package `%s' is not currently installed.\n", pkgname);
-- return 0;
-+ return rv;
- } else if (rv != 0) {
- xbps_error_printf("Failed to queue `%s' for removing: %s\n",
- pkgname, strerror(rv));
-@@ -180,7 +180,7 @@ main(int argc, char **argv)
- const char *rootdir, *cachedir, *confdir;
- int c, flags, rv;
- bool yes, drun, recursive, clean_cache, orphans;
-- int maxcols;
-+ int maxcols, missing;
-
- rootdir = cachedir = confdir = NULL;
- flags = rv = 0;
-@@ -284,16 +284,24 @@ main(int argc, char **argv)
- }
- }
-
-+ missing = optind;
- for (int i = optind; i < argc; i++) {
- rv = remove_pkg(&xh, argv[i], recursive);
-- if (rv != 0) {
-+ if (rv == ENOENT) {
-+ missing++;
-+ continue;
-+ } else if (rv != 0) {
- xbps_end(&xh);
- exit(rv);
- }
- }
-+ if (missing == argc) {
-+ goto out;
-+ }
- if (orphans || (argc > optind)) {
- rv = exec_transaction(&xh, maxcols, yes, drun);
- }
-+out:
- xbps_end(&xh);
- exit(rv);
- }
diff --git a/srcpkgs/xbps/patches/bb96486b127.patch b/srcpkgs/xbps/patches/bb96486b127.patch
deleted file mode 100644
index 34f1f5610a6..00000000000
--- a/srcpkgs/xbps/patches/bb96486b127.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-commit bb96486b127054e7b0e02c467b0f61a20d227161
-Author: Juan RP <xtraeme@gmail.com>
-Date: Thu Jun 27 08:02:19 2019 +0200
-
- xbps-install: make sure to call xbps_end() before exiting.
-
-diff --git a/bin/xbps-install/main.c b/bin/xbps-install/main.c
-index 371f26c8..3622af5a 100644
---- bin/xbps-install/main.c
-+++ bin/xbps-install/main.c
-@@ -263,7 +263,7 @@ main(int argc, char **argv)
- }
- }
- if (eexist == argc)
-- return 0;
-+ goto out;
-
- rv = exec_transaction(&xh, maxcols, yes, drun);
- } else if (!update) {
-@@ -280,11 +280,12 @@ main(int argc, char **argv)
- }
- }
- if (eexist == argc)
-- return 0;
-+ goto out;
-
- rv = exec_transaction(&xh, maxcols, yes, drun);
- }
-
-+out:
- xbps_end(&xh);
- exit(rv);
- }
diff --git a/srcpkgs/xbps/patches/d72091a20.patch b/srcpkgs/xbps/patches/d72091a20.patch
deleted file mode 100644
index 25234d95e1c..00000000000
--- a/srcpkgs/xbps/patches/d72091a20.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-commit d72091a2060817ac10f55fbd8de4e0611d6d6940
-Author: Duncaen <mail@duncano.de>
-Date: Wed Jun 26 13:07:16 2019 +0200
-
- lib/transaction_files.c: fix returning error on hash mismatch
-
-diff --git lib/transaction_files.c lib/transaction_files.c
-index 4dbf4584..9a6ca630 100644
---- lib/transaction_files.c
-+++ lib/transaction_files.c
-@@ -331,6 +331,7 @@ collect_obsoletes(struct xbps_handle *xhp)
- continue;
- case ERANGE:
- /* hash mismatch don't delete it */
-+ rv = 0;
- continue;
- default:
- break;
diff --git a/srcpkgs/xbps/patches/fix-missing-sh.patch b/srcpkgs/xbps/patches/fix-missing-sh.patch
deleted file mode 100644
index a916452c286..00000000000
--- a/srcpkgs/xbps/patches/fix-missing-sh.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git lib/package_script.c lib/package_script.c
-index a8c05dcf..919f821b 100644
---- lib/package_script.c
-+++ lib/package_script.c
-@@ -40,9 +40,10 @@ xbps_pkg_exec_buffer(struct xbps_handle *xhp,
- bool update)
- {
- ssize_t ret;
-- const char *tmpdir, *version;
-+ const char *tmpdir, *version, *shell;
- char *pkgname, *fpath;
- int fd, rv;
-+ struct stat st;
-
- assert(blob);
- assert(pkgver);
-@@ -100,7 +101,12 @@ xbps_pkg_exec_buffer(struct xbps_handle *xhp,
- version = xbps_pkg_version(pkgver);
- assert(version);
-
-- rv = xbps_file_exec(xhp, "/bin/sh", fpath, action, pkgname, version,
-+ // Fallback
-+ shell = "/bin/sh";
-+ if (stat(shell, &st) < 0) {
-+ shell = "/bin/dash";
-+ }
-+ rv = xbps_file_exec(xhp, shell, fpath, action, pkgname, version,
- update ? "yes" : "no",
- "no", xhp->native_arch, NULL);
- free(pkgname);
diff --git a/srcpkgs/xbps/patches/series b/srcpkgs/xbps/patches/series
deleted file mode 100644
index f47146b9d4b..00000000000
--- a/srcpkgs/xbps/patches/series
+++ /dev/null
@@ -1,6 +0,0 @@
-d72091a20.patch
-83aa486f6ba049399.patch
-7b728f5ac.patch
-44692f28d8.patch
-bb96486b127.patch
-fix-missing-sh.patch
diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template
index 8f217f60afa..c56c6dfc3e4 100644
--- a/srcpkgs/xbps/template
+++ b/srcpkgs/xbps/template
@@ -1,7 +1,7 @@
# Template file for 'xbps'
pkgname=xbps
-version=0.56
-revision=7
+version=0.57.1
+revision=1
bootstrap=yes
build_style=configure
short_desc="XBPS package system utilities"
@@ -10,7 +10,7 @@ license="BSD-2-Clause"
homepage="https://github.com/void-linux/xbps"
changelog="https://github.com/void-linux/xbps/blob/master/NEWS"
distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz"
-checksum=e46521513b0c0ff486cc190089277381b18db45e770b04f799dc4eec99ffccd4
+checksum=bccad7c4187c467f322e6905fbe96839c00d2cbdda254c0c99b38eabeedb8678
hostmakedepends="pkg-config"
checkdepends="kyua"
From 313ca5d40321625d3399fc88970e31066d93e9f5 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 19:47:59 +0200
Subject: [PATCH 2/2] xbps-static: update to 0.57.1
---
srcpkgs/xbps-static/template | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/xbps-static/template b/srcpkgs/xbps-static/template
index 4f8d4275601..eeaab894993 100644
--- a/srcpkgs/xbps-static/template
+++ b/srcpkgs/xbps-static/template
@@ -1,8 +1,8 @@
# Template file for 'xbps-static'
# NOTE: keep this package synchronized with "srcpkgs/xbps"
pkgname=xbps-static
-version=0.56
-revision=5
+version=0.57.1
+revision=1
# only musl
archs="*-musl"
wrksrc="xbps-${version}"
@@ -16,7 +16,11 @@ license="BSD-2-Clause"
homepage="https://www.voidlinux.org/xbps"
changelog="https://github.com/void-linux/xbps/blob/master/NEWS"
distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz"
-checksum=e46521513b0c0ff486cc190089277381b18db45e770b04f799dc4eec99ffccd4
+checksum=bccad7c4187c467f322e6905fbe96839c00d2cbdda254c0c99b38eabeedb8678
+
+# LTO objects break static builds, override
+CFLAGS="-fno-lto"
+LDFLAGS="-fno-lto"
do_configure() {
./configure --prefix=/usr --sysconfdir=/etc --enable-static
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [PR PATCH] [Updated] xbps, xbps-static: update to 0.57
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (25 preceding siblings ...)
2019-10-27 20:07 ` voidlinux-github
@ 2019-10-28 17:52 ` voidlinux-github
2019-10-28 17:52 ` voidlinux-github
` (2 subsequent siblings)
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-28 17:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
There is an updated pull request by q66 against master on the void-packages repository
https://github.com/void-ppc/void-packages xbps057
https://github.com/void-linux/void-packages/pull/15677
xbps, xbps-static: update to 0.57
A patch file from https://github.com/void-linux/void-packages/pull/15677.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xbps057-15677.patch --]
[-- Type: text/x-diff, Size: 11589 bytes --]
From 73b90b4f253056f73a2e501a251ca902186c7215 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 19:40:11 +0200
Subject: [PATCH 1/2] xbps: update to 0.57.1
---
srcpkgs/xbps/patches/44692f28d8.patch | 22 --------
srcpkgs/xbps/patches/56ae190.patch | 30 -----------
srcpkgs/xbps/patches/7b728f5ac.patch | 22 --------
srcpkgs/xbps/patches/83aa486f6ba049399.patch | 56 --------------------
srcpkgs/xbps/patches/bb96486b127.patch | 33 ------------
srcpkgs/xbps/patches/d72091a20.patch | 18 -------
srcpkgs/xbps/patches/fix-missing-sh.patch | 30 -----------
srcpkgs/xbps/patches/series | 6 ---
srcpkgs/xbps/template | 6 +--
9 files changed, 3 insertions(+), 220 deletions(-)
delete mode 100644 srcpkgs/xbps/patches/44692f28d8.patch
delete mode 100644 srcpkgs/xbps/patches/56ae190.patch
delete mode 100644 srcpkgs/xbps/patches/7b728f5ac.patch
delete mode 100644 srcpkgs/xbps/patches/83aa486f6ba049399.patch
delete mode 100644 srcpkgs/xbps/patches/bb96486b127.patch
delete mode 100644 srcpkgs/xbps/patches/d72091a20.patch
delete mode 100644 srcpkgs/xbps/patches/fix-missing-sh.patch
delete mode 100644 srcpkgs/xbps/patches/series
diff --git a/srcpkgs/xbps/patches/44692f28d8.patch b/srcpkgs/xbps/patches/44692f28d8.patch
deleted file mode 100644
index fdfe56ec7d8..00000000000
--- a/srcpkgs/xbps/patches/44692f28d8.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit 44692f28d859728fb919a5d736ada82606196f75
-Author: Johannes Brechtmann <johannes@jnbr.me>
-Date: Wed Jun 26 22:51:41 2019 +0200
-
- bin/xbps-install: update_pkg return EEXIST if package is up to date
-
- makes 58509996aabea52ffc40e5e01c9eb00730c6cdcc work for
- xbps-install -u <pkg>
-
-diff --git a/bin/xbps-install/transaction.c b/bin/xbps-install/transaction.c
-index cdcc92d7..fc5538bb 100644
---- bin/xbps-install/transaction.c
-+++ bin/xbps-install/transaction.c
-@@ -286,7 +286,7 @@ update_pkg(struct xbps_handle *xhp, const char *pkgname)
- rv = xbps_transaction_update_pkg(xhp, pkgname);
- if (rv == EEXIST) {
- printf("Package '%s' is up to date.\n", pkgname);
-- return 0;
-+ return EEXIST;
- } else if (rv == ENOENT)
- fprintf(stderr, "Package '%s' not found in "
- "repository pool.\n", pkgname);
diff --git a/srcpkgs/xbps/patches/56ae190.patch b/srcpkgs/xbps/patches/56ae190.patch
deleted file mode 100644
index 022c7166b04..00000000000
--- a/srcpkgs/xbps/patches/56ae190.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-commit 56ae1907b9d588910a5e4712fdaa5784c1641f14
-Author: Duncan Overbruck <mail@duncano.de>
-Date: Tue Aug 13 12:53:01 2019 +0200
-
- lib/package_alternatives.c: check if alternative is a symlink before removing it
-
-diff --git lib/package_alternatives.c lib/package_alternatives.c
-index 9b4d0027..5e4f2b36 100644
---- lib/package_alternatives.c
-+++ lib/package_alternatives.c
-@@ -111,6 +111,7 @@ static int
- remove_symlinks(struct xbps_handle *xhp, xbps_array_t a, const char *grname)
- {
- unsigned int i, cnt;
-+ struct stat st;
-
- cnt = xbps_array_count(a);
- for (i = 0; i < cnt; i++) {
-@@ -132,6 +133,11 @@ remove_symlinks(struct xbps_handle *xhp, xbps_array_t a, const char *grname)
- } else {
- lnk = xbps_xasprintf("%s%s", xhp->rootdir, l);
- }
-+ if (lstat(lnk, &st) == -1 || !S_ISLNK(st.st_mode)) {
-+ free(lnk);
-+ free(l);
-+ continue;
-+ }
- xbps_set_cb_state(xhp, XBPS_STATE_ALTGROUP_LINK_REMOVED, 0, NULL,
- "Removing '%s' alternatives group symlink: %s", grname, l);
- unlink(lnk);
diff --git a/srcpkgs/xbps/patches/7b728f5ac.patch b/srcpkgs/xbps/patches/7b728f5ac.patch
deleted file mode 100644
index 7310ddd609d..00000000000
--- a/srcpkgs/xbps/patches/7b728f5ac.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 7b728f5ac0adc28f3d7270c26e14ecff73a7f16f Mon Sep 17 00:00:00 2001
-From: Duncaen <mail@duncano.de>
-Date: Wed, 26 Jun 2019 22:24:47 +0200
-Subject: [PATCH] bin/xbps-remove: fix skipping executing orphans transaction
-
----
- bin/xbps-remove/main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c
-index 1ef328a8..4ff943c0 100644
---- bin/xbps-remove/main.c
-+++ bin/xbps-remove/main.c
-@@ -295,7 +295,7 @@ main(int argc, char **argv)
- exit(rv);
- }
- }
-- if (missing == argc) {
-+ if (!orphans && missing == argc) {
- goto out;
- }
- if (orphans || (argc > optind)) {
diff --git a/srcpkgs/xbps/patches/83aa486f6ba049399.patch b/srcpkgs/xbps/patches/83aa486f6ba049399.patch
deleted file mode 100644
index 12c9575d8c2..00000000000
--- a/srcpkgs/xbps/patches/83aa486f6ba049399.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-commit 83aa486f6ba049399e457c34be23a7a435f83ceb
-Author: Juan RP <xtraeme@gmail.com>
-Date: Tue Jun 25 10:32:02 2019 +0200
-
- xbps-remove: skip trans if all pkgs were not found.
-
- Restores behaviour with xbps<0.54.
-
-diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c
-index 61057029..1ef328a8 100644
---- bin/xbps-remove/main.c
-+++ bin/xbps-remove/main.c
-@@ -145,7 +145,7 @@ remove_pkg(struct xbps_handle *xhp, const char *pkgname, bool recursive)
- return rv;
- } else if (rv == ENOENT) {
- printf("Package `%s' is not currently installed.\n", pkgname);
-- return 0;
-+ return rv;
- } else if (rv != 0) {
- xbps_error_printf("Failed to queue `%s' for removing: %s\n",
- pkgname, strerror(rv));
-@@ -180,7 +180,7 @@ main(int argc, char **argv)
- const char *rootdir, *cachedir, *confdir;
- int c, flags, rv;
- bool yes, drun, recursive, clean_cache, orphans;
-- int maxcols;
-+ int maxcols, missing;
-
- rootdir = cachedir = confdir = NULL;
- flags = rv = 0;
-@@ -284,16 +284,24 @@ main(int argc, char **argv)
- }
- }
-
-+ missing = optind;
- for (int i = optind; i < argc; i++) {
- rv = remove_pkg(&xh, argv[i], recursive);
-- if (rv != 0) {
-+ if (rv == ENOENT) {
-+ missing++;
-+ continue;
-+ } else if (rv != 0) {
- xbps_end(&xh);
- exit(rv);
- }
- }
-+ if (missing == argc) {
-+ goto out;
-+ }
- if (orphans || (argc > optind)) {
- rv = exec_transaction(&xh, maxcols, yes, drun);
- }
-+out:
- xbps_end(&xh);
- exit(rv);
- }
diff --git a/srcpkgs/xbps/patches/bb96486b127.patch b/srcpkgs/xbps/patches/bb96486b127.patch
deleted file mode 100644
index 34f1f5610a6..00000000000
--- a/srcpkgs/xbps/patches/bb96486b127.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-commit bb96486b127054e7b0e02c467b0f61a20d227161
-Author: Juan RP <xtraeme@gmail.com>
-Date: Thu Jun 27 08:02:19 2019 +0200
-
- xbps-install: make sure to call xbps_end() before exiting.
-
-diff --git a/bin/xbps-install/main.c b/bin/xbps-install/main.c
-index 371f26c8..3622af5a 100644
---- bin/xbps-install/main.c
-+++ bin/xbps-install/main.c
-@@ -263,7 +263,7 @@ main(int argc, char **argv)
- }
- }
- if (eexist == argc)
-- return 0;
-+ goto out;
-
- rv = exec_transaction(&xh, maxcols, yes, drun);
- } else if (!update) {
-@@ -280,11 +280,12 @@ main(int argc, char **argv)
- }
- }
- if (eexist == argc)
-- return 0;
-+ goto out;
-
- rv = exec_transaction(&xh, maxcols, yes, drun);
- }
-
-+out:
- xbps_end(&xh);
- exit(rv);
- }
diff --git a/srcpkgs/xbps/patches/d72091a20.patch b/srcpkgs/xbps/patches/d72091a20.patch
deleted file mode 100644
index 25234d95e1c..00000000000
--- a/srcpkgs/xbps/patches/d72091a20.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-commit d72091a2060817ac10f55fbd8de4e0611d6d6940
-Author: Duncaen <mail@duncano.de>
-Date: Wed Jun 26 13:07:16 2019 +0200
-
- lib/transaction_files.c: fix returning error on hash mismatch
-
-diff --git lib/transaction_files.c lib/transaction_files.c
-index 4dbf4584..9a6ca630 100644
---- lib/transaction_files.c
-+++ lib/transaction_files.c
-@@ -331,6 +331,7 @@ collect_obsoletes(struct xbps_handle *xhp)
- continue;
- case ERANGE:
- /* hash mismatch don't delete it */
-+ rv = 0;
- continue;
- default:
- break;
diff --git a/srcpkgs/xbps/patches/fix-missing-sh.patch b/srcpkgs/xbps/patches/fix-missing-sh.patch
deleted file mode 100644
index a916452c286..00000000000
--- a/srcpkgs/xbps/patches/fix-missing-sh.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git lib/package_script.c lib/package_script.c
-index a8c05dcf..919f821b 100644
---- lib/package_script.c
-+++ lib/package_script.c
-@@ -40,9 +40,10 @@ xbps_pkg_exec_buffer(struct xbps_handle *xhp,
- bool update)
- {
- ssize_t ret;
-- const char *tmpdir, *version;
-+ const char *tmpdir, *version, *shell;
- char *pkgname, *fpath;
- int fd, rv;
-+ struct stat st;
-
- assert(blob);
- assert(pkgver);
-@@ -100,7 +101,12 @@ xbps_pkg_exec_buffer(struct xbps_handle *xhp,
- version = xbps_pkg_version(pkgver);
- assert(version);
-
-- rv = xbps_file_exec(xhp, "/bin/sh", fpath, action, pkgname, version,
-+ // Fallback
-+ shell = "/bin/sh";
-+ if (stat(shell, &st) < 0) {
-+ shell = "/bin/dash";
-+ }
-+ rv = xbps_file_exec(xhp, shell, fpath, action, pkgname, version,
- update ? "yes" : "no",
- "no", xhp->native_arch, NULL);
- free(pkgname);
diff --git a/srcpkgs/xbps/patches/series b/srcpkgs/xbps/patches/series
deleted file mode 100644
index f47146b9d4b..00000000000
--- a/srcpkgs/xbps/patches/series
+++ /dev/null
@@ -1,6 +0,0 @@
-d72091a20.patch
-83aa486f6ba049399.patch
-7b728f5ac.patch
-44692f28d8.patch
-bb96486b127.patch
-fix-missing-sh.patch
diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template
index 8f217f60afa..c56c6dfc3e4 100644
--- a/srcpkgs/xbps/template
+++ b/srcpkgs/xbps/template
@@ -1,7 +1,7 @@
# Template file for 'xbps'
pkgname=xbps
-version=0.56
-revision=7
+version=0.57.1
+revision=1
bootstrap=yes
build_style=configure
short_desc="XBPS package system utilities"
@@ -10,7 +10,7 @@ license="BSD-2-Clause"
homepage="https://github.com/void-linux/xbps"
changelog="https://github.com/void-linux/xbps/blob/master/NEWS"
distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz"
-checksum=e46521513b0c0ff486cc190089277381b18db45e770b04f799dc4eec99ffccd4
+checksum=bccad7c4187c467f322e6905fbe96839c00d2cbdda254c0c99b38eabeedb8678
hostmakedepends="pkg-config"
checkdepends="kyua"
From 313ca5d40321625d3399fc88970e31066d93e9f5 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 21 Oct 2019 19:47:59 +0200
Subject: [PATCH 2/2] xbps-static: update to 0.57.1
---
srcpkgs/xbps-static/template | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/xbps-static/template b/srcpkgs/xbps-static/template
index 4f8d4275601..eeaab894993 100644
--- a/srcpkgs/xbps-static/template
+++ b/srcpkgs/xbps-static/template
@@ -1,8 +1,8 @@
# Template file for 'xbps-static'
# NOTE: keep this package synchronized with "srcpkgs/xbps"
pkgname=xbps-static
-version=0.56
-revision=5
+version=0.57.1
+revision=1
# only musl
archs="*-musl"
wrksrc="xbps-${version}"
@@ -16,7 +16,11 @@ license="BSD-2-Clause"
homepage="https://www.voidlinux.org/xbps"
changelog="https://github.com/void-linux/xbps/blob/master/NEWS"
distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz"
-checksum=e46521513b0c0ff486cc190089277381b18db45e770b04f799dc4eec99ffccd4
+checksum=bccad7c4187c467f322e6905fbe96839c00d2cbdda254c0c99b38eabeedb8678
+
+# LTO objects break static builds, override
+CFLAGS="-fno-lto"
+LDFLAGS="-fno-lto"
do_configure() {
./configure --prefix=/usr --sysconfdir=/etc --enable-static
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: xbps, xbps-static: update to 0.57.1
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (27 preceding siblings ...)
2019-10-28 17:52 ` voidlinux-github
@ 2019-10-28 17:53 ` voidlinux-github
2019-10-28 20:03 ` [PR PATCH] [Merged]: " voidlinux-github
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-28 17:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 174 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/15677#issuecomment-547069559
Comment:
Updated to 0.57.1, tested and working
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [PR PATCH] [Merged]: xbps, xbps-static: update to 0.57.1
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
` (28 preceding siblings ...)
2019-10-28 17:53 ` xbps, xbps-static: update to 0.57.1 voidlinux-github
@ 2019-10-28 20:03 ` voidlinux-github
29 siblings, 0 replies; 31+ messages in thread
From: voidlinux-github @ 2019-10-28 20:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
There's a merged pull request on the void-packages repository
xbps, xbps-static: update to 0.57.1
https://github.com/void-linux/void-packages/pull/15677
Description:
^ permalink raw reply [flat|nested] 31+ messages in thread
end of thread, other threads:[~2019-10-28 20:03 UTC | newest]
Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 19:38 [PR PATCH] xbps, xbps-static: update to 0.57 voidlinux-github
2019-10-27 7:19 ` voidlinux-github
2019-10-27 7:20 ` voidlinux-github
2019-10-27 7:26 ` voidlinux-github
2019-10-27 7:30 ` voidlinux-github
2019-10-27 7:31 ` voidlinux-github
2019-10-27 7:40 ` voidlinux-github
2019-10-27 7:47 ` voidlinux-github
2019-10-27 7:59 ` voidlinux-github
2019-10-27 8:01 ` voidlinux-github
2019-10-27 8:03 ` voidlinux-github
2019-10-27 8:06 ` voidlinux-github
2019-10-27 8:09 ` voidlinux-github
2019-10-27 8:10 ` voidlinux-github
2019-10-27 8:10 ` voidlinux-github
2019-10-27 8:11 ` voidlinux-github
2019-10-27 8:12 ` voidlinux-github
2019-10-27 8:15 ` voidlinux-github
2019-10-27 8:16 ` voidlinux-github
2019-10-27 8:17 ` voidlinux-github
2019-10-27 8:39 ` voidlinux-github
2019-10-27 8:46 ` voidlinux-github
2019-10-27 8:47 ` voidlinux-github
2019-10-27 8:50 ` voidlinux-github
2019-10-27 8:53 ` voidlinux-github
2019-10-27 8:53 ` voidlinux-github
2019-10-27 20:07 ` voidlinux-github
2019-10-28 17:52 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-28 17:52 ` voidlinux-github
2019-10-28 17:53 ` xbps, xbps-static: update to 0.57.1 voidlinux-github
2019-10-28 20:03 ` [PR PATCH] [Merged]: " voidlinux-github
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).