Closed Discordia42 closed 3 years ago
Hi! Which version you are building? Please provide commit hash.
cc @daringer - you have Dockerfile based build somewhere, don't you?
This one worked for me for 8dc5b7616aec2586c4a3bd59ac8cfca1cfa01e91 some time ago. In general I would use Docker/Podman to separate build from the system, and run commands from the CI - see .gitlab-ci.yml
.
$ cat Dockerfile
from fedora:30
run dnf install -y @development-tools gcc-c++ gcc-gnat zlib-devel perl-Digest-MD5 perl-Digest-SHA uuid-devel pcsc-tools ncurses-devel lbzip2 libuuid-devel lzma elfutils-libelf-devel bc bzip2 bison flex git gnupg iasl m4 nasm patch python wget libusb-devel cmake automake pv bsdiff autoconf libtool cpio texinfo
for building heads you can try building with: https://github.com/daringer/heads-builder
makes life easier, especially if you (for some reason) need multiple head builds next to each other ....
Thanks the build docker works.
Just got my nitrokey pro and wanted to update my coreboot to your version but i haven't been able to build yet. getting
/usr/bin/ld: obj/aslcompilerparse.o:(.bss+0x8): multiple definition of
AslCompilerlval'; obj/aslcompilerlex.o:(.bss+0x0): first defined here/usr/bin/ld: obj/prparserlex.o:(.bss+0x0): multiple definition of
LexBuffer'; obj/dtparserlex.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[1]: *** [../Makefile.rules:15: obj/iasl] Error 1 make[1]: Leaving directory '/home/eris/Documents/builds/purism-heads/build/coreboot-4.8.1/util/crossgcc/acpica-unix2-20180531/generate/unix/iasl' make: *** [Makefile.common:7: iasl] Error 2 cp: cannot stat 'bin/iasl': No such file or directory
remember also getting this previously but this is the first time it also happened to me on the recommended build system(an ubuntu VM).