Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducably cant build. #6

Closed
Discordia42 opened this issue Jan 27, 2021 · 4 comments
Closed

Reproducably cant build. #6

Discordia42 opened this issue Jan 27, 2021 · 4 comments
Labels

Comments

@Discordia42
Copy link

Discordia42 commented Jan 27, 2021

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).

@szszszsz
Copy link
Member

Hi! Which version you are building? Please provide commit hash.

cc @daringer - you have Dockerfile based build somewhere, don't you?

@szszszsz
Copy link
Member

This one worked for me for 8dc5b76 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

@daringer
Copy link
Collaborator

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 ....

@Discordia42
Copy link
Author

Discordia42 commented Jan 28, 2021

Thanks the build docker works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants