X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.renta.net (mail.renta.net [203.25.238.7]) by lists.alpinelinux.org (Postfix) with ESMTP id 02913618EB4 for ; Mon, 3 Aug 2009 10:58:37 +0000 (UTC) Received: from [192.168.1.4] (60-240-81-28.static.tpgi.com.au [::ffff:60.240.81.28]) (AUTH: CRAM-MD5 markc@renta.net) by mail.renta.net with esmtp; Mon, 03 Aug 2009 20:58:35 +1000 id 0002A676.4A76C2DB.00007745 Message-ID: <4A76C2DB.6070300@renta.net> Date: Mon, 03 Aug 2009 20:58:35 +1000 From: Mark Constable User-Agent: Thunderbird 2.0.0.22 (X11/20090719) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Attempting x86_64 build References: <4A73EA4D.7030204@renta.net> <1249119848.19561.1282.camel@localhost.localdomain> <4A743B8E.4090309@renta.net> <4A745D80.6090005@iki.fi> <4A74B26C.9060708@renta.net> <4A7544F9.8030602@iki.fi> <4A76AD4A.4040700@renta.net> <1249292979.12941.9.camel@localhost.localdomain> In-Reply-To: <1249292979.12941.9.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Natanael Copa wrote: >> To get openssl to compile I resorted to adding the missing ftime() >> ... > probably a uclibc config opt. Best I can determine it's these which are missing from my buildroot busybox and, just now when I check, seem to be also missing from the latest busybox/busyboxconfig... UCLIBC_SUSV3_LEGACY=y UCLIBC_SUSV3_LEGACY_MACROS=y I have not been able to successfully rebuild buildroot after about 4 more attempts (each taking many hours) so I'm stuck with the lame version I managed to build on my first or 2nd attempt (beginners luck). > the toolchain (binutils, gcc, linux-headers, uclibc) > > tools that help you build stuff: > diffutils, make, bison, flex, perl, autoconf, automake, pax-utils (used > by abuild to trace dynamic deps), file, busybox*, apk-tools, alpine-*, > openrc > > Then you should have a working vserver (bootable system without kernel) > that can build stuff for you. Yep, if I can manage to create any packages at all... my lame buildroot busybox is missing getopts so abuild won't work. I tried to manually build busybox but got this... ... AR runit/lib.a LD selinux/built-in.o AR selinux/lib.a LD shell/built-in.o CC shell/ash.o shell/ash.c: In function 'expsort': shell/ash.c:6876: error: invalid storage class for function 'expandmeta' shell/ash.c:6875: warning: no previous prototype for 'expandmeta' ... plus another 100 lines of ugly errors. So I've manually built bash and attempted abuild for the first time on strace (so I can get an idea of some segfaults) and got this (after manually building sudo)... root@br_x86_64 ~/main/strace abuild >>> strace: Checking sanity of ./APKBUILD... >>> strace: Analyzing dependencies... >>> ERROR: strace: Missing dependency build-base. Use -r to autoinstall or -R to build root@br_x86_64 ~/main/strace abuild -R >>> strace: Checking sanity of ./APKBUILD... >>> strace: Analyzing dependencies... WARNING: Failed to open index for /root/.cache/apks WARNING: Failed to open index for /root/.cache/apks >>> strace: Entering /root/main/uclibc >>> uclibc: Checking sanity of ./APKBUILD... >>> uclibc: Analyzing dependencies... /usr/bin/abuild: line 706: 29964 Segmentation fault $SUDO apk add --repo "$apkcache" --virtual .makedepends-$pkgname $deps >>> ERROR: uclibc: apkcache failed /usr/bin/abuild: line 78: 29965 Segmentation fault $SUDO apk del $uninstall_after >>> ERROR: strace: all failed /usr/bin/abuild: line 78: 29966 Segmentation fault $SUDO apk del $uninstall_after So some kind of "get out of jail" option for abuild to let it build a package without caring if there are any dependencies would be helpful for bootstrapping. Something like makepkg -d, --nodeps Skip all dependency checks --markc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---