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

CircleCI not able to build Coreboot 4.8.1 after bullseye docker image change #807

Closed
tlaurion opened this issue Aug 19, 2020 · 10 comments
Closed

Comments

@tlaurion
Copy link
Collaborator

tlaurion commented Aug 19, 2020

@MrChromebox
Building without cache since (EDIT:) commit 9eff5c5 results in:

gcc -I/root/project/build/coreboot-4.8.1/util/sconfig -Ix230-flash/util/sconfig -o x230-flash/util/sconfig/sconfig x230-flash/util/sconfig/lex.yy.o x230-flash/util/sconfig/sconfig.tab.o x230-flash/util/sconfig/main.o
/usr/bin/ld: x230-flash/util/sconfig/main.o:/root/project/build/coreboot-4.8.1/util/sconfig/sconfig.h:80: multiple definition of `head'; x230-flash/util/sconfig/sconfig.tab.o:/root/project/build/coreboot-4.8.1/util/sconfig/sconfig.h:80: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [util/sconfig/Makefile.inc:43: x230-flash/util/sconfig/sconfig] Error 1
rm x230-flash/util/cbfstool/fmd_scanner.c x230-flash/util/cbfstool/fmd_parser.c
make[2]: Leaving directory '/root/project/build/coreboot-4.8.1'
make[1]: *** [Makefile:382: /root/project/build/coreboot-4.8.1/x230-flash/.build] Error 1
make[1]: Leaving directory '/root/project'
make: *** [Makefile:587: all] Error 2

Any idea?

@tlaurion
Copy link
Collaborator Author

Same happened back there at that commit from CircleCI

@MrChromebox
Copy link
Contributor

what was the resolution when the issue first surfaced back then?

@tlaurion
Copy link
Collaborator Author

tlaurion commented Aug 19, 2020

The following successful tests were to test 4.12. This commit broke 4.8.1 builds on CircleCI from there and on.

I'm trying this https://app.circleci.com/pipelines/github/tlaurion/heads/316/workflows/d636d5c4-d490-40c3-bfab-ac5e4aee95b5/jobs/344

@tlaurion
Copy link
Collaborator Author

@MrChromebox https://github.com/osresearch/heads/compare/master...tlaurion:make_421_fix-CircleCI_unhack?expand=1#diff-8d39c7575f026b40d86f213a4fcea2d6

Fails at :

gcc  -g -O2 -Wl,--export-dynamic  -o make ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o getopt.o getopt1.o guile.o implicit.o job.o load.o loadapi.o main.o misc.o posixos.o output.o read.o remake.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o remote-stub.o glob/libglob.a   -ldl 
make[3]: Leaving directory '/root/project/build/make-4.2.1'
make[2]: Leaving directory '/root/project/build/make-4.2.1'
make[1]: Leaving directory '/root/project/build/make-4.2.1'
LANG=C MAKE=/root/project/build/make-4.2.1/make /root/project/build/make-4.2.1/make  all
make[1]: Entering directory '/root/project'
modules/coreboot:71: *** recipe commences before first target.  Stop.
make[1]: Leaving directory '/root/project'
make: *** [Makefile:587: all] Error 2

Where continues with:

gcc  -g -O2 -Wl,--export-dynamic  -o make ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o getopt.o getopt1.o guile.o implicit.o job.o load.o loadapi.o main.o misc.o posixos.o output.o read.o remake.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o remote-stub.o glob/libglob.a   -ldl 
make[3]: Leaving directory '/root/project/build/make-4.2.1'
make[2]: Leaving directory '/root/project/build/make-4.2.1'
make[1]: Leaving directory '/root/project/build/make-4.2.1'
LANG=C MAKE=/root/project/build/make-4.2.1/make /root/project/build/make-4.2.1/make  all
make[1]: Entering directory '/root/project'
2020-08-19 16:20:39+00:00 WGET https://www.coreboot.org/releases/coreboot-blobs-4.8.1.tar.xz
if ! wget -O "/root/project/packages/coreboot-blobs-4.8.1.tar.xz.tmp" https://www.coreboot.org/releases/coreboot-blobs-4.8.1.tar.xz ; then exit 1 ; fi ; mv "/root/project/packages/coreboot-blobs-4.8.1.tar.xz.tmp" "/root/project/packages/coreboot-blobs-4.8.1.tar.xz" \
[...]

@tlaurion
Copy link
Collaborator Author

@MrChromebox tlaurion@51a0de3, being a revert of the condition actually failing has passed the point where past condition failed.

@tlaurion
Copy link
Collaborator Author

tlaurion commented Aug 19, 2020

@tlaurion tlaurion changed the title CircleCI not able to build Coreboot 4.8.1 after coreboot module change CircleCI not able to build Coreboot 4.8.1 after bullseye docker image change Aug 20, 2020
@tlaurion
Copy link
Collaborator Author

@MrChromebox : culprit is bullseye docker image change... Might need more investigation. Reverted to docker:10 docker image in #808

@tlaurion
Copy link
Collaborator Author

@tlaurion
Copy link
Collaborator Author

Fixed under #808

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

No branches or pull requests

2 participants