For many years, I encountered build errors like this but never found the actual problem or permanent solution:
While building openbox in a chroot:
- The compiler works with no problems. It does create executables.
- Config.log doesn't say anything of use. Error 77? Says who?
- It's is nearly impossible to trace back the cause due to the complexity if the configure code with all is variables and conditions.
- This time, the problem seems to be gone at the next build attempt in exactly the same circumstances. It wasn't necessary at all but breaks my build procedure and demands manual operation.
- I can't find the actual faulty command and it's output. That probably would be sufficient.
Is there any working approach to avoid wasting time on searching?
While building openbox in a chroot:
Code:
checking whether the C compiler works... no
configure: error: in `/usr/ports/x11-wm/openbox/work/openbox-3.6':
configure: error: C compiler cannot create executables
See `config.log' for more details. A oneliner at the end of the file without any related action involved doesn't tell a lot.
- Config.log doesn't say anything of use. Error 77? Says who?
- It's is nearly impossible to trace back the cause due to the complexity if the configure code with all is variables and conditions.
- This time, the problem seems to be gone at the next build attempt in exactly the same circumstances. It wasn't necessary at all but breaks my build procedure and demands manual operation.
- I can't find the actual faulty command and it's output. That probably would be sufficient.
Is there any working approach to avoid wasting time on searching?