Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Helmut Grohne
Tue, 24 Nov 2026 21:00
Bug#1155167: libtraceevent FTCBFS for armhf: hard codes the build architecture nm
Author: Helmut Grohne
Date: Tue, 24 Nov 2026 21:00
Date: Tue, 24 Nov 2026 21:00
35 lines
2908 bytes
2908 bytes
--imFblXDUTpVGEccx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: libtraceevent
Version: 1:1.9.0-2
Tags: patch upstream
User: debian-arm@lists.debian.org
Usertags: armhf
User: debian-cross@lists.debian.org
Usertags: ftcbfs
libtraceevent fails to cross build from source for armhf. I'm not sure
why it only appears to affect arm as the root cause resides in the build
architecture nm being used when the host one should have been. I'm
attaching a patch for your convenience.
Helmut
--imFblXDUTpVGEccx
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="cross.patch"
--- libtraceevent-1.9.0.orig/scripts/utils.mk
+++ libtraceevent-1.9.0/scripts/utils.mk
@@ -183,5 +183,5 @@
# Make all global functions that do not start with "tep_" have a unique name.
redefine_local = \
- $(shell nm $(2) 2>/dev/null | grep '[0-9a-f] t ' > .tmp.func-list; for f in a `nm $(1) 2>/dev/null | grep ' t ' | cut -d' ' -f3 | sort -u`; do \
+ $(shell $(NM) $(2) 2>/dev/null | grep '[0-9a-f] t ' > .tmp.func-list; for f in a `$(NM) $(1) 2>/dev/null | grep ' t ' | cut -d' ' -f3 | sort -u`; do \
if [ "$${f#tep_}" = "$$f" ]; then if grep -q $$f .tmp.func-list; then echo --redefine-sym $$f=_tep_local_$$f; fi; fi; done)
--imFblXDUTpVGEccx--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads