From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ALR unable to get many packages Date: Mon, 07 Aug 2023 14:14:53 +0100 Organization: A noiseless patient Spider Message-ID: References: <616ebbaf-0483-4af6-9249-e083bf36bcf8n@googlegroups.com> <0b3bebef-b082-47ae-b593-44a46ebbffd4n@googlegroups.com> <03dee1c7-22f9-41ad-89b4-8c6881100a1fn@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="3071ea7fa14d3f557930d87f7ea665bc"; logging-data="3025393"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190weAH/nU3ZmVa7hY8Qyoj2/VfxwcFWaE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cancel-Lock: sha1:tPA0f8LsHvgPcpEfKqovw5M3TCo= sha1:BkFkp+0pPIkm5zJEAAfJAAhFVAU= Xref: news.eternal-september.org comp.lang.ada:65498 List-Id: Kenneth Wolcott writes: > make[1]: *** [../.build/arm64-apple-darwin22.6.0/debug/../setup/src/aws-os_lib.ads] Error 1 > make: *** [config_setup] Error 2 The reason, I think, is that you have /usr/bin in your PATH before /opt/gcc-13.1.0-aarch64. >From the release notes at https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-13.1.0-aarch64-2, Setting PATH PATH needs to be set to include /opt/gcc-13.1.0-aarch64/bin at the front: bash Insert export PATH=/opt/gcc-13.1.0-aarch64/bin:$PATH in your ~/.bash_profile_common. zsh Likewise, but in ~/.zshrc. /usr/bin/gcc is the exact same compiler as /usr/bin/clang (a hard link, by the look of it). $ /usr/bin/gcc -v Apple clang version 14.0.3 (clang-1403.0.22.14.1) Target: arm64-apple-darwin22.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin $ /opt/gcc-13.1.0-aarch64/bin/gcc -v Using built-in specs. COLLECT_GCC=/opt/gcc-13.1.0-aarch64/bin/gcc COLLECT_LTO_WRAPPER=/opt/gcc-13.1.0-aarch64/libexec/gcc/aarch64-apple-darwin21/13.1.0/lto-wrapper Target: aarch64-apple-darwin21 Configured with: [...] Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.1.0 (GCC) I think you need to fix the PATH problem, then build with $ alr build -- -XTARGET=aarch64-apple-darwin21