Github messages for voidlinux
 help / color / mirror / Atom feed
From: fosslinux <fosslinux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] ./xbps-src bootstrap fixes
Date: Wed, 22 Apr 2020 00:14:00 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21226@inbox.vuxu.org> (raw)

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

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

https://github.com/fosslinux/void-packages bootstrap-fixes
https://github.com/void-linux/void-packages/pull/21226

./xbps-src bootstrap fixes
I found a few missing/broken things while testing `./xbps-src bootstrap`:

1. `bootstrap` requires texinfo on the host.
2. glibc doesn't contain usr/share/info.
3. m4 was broken.

Closes #21163 . Thanks to @rovenmaccorp

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bootstrap-fixes-21226.patch --]
[-- Type: text/x-diff, Size: 2242 bytes --]

From 17ba74b1a4fde9b1e6068d64a9bfd8e190aa5bfc Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Tue, 21 Apr 2020 10:56:27 +1000
Subject: [PATCH 1/3] xbps-src: Bootstrap requires makeinfo (texinfo)

---
 xbps-src | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xbps-src b/xbps-src
index 459f27eb7b7..c2d5abb96e5 100755
--- a/xbps-src
+++ b/xbps-src
@@ -394,7 +394,7 @@ umask 022
 #
 # Required utilities in host system for the bootstrap target.
 readonly REQHOST_UTILS_BOOTSTRAP="file objdump find make gawk bash sed gcc g++ gnat \
-    perl bsdtar gzip patch flock pkg-config"
+    perl bsdtar gzip patch flock pkg-config makeinfo"
 
 # Required utilities in host.
 readonly REQHOST_UTILS="xbps-install xbps-query xbps-rindex xbps-uhelper \

From 2374479a8d304c562ffded522ca14b938e37cbc6 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Tue, 21 Apr 2020 10:56:51 +1000
Subject: [PATCH 2/3] glibc: usr/share/info is not created

---
 srcpkgs/glibc/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template
index dceecd7e75b..6c382200488 100644
--- a/srcpkgs/glibc/template
+++ b/srcpkgs/glibc/template
@@ -195,7 +195,6 @@ glibc-devel_package() {
 		vmove usr/include
 		vmove "usr/lib/*.a"
 		vmove "usr/lib/*.o"
-		vmove usr/share/info
 	}
 }
 glibc-locales_package() {

From dc1107d9fccc1a3756f9513643595d9f81d75485 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Tue, 21 Apr 2020 10:57:26 +1000
Subject: [PATCH 3/3] m4: Fix texinfo locale break

Closes https://github.com/void-linux/void-packages/issues/21163.

Credit to rovenmaccorp.
---
 srcpkgs/m4/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/m4/template b/srcpkgs/m4/template
index 111dc6a6b07..12061cef337 100644
--- a/srcpkgs/m4/template
+++ b/srcpkgs/m4/template
@@ -14,6 +14,10 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07
 
+pre_build() {
+    sed -i '1 i @documentencoding ISO-8859-1' doc/m4.texi
+}
+
 pre_check() {
 	case "$XBPS_TARGET_MACHINE" in
 		*-musl* )

             reply	other threads:[~2020-04-21 22:14 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21 22:14 fosslinux [this message]
2020-04-21 22:16 ` xtraeme
2020-04-21 22:18 ` xtraeme
2020-04-21 22:35 ` pullmoll
2020-04-21 22:35 ` pullmoll
2020-04-21 22:38 ` xtraeme
2020-04-21 22:49 ` fosslinux
2020-04-21 22:52 ` pullmoll
2020-04-21 22:54 ` fosslinux
2020-04-21 22:59 ` xtraeme
2020-04-21 23:08 ` pullmoll
2020-04-21 23:10 ` xtraeme
2020-04-21 23:16 ` fosslinux
2020-04-21 23:17 ` pullmoll
2020-04-21 23:19 ` xtraeme
2020-04-21 23:21 ` xtraeme
2020-04-21 23:22 ` pullmoll
2020-04-21 23:23 ` xtraeme
2020-04-21 23:24 ` xtraeme
2020-04-21 23:26 ` pullmoll
2020-04-21 23:28 ` xtraeme
2020-04-21 23:31 ` xtraeme
2020-04-21 23:35 ` pullmoll
2020-04-21 23:36 ` pullmoll
2020-04-21 23:47 ` pullmoll
2020-04-22  0:33 ` fosslinux
2020-04-22  0:36 ` [PR PATCH] [Closed]: " pullmoll
2020-04-22  0:36 ` pullmoll

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21226@inbox.vuxu.org \
    --to=fosslinux@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).