[openwrt/openwrt] gdb: Fix description for apk, remove backtick

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 10 13:25:35 PST 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/adb921c34ff220951a699665bb35dc0e3538b3b2

commit adb921c34ff220951a699665bb35dc0e3538b3b2
Author: Hannu Nyman <hannu.nyman at iki.fi>
AuthorDate: Sun Nov 10 17:16:51 2024 +0200

    gdb: Fix description for apk, remove backtick
    
    Remove backtick from gdb description text, as that seems to
    be recognized as a shell action by compilation with apk,
    causing error.
    
    Example from test buildbot:
     rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_generic_musl/gdb-15.2/ipkg-aarch64_generic/gdb/usr/bin/gdb: executable
     bash: -c: line 1: unexpected EOF while looking for matching ``'
     bash: -c: line 2: syntax error: unexpected end of file
     make[3]: *** [Makefile:123: /builder/shared-workdir/build/sdk/bin/packages/aarch64_generic/base/gdb-15.2-r1.apk] Error 2
    
    Local compilation:
     rstrip.sh: /OpenWrt/aarch64/build_dir/target-aarch64_cortex-a53_musl/gdb-15.2/ipkg-aarch64_cortex-a53/gdb/usr/bin/gdb: executable
     bash: -c: line 1: unexpected EOF while looking for matching ``'
     make[2]: *** [Makefile:123: /OpenWrt/aarch64/bin/packages/aarch64_cortex-a53/base/gdb-15.2-r1.apk] Error 2
    
    Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
    Link: https://github.com/openwrt/openwrt/pull/16908
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/devel/gdb/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile
index 366746be87..7bdc6c83cb 100644
--- a/package/devel/gdb/Makefile
+++ b/package/devel/gdb/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gdb
 PKG_VERSION:=15.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/gdb
@@ -37,7 +37,7 @@ $(call Package/gdb/Default)
 endef
 
 define Package/gdb/description
-GDB, the GNU Project debugger, allows you to see what is going on `inside'
+GDB, the GNU Project debugger, allows you to see what is going on 'inside'
 another program while it executes -- or what another program was doing at the
 moment it crashed.
 endef




More information about the lede-commits mailing list