Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] xbps-src: fail on bootstrap with tests enabled
Date: Sat, 29 May 2021 20:21:42 +0200	[thread overview]
Message-ID: <20210529182142._t8D2qe7HIhers7wjnoxotiXVkmI0qgnjX6NkHUTG6I@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31202@inbox.vuxu.org>

[-- 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

  reply	other threads:[~2021-05-29 18:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-29  9:55 [PR PATCH] " paper42
2021-05-29 18:21 ` paper42 [this message]
2021-05-31 14:16 ` xbps-src: abort bootstrap when tests are enabled ericonr
2021-05-31 20:41 ` [PR PATCH] [Merged]: " q66

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210529182142._t8D2qe7HIhers7wjnoxotiXVkmI0qgnjX6NkHUTG6I@z \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).