Author Topic: batchbuild issues with backticked commands  (Read 28170 times)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
batchbuild issues with backticked commands
« on: October 18, 2006, 07:27:12 pm »
since rev 3103 my CB hangs infinite when trying to do a batchbuild started from the explorer's right-click popupmenu.

any ideas and or procedures how to catch the reason for this ?

brgds, tiwag

WinXP, wxMSW263p2

edit: changed thread title, as we know now what is the reason ...
« Last Edit: October 19, 2006, 12:26:44 am by tiwag »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: batchbuilds broken since rev 3103
« Reply #1 on: October 18, 2006, 07:54:42 pm »
seems so strange rev 3103 could be the guilty one, that ere changes on the console runner, what was the mast version you tried where i worked ?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: batchbuilds broken since rev 3103
« Reply #2 on: October 18, 2006, 07:58:11 pm »
since rev 3103 my CB hangs infinite when trying to do a batchbuild started from the explorer's right-click popupmenu.
Works for me, batch-build and batch-re-build of a project from explorer (WinXP, wx263 but revision 3104...)?!
Did you try a full re-build and clearing the devel directory before? (There were quite some SDK changes...)
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: batchbuilds broken since rev 3103
« Reply #3 on: October 18, 2006, 08:00:45 pm »
yes i've rebuilt it

normal build works fine, batchbuild hangs inf.

i'm out of ideas

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: batchbuilds broken since rev 3103
« Reply #4 on: October 18, 2006, 08:02:20 pm »
done a batch build and rebuild of a hello world console program --> both OK

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: batchbuilds broken since rev 3103
« Reply #5 on: October 18, 2006, 08:06:01 pm »
ok thanks for the info,

i stepped back to the last build where batchbuild worked for me, and it doesn't work anymore too,
so i have to investigate fiurther

... stay tuned  :P

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: batchbuilds broken since rev 3103
« Reply #6 on: October 18, 2006, 08:19:34 pm »
yes i've rebuilt it

normal build works fine, batchbuild hangs inf.

i'm out of ideas


Have you tried to run C::B in the batch-build profile but *not* for batch-building?
Lots of changes lately and maybe the conf file needs to be updated by running the app once in that profile..? (just guessing because it works here too)
Be patient!
This bug will be fixed soon...

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: batchbuilds broken since rev 3103
« Reply #7 on: October 18, 2006, 08:25:42 pm »
Have you tried to run C::B in the batch-build profile but *not* for batch-building?
yes that was the first thing i did, there it runs fine and i can build/rebuild everything ...

i tried also to debug the devel-CB with running with --build any.cbp
but it hangs somewhere and doesn't crash

btw. i use a batchbuild profile, where all plugins but compiler are disabled,

brgds, tiwag
« Last Edit: October 18, 2006, 08:27:22 pm by tiwag »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: batchbuilds broken since rev 3103
« Reply #8 on: October 18, 2006, 08:38:31 pm »
btw. i use a batchbuild profile, where all plugins but compiler are disabled,
A wild guess: Could you try what happens if you just re-enable the 3 wxSmith plugins in addition to the compiler plugin in this profile? (Because they onces caused trouble when disabling them using the new plugin framework).
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: batchbuilds broken since rev 3103
« Reply #9 on: October 18, 2006, 08:58:44 pm »
btw. i use a batchbuild profile, where all plugins but compiler are disabled,
A wild guess: Could you try what happens if you just re-enable the 3 wxSmith plugins in addition to the compiler plugin in this profile? (Because they onces caused trouble when disabling them using the new plugin framework).
With regards, Morten.

this didn't help anything

at the moment i've enabled compiler and environmentvariables plugins.

after a fresh svn checkout and build it was hanging too.

afterwards i renamed the config file and started from the roots ...
now it's working again.

something in the config file got screwed ...
don't know why and what

i'm happy, that it's working again  :D

thanks to all for helping me
brgds, tiwag
« Last Edit: October 18, 2006, 09:17:36 pm by tiwag »

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: batchbuilds broken since rev 3103
« Reply #10 on: October 18, 2006, 09:13:43 pm »
my previous post was way too fast ...

i found the reason for the hang

when i try to batch-build a project, which uses backticked `wx-config --cxxflags`
then it hangs infinitely with 100% cpu load. this project builds fine when i build it from the IDE

batch-building projects which are using custom variables is working fine.

attached is the project where it hangs for me.

brgds, tiwag

[attachment deleted by admin]
« Last Edit: October 18, 2006, 09:18:59 pm by tiwag »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: batchbuilds broken since rev 3103
« Reply #11 on: October 18, 2006, 09:25:39 pm »
attached is the project where it hangs for me.
This works well for me (no hang). But: I don't have wx-config so this might be the reason...?!
(Will try and edit this post once I did this...)
With regards, Morten.

Edit: Agreed, with wx-config (D/L'ded from http://wxconfig.googlepages.com/) my C::B freezes, too. Anyway: This seems to be related to wx-config. When you replace the backtick'd command with something else (I did a "ls -lisa" ;-)) with works... allthough it doesn't compile, of course.

Edit2: To make it very clear: Yes, I know that "ls" is a linux command - but no, I am on Windows and just using the GnuWin32 tools... ;-)
« Last Edit: October 18, 2006, 09:32:53 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: batchbuilds broken since rev 3103
« Reply #12 on: October 18, 2006, 09:28:15 pm »
attached is the project where it hangs for me.
This works well for me (no hang). But: I don't have wx-config so this might be the reason...?!
(Will try and edit this post once I did this...)
With regards, Morten.

i don't understand how you could build this project successfully, when you don't have wx-config ??  :shock:
I'm doing something wrong here  :P

thanks, tiwag

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: batchbuilds broken since rev 3103
« Reply #13 on: October 18, 2006, 09:31:35 pm »
i don't understand how you could build this project successfully, when you don't have wx-config ??  :shock:
I'm doing something wrong here  :P
No, I couldn't build... I forgot to mention that (did it in the other post now - including the "results").
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: batchbuilds broken when using backticked commands
« Reply #14 on: October 18, 2006, 09:39:39 pm »
Agreed, with wx-config (D/L'ded from http://wxconfig.googlepages.com/) my C::B freezes, too. Anyway: This seems to be related to wx-config...

but it doesn't explain, why it freezes CB only when batch-building ?!

wx-config doesn't freeze CB when you build a project normally from the IDE ?!

strange... i'm curious

Morten, many thanks for verifying this issue !!
brgds, tiwag