Package Details: coreboot-toolchain-gcc-nds32le 24.02-1

Git Clone URL: https://aur.archlinux.org/coreboot-toolchain.git (read-only, click to copy)
Package Base: coreboot-toolchain
Description: Used to build coreboot
Upstream URL: https://www.coreboot.org
Keywords: coreboot toolchain
Licenses: GPL2, BSD3, BSD2, LGPL2Plus, GPL3Plus
Submitter: felixsinger
Maintainer: felixsinger
Last Packager: felixsinger
Votes: 5
Popularity: 0.000252
First Submitted: 2022-11-20 12:32 (UTC)
Last Updated: 2024-04-05 04:03 (UTC)

Latest Comments

taotieren commented on 2024-02-19 09:23 (UTC)

Building toolchain using 16 thread(s).

ERROR: Missing tool: Please install 'zlib (zlib1g-dev or zlib-devel)'. (eg using your OS packaging system)
ERROR: Missing tool: Please install 'zlib (zlib1g-dev or zlib-devel)'. (eg using your OS packaging system)
make[1]: *** [Makefile:28: build_clang] Error 1
make[1]: *** [Makefile:32: build_nasm] Error 1
make: *** [util/crossgcc/Makefile.inc:38: clang] Error 2
make: *** Waiting for unfinished jobs....
make: *** [util/crossgcc/Makefile.inc:41: nasm] Error 2
Downloading and verifying tarballs ...
 * R06_28_23.tar.gz (cached)... hash verified (e37c8dd560bacb0190f2a0306a64f63564206c65)
Downloaded tarballs ... ok
Unpacking and patching ...
 * R06_28_23.tar.gz
   o acpica-R06_28_23_iasl.patch
Unpacked and patched ... ok
Building packages ...
Building IASL vR06_28_23 for host ... ok
Packages built ... ok
Copied EDK2 tools template ... ok
Cleaning up temporary files... ok

You can now run IASL ACPI compiler from /build/coreboot-toolchain/src/clang.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/

A zlib dependency is missing when using the extra-x86_64 package. I would like to add the zlib dependency to conform to the devtools packaging specification. Thank you.

felixsinger commented on 2023-05-16 11:38 (UTC)

Hi Fabio,

Thanks for your suggestions!

git is missing as makedepends

Done

python3 can be written as python

Done

would be nice if you add the downloaded tarballs in source=() [+ add noextract=()

Done. Now, pacman manages the source files and they get symlinked to the expected directory. This allows the build step to be offline.

zlib is core package and always installed

I will look into that later.

FabioLolix commented on 2023-05-15 19:57 (UTC)

Fails to build with makepkg


ERROR: Missing tool: Please install 'zlib (zlib1g-dev or zlib-devel)'. (eg using your OS packaging system)
ERROR: Missing tool: Please install 'zlib (zlib1g-dev or zlib-devel)'. (eg using your OS packaging system)
make[1]: *** [Makefile:32: build_nasm] Error 1
make[1]: *** [Makefile:24: build_iasl] Error 1
make: *** [util/crossgcc/Makefile.inc:41: nasm] Error 2
make: *** Attesa per i processi non terminati....
make: *** [util/crossgcc/Makefile.inc:35: iasl] Error 2
Downloading and verifying tarballs ...

zlib is core package and always installed

FabioLolix commented on 2023-05-15 16:32 (UTC)

Hello,

  • git is missing as makedepends
  • python3 can be written as python
  • would be nice if you add the downloaded tarballs in source=() [+ add noextract=(), my pkgbuild handbrake-full do that for example]
Downloading and verifying tarballs ...
 * gmp-6.2.1.tar.xz (downloading from https://ftpmirror.gnu.org/gmp/gmp-6.2.1.tar.xz)... 100%... hash verified (0578d48607ec0e272177d175fd1807c30b00fdf2)
 * mpfr-4.2.0.tar.xz (downloading from https://ftpmirror.gnu.org/mpfr/mpfr-4.2.0.tar.xz)... 100%... hash verified (4f734ca3ebceac28e2f944b131a47133b19e2c5e)
 * mpc-1.3.1.tar.gz (downloading from https://ftpmirror.gnu.org/mpc/mpc-1.3.1.tar.gz)... 100%... hash verified (bac1c1fa79f5602df1e29e4684e103ad55714e02)
 * binutils-2.40.tar.xz (downloading from https://ftpmirror.gnu.org/binutils/binutils-2.40.tar.xz)... 100%... hash verified (fee4fbef9d632afc1988dd631d7f75d4394b7f8d)
 * gcc-11.3.0.tar.xz (downloading from https://ftpmirror.gnu.org/gcc/gcc-11.3.0/gcc-11.3.0.tar.xz)... 100%... hash verified (cf86a48278f9a6f4b03d4390550577b20353b4e9)

And there are some more