#164: Building Coreboot v4 r5555/5554 fails mysteriously on Debian lenny and etch (x86) ----------------------------+----------------------------------------------- Reporter: juhe@… | Owner: stepan@… Type: defect | Status: new Priority: major | Milestone: Component: coreboot | Keywords: makefile, debian Dependencies: | Patchstatus: there is no patch ----------------------------+-----------------------------------------------
Comment(by juhe@…):
Ok, now I got it.
The system is set up so that /home is not a directory but a symlink to /opt/home , which is the real location of home directories. I was doing the build under my home directory and the shell (pwd command) believed it was operating under /home rather than /opt/home.
The Coreboot Makefile seems to do some computation on pathnames and in this case it was confused by the symlink along the path. So the end result was in some cases adding an extra prefix "/opt" to path names, e.g. "/optbuild/foo/bar" instead of "build/foo/bar".
As the Makefile seems quite complicated for me, I "fixed" this by doing a chdir from /home/juhe to /opt/home/juhe, i.e. the same place via a different name, and everything works fine.
Thanks for providing the missing clue to solving this!