Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id E29E2781F1F for <~alpine/apk-tools@lists.alpinelinux.org>; Fri, 21 Feb 2020 07:36:37 +0000 (UTC) Received: by mail-lf1-f54.google.com with SMTP id r14so757343lfm.5 for <~alpine/apk-tools@lists.alpinelinux.org>; Thu, 20 Feb 2020 23:36:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pxXQ75qXx5jtg77IGU5NlIQZHOkoeECsMpMS+48UH2E=; b=jFhDtA7z7B73HyklYQQJ3jNcC/SdosHxOX2HH3etw2dKfeE7+fVNjWyoGlGYu1g6TL /59jZFIFvf8hTUx0ZqrAQKg0+/GXnQrlpC6Vry6ktTocfbx4eCrAOkX+oLYiiRlxdEMw vUu4HE0lz7SctTGwFpv+4g+tgstrpIG3g5jjV5OMDjHMtwQp+xAEYVo+ZbcutPmBl6mW EOMGFVpKdfDhxbESQfxByXQjElg8nkn7Qt2RqJ8D0Bh7zw/lFOW/quUjkC6VGdnPbiKG /Vi/QPx21UzB2K+svVLE5ve+10wGyFMuSwBjfhPfY+kgJCv4CEqr/KHoelh3IimJQ4r6 u2mw== X-Gm-Message-State: APjAAAUjYTRz6RI+TLhxFOXMl4WME6/rRe7ho2wH68Cl6nY2/tfr6oTt jNVeyKN1jX6zHl7SIicwFs4= X-Google-Smtp-Source: APXvYqxDFnt0BL+OiwqK/sEeaPmo3fu80YfnFx340NnCLOftHpadHQxY50BhRxSTLZMYs8/u95VPGQ== X-Received: by 2002:ac2:4477:: with SMTP id y23mr4549526lfl.135.1582270597039; Thu, 20 Feb 2020 23:36:37 -0800 (PST) Received: from vostro.wlan (dtc5qkyyyyyyyyyyyyx9y-3.rev.dnainternet.fi. [2001:14ba:80b2:d400::4fa]) by smtp.gmail.com with ESMTPSA id 19sm1313594lft.81.2020.02.20.23.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Feb 2020 23:36:36 -0800 (PST) Date: Fri, 21 Feb 2020 09:36:33 +0200 From: Timo Teras To: Carl Chave Cc: ariadne@dereferenced.org, ~alpine/apk-tools@lists.alpinelinux.org Subject: Re: APK Package Name Issue on armel port Message-ID: <20200221093633.1095eb97@vostro.wlan> In-Reply-To: References: X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 20 Feb 2020 20:14:23 -0500 Carl Chave wrote: > > 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. > > Is this any better? > > localhost:~# gdb apk >[snip]... > > 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) This is perfect! Should be fixed now in: https://gitlab.alpinelinux.org/alpine/apk-tools/commit/c054fbc11e9beca0d45285c3e1f448c81416c5ce Hopefully this was the last one (I did try to grep for similar things a bit)... Thanks! Timo