Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id D1FDD7816F4 for <~alpine/apk-tools@lists.alpinelinux.org>; Sun, 16 Feb 2020 19:01:15 +0000 (UTC) Received: by mail-pf1-f182.google.com with SMTP id 185so7682071pfv.3 for <~alpine/apk-tools@lists.alpinelinux.org>; Sun, 16 Feb 2020 11:01:15 -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=YdwmkZB+SqMyrD/hmuDH1MkgFucQ7yIQeBJE/L5is8s=; b=F77hJw9c4v3kX3iGCSSGD99RFsDYPguaUGeDVUpi5g19JhmY1jPwGuOQDiDPpkAt9x M0mAx6LEhBUKQWjV8ICyPDr7YgUAoI/Hq90FPX7u9x/NaDiQ0cPDJ7ztPsBdRXnJ4qZi WaCfhtac4bvcPIC6rxGTkI4P96NzN2aqRabJPXNYeJzHawyVriVr9Rb62qSc5M++FoJs NTZpzVyQLYmtVA9gIhPgTOFu35gvzmaB5heJ0PDeLSLdNikt8xJW7vX6v74t29Jo4IfO 0Vr3uhBi1LtmKq42PZj947t9f8rqVsXXMQdh5mLB5/786f3pOScLKH/5HcVaWT5SX8Nm p3lg== 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=YdwmkZB+SqMyrD/hmuDH1MkgFucQ7yIQeBJE/L5is8s=; b=l8cJIbCyEVu/sgA4bX6IxaxbpRVt1Kil0EiBUHtxBquZm5fBd1GQjSlxevcnnT3Jaf pRfNO8ZMtO9rf+9TNDoFbLv4MkduiBdICmthpa5SYSpcXWvd0S4kfYqvnKi+F2pjWmX+ ElDXHbaM2u4bCjC8vAmtGhcB6nDTX+FX20cfbgjgjTWaKOSDlm5bsZXXYKSwb19XSt19 u3bFAg+H/wYeg5nKp+qUXah1K3AMGVWmy3QIf9j3E/2N4xz4ux4YEQTOmDy/AMYkQZO2 05rYDvIPhaFRzmUBcV4MbJsBs1ixCdc4lKhb0x8f1RjkhtwrnfKgVbSHRojauXqUw5Gd gS1g== X-Gm-Message-State: APjAAAUOTLq6oL78yL5FSRrzfHlxc9Q2gIxOy+TGHFLKID5i9+tW06AX nsT8MihfQlpJgKte7XERnM1Yd/qcxBYje9ZLiLDG+g== X-Google-Smtp-Source: APXvYqyqhuR5fwwxxU2WIEp/Iwl9JXLi9eD3UWM3EDjkX1p1PQSvEIcIa0pevUu6iDfkRi+/s62MmdjjPlz8ttZWu1g= X-Received: by 2002:a63:9143:: with SMTP id l64mr8697234pge.435.1581879674226; Sun, 16 Feb 2020 11:01:14 -0800 (PST) MIME-Version: 1.0 References: <20200214105215.6873e402@vostro.wlan> In-Reply-To: <20200214105215.6873e402@vostro.wlan> From: Carl Chave Date: Sun, 16 Feb 2020 14:01:03 -0500 Message-ID: Subject: Re: APK Package Name Issue on armel port To: Timo Teras Cc: ~alpine/apk-tools@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Timo, I'll try to keep this short but I'm out of ideas and hoping you might see where I'm going wrong. -- used aports/abuild and bootstrap.sh on alpine x86_64 to cross compile an armel base package set, all but kernel and initramfs -- compiled kernel separately with appended .dtb for the armel board -- modified the genrootfs.sh script to build root file system image with just alpine-base -- added kernel modules to root file system -- boot armel board from included uboot with root= kernel argument (no initramfs) All of the above seems to work just fine. I get no errors during boot, I can login, network is good etc. The only issue so far is with apk always returning unsatisfiable constraints missing (alpine-base) and alpine-base is the only entry in world. My public key is in /etc/apk/keys and I don't see anything that would indicate trust is an issue. I rebuilt the whole repo again last night and the problem remains. So I decided to take the same armel repo and modified the alpine-chroot script to use it to build an armel chroot on my Fedora machine with QEMU static. This worked fine and apk worked as expected in the chroot! I diff'd the /lib/apk/db/installed file between the armel board load and the chroot and they were identical. I even moved the file between machines just to see and either file works in the chroot but neither works on the armel board load. apk still complains of unsatisfiable constraints. Next I tar'd up the chroot on the fedora machine, wiped the armel board / partition and restored it with the chroot image. Did a few changes in etc for securetty, inittab, fstab, shadow and symlinks in /etc/runlevels but that's it. Rebooted, everything came up fine but apk remains broken the same as it was. Can you think of anything that I'm doing wrong that would break or confuse apk? A kernel config option? Lack of initramfs? Tar option? Timestamps? Locale? Timezone? fstab mount option? I ran strace at one point but didn't see anything obviously different between a working system and the non-working system. I couldn't get ltrace to compile. I just don't know how to proceed from here. Thanks, Carl