Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] xbps-src: fail on bootstrap with tests enabled
@ 2021-05-29  9:55 paper42
  2021-05-29 18:21 ` [PR PATCH] [Updated] " paper42
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: paper42 @ 2021-05-29  9:55 UTC (permalink / raw)
  To: ml

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

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages xbps-src-bootstrap-no-tests
https://github.com/void-linux/void-packages/pull/31202

xbps-src: fail on bootstrap with tests enabled
Tests pull in dependencies that are not marked as bootstrap for some packages, so if the packages have to be built, bootstrap fails.

A patch file from https://github.com/void-linux/void-packages/pull/31202.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xbps-src-bootstrap-no-tests-31202.patch --]
[-- Type: text/x-diff, Size: 771 bytes --]

From 5e56ee2b3c78117f0061151b04d0e8e632e50261 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 28 May 2021 23:03:28 +0200
Subject: [PATCH] xbps-src: fail on bootstrap with tests enabled

---
 xbps-src | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xbps-src b/xbps-src
index c3cd7e5db10b..806c6480f21c 100755
--- a/xbps-src
+++ b/xbps-src
@@ -712,6 +712,10 @@ case "$XBPS_TARGET" in
         install_base_chroot ${XBPS_TARGET_PKG:=$XBPS_MACHINE}
         ;;
     bootstrap)
+        if [ -n "$XBPS_CHECK_PKGS" ]; then
+            msg_error "xbps-src: disable tests for bootstrap\n"
+            exit 1
+        fi
         # base-chroot building on host
         # check for required host utils
         check_reqhost_utils bootstrap

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

* Re: [PR PATCH] [Updated] xbps-src: fail on bootstrap with tests enabled
  2021-05-29  9:55 [PR PATCH] xbps-src: fail on bootstrap with tests enabled paper42
@ 2021-05-29 18:21 ` paper42
  2021-05-31 14:16 ` xbps-src: abort bootstrap when tests are enabled ericonr
  2021-05-31 20:41 ` [PR PATCH] [Merged]: " q66
  2 siblings, 0 replies; 4+ messages in thread
From: paper42 @ 2021-05-29 18:21 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages xbps-src-bootstrap-no-tests
https://github.com/void-linux/void-packages/pull/31202

xbps-src: fail on bootstrap with tests enabled
Tests pull in dependencies that are not marked as bootstrap for some packages, so if the packages have to be built, bootstrap fails.

A patch file from https://github.com/void-linux/void-packages/pull/31202.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xbps-src-bootstrap-no-tests-31202.patch --]
[-- Type: text/x-diff, Size: 773 bytes --]

From fef261bed9a27c0766a32a571d219ba585682b57 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 28 May 2021 23:03:28 +0200
Subject: [PATCH] xbps-src: abort bootstrap when tests are enabled

---
 xbps-src | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xbps-src b/xbps-src
index c3cd7e5db10b..806c6480f21c 100755
--- a/xbps-src
+++ b/xbps-src
@@ -712,6 +712,10 @@ case "$XBPS_TARGET" in
         install_base_chroot ${XBPS_TARGET_PKG:=$XBPS_MACHINE}
         ;;
     bootstrap)
+        if [ -n "$XBPS_CHECK_PKGS" ]; then
+            msg_error "xbps-src: disable tests for bootstrap\n"
+            exit 1
+        fi
         # base-chroot building on host
         # check for required host utils
         check_reqhost_utils bootstrap

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

* Re: xbps-src: abort bootstrap when tests are enabled
  2021-05-29  9:55 [PR PATCH] xbps-src: fail on bootstrap with tests enabled paper42
  2021-05-29 18:21 ` [PR PATCH] [Updated] " paper42
@ 2021-05-31 14:16 ` ericonr
  2021-05-31 20:41 ` [PR PATCH] [Merged]: " q66
  2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2021-05-31 14:16 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31202#issuecomment-851521127

Comment:
@q66 since you touch bootstrap frequently, looks ok?

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

* Re: [PR PATCH] [Merged]: xbps-src: abort bootstrap when tests are enabled
  2021-05-29  9:55 [PR PATCH] xbps-src: fail on bootstrap with tests enabled paper42
  2021-05-29 18:21 ` [PR PATCH] [Updated] " paper42
  2021-05-31 14:16 ` xbps-src: abort bootstrap when tests are enabled ericonr
@ 2021-05-31 20:41 ` q66
  2 siblings, 0 replies; 4+ messages in thread
From: q66 @ 2021-05-31 20:41 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

xbps-src: abort bootstrap when tests are enabled
https://github.com/void-linux/void-packages/pull/31202

Description:
Tests pull in dependencies that are not marked as bootstrap for some packages, so if the packages have to be built, bootstrap fails.

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

end of thread, other threads:[~2021-05-31 20:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-29  9:55 [PR PATCH] xbps-src: fail on bootstrap with tests enabled paper42
2021-05-29 18:21 ` [PR PATCH] [Updated] " paper42
2021-05-31 14:16 ` xbps-src: abort bootstrap when tests are enabled ericonr
2021-05-31 20:41 ` [PR PATCH] [Merged]: " q66

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