Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id D1DC5781E20 for <~alpine/apk-tools@lists.alpinelinux.org>; Fri, 21 Feb 2020 01:14:35 +0000 (UTC) Received: by mail-pf1-f171.google.com with SMTP id i6so330564pfc.1 for <~alpine/apk-tools@lists.alpinelinux.org>; Thu, 20 Feb 2020 17:14:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chave-us.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6EoikL1YJSL+GQIhT+pGJxLhbWJlR2gEXCjm1H4z0vg=; b=0Zbk+YN/z9rP6IGleszG/uK0K8HRieW0605mIhYJ1ozptyvTiIKpCAS8rTh31Fod1o RNtCSYydKv/bSKgnwfjpzceItVGRnydMRHZnlpuHsmlBnTF8N3JpuweOjMs287dGYL6Z wHANXDRXpI/kdLvl6HkWI8+sXKwJ4kd73DB4DXZPeVoe8deYpdld39EevmyQSVUGfMiY 1ZcBm/XPdXfRS4xE/McCaXsTrdK/rHM4LFQvEhnhOAUddZyRrpmsBFF+4pkEQbeQMIrG 7pNmFJ1fnisLdr/Ky0enTUl55B6lgVEmipg9bG6MKDCoka5dhAz6cyculXJgKGgNpNoV 4ZOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6EoikL1YJSL+GQIhT+pGJxLhbWJlR2gEXCjm1H4z0vg=; b=hBtlMJCYwlKXBZ1SKeixPiBkno4711028jx+otkL9JhpAlC8u+6odyKZQHFKO8JXY5 bc1J+iVuABDBfyDXA5NBXbzuP5i0g9vuALHSYC9O6aaNcxECbnhn1IVzJodNfBRUzNUH D4+D3DY5p6IWRHuFJpaHpYqf7koJlA313L/fTrhNdWbDyBcfGmrb7onl1GrhmcHWbPdZ 52epeZU7GoIsDUIgPrula3ZC5pAxpFcbFRsoQfTKBQVeu7IIWQUzRT2++fNkSbqShL8m xdsehm4Sth1M0GqWIIwqXSNDZaUK5ht/L0CZ+1LMJfe5EM/lkkHh8+KdpMN0IlIUvc9s ahhg== X-Gm-Message-State: APjAAAUtzTPMwouUnmezUWfEV28U2RgL2J23dDuD/PlpF1FCeY4gXJ6y VCI3LEwqtl3YQDxYnHkgUtxEGPEgYvROzdL8n7Efiw== X-Google-Smtp-Source: APXvYqzkU+CzHrFbkPpmdIxkcG04jQwa3K2KJSiPcHCsbeCNv2tgC8NeHOv0aNcCYnAQd2LIONGenIcOo+X+TtcfLEQ= X-Received: by 2002:a63:4e63:: with SMTP id o35mr34340176pgl.279.1582247674147; Thu, 20 Feb 2020 17:14:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Carl Chave Date: Thu, 20 Feb 2020 20:14:23 -0500 Message-ID: Subject: Re: APK Package Name Issue on armel port To: ariadne@dereferenced.org Cc: Timo Teras , ~alpine/apk-tools@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" > Sorry for not being more clear. > > You need to add apk-tools-dbg subpackage, rebuild that way, and then crash all in gdb after making sure the debug symbols are installed. > > Ariadne Is this any better? localhost:~# gdb apk GNU gdb (GDB) 8.3.1 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "armv5-alpine-linux-musleabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from apk... Reading symbols from /usr/lib/debug//sbin/apk.debug... (gdb) run apk list Starting program: /sbin/apk apk list Program received signal SIGBUS, Bus error. 0x0040b7fc in csum_hash (csum=...) at src/database.c:130 130 src/database.c: No such file or directory. (gdb) backtrace #0 0x0040b7fc in csum_hash (csum=...) at src/database.c:130 #1 0x0040ddd4 in apk_hash_from_key (h=0x43e0e4 , key=...) at src/apk_hash.h:58 #2 apk_hash_get (h=h@entry=0x43e0e4 , key=...) at src/apk_hash.h:70 #3 0x0040f440 in apk_db_pkg_add (db=db@entry=0x43daa4 , pkg=pkg@entry=0x48f1b0) at src/database.c:528 #4 0x004105b0 in apk_db_index_read (db=db@entry=0x43daa4 , bs=bs@entry=0x48f180, repo=repo@entry=-1) at src/database.c:792 #5 0x00411a68 in apk_db_read_state (db=db@entry=0x43daa4 , flags=1) at src/database.c:1165 #6 0x0041215c in apk_db_open (db=0x43daa4 , dbopts=0x7efffc9c) at src/database.c:1668 #7 0x00404590 in main (argc=2, argv=0x7efffe28) at src/apk.c:625 (gdb)