Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 84C67782C96 for <~alpine/devel@lists.alpinelinux.org>; Mon, 1 Jun 2020 13:43:49 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dereferenced.org; s=default; t=1591019029; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fe0hVSfIXPhh4ePq8YmUgDO60RjpUp140m1EcLq6yX8=; b=bO8OA18VG1XBn2nYu3+iSgJLiszl8OpWdKyXeRXz25KPGAUE3ajSOMHOq3rV8Lc+qGM+/z eQPvx6ZycWXYHuKb3XDVA94L2iyk63qVX/R4VzbytX7cL8Z6teArvlzPS22yUElhBn6uF7 RG+KmPjJ8zCQ3Fc2B/5kBtCWOKI6IeM= From: Ariadne Conill To: ~alpine/devel@lists.alpinelinux.org Cc: Daniel Corbe Subject: Re: Cross-compiler bootstrap.sh no longer works Date: Mon, 01 Jun 2020 07:43:44 -0600 Message-ID: <2058518.hgyNDFmY9b@localhost> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Score: 0.90 Hello, On Monday, June 1, 2020 1:45:24 AM MDT Daniel Corbe wrote: > I'm trying to cross-compile some packages for MIPS 64 and when I go to > setup bootstrap.sh I get the following error: > > foo:~/aports$ scripts/bootstrap.sh mips64 > > >>> bootstrap-mips64: Building cross-compiler > >>> binutils-mips64: Building main/binutils-mips64 2.34-r0 (using abuild > >>> 3.6.0-r0) started Mon, 01 Jun 2020 03:40:05 -0400 binutils-mips64: > >>> Checking sanity of /home/dcorbe/aports/main/binutils/APKBUILD... > >>> binutils-mips64: Analyzing dependencies... > >>> binutils-mips64: Installing for build: bison flex texinfo zlib-dev > > WARNING: Ignoring /home/dcorbe/packages//main/x86_64/APKINDEX.tar.gz: > No such file or directory > (1/10) Installing m4 (1.4.18-r1) > (2/10) Installing bison (3.6.2-r0) > (3/10) Installing flex (2.6.4-r2) > (4/10) Installing perl (5.30.2-r0) > (5/10) Installing texinfo (6.7-r0) > (6/10) Installing zlib-dev (1.2.11-r3) > (7/10) Installing .makedepends-binutils-mips64 (20200601.074005) > (8/10) Installing perl-error (0.17029-r0) > (9/10) Installing perl-git (2.26.2-r0) > (10/10) Installing git-perl (2.26.2-r0) > Executing busybox-1.31.1-r16.trigger > OK: 1110 MiB in 246 packages > > >>> binutils-mips64: Installing for host: > WARNING: Ignoring /home/dcorbe/packages//main/mips64/APKINDEX.tar.gz: > No such file or directory > (1/1) Installing .hostdepends-binutils-mips64 (20200601.074025) > OK: 0 MiB in 1 packages > > >>> binutils-mips64: Cleaning up srcdir > >>> binutils-mips64: Cleaning up pkgdir > >>> binutils-mips64: Fetching > >>> https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2 binutils-mips64: > >>> Fetching https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2 > >>> binutils-mips64: Checking sha512sums... > > binutils-2.34.tar.bz2: OK > binutils-ld-fix-static-linking.patch: OK > gold-mips.patch: OK > ld-bfd-mips.patch: OK > > >>> binutils-mips64: Unpacking /var/cache/distfiles/binutils-2.34.tar.bz2... > >>> ERROR: binutils-mips64: Is $builddir set correctly? This is because somebody modernized the bootstrap APKBUILDs to use automatically generated $builddir. We will need to either fix the automatic generation of $builddir in bootstrap case or restore setting $builddir on these APKBUILDs. I'm not sure which way we should go. Ariadne