~alpine/devel

7 2

Build failure while cross-compiling to aarch64 on x86_64. (scripts/bootstrap.sh failure)

Karel Gardas <gardask@gmail.com>
Details
Message ID
<CAMO55fkVh-RMpXgfiynZLGJnOh0A2cXWHxYt-ouQW6z-sUrszA@mail.gmail.com>
DKIM signature
missing
Download raw message
Hello,

a new user here. I've installed a 3.16 x86_64 VM here and have been
attempting to use that to cross-compile some package to aarch64
platform. The problem is that script/bootstrap.sh is not working well
for me.

Platform: up-to-date 3.16 on amd64
aports: updated hour ago
command line: CBUILDROOT=$HOME/sysroot-aarch64 time
./src/aarch64-aports/scripts/bootstrap.sh aarch64

The aports repo is cloned into ./src/aarch64-aports dir here. Also
before this I've generated keys for signing. The issue I see looks
like:

GNATLINK 11.2.1 20220219
Copyright (C) 1995-2021, Free Software Foundation, Inc.
aarch64-alpine-linux-musl-gcc -c -Os -Os -O2 -Wextra -Wall
-fomit-frame-pointer -gnatA -gnatWb -gnatiw
-I/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/../adainclude
-I/usr/lib/gcc/aarch
           64-aports/main/gcc/src/gcc-11.2.1_git20220219/gcc/ada
-gnatws /home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gcc/ada/tools/b~gnatmake.adb
/usr/bin/aarch64-alpine-linux-musl-g++ b~gnatmake.o ../link.o
../targext.o ../../ggc-none.o ./debug.o ./types.o ./alloc.o
./gnatvsn.o ./hostparm.o ./krunch.o ./opt.o ./csets.o ./output.o ./rid
                                                             ./uintp.o
./urealp.o ./widechar.o ./namet.o ./butil.o ./binderr.o ./casing.o
./err_vars.o ./fmap.o ./sdefault.o ./targparm.o ./osint.o ./fname.o
./osint-m.o ./snames.o ./ali.o ./scans.o ./aspe
                                      m_aux.o ./sinput-c.o ./stringt.o
./erroutc.o ./uname.o ./lib.o ./errout.o ./fname-uf.o ./fname-sf.o
./styleg.o ./errutil.o ./make_util.o ./scng.o ./ali-util.o ./switch.o
./switch-m.o ./tempdir
             -target.a ../../libcommon.a ../../../libcpp/libcpp.a
../../../libbacktrace/.libs/libbacktrace.a
../../../libiberty/libiberty.a -no-pie -o ../../gnatmake -L./
-L/usr/lib/gcc/aarch64-alpine-linuine-linux-musl/11.2.1/adalib/ -L./
-L/home/karel/src/aarch64-aports/main/gcc/src/gcc-11.2.1_git20220219/gcc/ada/
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a
-static-libstdc+ome/karel/sysroot-aarch64
-Wl,--as-needed,-O1,--sort-common
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
Relocations in generic E
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a: error
adding symbols: file in wrong
collect2: error: ld returned 1 exit status
aarch64-alpine-linux-musl-gnatlink: error when calling
/usr/bin/aarch64-alpine-linux-musl-g++
make[3]: *** [../gcc-interface/Makefile:483: gnatmake-re] Error 4
make[3]: Leaving directory
'/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gcc/ada/tools'
make[2]: *** [Makefile:216: gnattools-cross] Error 2
make[2]: Leaving directory
'/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gnattools'
make[1]: *** [Makefile:10655: all-gnattools] Error 2
make[1]: Leaving directory
'/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native'
make: *** [Makefile:963: all] Error 2
>>> ERROR: gcc: build failed
>>> gcc: Uninstalling dependencies...
(1/13) Purging .makedepends-gcc (20220811.220959)
(2/13) Purging build-base-aarch64 (0.5-r3)
(3/13) Purging gcc-aarch64 (11.2.1_git20220219-r2)
(4/13) Purging binutils-aarch64 (2.38-r3)
(5/13) Purging g++-aarch64 (11.2.1_git20220219-r2)
(6/13) Purging texinfo (6.8-r0)
(7/13) Purging gawk (5.1.1-r0)
(8/13) Purging zip (3.0-r9)
(9/13) Purging unzip (6.0-r9)
(10/13) Purging gcc-gnat (11.2.1_git20220219-r2)
(11/13) Purging gcc-gnat-aarch64 (11.2.1_git20220219-r2)
(12/13) Purging libgnat-static (11.2.1_git20220219-r2)
(13/13) Purging libgnat (11.2.1_git20220219-r2)
Executing busybox-1.35.0-r17.trigger
OK: 404 MiB in 151 packages
(1/22) Purging .hostdepends-gcc (20220811.221007)
(2/22) Purging fortify-headers (1.1-r1)
(3/22) Purging libc-dev (0.7.2-r3)
(4/22) Purging musl-dev (1.2.3-r0)
(5/22) Purging linux-headers (5.16.7-r1)
(6/22) Purging mpfr-dev (4.1.0-r0)
(7/22) Purging mpc1-dev (1.2.1-r0)
(8/22) Purging mpc1 (1.2.1-r0)
(9/22) Purging isl-dev (0.22-r0)
(10/22) Purging gmp-dev (6.2.1-r2)
(11/22) Purging libgmpxx (6.2.1-r2)
(12/22) Purging isl22 (0.22-r0)
(13/22) Purging zlib-dev (1.2.12-r3)
(14/22) Purging zlib (1.2.12-r3)
(15/22) Purging libucontext-dev (1.2-r0)
(16/22) Purging libucontext (1.2-r0)
(17/22) Purging pkgconf (1.8.0-r1)
(18/22) Purging libstdc++ (11.2.1_git20220219-r2)
(19/22) Purging mpfr4 (4.1.0-r0)
(20/22) Purging libgcc (11.2.1_git20220219-r2)
(21/22) Purging gmp (6.2.1-r2)
(22/22) Purging musl (1.2.3-r0)
OK: 0 MiB in 0 packages
Command exited with non-zero status 1


Is this  a new problem or have I done any mistake while using it?

Thanks!
Karel
Details
Message ID
<CM3MIQ96F61Y.3INPQXT8FZY9W@sumire>
In-Reply-To
<CAMO55fkVh-RMpXgfiynZLGJnOh0A2cXWHxYt-ouQW6z-sUrszA@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
On Fri Aug 12, 2022 at 12:29 AM CEST, Karel Gardas wrote:
> Hello,
>
> a new user here. I've installed a 3.16 x86_64 VM here and have been
> attempting to use that to cross-compile some package to aarch64
> platform. The problem is that script/bootstrap.sh is not working well
> for me.
>
> Platform: up-to-date 3.16 on amd64
> aports: updated hour ago
> command line: CBUILDROOT=$HOME/sysroot-aarch64 time
> ./src/aarch64-aports/scripts/bootstrap.sh aarch64
>
> The aports repo is cloned into ./src/aarch64-aports dir here. Also
> before this I've generated keys for signing. The issue I see looks
> like:
>
> GNATLINK 11.2.1 20220219
> Copyright (C) 1995-2021, Free Software Foundation, Inc.
> aarch64-alpine-linux-musl-gcc -c -Os -Os -O2 -Wextra -Wall
> -fomit-frame-pointer -gnatA -gnatWb -gnatiw
> -I/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/../adainclude
> -I/usr/lib/gcc/aarch
>            64-aports/main/gcc/src/gcc-11.2.1_git20220219/gcc/ada
> -gnatws /home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gcc/ada/tools/b~gnatmake.adb
> /usr/bin/aarch64-alpine-linux-musl-g++ b~gnatmake.o ../link.o
> ../targext.o ../../ggc-none.o ./debug.o ./types.o ./alloc.o
> ./gnatvsn.o ./hostparm.o ./krunch.o ./opt.o ./csets.o ./output.o ./rid
>                                                              ./uintp.o
> ./urealp.o ./widechar.o ./namet.o ./butil.o ./binderr.o ./casing.o
> ./err_vars.o ./fmap.o ./sdefault.o ./targparm.o ./osint.o ./fname.o
> ./osint-m.o ./snames.o ./ali.o ./scans.o ./aspe
>                                       m_aux.o ./sinput-c.o ./stringt.o
> ./erroutc.o ./uname.o ./lib.o ./errout.o ./fname-uf.o ./fname-sf.o
> ./styleg.o ./errutil.o ./make_util.o ./scng.o ./ali-util.o ./switch.o
> ./switch-m.o ./tempdir
>              -target.a ../../libcommon.a ../../../libcpp/libcpp.a
> ../../../libbacktrace/.libs/libbacktrace.a
> ../../../libiberty/libiberty.a -no-pie -o ../../gnatmake -L./
> -L/usr/lib/gcc/aarch64-alpine-linuine-linux-musl/11.2.1/adalib/ -L./
> -L/home/karel/src/aarch64-aports/main/gcc/src/gcc-11.2.1_git20220219/gcc/ada/
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a
> -static-libstdc+ome/karel/sysroot-aarch64
> -Wl,--as-needed,-O1,--sort-common
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> Relocations in generic E
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a: error
> adding symbols: file in wrong
> collect2: error: ld returned 1 exit status
> aarch64-alpine-linux-musl-gnatlink: error when calling
> /usr/bin/aarch64-alpine-linux-musl-g++
> make[3]: *** [../gcc-interface/Makefile:483: gnatmake-re] Error 4
> make[3]: Leaving directory
> '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gcc/ada/tools'
> make[2]: *** [Makefile:216: gnattools-cross] Error 2
> make[2]: Leaving directory
> '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gnattools'
> make[1]: *** [Makefile:10655: all-gnattools] Error 2
> make[1]: Leaving directory
> '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native'
> make: *** [Makefile:963: all] Error 2
> >>> ERROR: gcc: build failed
> >>> gcc: Uninstalling dependencies...
> (1/13) Purging .makedepends-gcc (20220811.220959)
> (2/13) Purging build-base-aarch64 (0.5-r3)
> (3/13) Purging gcc-aarch64 (11.2.1_git20220219-r2)
> (4/13) Purging binutils-aarch64 (2.38-r3)
> (5/13) Purging g++-aarch64 (11.2.1_git20220219-r2)
> (6/13) Purging texinfo (6.8-r0)
> (7/13) Purging gawk (5.1.1-r0)
> (8/13) Purging zip (3.0-r9)
> (9/13) Purging unzip (6.0-r9)
> (10/13) Purging gcc-gnat (11.2.1_git20220219-r2)
> (11/13) Purging gcc-gnat-aarch64 (11.2.1_git20220219-r2)
> (12/13) Purging libgnat-static (11.2.1_git20220219-r2)
> (13/13) Purging libgnat (11.2.1_git20220219-r2)
> Executing busybox-1.35.0-r17.trigger
> OK: 404 MiB in 151 packages
> (1/22) Purging .hostdepends-gcc (20220811.221007)
> (2/22) Purging fortify-headers (1.1-r1)
> (3/22) Purging libc-dev (0.7.2-r3)
> (4/22) Purging musl-dev (1.2.3-r0)
> (5/22) Purging linux-headers (5.16.7-r1)
> (6/22) Purging mpfr-dev (4.1.0-r0)
> (7/22) Purging mpc1-dev (1.2.1-r0)
> (8/22) Purging mpc1 (1.2.1-r0)
> (9/22) Purging isl-dev (0.22-r0)
> (10/22) Purging gmp-dev (6.2.1-r2)
> (11/22) Purging libgmpxx (6.2.1-r2)
> (12/22) Purging isl22 (0.22-r0)
> (13/22) Purging zlib-dev (1.2.12-r3)
> (14/22) Purging zlib (1.2.12-r3)
> (15/22) Purging libucontext-dev (1.2-r0)
> (16/22) Purging libucontext (1.2-r0)
> (17/22) Purging pkgconf (1.8.0-r1)
> (18/22) Purging libstdc++ (11.2.1_git20220219-r2)
> (19/22) Purging mpfr4 (4.1.0-r0)
> (20/22) Purging libgcc (11.2.1_git20220219-r2)
> (21/22) Purging gmp (6.2.1-r2)
> (22/22) Purging musl (1.2.3-r0)
> OK: 0 MiB in 0 packages
> Command exited with non-zero status 1
>
>
> Is this  a new problem or have I done any mistake while using it?

it's https://gitlab.alpinelinux.org/alpine/aports/-/issues/12898 , for
which the fix is in 64e502aea618252002217c67b78159b255387d72 in git
master. i assume either you are bootstrapping on the 3.16-stable branch
where that fix isn't in, or your master was too old, or there are more
issues bootstrapping master while having only 3.16 release packages (as
opposed to edge)

>
> Thanks!
> Karel
Karel Gardas <gardask@gmail.com>
Details
Message ID
<CAMO55fmdvW=M8q+Qv1fTRfoDEBWjjhkA3j2q1FwnvimEAhrfaA@mail.gmail.com>
In-Reply-To
<CM3MIQ96F61Y.3INPQXT8FZY9W@sumire> (view parent)
DKIM signature
missing
Download raw message
Alice,

thanks a lot for your fast reply. Indeed this was 3.16-stable branch
of aports on 3.16-stable installation.
When I tried master branch on this system I got issue too:

gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
-gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
-Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
-Iada/gcc-interface
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/output.adb
-o ada/output.o
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
In function 'Nlists.Lists.Reallocate':
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
warning: 'strub' attribute directive ignored [-Wattributes]
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
In function 'Output.Flush_Buffer.Write_Buffer':
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
warning: 'strub' attribute directive ignored [-Wattributes]
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
In function 'Osint.File_Name_Chars.Reallocate':
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
warning: 'strub' attribute directive ignored [-Wattributes]
mkdir -p ada/
gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
-gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
-Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
-Iada/gcc-interface
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par.adb
-o ada/par.o
mkdir -p ada/
gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
-gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
-Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
-Iada/gcc-interface
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par_sco.adb
-o ada/par_sco.o
mkdir -p ada/
gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
-gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
-Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
-Iada/gcc-interface
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/prep.adb
-o ada/prep.o
mkdir -p ada/
gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
-gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
-Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
-Iada/gcc-interface
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/prepcomp.adb
-o ada/prepcomp.o
mkdir -p ada/
gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
-gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
-Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
-Iada/gcc-interface
-I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/put_scos.adb
-o ada/put_scos.o
prep.adb:511:42: run-time library configuration error
prep.adb:511:42: file s-valint.ads had semantic errors
prep.adb:511:42: entity "System.Val_Int.Value_Integer" not available
s-valuns.ads:55:04: instantiation error at s-valueu.ads:579
s-valuns.ads:55:04: expected type derived from  from instance at line 55
s-valuns.ads:55:04: found type "Standard.String"
s-valuns.ads:55:04: instantiation error at s-valueu.ads:581
s-valuns.ads:55:04: expected type "Standard.String"
s-valuns.ads:55:04: found type derived from  from instance at line 55
compilation abandoned
make[2]: *** [/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface/Make-lang.in:167:
ada/prep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
In function 'Par_Sco.Sco_Raw_Table.Reallocate':
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
warning: 'strub' attribute directive ignored [-Wattributes]
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
In function 'Par.Scope.Reallocate':
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
warning: 'strub' attribute directive ignored [-Wattributes]
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
In function 'Prepcomp.Preproc_Data_Table.Reallocate':
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
warning: 'strub' attribute directive ignored [-Wattributes]
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par-ch3.adb:
In function 'Par.Ch3.P_Access_Type_Definition':
/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par-ch3.adb:4237:13:
warning: 'Not_Null_Subtype_Loc' may be used uninitialized in this
function [-Wmaybe-uninitialized]
rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod
gpl.pod cpp.pod gcov.pod lto-dump.pod
make[2]: Leaving directory
'/home/karel/src/aarch64-aports/main/gcc/src/build-cross-final/gcc'
make[1]: *** [Makefile:4612: all-gcc] Error 2
make[1]: Leaving directory
'/home/karel/src/aarch64-aports/main/gcc/src/build-cross-final'
make: *** [Makefile:1031: all] Error 2
>>> ERROR: gcc-aarch64: build failed
>>> gcc-aarch64: Uninstalling dependencies...
(1/12) Purging .makedepends-gcc-aarch64 (20220812.082155)
(2/12) Purging binutils-aarch64 (2.38-r4)
(3/12) Purging texinfo (6.8-r0)
(4/12) Purging gawk (5.1.1-r0)
(5/12) Purging zip (3.0-r9)
(6/12) Purging unzip (6.0-r9)
(7/12) Purging gcc-gnat (11.2.1_git20220219-r2)
(8/12) Purging libgnat-static (11.2.1_git20220219-r2)
(9/12) Purging libgnat (11.2.1_git20220219-r2)
(10/12) Purging isl-dev (0.22-r0)
(11/12) Purging libucontext-dev (1.2-r0)
(12/12) Purging libucontext (1.2-r0)
Executing busybox-1.35.0-r17.trigger
OK: 404 MiB in 151 packages
(1/3) Purging .hostdepends-gcc-aarch64 (20220812.082200)
(2/3) Purging musl-dev (1.2.3-r1)
(3/3) Purging musl (1.2.3-r1)
OK: 0 MiB in 0 packages
Command exited with non-zero status 1

Now, I'm trying to cross-compile master branch on edge. Will keep you posted.

Thanks!
Karel

On Fri, Aug 12, 2022 at 2:29 AM alice <alice@ayaya.dev> wrote:
>
> On Fri Aug 12, 2022 at 12:29 AM CEST, Karel Gardas wrote:
> > Hello,
> >
> > a new user here. I've installed a 3.16 x86_64 VM here and have been
> > attempting to use that to cross-compile some package to aarch64
> > platform. The problem is that script/bootstrap.sh is not working well
> > for me.
> >
> > Platform: up-to-date 3.16 on amd64
> > aports: updated hour ago
> > command line: CBUILDROOT=$HOME/sysroot-aarch64 time
> > ./src/aarch64-aports/scripts/bootstrap.sh aarch64
> >
> > The aports repo is cloned into ./src/aarch64-aports dir here. Also
> > before this I've generated keys for signing. The issue I see looks
> > like:
> >
> > GNATLINK 11.2.1 20220219
> > Copyright (C) 1995-2021, Free Software Foundation, Inc.
> > aarch64-alpine-linux-musl-gcc -c -Os -Os -O2 -Wextra -Wall
> > -fomit-frame-pointer -gnatA -gnatWb -gnatiw
> > -I/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/../adainclude
> > -I/usr/lib/gcc/aarch
> >            64-aports/main/gcc/src/gcc-11.2.1_git20220219/gcc/ada
> > -gnatws /home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gcc/ada/tools/b~gnatmake.adb
> > /usr/bin/aarch64-alpine-linux-musl-g++ b~gnatmake.o ../link.o
> > ../targext.o ../../ggc-none.o ./debug.o ./types.o ./alloc.o
> > ./gnatvsn.o ./hostparm.o ./krunch.o ./opt.o ./csets.o ./output.o ./rid
> >                                                              ./uintp.o
> > ./urealp.o ./widechar.o ./namet.o ./butil.o ./binderr.o ./casing.o
> > ./err_vars.o ./fmap.o ./sdefault.o ./targparm.o ./osint.o ./fname.o
> > ./osint-m.o ./snames.o ./ali.o ./scans.o ./aspe
> >                                       m_aux.o ./sinput-c.o ./stringt.o
> > ./erroutc.o ./uname.o ./lib.o ./errout.o ./fname-uf.o ./fname-sf.o
> > ./styleg.o ./errutil.o ./make_util.o ./scng.o ./ali-util.o ./switch.o
> > ./switch-m.o ./tempdir
> >              -target.a ../../libcommon.a ../../../libcpp/libcpp.a
> > ../../../libbacktrace/.libs/libbacktrace.a
> > ../../../libiberty/libiberty.a -no-pie -o ../../gnatmake -L./
> > -L/usr/lib/gcc/aarch64-alpine-linuine-linux-musl/11.2.1/adalib/ -L./
> > -L/home/karel/src/aarch64-aports/main/gcc/src/gcc-11.2.1_git20220219/gcc/ada/
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a
> > -static-libstdc+ome/karel/sysroot-aarch64
> > -Wl,--as-needed,-O1,--sort-common
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > Relocations in generic E
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a: error
> > adding symbols: file in wrong
> > collect2: error: ld returned 1 exit status
> > aarch64-alpine-linux-musl-gnatlink: error when calling
> > /usr/bin/aarch64-alpine-linux-musl-g++
> > make[3]: *** [../gcc-interface/Makefile:483: gnatmake-re] Error 4
> > make[3]: Leaving directory
> > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gcc/ada/tools'
> > make[2]: *** [Makefile:216: gnattools-cross] Error 2
> > make[2]: Leaving directory
> > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gnattools'
> > make[1]: *** [Makefile:10655: all-gnattools] Error 2
> > make[1]: Leaving directory
> > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native'
> > make: *** [Makefile:963: all] Error 2
> > >>> ERROR: gcc: build failed
> > >>> gcc: Uninstalling dependencies...
> > (1/13) Purging .makedepends-gcc (20220811.220959)
> > (2/13) Purging build-base-aarch64 (0.5-r3)
> > (3/13) Purging gcc-aarch64 (11.2.1_git20220219-r2)
> > (4/13) Purging binutils-aarch64 (2.38-r3)
> > (5/13) Purging g++-aarch64 (11.2.1_git20220219-r2)
> > (6/13) Purging texinfo (6.8-r0)
> > (7/13) Purging gawk (5.1.1-r0)
> > (8/13) Purging zip (3.0-r9)
> > (9/13) Purging unzip (6.0-r9)
> > (10/13) Purging gcc-gnat (11.2.1_git20220219-r2)
> > (11/13) Purging gcc-gnat-aarch64 (11.2.1_git20220219-r2)
> > (12/13) Purging libgnat-static (11.2.1_git20220219-r2)
> > (13/13) Purging libgnat (11.2.1_git20220219-r2)
> > Executing busybox-1.35.0-r17.trigger
> > OK: 404 MiB in 151 packages
> > (1/22) Purging .hostdepends-gcc (20220811.221007)
> > (2/22) Purging fortify-headers (1.1-r1)
> > (3/22) Purging libc-dev (0.7.2-r3)
> > (4/22) Purging musl-dev (1.2.3-r0)
> > (5/22) Purging linux-headers (5.16.7-r1)
> > (6/22) Purging mpfr-dev (4.1.0-r0)
> > (7/22) Purging mpc1-dev (1.2.1-r0)
> > (8/22) Purging mpc1 (1.2.1-r0)
> > (9/22) Purging isl-dev (0.22-r0)
> > (10/22) Purging gmp-dev (6.2.1-r2)
> > (11/22) Purging libgmpxx (6.2.1-r2)
> > (12/22) Purging isl22 (0.22-r0)
> > (13/22) Purging zlib-dev (1.2.12-r3)
> > (14/22) Purging zlib (1.2.12-r3)
> > (15/22) Purging libucontext-dev (1.2-r0)
> > (16/22) Purging libucontext (1.2-r0)
> > (17/22) Purging pkgconf (1.8.0-r1)
> > (18/22) Purging libstdc++ (11.2.1_git20220219-r2)
> > (19/22) Purging mpfr4 (4.1.0-r0)
> > (20/22) Purging libgcc (11.2.1_git20220219-r2)
> > (21/22) Purging gmp (6.2.1-r2)
> > (22/22) Purging musl (1.2.3-r0)
> > OK: 0 MiB in 0 packages
> > Command exited with non-zero status 1
> >
> >
> > Is this  a new problem or have I done any mistake while using it?
>
> it's https://gitlab.alpinelinux.org/alpine/aports/-/issues/12898 , for
> which the fix is in 64e502aea618252002217c67b78159b255387d72 in git
> master. i assume either you are bootstrapping on the 3.16-stable branch
> where that fix isn't in, or your master was too old, or there are more
> issues bootstrapping master while having only 3.16 release packages (as
> opposed to edge)
>
> >
> > Thanks!
> > Karel
>
Karel Gardas <gardask@gmail.com>
Details
Message ID
<CAMO55fkcuvR1=T20QX0DYTwWH21x5Ne_QFroz9Xc4ZvjvTTg_A@mail.gmail.com>
In-Reply-To
<CAMO55fmdvW=M8q+Qv1fTRfoDEBWjjhkA3j2q1FwnvimEAhrfaA@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
So even with edge as a host and master branch of aports the bootstrap
still fails. However it's probably going furthest anyway:

OK: 0 MiB in 0 packages
>>> make: Updating the main/aarch64 repository index...
>>> make: Signing the index...
.]0;..]0;abuild-aarch64: apk-tools.>>> apk-tools: Building
main/apk-tools 2.12.9-r6 (using abuild 3.9.0-r5) started Fri, 12 Aug
2022 13:03:25 +0200
>>> apk-tools: Checking sanity of /home/karel/src/aarch64-aports/main/apk-tools/APKBUILD...
>>> apk-tools: Analyzing dependencies...
ERROR: unable to select packages:
  .hostdepends-apk-tools-20220812.110325:
    masked in: cache
    satisfies: world[.hostdepends-apk-tools=20220812.110325]
  openssl3-libs-static (no such package):
    required by: .hostdepends-apk-tools-20220812.110325[openssl3-libs-static]
>>> ERROR: apk-tools: builddeps failed
.]0;.>>> apk-tools: Uninstalling dependencies...
ERROR: No such package: .makedepends-apk-tools
ERROR: No such package: .hostdepends-apk-tools
Command exited with non-zero status 1

On Fri, Aug 12, 2022 at 12:33 PM Karel Gardas <gardask@gmail.com> wrote:
>
> Alice,
>
> thanks a lot for your fast reply. Indeed this was 3.16-stable branch
> of aports on 3.16-stable installation.
> When I tried master branch on this system I got issue too:
>
> gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> -Iada/gcc-interface
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/output.adb
> -o ada/output.o
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> In function 'Nlists.Lists.Reallocate':
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> warning: 'strub' attribute directive ignored [-Wattributes]
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> In function 'Output.Flush_Buffer.Write_Buffer':
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> warning: 'strub' attribute directive ignored [-Wattributes]
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> In function 'Osint.File_Name_Chars.Reallocate':
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> warning: 'strub' attribute directive ignored [-Wattributes]
> mkdir -p ada/
> gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> -Iada/gcc-interface
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par.adb
> -o ada/par.o
> mkdir -p ada/
> gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> -Iada/gcc-interface
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par_sco.adb
> -o ada/par_sco.o
> mkdir -p ada/
> gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> -Iada/gcc-interface
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/prep.adb
> -o ada/prep.o
> mkdir -p ada/
> gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> -Iada/gcc-interface
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/prepcomp.adb
> -o ada/prepcomp.o
> mkdir -p ada/
> gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> -Iada/gcc-interface
> -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/put_scos.adb
> -o ada/put_scos.o
> prep.adb:511:42: run-time library configuration error
> prep.adb:511:42: file s-valint.ads had semantic errors
> prep.adb:511:42: entity "System.Val_Int.Value_Integer" not available
> s-valuns.ads:55:04: instantiation error at s-valueu.ads:579
> s-valuns.ads:55:04: expected type derived from  from instance at line 55
> s-valuns.ads:55:04: found type "Standard.String"
> s-valuns.ads:55:04: instantiation error at s-valueu.ads:581
> s-valuns.ads:55:04: expected type "Standard.String"
> s-valuns.ads:55:04: found type derived from  from instance at line 55
> compilation abandoned
> make[2]: *** [/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface/Make-lang.in:167:
> ada/prep.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> In function 'Par_Sco.Sco_Raw_Table.Reallocate':
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> warning: 'strub' attribute directive ignored [-Wattributes]
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> In function 'Par.Scope.Reallocate':
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> warning: 'strub' attribute directive ignored [-Wattributes]
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> In function 'Prepcomp.Preproc_Data_Table.Reallocate':
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> warning: 'strub' attribute directive ignored [-Wattributes]
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par-ch3.adb:
> In function 'Par.Ch3.P_Access_Type_Definition':
> /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par-ch3.adb:4237:13:
> warning: 'Not_Null_Subtype_Loc' may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod
> gpl.pod cpp.pod gcov.pod lto-dump.pod
> make[2]: Leaving directory
> '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-final/gcc'
> make[1]: *** [Makefile:4612: all-gcc] Error 2
> make[1]: Leaving directory
> '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-final'
> make: *** [Makefile:1031: all] Error 2
> >>> ERROR: gcc-aarch64: build failed
> >>> gcc-aarch64: Uninstalling dependencies...
> (1/12) Purging .makedepends-gcc-aarch64 (20220812.082155)
> (2/12) Purging binutils-aarch64 (2.38-r4)
> (3/12) Purging texinfo (6.8-r0)
> (4/12) Purging gawk (5.1.1-r0)
> (5/12) Purging zip (3.0-r9)
> (6/12) Purging unzip (6.0-r9)
> (7/12) Purging gcc-gnat (11.2.1_git20220219-r2)
> (8/12) Purging libgnat-static (11.2.1_git20220219-r2)
> (9/12) Purging libgnat (11.2.1_git20220219-r2)
> (10/12) Purging isl-dev (0.22-r0)
> (11/12) Purging libucontext-dev (1.2-r0)
> (12/12) Purging libucontext (1.2-r0)
> Executing busybox-1.35.0-r17.trigger
> OK: 404 MiB in 151 packages
> (1/3) Purging .hostdepends-gcc-aarch64 (20220812.082200)
> (2/3) Purging musl-dev (1.2.3-r1)
> (3/3) Purging musl (1.2.3-r1)
> OK: 0 MiB in 0 packages
> Command exited with non-zero status 1
>
> Now, I'm trying to cross-compile master branch on edge. Will keep you posted.
>
> Thanks!
> Karel
>
> On Fri, Aug 12, 2022 at 2:29 AM alice <alice@ayaya.dev> wrote:
> >
> > On Fri Aug 12, 2022 at 12:29 AM CEST, Karel Gardas wrote:
> > > Hello,
> > >
> > > a new user here. I've installed a 3.16 x86_64 VM here and have been
> > > attempting to use that to cross-compile some package to aarch64
> > > platform. The problem is that script/bootstrap.sh is not working well
> > > for me.
> > >
> > > Platform: up-to-date 3.16 on amd64
> > > aports: updated hour ago
> > > command line: CBUILDROOT=$HOME/sysroot-aarch64 time
> > > ./src/aarch64-aports/scripts/bootstrap.sh aarch64
> > >
> > > The aports repo is cloned into ./src/aarch64-aports dir here. Also
> > > before this I've generated keys for signing. The issue I see looks
> > > like:
> > >
> > > GNATLINK 11.2.1 20220219
> > > Copyright (C) 1995-2021, Free Software Foundation, Inc.
> > > aarch64-alpine-linux-musl-gcc -c -Os -Os -O2 -Wextra -Wall
> > > -fomit-frame-pointer -gnatA -gnatWb -gnatiw
> > > -I/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/../adainclude
> > > -I/usr/lib/gcc/aarch
> > >            64-aports/main/gcc/src/gcc-11.2.1_git20220219/gcc/ada
> > > -gnatws /home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gcc/ada/tools/b~gnatmake.adb
> > > /usr/bin/aarch64-alpine-linux-musl-g++ b~gnatmake.o ../link.o
> > > ../targext.o ../../ggc-none.o ./debug.o ./types.o ./alloc.o
> > > ./gnatvsn.o ./hostparm.o ./krunch.o ./opt.o ./csets.o ./output.o ./rid
> > >                                                              ./uintp.o
> > > ./urealp.o ./widechar.o ./namet.o ./butil.o ./binderr.o ./casing.o
> > > ./err_vars.o ./fmap.o ./sdefault.o ./targparm.o ./osint.o ./fname.o
> > > ./osint-m.o ./snames.o ./ali.o ./scans.o ./aspe
> > >                                       m_aux.o ./sinput-c.o ./stringt.o
> > > ./erroutc.o ./uname.o ./lib.o ./errout.o ./fname-uf.o ./fname-sf.o
> > > ./styleg.o ./errutil.o ./make_util.o ./scng.o ./ali-util.o ./switch.o
> > > ./switch-m.o ./tempdir
> > >              -target.a ../../libcommon.a ../../../libcpp/libcpp.a
> > > ../../../libbacktrace/.libs/libbacktrace.a
> > > ../../../libiberty/libiberty.a -no-pie -o ../../gnatmake -L./
> > > -L/usr/lib/gcc/aarch64-alpine-linuine-linux-musl/11.2.1/adalib/ -L./
> > > -L/home/karel/src/aarch64-aports/main/gcc/src/gcc-11.2.1_git20220219/gcc/ada/
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a
> > > -static-libstdc+ome/karel/sysroot-aarch64
> > > -Wl,--as-needed,-O1,--sort-common
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > Relocations in generic E
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a: error
> > > adding symbols: file in wrong
> > > collect2: error: ld returned 1 exit status
> > > aarch64-alpine-linux-musl-gnatlink: error when calling
> > > /usr/bin/aarch64-alpine-linux-musl-g++
> > > make[3]: *** [../gcc-interface/Makefile:483: gnatmake-re] Error 4
> > > make[3]: Leaving directory
> > > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gcc/ada/tools'
> > > make[2]: *** [Makefile:216: gnattools-cross] Error 2
> > > make[2]: Leaving directory
> > > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gnattools'
> > > make[1]: *** [Makefile:10655: all-gnattools] Error 2
> > > make[1]: Leaving directory
> > > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native'
> > > make: *** [Makefile:963: all] Error 2
> > > >>> ERROR: gcc: build failed
> > > >>> gcc: Uninstalling dependencies...
> > > (1/13) Purging .makedepends-gcc (20220811.220959)
> > > (2/13) Purging build-base-aarch64 (0.5-r3)
> > > (3/13) Purging gcc-aarch64 (11.2.1_git20220219-r2)
> > > (4/13) Purging binutils-aarch64 (2.38-r3)
> > > (5/13) Purging g++-aarch64 (11.2.1_git20220219-r2)
> > > (6/13) Purging texinfo (6.8-r0)
> > > (7/13) Purging gawk (5.1.1-r0)
> > > (8/13) Purging zip (3.0-r9)
> > > (9/13) Purging unzip (6.0-r9)
> > > (10/13) Purging gcc-gnat (11.2.1_git20220219-r2)
> > > (11/13) Purging gcc-gnat-aarch64 (11.2.1_git20220219-r2)
> > > (12/13) Purging libgnat-static (11.2.1_git20220219-r2)
> > > (13/13) Purging libgnat (11.2.1_git20220219-r2)
> > > Executing busybox-1.35.0-r17.trigger
> > > OK: 404 MiB in 151 packages
> > > (1/22) Purging .hostdepends-gcc (20220811.221007)
> > > (2/22) Purging fortify-headers (1.1-r1)
> > > (3/22) Purging libc-dev (0.7.2-r3)
> > > (4/22) Purging musl-dev (1.2.3-r0)
> > > (5/22) Purging linux-headers (5.16.7-r1)
> > > (6/22) Purging mpfr-dev (4.1.0-r0)
> > > (7/22) Purging mpc1-dev (1.2.1-r0)
> > > (8/22) Purging mpc1 (1.2.1-r0)
> > > (9/22) Purging isl-dev (0.22-r0)
> > > (10/22) Purging gmp-dev (6.2.1-r2)
> > > (11/22) Purging libgmpxx (6.2.1-r2)
> > > (12/22) Purging isl22 (0.22-r0)
> > > (13/22) Purging zlib-dev (1.2.12-r3)
> > > (14/22) Purging zlib (1.2.12-r3)
> > > (15/22) Purging libucontext-dev (1.2-r0)
> > > (16/22) Purging libucontext (1.2-r0)
> > > (17/22) Purging pkgconf (1.8.0-r1)
> > > (18/22) Purging libstdc++ (11.2.1_git20220219-r2)
> > > (19/22) Purging mpfr4 (4.1.0-r0)
> > > (20/22) Purging libgcc (11.2.1_git20220219-r2)
> > > (21/22) Purging gmp (6.2.1-r2)
> > > (22/22) Purging musl (1.2.3-r0)
> > > OK: 0 MiB in 0 packages
> > > Command exited with non-zero status 1
> > >
> > >
> > > Is this  a new problem or have I done any mistake while using it?
> >
> > it's https://gitlab.alpinelinux.org/alpine/aports/-/issues/12898 , for
> > which the fix is in 64e502aea618252002217c67b78159b255387d72 in git
> > master. i assume either you are bootstrapping on the 3.16-stable branch
> > where that fix isn't in, or your master was too old, or there are more
> > issues bootstrapping master while having only 3.16 release packages (as
> > opposed to edge)
> >
> > >
> > > Thanks!
> > > Karel
> >
Details
Message ID
<CM42T4ABW2OB.100NNCBQD0DEB@sumire>
In-Reply-To
<CAMO55fkcuvR1=T20QX0DYTwWH21x5Ne_QFroz9Xc4ZvjvTTg_A@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
On Fri Aug 12, 2022 at 1:27 PM CEST, Karel Gardas wrote:
> So even with edge as a host and master branch of aports the bootstrap
> still fails. However it's probably going furthest anyway:
>
> OK: 0 MiB in 0 packages
> >>> make: Updating the main/aarch64 repository index...
> >>> make: Signing the index...
> .]0;..]0;abuild-aarch64: apk-tools.>>> apk-tools: Building
> main/apk-tools 2.12.9-r6 (using abuild 3.9.0-r5) started Fri, 12 Aug
> 2022 13:03:25 +0200
> >>> apk-tools: Checking sanity of /home/karel/src/aarch64-aports/main/apk-tools/APKBUILD...
> >>> apk-tools: Analyzing dependencies...
> ERROR: unable to select packages:
>   .hostdepends-apk-tools-20220812.110325:
>     masked in: cache
>     satisfies: world[.hostdepends-apk-tools=20220812.110325]
>   openssl3-libs-static (no such package):
>     required by: .hostdepends-apk-tools-20220812.110325[openssl3-libs-static]
aha, missed this one. fixed now.

> >>> ERROR: apk-tools: builddeps failed
> .]0;.>>> apk-tools: Uninstalling dependencies...
> ERROR: No such package: .makedepends-apk-tools
> ERROR: No such package: .hostdepends-apk-tools
> Command exited with non-zero status 1
>
> On Fri, Aug 12, 2022 at 12:33 PM Karel Gardas <gardask@gmail.com> wrote:
> >
> > Alice,
> >
> > thanks a lot for your fast reply. Indeed this was 3.16-stable branch
> > of aports on 3.16-stable installation.
> > When I tried master branch on this system I got issue too:
> >
> > gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> > -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> > -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> > -Iada/gcc-interface
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/output.adb
> > -o ada/output.o
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> > In function 'Nlists.Lists.Reallocate':
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> > warning: 'strub' attribute directive ignored [-Wattributes]
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> > In function 'Output.Flush_Buffer.Write_Buffer':
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> > warning: 'strub' attribute directive ignored [-Wattributes]
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> > In function 'Osint.File_Name_Chars.Reallocate':
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> > warning: 'strub' attribute directive ignored [-Wattributes]
> > mkdir -p ada/
> > gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> > -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> > -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> > -Iada/gcc-interface
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par.adb
> > -o ada/par.o
> > mkdir -p ada/
> > gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> > -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> > -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> > -Iada/gcc-interface
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par_sco.adb
> > -o ada/par_sco.o
> > mkdir -p ada/
> > gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> > -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> > -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> > -Iada/gcc-interface
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/prep.adb
> > -o ada/prep.o
> > mkdir -p ada/
> > gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> > -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> > -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> > -Iada/gcc-interface
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/prepcomp.adb
> > -o ada/prepcomp.o
> > mkdir -p ada/
> > gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -O2
> > -gnatpg  -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada
> > -Iada/libgnat -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat
> > -Iada/gcc-interface
> > -I/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/put_scos.adb
> > -o ada/put_scos.o
> > prep.adb:511:42: run-time library configuration error
> > prep.adb:511:42: file s-valint.ads had semantic errors
> > prep.adb:511:42: entity "System.Val_Int.Value_Integer" not available
> > s-valuns.ads:55:04: instantiation error at s-valueu.ads:579
> > s-valuns.ads:55:04: expected type derived from  from instance at line 55
> > s-valuns.ads:55:04: found type "Standard.String"
> > s-valuns.ads:55:04: instantiation error at s-valueu.ads:581
> > s-valuns.ads:55:04: expected type "Standard.String"
> > s-valuns.ads:55:04: found type derived from  from instance at line 55
> > compilation abandoned
> > make[2]: *** [/home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/gcc-interface/Make-lang.in:167:
> > ada/prep.o] Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> > In function 'Par_Sco.Sco_Raw_Table.Reallocate':
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> > warning: 'strub' attribute directive ignored [-Wattributes]
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> > In function 'Par.Scope.Reallocate':
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> > warning: 'strub' attribute directive ignored [-Wattributes]
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:
> > In function 'Prepcomp.Preproc_Data_Table.Reallocate':
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/libgnat/a-except.ads:178:14:
> > warning: 'strub' attribute directive ignored [-Wattributes]
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par-ch3.adb:
> > In function 'Par.Ch3.P_Access_Type_Definition':
> > /home/karel/src/aarch64-aports/main/gcc/src/gcc-12.1.1_git20220630/gcc/ada/par-ch3.adb:4237:13:
> > warning: 'Not_Null_Subtype_Loc' may be used uninitialized in this
> > function [-Wmaybe-uninitialized]
> > rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod
> > gpl.pod cpp.pod gcov.pod lto-dump.pod
> > make[2]: Leaving directory
> > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-final/gcc'
> > make[1]: *** [Makefile:4612: all-gcc] Error 2
> > make[1]: Leaving directory
> > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-final'
> > make: *** [Makefile:1031: all] Error 2
> > >>> ERROR: gcc-aarch64: build failed
> > >>> gcc-aarch64: Uninstalling dependencies...
> > (1/12) Purging .makedepends-gcc-aarch64 (20220812.082155)
> > (2/12) Purging binutils-aarch64 (2.38-r4)
> > (3/12) Purging texinfo (6.8-r0)
> > (4/12) Purging gawk (5.1.1-r0)
> > (5/12) Purging zip (3.0-r9)
> > (6/12) Purging unzip (6.0-r9)
> > (7/12) Purging gcc-gnat (11.2.1_git20220219-r2)
> > (8/12) Purging libgnat-static (11.2.1_git20220219-r2)
> > (9/12) Purging libgnat (11.2.1_git20220219-r2)
> > (10/12) Purging isl-dev (0.22-r0)
> > (11/12) Purging libucontext-dev (1.2-r0)
> > (12/12) Purging libucontext (1.2-r0)
> > Executing busybox-1.35.0-r17.trigger
> > OK: 404 MiB in 151 packages
> > (1/3) Purging .hostdepends-gcc-aarch64 (20220812.082200)
> > (2/3) Purging musl-dev (1.2.3-r1)
> > (3/3) Purging musl (1.2.3-r1)
> > OK: 0 MiB in 0 packages
> > Command exited with non-zero status 1
> >
> > Now, I'm trying to cross-compile master branch on edge. Will keep you posted.
> >
> > Thanks!
> > Karel
> >
> > On Fri, Aug 12, 2022 at 2:29 AM alice <alice@ayaya.dev> wrote:
> > >
> > > On Fri Aug 12, 2022 at 12:29 AM CEST, Karel Gardas wrote:
> > > > Hello,
> > > >
> > > > a new user here. I've installed a 3.16 x86_64 VM here and have been
> > > > attempting to use that to cross-compile some package to aarch64
> > > > platform. The problem is that script/bootstrap.sh is not working well
> > > > for me.
> > > >
> > > > Platform: up-to-date 3.16 on amd64
> > > > aports: updated hour ago
> > > > command line: CBUILDROOT=$HOME/sysroot-aarch64 time
> > > > ./src/aarch64-aports/scripts/bootstrap.sh aarch64
> > > >
> > > > The aports repo is cloned into ./src/aarch64-aports dir here. Also
> > > > before this I've generated keys for signing. The issue I see looks
> > > > like:
> > > >
> > > > GNATLINK 11.2.1 20220219
> > > > Copyright (C) 1995-2021, Free Software Foundation, Inc.
> > > > aarch64-alpine-linux-musl-gcc -c -Os -Os -O2 -Wextra -Wall
> > > > -fomit-frame-pointer -gnatA -gnatWb -gnatiw
> > > > -I/usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/../adainclude
> > > > -I/usr/lib/gcc/aarch
> > > >            64-aports/main/gcc/src/gcc-11.2.1_git20220219/gcc/ada
> > > > -gnatws /home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gcc/ada/tools/b~gnatmake.adb
> > > > /usr/bin/aarch64-alpine-linux-musl-g++ b~gnatmake.o ../link.o
> > > > ../targext.o ../../ggc-none.o ./debug.o ./types.o ./alloc.o
> > > > ./gnatvsn.o ./hostparm.o ./krunch.o ./opt.o ./csets.o ./output.o ./rid
> > > >                                                              ./uintp.o
> > > > ./urealp.o ./widechar.o ./namet.o ./butil.o ./binderr.o ./casing.o
> > > > ./err_vars.o ./fmap.o ./sdefault.o ./targparm.o ./osint.o ./fname.o
> > > > ./osint-m.o ./snames.o ./ali.o ./scans.o ./aspe
> > > >                                       m_aux.o ./sinput-c.o ./stringt.o
> > > > ./erroutc.o ./uname.o ./lib.o ./errout.o ./fname-uf.o ./fname-sf.o
> > > > ./styleg.o ./errutil.o ./make_util.o ./scng.o ./ali-util.o ./switch.o
> > > > ./switch-m.o ./tempdir
> > > >              -target.a ../../libcommon.a ../../../libcpp/libcpp.a
> > > > ../../../libbacktrace/.libs/libbacktrace.a
> > > > ../../../libiberty/libiberty.a -no-pie -o ../../gnatmake -L./
> > > > -L/usr/lib/gcc/aarch64-alpine-linuine-linux-musl/11.2.1/adalib/ -L./
> > > > -L/home/karel/src/aarch64-aports/main/gcc/src/gcc-11.2.1_git20220219/gcc/ada/
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a
> > > > -static-libstdc+ome/karel/sysroot-aarch64
> > > > -Wl,--as-needed,-O1,--sort-common
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a(a-calend.o):
> > > > Relocations in generic E
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld:
> > > > /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/adalib/libgnat.a: error
> > > > adding symbols: file in wrong
> > > > collect2: error: ld returned 1 exit status
> > > > aarch64-alpine-linux-musl-gnatlink: error when calling
> > > > /usr/bin/aarch64-alpine-linux-musl-g++
> > > > make[3]: *** [../gcc-interface/Makefile:483: gnatmake-re] Error 4
> > > > make[3]: Leaving directory
> > > > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gcc/ada/tools'
> > > > make[2]: *** [Makefile:216: gnattools-cross] Error 2
> > > > make[2]: Leaving directory
> > > > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native/gnattools'
> > > > make[1]: *** [Makefile:10655: all-gnattools] Error 2
> > > > make[1]: Leaving directory
> > > > '/home/karel/src/aarch64-aports/main/gcc/src/build-cross-native'
> > > > make: *** [Makefile:963: all] Error 2
> > > > >>> ERROR: gcc: build failed
> > > > >>> gcc: Uninstalling dependencies...
> > > > (1/13) Purging .makedepends-gcc (20220811.220959)
> > > > (2/13) Purging build-base-aarch64 (0.5-r3)
> > > > (3/13) Purging gcc-aarch64 (11.2.1_git20220219-r2)
> > > > (4/13) Purging binutils-aarch64 (2.38-r3)
> > > > (5/13) Purging g++-aarch64 (11.2.1_git20220219-r2)
> > > > (6/13) Purging texinfo (6.8-r0)
> > > > (7/13) Purging gawk (5.1.1-r0)
> > > > (8/13) Purging zip (3.0-r9)
> > > > (9/13) Purging unzip (6.0-r9)
> > > > (10/13) Purging gcc-gnat (11.2.1_git20220219-r2)
> > > > (11/13) Purging gcc-gnat-aarch64 (11.2.1_git20220219-r2)
> > > > (12/13) Purging libgnat-static (11.2.1_git20220219-r2)
> > > > (13/13) Purging libgnat (11.2.1_git20220219-r2)
> > > > Executing busybox-1.35.0-r17.trigger
> > > > OK: 404 MiB in 151 packages
> > > > (1/22) Purging .hostdepends-gcc (20220811.221007)
> > > > (2/22) Purging fortify-headers (1.1-r1)
> > > > (3/22) Purging libc-dev (0.7.2-r3)
> > > > (4/22) Purging musl-dev (1.2.3-r0)
> > > > (5/22) Purging linux-headers (5.16.7-r1)
> > > > (6/22) Purging mpfr-dev (4.1.0-r0)
> > > > (7/22) Purging mpc1-dev (1.2.1-r0)
> > > > (8/22) Purging mpc1 (1.2.1-r0)
> > > > (9/22) Purging isl-dev (0.22-r0)
> > > > (10/22) Purging gmp-dev (6.2.1-r2)
> > > > (11/22) Purging libgmpxx (6.2.1-r2)
> > > > (12/22) Purging isl22 (0.22-r0)
> > > > (13/22) Purging zlib-dev (1.2.12-r3)
> > > > (14/22) Purging zlib (1.2.12-r3)
> > > > (15/22) Purging libucontext-dev (1.2-r0)
> > > > (16/22) Purging libucontext (1.2-r0)
> > > > (17/22) Purging pkgconf (1.8.0-r1)
> > > > (18/22) Purging libstdc++ (11.2.1_git20220219-r2)
> > > > (19/22) Purging mpfr4 (4.1.0-r0)
> > > > (20/22) Purging libgcc (11.2.1_git20220219-r2)
> > > > (21/22) Purging gmp (6.2.1-r2)
> > > > (22/22) Purging musl (1.2.3-r0)
> > > > OK: 0 MiB in 0 packages
> > > > Command exited with non-zero status 1
> > > >
> > > >
> > > > Is this  a new problem or have I done any mistake while using it?
> > >
> > > it's https://gitlab.alpinelinux.org/alpine/aports/-/issues/12898 , for
> > > which the fix is in 64e502aea618252002217c67b78159b255387d72 in git
> > > master. i assume either you are bootstrapping on the 3.16-stable branch
> > > where that fix isn't in, or your master was too old, or there are more
> > > issues bootstrapping master while having only 3.16 release packages (as
> > > opposed to edge)
> > >
> > > >
> > > > Thanks!
> > > > Karel
> > >
Karel Gardas <gardask@gmail.com>
Details
Message ID
<CAMO55fkjbx9-9iZ+os3EXEcfsEFtHv1mkZqQC=V_LrxbnF5s8A@mail.gmail.com>
In-Reply-To
<CM42T4ABW2OB.100NNCBQD0DEB@sumire> (view parent)
DKIM signature
missing
Download raw message
On Fri, Aug 12, 2022 at 3:15 PM alice <alice@ayaya.dev> wrote:
 >   openssl3-libs-static (no such package):
> >     required by: .hostdepends-apk-tools-20220812.110325[openssl3-libs-static]
> aha, missed this one. fixed now.
>

Indeed, thanks for fixing this. Anyway, here is another one, probably
if not my own mistake:

>>> mkinitfs: Updating the main/aarch64 repository index...
>>> mkinitfs: Signing the index...
>>> go-bootstrap: Building community/go-bootstrap 1.18.5-r0 (using abuild 3.9.0-r5) started Fri, 12 Aug 2022 19:36:59 +0200
>>> go-bootstrap: Checking sanity of /home/karel/src/aarch64-aports/community/go/APKBUILD...
>>> go-bootstrap: Analyzing dependencies...
ERROR: unable to select packages:
  .makedepends-go-bootstrap-20220812.173659:
    masked in: cache
    satisfies: world[.makedepends-go-bootstrap=20220812.173659]
  build-base-aarch64 (no such package):
    required by: .makedepends-go-bootstrap-20220812.173659[build-base-aarch64]
  go (no such package):
    required by: .makedepends-go-bootstrap-20220812.173659[go]
>>> ERROR: go-bootstrap: builddeps failed
>>> go-bootstrap: Uninstalling dependencies...
ERROR: No such package: .makedepends-go-bootstrap
ERROR: No such package: .hostdepends-go-bootstrap
Command exited with non-zero status 1
Details
Message ID
<CM49SUVGV8SW.3OZNEAEWCU1EB@sumire>
In-Reply-To
<CAMO55fkjbx9-9iZ+os3EXEcfsEFtHv1mkZqQC=V_LrxbnF5s8A@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
On Fri Aug 12, 2022 at 8:20 PM CEST, Karel Gardas wrote:
> On Fri, Aug 12, 2022 at 3:15 PM alice <alice@ayaya.dev> wrote:
>  >   openssl3-libs-static (no such package):
> > >     required by: .hostdepends-apk-tools-20220812.110325[openssl3-libs-static]
> > aha, missed this one. fixed now.
> >
>
> Indeed, thanks for fixing this. Anyway, here is another one, probably
> if not my own mistake:
nope, this one is probably
https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10069

make sure APORTSDIR= is set to the actual aports directory (i guess),
the most likely cause of this error is the .rootbld-repositories not
being found correctly (there just isn't any output telling you that)

>
> >>> mkinitfs: Updating the main/aarch64 repository index...
> >>> mkinitfs: Signing the index...
> >>> go-bootstrap: Building community/go-bootstrap 1.18.5-r0 (using abuild 3.9.0-r5) started Fri, 12 Aug 2022 19:36:59 +0200
> >>> go-bootstrap: Checking sanity of /home/karel/src/aarch64-aports/community/go/APKBUILD...
> >>> go-bootstrap: Analyzing dependencies...
> ERROR: unable to select packages:
>   .makedepends-go-bootstrap-20220812.173659:
>     masked in: cache
>     satisfies: world[.makedepends-go-bootstrap=20220812.173659]
>   build-base-aarch64 (no such package):
>     required by: .makedepends-go-bootstrap-20220812.173659[build-base-aarch64]
>   go (no such package):
>     required by: .makedepends-go-bootstrap-20220812.173659[go]
> >>> ERROR: go-bootstrap: builddeps failed
> >>> go-bootstrap: Uninstalling dependencies...
> ERROR: No such package: .makedepends-go-bootstrap
> ERROR: No such package: .hostdepends-go-bootstrap
> Command exited with non-zero status 1
Karel Gardas <gardask@gmail.com>
Details
Message ID
<CAMO55fk1aEw=WmzRPMbMPmkcKEqQdVJizzMnOJW5TvD9rtw5fg@mail.gmail.com>
In-Reply-To
<CM49SUVGV8SW.3OZNEAEWCU1EB@sumire> (view parent)
DKIM signature
missing
Download raw message
On Fri, Aug 12, 2022 at 8:43 PM alice <alice@ayaya.dev> wrote:
>
> On Fri Aug 12, 2022 at 8:20 PM CEST, Karel Gardas wrote:
> > On Fri, Aug 12, 2022 at 3:15 PM alice <alice@ayaya.dev> wrote:
> >  >   openssl3-libs-static (no such package):
> > > >     required by: .hostdepends-apk-tools-20220812.110325[openssl3-libs-static]
> > > aha, missed this one. fixed now.
> > >
> >
> > Indeed, thanks for fixing this. Anyway, here is another one, probably
> > if not my own mistake:
> nope, this one is probably
> https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10069
>
> make sure APORTSDIR= is set to the actual aports directory (i guess),
> the most likely cause of this error is the .rootbld-repositories not
> being found correctly (there just isn't any output telling you that)
>

edge:~$ echo $APORTSDIR
/home/karel/src/aarch64-aports
edge:~$ ls -la $APORTSDIR
total 356
drwxr-sr-x   11 karel    karel         4096 Aug 12 12:29 .
drwxr-sr-x    3 karel    karel         4096 Aug 12 12:30 ..
-rw-r--r--    1 karel    karel         1631 Aug 12 12:29 .drone.yml
-rw-r--r--    1 karel    karel          371 Aug 12 12:29 .editorconfig
drwxr-sr-x    8 karel    karel         4096 Aug 12 21:08 .git
-rw-r--r--    1 karel    karel           60 Aug 12 12:29 .gitattributes
drwxr-sr-x    2 karel    karel         4096 Aug 12 12:29 .githooks
drwxr-sr-x    2 karel    karel         4096 Aug 12 12:29 .github
-rw-r--r--    1 karel    karel          110 Aug 12 12:29 .gitignore
drwxr-sr-x    2 karel    karel         4096 Aug 12 12:29 .gitlab
-rw-r--r--    1 karel    karel         2000 Aug 12 12:29 .gitlab-ci.yml
-rw-r--r--    1 karel    karel         1188 Aug 12 12:29 .mailmap
-rw-r--r--    1 karel    karel         5973 Aug 12 12:29 CODINGSTYLE.md
-rw-r--r--    1 karel    karel         5821 Aug 12 12:29 COMMITSTYLE.md
-rw-r--r--    1 karel    karel          880 Aug 12 12:29 README.md
drwxr-sr-x 4846 karel    karel       135168 Aug 12 18:55 community
drwxr-sr-x 1563 karel    karel        49152 Aug 12 12:29 main
drwxr-sr-x    2 karel    karel         4096 Aug 12 12:29 scripts
drwxr-sr-x 2929 karel    karel        90112 Aug 12 18:55 testing
drwxr-sr-x  263 karel    karel        12288 Aug 12 12:29 unmaintained

but still the same issue.

> >
> > >>> mkinitfs: Updating the main/aarch64 repository index...
> > >>> mkinitfs: Signing the index...
> > >>> go-bootstrap: Building community/go-bootstrap 1.18.5-r0 (using abuild 3.9.0-r5) started Fri, 12 Aug 2022 19:36:59 +0200
> > >>> go-bootstrap: Checking sanity of /home/karel/src/aarch64-aports/community/go/APKBUILD...
> > >>> go-bootstrap: Analyzing dependencies...
> > ERROR: unable to select packages:
> >   .makedepends-go-bootstrap-20220812.173659:
> >     masked in: cache
> >     satisfies: world[.makedepends-go-bootstrap=20220812.173659]
> >   build-base-aarch64 (no such package):
> >     required by: .makedepends-go-bootstrap-20220812.173659[build-base-aarch64]
> >   go (no such package):
> >     required by: .makedepends-go-bootstrap-20220812.173659[go]
> > >>> ERROR: go-bootstrap: builddeps failed
> > >>> go-bootstrap: Uninstalling dependencies...
> > ERROR: No such package: .makedepends-go-bootstrap
> > ERROR: No such package: .hostdepends-go-bootstrap
> > Command exited with non-zero status 1
>
Reply to thread Export thread (mbox)