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

src/build/buildInfo.py assumes git repository #20

Open
klauskiwi opened this issue Mar 9, 2021 · 1 comment
Open

src/build/buildInfo.py assumes git repository #20

klauskiwi opened this issue Mar 9, 2021 · 1 comment

Comments

@klauskiwi
Copy link

A script that is part of the build process, src/build/buildInfo.py is assuming that the build directory is a git tree..

this is not necessarily true, specially if we're building with local.mk file specifying SBE_OVERRIDE_SRCDIR= where these files are rsync'ed to the build directory for build.

@klauskiwi
Copy link
Author

build error:

/usr/bin/make --no-print-directory -I -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/common/utils/imageProcs -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/utils/imageProcs -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/centaur/utils/imageProcs -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/xip -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/build -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/cache -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/utils -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/core -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/perv -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/nest  -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/io -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/pm -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/initfiles -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/lib -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/ffdc -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/memory/lib/workarounds -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/hwp/lib -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/obj/power/genfiles -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/hwpf -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/hwpf/fapi2/include -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/ppe/pk/../include -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/ppe/pk/std -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/ppe/pk/../include -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/ppe/pk/../include/std -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/ppe/pk/kernel -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/ppe/pk/ppe -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/ppe/pk/ppe42 -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/sbefw -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/sbefw/core -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/sbefw/app -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/sbefw/app/common -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/sbefw/app/power -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/boot -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/build/utils -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/build/utils/power -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/ppe/pk/trace -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/tools/trace -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/common/include -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/utils/ -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/tools/imageProcs -C /home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/tools/trace -f Makefile #
g++ -O3 -w -g -I./ ppetracepp.C -o /home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/obj/power/genfiles/ppetracepp
gcc -w -g -I./ -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/ppe/pk/trace ppe2fsp.c ppe2fsp_cmd.c -o /home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/obj/power_axone/genfiles/ppe2fsp
python buildInfo.py /home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/obj/power_axone/genfiles
Failed to get a valid SBE_COMMIT_ID
make[3]: *** [Makefile:247: buildInfo] Error 1
make[2]: *** [Makefile:179: all] Error 2
make[2]: Leaving directory '/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/build'
make[1]: *** [Makefile:39: axone] Error 2
make[1]: *** Waiting for unfinished jobs....
gcc -w -g -I./ -I/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/import/chips/p9/procedures/ppe/pk/trace ppe2fsp.c ppe2fsp_cmd.c -o /home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/obj/power/genfiles/ppe2fsp
python buildInfo.py /home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/obj/power/genfiles
Failed to get a valid SBE_COMMIT_ID
make[3]: *** [Makefile:247: buildInfo] Error 1
make[2]: *** [Makefile:179: all] Error 2
make[2]: Leaving directory '/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/src/build'
make[1]: *** [Makefile:36: DD2] Error 2
make[1]: Leaving directory '/home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom'
make: *** [package/pkg-generic.mk:250: /home/klausk/sandbox/git/open-power/op-build/output/build/sbe-custom/.stamp_built] Error 2
make: Leaving directory '/home/klausk/sandbox/git/open-power/op-build/buildroot'

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

1 participant