Mail archive
alpine-aports

Re: [alpine-aports] [PATCH 9/9] community/go: add s390x support

From: Tuan M. Hoang <tmhoang_at_flatglobe.org>
Date: Tue, 28 Feb 2017 13:14:15 -0500

On 02/28/2017 01:31 AM, Timo Teras wrote:
> On Wed, 22 Feb 2017 17:07:18 -0500
> "Tuan M. Hoang" <tmhoang_at_flatglobe.org> wrote:
>
>> go/s390x is not supported by go1.4 thus cannot use
>> community/go-bootstrap. On x86_64, cross-build a go/s390x bootstrap,
>> then use that bootstrap toolchains to natively build the
>> go-linux-s390x-bootstrap.on.s390x.tbz toolchains.
>
> Go supports now cross-building native compiler, and
> scripts/bootstrap.sh will produce an initial compiler. I'm marking this
> issue rejected as this is no longer needed.
>
> Similarly the external aarch64 bootstrap go was deleted, and the
> bootstrap script can produce it.
>
> Thanks.
>

It's smooth now. There is only one thing is, when building package not
from main like community/go, /usr/bin/abuild cannot find dependencies
from other repo except community itself (the dependency is
main/build-base in this case). Temporarily I just do this to make the
build successful:

diff --git a/abuild b/abuild
index 47a800d..658ce87 100755
--- a/abuild
+++ b/abuild
_at_@ -2088,7 +2088,7 @@ deps() {

        local _quiet="$1"
        [ -z "$_quiet" ] && msg "Installing for build:$builddeps"
- $SUDO_APK add $_quiet $apk_opt_wait --repository "$REPODEST/$repo" \
+ $SUDO_APK add $_quiet $apk_opt_wait --repository
"$REPODEST/$repo" --repository "$REPODEST/main" \
                --virtual .makedepends-$pkgname \
                $builddeps \
                || return 1
-- 
2.11.1
I think I can make a proper fix than this.
Thank you,
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Feb 28 2017 - 13:14:15 GMT