Package Details: edk2-linux-toolchain 0.1-1

Git Clone URL: https://aur.archlinux.org/edk2-linux-toolchain.git (read-only, click to copy)
Package Base: edk2-linux-toolchain
Description: minimal EDKII including the makeefi tool for easily building UEFI apps and drivers
Upstream URL: https://github.com/M1cha/edk2-linux-toolchain
Licenses: BSD
Conflicts: makeefi
Provides: makeefi
Submitter: M1cha
Maintainer: M1cha
Last Packager: M1cha
Votes: 0
Popularity: 0.000000
First Submitted: 2016-07-29 16:31 (UTC)
Last Updated: 2016-07-29 16:36 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

M1cha commented on 2023-07-12 17:47 (UTC)

@dreieck Are you sure you still want to use this? This uses an ancient edk2 version from 2016 which barely compiles. And even if I fix all that you still need python2.

dreieck commented on 2023-07-11 20:05 (UTC)

Now I get another build error:
main.c:432:17: error: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
It has been reported upstream.

dreieck commented on 2023-07-11 19:59 (UTC)

You download the latest state from a git repository.

So you must rename your package to edk2-linux-toolchain-git, add edk2-linux-toolchain to the provides and depends arrays, and provide a proper pkgver() function.

Thanks for maintaining!

dreieck commented on 2022-05-10 09:32 (UTC)

Fails to build for me:

==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/[...]/.cache/yay/edk2-linux-toolchain/src/edk2-linux-toolchain/makeefi
[ 50%] Building C object CMakeFiles/makeefi.dir/src/main.c.o
/home/[...]/.cache/yay/edk2-linux-toolchain/src/edk2-linux-toolchain/makeefi/src/main.c: In function ‘main’:
/home/[...]/.cache/yay/edk2-linux-toolchain/src/edk2-linux-toolchain/makeefi/src/main.c:407:13: error: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
  407 |             write(fd, &character, 1);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/[...]/.cache/yay/edk2-linux-toolchain/src/edk2-linux-toolchain/makeefi/src/main.c:408:13: error: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
  408 |             write(fd, arg_inffile, strlen(arg_inffile));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/[...]/.cache/yay/edk2-linux-toolchain/src/edk2-linux-toolchain/makeefi/src/main.c:431:17: error: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
  431 |                 write(fd, &character, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
/home/[...]/.cache/yay/edk2-linux-toolchain/src/edk2-linux-toolchain/makeefi/src/main.c:432:17: error: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
  432 |                 write(fd, prefix, strlen(prefix));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/[...]/.cache/yay/edk2-linux-toolchain/src/edk2-linux-toolchain/makeefi/src/main.c:433:17: error: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
  433 |                 write(fd, pathbuf, strlen(pathbuf));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [CMakeFiles/makeefi.dir/build.make:76: CMakeFiles/makeefi.dir/src/main.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/makeefi.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...