Opened 8 years ago
Last modified 7 years ago
#137 new defect
dash hangs when it executes cmake
Reported by: | Silvan Scherrer | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | dev tools |
Component: | dash | Version: | |
Severity: | high | Keywords: | |
Cc: |
Description
when building cmake with our rpmbuild-bot and using dash as the default shell I see the following:
cmake finishes bootstrapping w/o problems, but the following make hangs completely. make calls cmake with some parameters.
when I do the exact same with ash as the default shell all works as it should.
Change History (4)
comment:1 by , 8 years ago
Priority: | major → critical |
---|---|
Severity: | medium → high |
comment:2 by , 8 years ago
why cmake hangs is now clear. The problem is the driveletter.
The below snippet executed with sh hangs.
cd 'e:/Trees' cd 'cmake' cd build e:/Trees/cmake/build/Bootstrap.cmk/cmake --help exit 0
While this snippet works. The only difference is the big letter E in the drive part of cd
cd 'E:/Trees' cd 'cmake' cd build e:/Trees/cmake/build/Bootstrap.cmk/cmake --help exit 0
This behavior is confirmed by different developers.
We now suspect it might be a fork issue.
comment:3 by , 7 years ago
Changing
%_topdir f:/temp/build
in %HOME%\.rpmmacros to
%_topdir F:/temp/build
fixed the script generation for me and makes cmake work again.
I tried to debug this part a bit further. But somehow not even the first printf() right after main() is seen. I added fflush(stdout), to be sure it should be seen.