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

ls function fails #108

Open
Manu343726 opened this issue Mar 30, 2015 · 7 comments
Open

ls function fails #108

Manu343726 opened this issue Mar 30, 2015 · 7 comments
Milestone

Comments

@Manu343726
Copy link
Contributor

Hi Tobias.

I have a biicode user in our forum trying to write a block for Qt in the same way I wrote the Boost block: http://forum.biicode.com/t/cmake-crasheddddddddddddddddd

He's using the shell wrapper ls() utility, but cmake hangs completely. I have checked on my computer and the same occurs :(
For example, a simple LS("home/manu343726/"), this is the result:

$ bii configure
INFO: Processing changes...
Running: "cmake"  -G "Unix Makefiles" -Wno-dev  ../cmake

                BLOCK: qiangwu/qt 
----------------------------------------------------------- (hangs here for about 2 mins)
ERROR: CMake failed
@toeb
Copy link
Owner

toeb commented Mar 30, 2015

ok. I'm checking it out right now. which version of cmakepp is it? the current block`?

@toeb
Copy link
Owner

toeb commented Mar 30, 2015

I can't reproduce the error on linux or windows. I need some sort of output (cmake error message) else I do not even have a guess of whats going wrong because internally ls only uses cmake functions like file(GLOB) and get_filename_component its not a wrapper function as it does not use the shell program to obtain the files.

@toeb
Copy link
Owner

toeb commented Mar 30, 2015

A quick fix for him would be to not use ls and just use file(GLOB dirs "G:/path/to/qt/*)

@Manu343726 Manu343726 changed the title ls shell wrapper function fails ls function fails Mar 30, 2015
@Manu343726
Copy link
Contributor Author

The user is running latest version available on the bii block. Also, the only output is what I gave you above. Maybe is something wrong from the bii part, I will check in depth. Thanks for your support

@toeb
Copy link
Owner

toeb commented Mar 30, 2015

There might be a problem because of the way that blocks are created. currently every successfull build of cmakepp on travis publishes a new block (with which I am not happy - I only want it to publish if I tag it... - but I have not yet addresses this issue...)

@toeb
Copy link
Owner

toeb commented Apr 6, 2015

Did you get a chance to find the problem?

@Manu343726
Copy link
Contributor Author

nope.

@toeb toeb modified the milestone: Stable Feb 2, 2016
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

2 participants