Opened 7 years ago

Last modified 6 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 Changed 7 years ago by Silvan Scherrer

Priority: majorcritical
Severity: mediumhigh

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.

comment:2 Changed 7 years ago by Silvan Scherrer

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 Changed 6 years ago by Yuri Dario

Changing

%_topdir f:/temp/build

in %HOME%\.rpmmacros to

%_topdir F:/temp/build

fixed the script generation for me and makes cmake work again.

comment:4 Changed 6 years ago by Silvan Scherrer

thats exactly what I forgot to document :(

Note: See TracTickets for help on using tickets.