Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Pahole 1.19
@ 2020-12-10 14:44 abenson
  2020-12-10 14:58 ` [PR REVIEW] " ericonr
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: abenson @ 2020-12-10 14:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages pahole_1.19
https://github.com/void-linux/void-packages/pull/27072

Pahole 1.19


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

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

From 5ab9f9fa8df21e6dd02e3752e4ea04db85a04d08 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Fri, 4 Dec 2020 16:38:14 -0600
Subject: [PATCH 1/2] pahole: update to 1.19.

---
 srcpkgs/pahole/template | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/pahole/template b/srcpkgs/pahole/template
index d254993205a..55ab5b5a960 100644
--- a/srcpkgs/pahole/template
+++ b/srcpkgs/pahole/template
@@ -1,8 +1,8 @@
 # Template file for 'pahole'
 pkgname=pahole
-version=1.18
+version=1.19
 revision=1
-_bpfver=0.1.1
+wrksrc="dwarves-${version}"
 build_style=cmake
 configure_args="-D__LIB=lib"
 makedepends="elfutils-devel zlib-devel"
@@ -10,20 +10,13 @@ short_desc="Various DWARF utils"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="GPL-2.0-only"
 homepage="http://git.kernel.org/?p=devel/pahole/pahole.git;a=summary"
-distfiles="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-${version}.tar.gz
- https://github.com/libbpf/libbpf/archive/v${_bpfver}.tar.gz"
-checksum="bb436a4b5e856c8963b1ea52260da064dc985f6e3832b29adec094422365a5a7
- 3fd271cf65b39bf38432b29d9dd2f694600c97dab0928baee419a65b5db4e598"
+distfiles="https://fedorapeople.org/~acme/dwarves/dwarves-${version}.tar.xz"
+checksum=9af54663f2bab10d1ea85f97801c8fa045ff62e9b39d4ec6a8541354cb7b6ef3
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" musl-obstack-devel argp-standalone"
 esac
 
-pre_patch() {
-	rm -rf lib/bpf
-	mv "../libbpf-${_bpfver}/" "lib/bpf"
-}
-
 pre_configure() {
 	case $XBPS_TARGET_MACHINE in
 		*-musl) sed -i CMakeLists.txt -e "/^target_link_libraries/s/)/ obstack argp)/"

From e16caf472e65e4d5efb9fba3cdcc4d2a99d8d83b Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Fri, 4 Dec 2020 16:45:13 -0600
Subject: [PATCH 2/2] linux5.9: remove pahole aarch64 fix

---
 srcpkgs/linux5.9/template | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/srcpkgs/linux5.9/template b/srcpkgs/linux5.9/template
index 4c3b1243395..40b2d1fe6fa 100644
--- a/srcpkgs/linux5.9/template
+++ b/srcpkgs/linux5.9/template
@@ -1,7 +1,7 @@
 # Template file for 'linux5.9'
 pkgname=linux5.9
 version=5.9.13
-revision=1
+revision=2
 wrksrc="linux-${version}"
 short_desc="Linux kernel and modules (${version%.*} series)"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -73,12 +73,6 @@ do_configure() {
 		mips*) arch=mips;;
 	esac
 
-	case "$XBPS_TARGET_MACHINE" in
-		aarch64*) # XXX: fix segfault in pahole 1.18; should be fixed in new releases
-			vsed -i scripts/link-vmlinux.sh -e's;${PAHOLE} -J;& --btf_encode_force;'
-			;;
-	esac
-
 	if [ -f ${FILESDIR}/${subarch:-$arch}-dotconfig-custom ]; then
 		msg_normal "Detected a custom .config file for your arch, using it.\n"
 		cp -f ${FILESDIR}/${subarch:-$arch}-dotconfig-custom .config

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

* Re: [PR REVIEW] Pahole 1.19
  2020-12-10 14:44 [PR PATCH] Pahole 1.19 abenson
@ 2020-12-10 14:58 ` ericonr
  2020-12-10 15:10 ` [PR PATCH] [Updated] " abenson
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2020-12-10 14:58 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27072#discussion_r540236288

Comment:
I don't think it needs a rebuild, does it? The files shouldn't change much

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

* Re: [PR PATCH] [Updated] Pahole 1.19
  2020-12-10 14:44 [PR PATCH] Pahole 1.19 abenson
  2020-12-10 14:58 ` [PR REVIEW] " ericonr
@ 2020-12-10 15:10 ` abenson
  2020-12-10 15:11 ` abenson
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: abenson @ 2020-12-10 15:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages pahole_1.19
https://github.com/void-linux/void-packages/pull/27072

Pahole 1.19


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

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

From bac37a8aa5a52b7b33726c1ea0991a7a7810d7cc Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Fri, 4 Dec 2020 16:38:14 -0600
Subject: [PATCH] pahole: update to 1.19.

---
 srcpkgs/pahole/template | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/pahole/template b/srcpkgs/pahole/template
index d254993205a..55ab5b5a960 100644
--- a/srcpkgs/pahole/template
+++ b/srcpkgs/pahole/template
@@ -1,8 +1,8 @@
 # Template file for 'pahole'
 pkgname=pahole
-version=1.18
+version=1.19
 revision=1
-_bpfver=0.1.1
+wrksrc="dwarves-${version}"
 build_style=cmake
 configure_args="-D__LIB=lib"
 makedepends="elfutils-devel zlib-devel"
@@ -10,20 +10,13 @@ short_desc="Various DWARF utils"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="GPL-2.0-only"
 homepage="http://git.kernel.org/?p=devel/pahole/pahole.git;a=summary"
-distfiles="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-${version}.tar.gz
- https://github.com/libbpf/libbpf/archive/v${_bpfver}.tar.gz"
-checksum="bb436a4b5e856c8963b1ea52260da064dc985f6e3832b29adec094422365a5a7
- 3fd271cf65b39bf38432b29d9dd2f694600c97dab0928baee419a65b5db4e598"
+distfiles="https://fedorapeople.org/~acme/dwarves/dwarves-${version}.tar.xz"
+checksum=9af54663f2bab10d1ea85f97801c8fa045ff62e9b39d4ec6a8541354cb7b6ef3
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" musl-obstack-devel argp-standalone"
 esac
 
-pre_patch() {
-	rm -rf lib/bpf
-	mv "../libbpf-${_bpfver}/" "lib/bpf"
-}
-
 pre_configure() {
 	case $XBPS_TARGET_MACHINE in
 		*-musl) sed -i CMakeLists.txt -e "/^target_link_libraries/s/)/ obstack argp)/"

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

* Re: [PR PATCH] [Updated] Pahole 1.19
  2020-12-10 14:44 [PR PATCH] Pahole 1.19 abenson
  2020-12-10 14:58 ` [PR REVIEW] " ericonr
  2020-12-10 15:10 ` [PR PATCH] [Updated] " abenson
@ 2020-12-10 15:11 ` abenson
  2020-12-10 15:11 ` [PR REVIEW] " abenson
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: abenson @ 2020-12-10 15:11 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages pahole_1.19
https://github.com/void-linux/void-packages/pull/27072

Pahole 1.19


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

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

From bac37a8aa5a52b7b33726c1ea0991a7a7810d7cc Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Fri, 4 Dec 2020 16:38:14 -0600
Subject: [PATCH] pahole: update to 1.19.

---
 srcpkgs/pahole/template | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/pahole/template b/srcpkgs/pahole/template
index d254993205a..55ab5b5a960 100644
--- a/srcpkgs/pahole/template
+++ b/srcpkgs/pahole/template
@@ -1,8 +1,8 @@
 # Template file for 'pahole'
 pkgname=pahole
-version=1.18
+version=1.19
 revision=1
-_bpfver=0.1.1
+wrksrc="dwarves-${version}"
 build_style=cmake
 configure_args="-D__LIB=lib"
 makedepends="elfutils-devel zlib-devel"
@@ -10,20 +10,13 @@ short_desc="Various DWARF utils"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="GPL-2.0-only"
 homepage="http://git.kernel.org/?p=devel/pahole/pahole.git;a=summary"
-distfiles="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-${version}.tar.gz
- https://github.com/libbpf/libbpf/archive/v${_bpfver}.tar.gz"
-checksum="bb436a4b5e856c8963b1ea52260da064dc985f6e3832b29adec094422365a5a7
- 3fd271cf65b39bf38432b29d9dd2f694600c97dab0928baee419a65b5db4e598"
+distfiles="https://fedorapeople.org/~acme/dwarves/dwarves-${version}.tar.xz"
+checksum=9af54663f2bab10d1ea85f97801c8fa045ff62e9b39d4ec6a8541354cb7b6ef3
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" musl-obstack-devel argp-standalone"
 esac
 
-pre_patch() {
-	rm -rf lib/bpf
-	mv "../libbpf-${_bpfver}/" "lib/bpf"
-}
-
 pre_configure() {
 	case $XBPS_TARGET_MACHINE in
 		*-musl) sed -i CMakeLists.txt -e "/^target_link_libraries/s/)/ obstack argp)/"

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

* Re: [PR REVIEW] Pahole 1.19
  2020-12-10 14:44 [PR PATCH] Pahole 1.19 abenson
                   ` (2 preceding siblings ...)
  2020-12-10 15:11 ` abenson
@ 2020-12-10 15:11 ` abenson
  2020-12-18  0:10 ` [PR PATCH] [Updated] " abenson
  2020-12-18  6:02 ` [PR PATCH] [Merged]: " abenson
  5 siblings, 0 replies; 7+ messages in thread
From: abenson @ 2020-12-10 15:11 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/27072#discussion_r540246886

Comment:
I guess in any case it'll get rebuilt soon enough anyway


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

* Re: [PR PATCH] [Updated] Pahole 1.19
  2020-12-10 14:44 [PR PATCH] Pahole 1.19 abenson
                   ` (3 preceding siblings ...)
  2020-12-10 15:11 ` [PR REVIEW] " abenson
@ 2020-12-18  0:10 ` abenson
  2020-12-18  6:02 ` [PR PATCH] [Merged]: " abenson
  5 siblings, 0 replies; 7+ messages in thread
From: abenson @ 2020-12-18  0:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages pahole_1.19
https://github.com/void-linux/void-packages/pull/27072

Pahole 1.19


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

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

From e1cb5b802c13eea0ca702976a83afa75fac99aca Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Fri, 4 Dec 2020 16:38:14 -0600
Subject: [PATCH 1/2] pahole: update to 1.19.

---
 srcpkgs/pahole/template | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/pahole/template b/srcpkgs/pahole/template
index d254993205a..55ab5b5a960 100644
--- a/srcpkgs/pahole/template
+++ b/srcpkgs/pahole/template
@@ -1,8 +1,8 @@
 # Template file for 'pahole'
 pkgname=pahole
-version=1.18
+version=1.19
 revision=1
-_bpfver=0.1.1
+wrksrc="dwarves-${version}"
 build_style=cmake
 configure_args="-D__LIB=lib"
 makedepends="elfutils-devel zlib-devel"
@@ -10,20 +10,13 @@ short_desc="Various DWARF utils"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="GPL-2.0-only"
 homepage="http://git.kernel.org/?p=devel/pahole/pahole.git;a=summary"
-distfiles="https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-${version}.tar.gz
- https://github.com/libbpf/libbpf/archive/v${_bpfver}.tar.gz"
-checksum="bb436a4b5e856c8963b1ea52260da064dc985f6e3832b29adec094422365a5a7
- 3fd271cf65b39bf38432b29d9dd2f694600c97dab0928baee419a65b5db4e598"
+distfiles="https://fedorapeople.org/~acme/dwarves/dwarves-${version}.tar.xz"
+checksum=9af54663f2bab10d1ea85f97801c8fa045ff62e9b39d4ec6a8541354cb7b6ef3
 
 case $XBPS_TARGET_MACHINE in
 	*-musl) makedepends+=" musl-obstack-devel argp-standalone"
 esac
 
-pre_patch() {
-	rm -rf lib/bpf
-	mv "../libbpf-${_bpfver}/" "lib/bpf"
-}
-
 pre_configure() {
 	case $XBPS_TARGET_MACHINE in
 		*-musl) sed -i CMakeLists.txt -e "/^target_link_libraries/s/)/ obstack argp)/"

From c56b72cc3875a417dc3669cc40a726698b2d3d63 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Fri, 4 Dec 2020 16:45:13 -0600
Subject: [PATCH 2/2] linux5.9: remove pahole aarch64 fix

---
 srcpkgs/linux5.9/template | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/srcpkgs/linux5.9/template b/srcpkgs/linux5.9/template
index 6904c69d4be..3b6d3bfddd5 100644
--- a/srcpkgs/linux5.9/template
+++ b/srcpkgs/linux5.9/template
@@ -73,12 +73,6 @@ do_configure() {
 		mips*) arch=mips;;
 	esac
 
-	case "$XBPS_TARGET_MACHINE" in
-		aarch64*) # XXX: fix segfault in pahole 1.18; should be fixed in new releases
-			vsed -i scripts/link-vmlinux.sh -e's;${PAHOLE} -J;& --btf_encode_force;'
-			;;
-	esac
-
 	if [ -f ${FILESDIR}/${subarch:-$arch}-dotconfig-custom ]; then
 		msg_normal "Detected a custom .config file for your arch, using it.\n"
 		cp -f ${FILESDIR}/${subarch:-$arch}-dotconfig-custom .config

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

* Re: [PR PATCH] [Merged]: Pahole 1.19
  2020-12-10 14:44 [PR PATCH] Pahole 1.19 abenson
                   ` (4 preceding siblings ...)
  2020-12-18  0:10 ` [PR PATCH] [Updated] " abenson
@ 2020-12-18  6:02 ` abenson
  5 siblings, 0 replies; 7+ messages in thread
From: abenson @ 2020-12-18  6:02 UTC (permalink / raw)
  To: ml

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

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

Pahole 1.19
https://github.com/void-linux/void-packages/pull/27072

Description:


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

end of thread, other threads:[~2020-12-18  6:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 14:44 [PR PATCH] Pahole 1.19 abenson
2020-12-10 14:58 ` [PR REVIEW] " ericonr
2020-12-10 15:10 ` [PR PATCH] [Updated] " abenson
2020-12-10 15:11 ` abenson
2020-12-10 15:11 ` [PR REVIEW] " abenson
2020-12-18  0:10 ` [PR PATCH] [Updated] " abenson
2020-12-18  6:02 ` [PR PATCH] [Merged]: " abenson

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