Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] binutils: fix bootstrap build; drop noarch
@ 2020-12-24 10:19 pullmoll
  2020-12-24 14:02 ` [PR PATCH] [Updated] " pullmoll
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pullmoll @ 2020-12-24 10:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pullmoll/void-packages binutils
https://github.com/void-linux/void-packages/pull/27397

binutils: fix bootstrap build; drop noarch
Prevent configure from finding host installed libdebuginfod.
Closes: #27190

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

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

From a602eb6e886a1c621ef74df18bc81169ba01e769 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Thu, 24 Dec 2020 11:16:44 +0100
Subject: [PATCH] binutils: fix bootstrap build; drop noarch

Prevent configure from finding host installed libdebuginfod.
Closes: #27190
---
 srcpkgs/binutils/template | 28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template
index 719897d6f50..76c0003cf56 100644
--- a/srcpkgs/binutils/template
+++ b/srcpkgs/binutils/template
@@ -1,7 +1,7 @@
 # Template file for 'binutils'
 pkgname=binutils
 version=2.34
-revision=1
+revision=2
 bootstrap=yes
 short_desc="GNU binary utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -29,13 +29,28 @@ _get_triplet() {
 }
 
 do_configure() {
+	local CONFIGFLAG="--build=$(_get_triplet)
+		--prefix=/usr
+		--enable-threads
+		--enable-plugins
+		--enable-secureplt
+		--with-mmap
+		--disable-shared
+		--enable-gold
+		--disable-werror
+		--enable-deterministic-archives
+		--enable-ld=default
+		--disable-nls"
+	if [ -z "$CHROOT_READY" ]; then
+		CONFIGFLAG+=" --without-debuginfod"
+	fi
 	if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
-		CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
+		CONFIGFLAG+=" --enable-64-bit-bfd --enable-multilib"
 	fi
 	if [ "$CROSS_BUILD" ]; then
 		# Do not use configure_args nor build_style=gnu-configure,
 		# avoiding --with-sysroot to $XBPS_CROSS_BASE.
-		CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
+		CONFIGFLAG+=" --host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
 	fi
 	if [ "$XBPS_TARGET_MACHINE" = "mips-musl" -o "$XBPS_TARGET_MACHINE" = "mipsel-musl" ]; then
 		CONFIGFLAG+=" --with-float=soft --without-fp"
@@ -45,11 +60,7 @@ do_configure() {
 	elif [ "${XBPS_TARGET_MACHINE%-musl}" = "i686" ]; then
 		CONFIGFLAG+=" --enable-64-bit-bfd --enable-targets=x86_64-linux-gnu,x86_64-pep"
 	fi
-	./configure --build=$(_get_triplet) --prefix=/usr --enable-threads \
-		--enable-plugins --enable-secureplt --with-mmap \
-		--disable-shared --enable-gold --disable-werror \
-		--enable-deterministic-archives --enable-ld=default \
-		--disable-nls $CONFIGFLAG
+	./configure $CONFIGFLAG
 }
 
 do_build() {
@@ -125,7 +136,6 @@ binutils-devel_package() {
 }
 
 binutils-doc_package() {
-	archs=noarch
 	short_desc+=" - info files"
 	pkg_install() {
 		vmove usr/share/info

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

* Re: [PR PATCH] [Updated] binutils: fix bootstrap build; drop noarch
  2020-12-24 10:19 [PR PATCH] binutils: fix bootstrap build; drop noarch pullmoll
@ 2020-12-24 14:02 ` pullmoll
  2020-12-24 14:05 ` pullmoll
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pullmoll @ 2020-12-24 14:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pullmoll/void-packages binutils
https://github.com/void-linux/void-packages/pull/27397

binutils: fix bootstrap build; drop noarch
Prevent configure from finding host installed libdebuginfod.
Closes: #27190

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

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

From e78b614c59160b37290b8a545fbc0c339f8d2d63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Thu, 24 Dec 2020 11:16:44 +0100
Subject: [PATCH] binutils: fix bootstrap build; drop noarch

Prevent configure from finding host installed libdebuginfod.
Enable debuginfod if the chroot is ready.

Closes: #26502
Closes: #27190
---
 srcpkgs/binutils/template | 32 ++++++++++++++++++++++----------
 1 file changed, 22 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template
index 719897d6f50..69f2f52dba9 100644
--- a/srcpkgs/binutils/template
+++ b/srcpkgs/binutils/template
@@ -1,7 +1,7 @@
 # Template file for 'binutils'
 pkgname=binutils
 version=2.34
-revision=1
+revision=2
 bootstrap=yes
 short_desc="GNU binary utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -10,12 +10,12 @@ homepage="http://www.gnu.org/software/binutils/"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
 checksum=f00b0e8803dc9bab1e2165bd568528135be734df3fabf8d0161828cd56028952
 
+makedepends="zlib-devel"
 if [ "$CHROOT_READY" ]; then
 	hostmakedepends="flex perl texinfo"
 	checkdepends="bc"
 	depends="binutils-doc"
 fi
-makedepends+=" zlib-devel"
 
 _get_triplet() {
 	if [ -z "$XBPS_TRIPLET" ]; then
@@ -29,13 +29,30 @@ _get_triplet() {
 }
 
 do_configure() {
+	local CONFIGFLAG="--build=$(_get_triplet)
+		--prefix=/usr
+		--enable-threads
+		--enable-plugins
+		--enable-secureplt
+		--with-mmap
+		--disable-shared
+		--enable-gold
+		--disable-werror
+		--enable-deterministic-archives
+		--enable-ld=default
+		--disable-nls"
+	if [ "$CHROOT_READY" ]; then
+		CONFIGFLAG+"= --with-debuginfod"
+	else
+		CONFIGFLAG+=" --without-debuginfod"
+	fi
 	if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
-		CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
+		CONFIGFLAG+=" --enable-64-bit-bfd --enable-multilib"
 	fi
 	if [ "$CROSS_BUILD" ]; then
 		# Do not use configure_args nor build_style=gnu-configure,
 		# avoiding --with-sysroot to $XBPS_CROSS_BASE.
-		CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
+		CONFIGFLAG+=" --host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
 	fi
 	if [ "$XBPS_TARGET_MACHINE" = "mips-musl" -o "$XBPS_TARGET_MACHINE" = "mipsel-musl" ]; then
 		CONFIGFLAG+=" --with-float=soft --without-fp"
@@ -45,11 +62,7 @@ do_configure() {
 	elif [ "${XBPS_TARGET_MACHINE%-musl}" = "i686" ]; then
 		CONFIGFLAG+=" --enable-64-bit-bfd --enable-targets=x86_64-linux-gnu,x86_64-pep"
 	fi
-	./configure --build=$(_get_triplet) --prefix=/usr --enable-threads \
-		--enable-plugins --enable-secureplt --with-mmap \
-		--disable-shared --enable-gold --disable-werror \
-		--enable-deterministic-archives --enable-ld=default \
-		--disable-nls $CONFIGFLAG
+	./configure $CONFIGFLAG
 }
 
 do_build() {
@@ -125,7 +138,6 @@ binutils-devel_package() {
 }
 
 binutils-doc_package() {
-	archs=noarch
 	short_desc+=" - info files"
 	pkg_install() {
 		vmove usr/share/info

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

* Re: [PR PATCH] [Updated] binutils: fix bootstrap build; drop noarch
  2020-12-24 10:19 [PR PATCH] binutils: fix bootstrap build; drop noarch pullmoll
  2020-12-24 14:02 ` [PR PATCH] [Updated] " pullmoll
@ 2020-12-24 14:05 ` pullmoll
  2020-12-24 14:08 ` pullmoll
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pullmoll @ 2020-12-24 14:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pullmoll/void-packages binutils
https://github.com/void-linux/void-packages/pull/27397

binutils: fix bootstrap build; drop noarch
Prevent configure from finding host installed libdebuginfod.
Enable debuginfod if the chroot is ready.

Closes: #26502
Closes: #27190



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

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

From b3c02cc8e03a8ee8d70e62c35b4d0258c6908d19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Thu, 24 Dec 2020 11:16:44 +0100
Subject: [PATCH] binutils: fix bootstrap build; drop noarch

Prevent configure from finding host installed libdebuginfod.
Enable debuginfod if the chroot is ready.

Closes: #26502
Closes: #27190
---
 srcpkgs/binutils/template | 32 ++++++++++++++++++++++----------
 1 file changed, 22 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template
index 719897d6f50..7ec965d7a62 100644
--- a/srcpkgs/binutils/template
+++ b/srcpkgs/binutils/template
@@ -1,7 +1,7 @@
 # Template file for 'binutils'
 pkgname=binutils
 version=2.34
-revision=1
+revision=2
 bootstrap=yes
 short_desc="GNU binary utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -10,12 +10,12 @@ homepage="http://www.gnu.org/software/binutils/"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
 checksum=f00b0e8803dc9bab1e2165bd568528135be734df3fabf8d0161828cd56028952
 
+makedepends="zlib-devel"
 if [ "$CHROOT_READY" ]; then
 	hostmakedepends="flex perl texinfo"
 	checkdepends="bc"
 	depends="binutils-doc"
 fi
-makedepends+=" zlib-devel"
 
 _get_triplet() {
 	if [ -z "$XBPS_TRIPLET" ]; then
@@ -29,13 +29,30 @@ _get_triplet() {
 }
 
 do_configure() {
+	local CONFIGFLAG="--build=$(_get_triplet)
+		--prefix=/usr
+		--enable-threads
+		--enable-plugins
+		--enable-secureplt
+		--with-mmap
+		--disable-shared
+		--enable-gold
+		--disable-werror
+		--enable-deterministic-archives
+		--enable-ld=default
+		--disable-nls"
+	if [ "$CHROOT_READY" ]; then
+		CONFIGFLAG+=" --with-debuginfod"
+	else
+		CONFIGFLAG+=" --without-debuginfod"
+	fi
 	if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
-		CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
+		CONFIGFLAG+=" --enable-64-bit-bfd --enable-multilib"
 	fi
 	if [ "$CROSS_BUILD" ]; then
 		# Do not use configure_args nor build_style=gnu-configure,
 		# avoiding --with-sysroot to $XBPS_CROSS_BASE.
-		CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
+		CONFIGFLAG+=" --host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
 	fi
 	if [ "$XBPS_TARGET_MACHINE" = "mips-musl" -o "$XBPS_TARGET_MACHINE" = "mipsel-musl" ]; then
 		CONFIGFLAG+=" --with-float=soft --without-fp"
@@ -45,11 +62,7 @@ do_configure() {
 	elif [ "${XBPS_TARGET_MACHINE%-musl}" = "i686" ]; then
 		CONFIGFLAG+=" --enable-64-bit-bfd --enable-targets=x86_64-linux-gnu,x86_64-pep"
 	fi
-	./configure --build=$(_get_triplet) --prefix=/usr --enable-threads \
-		--enable-plugins --enable-secureplt --with-mmap \
-		--disable-shared --enable-gold --disable-werror \
-		--enable-deterministic-archives --enable-ld=default \
-		--disable-nls $CONFIGFLAG
+	./configure $CONFIGFLAG
 }
 
 do_build() {
@@ -125,7 +138,6 @@ binutils-devel_package() {
 }
 
 binutils-doc_package() {
-	archs=noarch
 	short_desc+=" - info files"
 	pkg_install() {
 		vmove usr/share/info

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

* Re: [PR PATCH] [Updated] binutils: fix bootstrap build; drop noarch
  2020-12-24 10:19 [PR PATCH] binutils: fix bootstrap build; drop noarch pullmoll
  2020-12-24 14:02 ` [PR PATCH] [Updated] " pullmoll
  2020-12-24 14:05 ` pullmoll
@ 2020-12-24 14:08 ` pullmoll
  2020-12-24 21:41 ` pullmoll
  2020-12-26  2:44 ` [PR PATCH] [Merged]: " q66
  4 siblings, 0 replies; 6+ messages in thread
From: pullmoll @ 2020-12-24 14:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pullmoll/void-packages binutils
https://github.com/void-linux/void-packages/pull/27397

binutils: fix bootstrap build; drop noarch
Prevent configure from finding host installed libdebuginfod.
Enable debuginfod if the chroot is ready.

Closes: #26502
Closes: #27190



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

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

From b5be9012881c18747d763721368e88ad0f012a26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Thu, 24 Dec 2020 11:16:44 +0100
Subject: [PATCH] binutils: fix bootstrap build; drop noarch

Prevent configure from finding host installed libdebuginfod.
Enable debuginfod if the chroot is ready.

Closes: #26502
Closes: #27190
---
 srcpkgs/binutils/template | 33 +++++++++++++++++++++++----------
 1 file changed, 23 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template
index 719897d6f50..16826c6bec4 100644
--- a/srcpkgs/binutils/template
+++ b/srcpkgs/binutils/template
@@ -1,7 +1,7 @@
 # Template file for 'binutils'
 pkgname=binutils
 version=2.34
-revision=1
+revision=2
 bootstrap=yes
 short_desc="GNU binary utilities"
 maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -10,12 +10,13 @@ homepage="http://www.gnu.org/software/binutils/"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
 checksum=f00b0e8803dc9bab1e2165bd568528135be734df3fabf8d0161828cd56028952
 
+makedepends="zlib-devel"
 if [ "$CHROOT_READY" ]; then
 	hostmakedepends="flex perl texinfo"
+	makedepends+=" elfutils-devel"
 	checkdepends="bc"
 	depends="binutils-doc"
 fi
-makedepends+=" zlib-devel"
 
 _get_triplet() {
 	if [ -z "$XBPS_TRIPLET" ]; then
@@ -29,13 +30,30 @@ _get_triplet() {
 }
 
 do_configure() {
+	local CONFIGFLAG="--build=$(_get_triplet)
+		--prefix=/usr
+		--enable-threads
+		--enable-plugins
+		--enable-secureplt
+		--with-mmap
+		--disable-shared
+		--enable-gold
+		--disable-werror
+		--enable-deterministic-archives
+		--enable-ld=default
+		--disable-nls"
+	if [ "$CHROOT_READY" ]; then
+		CONFIGFLAG+=" --with-debuginfod"
+	else
+		CONFIGFLAG+=" --without-debuginfod"
+	fi
 	if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
-		CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
+		CONFIGFLAG+=" --enable-64-bit-bfd --enable-multilib"
 	fi
 	if [ "$CROSS_BUILD" ]; then
 		# Do not use configure_args nor build_style=gnu-configure,
 		# avoiding --with-sysroot to $XBPS_CROSS_BASE.
-		CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
+		CONFIGFLAG+=" --host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
 	fi
 	if [ "$XBPS_TARGET_MACHINE" = "mips-musl" -o "$XBPS_TARGET_MACHINE" = "mipsel-musl" ]; then
 		CONFIGFLAG+=" --with-float=soft --without-fp"
@@ -45,11 +63,7 @@ do_configure() {
 	elif [ "${XBPS_TARGET_MACHINE%-musl}" = "i686" ]; then
 		CONFIGFLAG+=" --enable-64-bit-bfd --enable-targets=x86_64-linux-gnu,x86_64-pep"
 	fi
-	./configure --build=$(_get_triplet) --prefix=/usr --enable-threads \
-		--enable-plugins --enable-secureplt --with-mmap \
-		--disable-shared --enable-gold --disable-werror \
-		--enable-deterministic-archives --enable-ld=default \
-		--disable-nls $CONFIGFLAG
+	./configure $CONFIGFLAG
 }
 
 do_build() {
@@ -125,7 +139,6 @@ binutils-devel_package() {
 }
 
 binutils-doc_package() {
-	archs=noarch
 	short_desc+=" - info files"
 	pkg_install() {
 		vmove usr/share/info

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

* Re: binutils: fix bootstrap build; drop noarch
  2020-12-24 10:19 [PR PATCH] binutils: fix bootstrap build; drop noarch pullmoll
                   ` (2 preceding siblings ...)
  2020-12-24 14:08 ` pullmoll
@ 2020-12-24 21:41 ` pullmoll
  2020-12-26  2:44 ` [PR PATCH] [Merged]: " q66
  4 siblings, 0 replies; 6+ messages in thread
From: pullmoll @ 2020-12-24 21:41 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/27397#issuecomment-751083617

Comment:
I think this needs a second review because this is a core package.

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

* Re: [PR PATCH] [Merged]: binutils: fix bootstrap build; drop noarch
  2020-12-24 10:19 [PR PATCH] binutils: fix bootstrap build; drop noarch pullmoll
                   ` (3 preceding siblings ...)
  2020-12-24 21:41 ` pullmoll
@ 2020-12-26  2:44 ` q66
  4 siblings, 0 replies; 6+ messages in thread
From: q66 @ 2020-12-26  2:44 UTC (permalink / raw)
  To: ml

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

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

binutils: fix bootstrap build; drop noarch
https://github.com/void-linux/void-packages/pull/27397

Description:
Prevent configure from finding host installed libdebuginfod.
Enable debuginfod if the chroot is ready.

Closes: #26502
Closes: #27190



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

end of thread, other threads:[~2020-12-26  2:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24 10:19 [PR PATCH] binutils: fix bootstrap build; drop noarch pullmoll
2020-12-24 14:02 ` [PR PATCH] [Updated] " pullmoll
2020-12-24 14:05 ` pullmoll
2020-12-24 14:08 ` pullmoll
2020-12-24 21:41 ` pullmoll
2020-12-26  2:44 ` [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).