First time user, and I am not having much luck with tup :(
I love the informative messages, though! - except for the one in the 
subject :)

I have a one-command tupfile:

# Relative to the current directory
ICD_ROOT_DIR = ../../icd_data

BCM_NAME = ds_dsp
: $(ICD_ROOT_DIR)/common/$(BCM_NAME)/bcmrbc/$(BCM_NAME).bcm.xml *|>* 
bcm_tool -b $(BCM_NAME) -d $(ICD_ROOT_DIR)/common/$(BCM_NAME)/bcmrbc 
--force_to_overwrite -F -X $(BCM_NAME)_flatten_db.bcm.xml > 
$(BCM_NAME)_flatten_db_build.log *|>* $(BCM_NAME)_flatten_db.bcm.xml | 
$(BCM_NAME)_flatten_db_build.log


When I run it like this (note the .log output redirect) I get this message:

<command>
 *** tup errors ***
tup error: Expected to write to file 'ds_dsp_flatten_db.bcm.xml' from cmd 
13283 but didn't
 *** Command ID=13283 ran successfully, but tup failed to save the 
dependencies.

But the file is produced! I can also run the exact command it 
prints myself, and it works fine and updates both outputs.

Even more strange, when I remove $(BCM_NAME)_flatten_db_build.log redirect 
and the matching extra output, then I get this:

[ tup ] [3.874s] Executing Commands...
 [ ]   0%tup error: failed to create child process: No error
 *** Command ID=13283 failed: bcm_tool -b ds_dsp -d 
../../icd_data/common/ds_dsp/bcmrbc --force_to_overwrite -F -X 
ds_dsp_flatten_db.bcm.xml

Indeed, it finishes too quickly and does not update the output.
However, I can run the exact same command from command line successfully!
Running with -d or --verbose does not add anything useful.

Also, on *every* "upd" run it takes nearly 4 sec in "Scanning 
filesystem...". (tup init listed about 1400 files under project top.)

I am running 64-bit Windows 7 Virtual Machine (by Vmware) installed on a 
Linux CentOS 5 machine.
bcm_tool command is a .bat file, which runs a Python script. The tool is 
located on a shared network drive.
I tried a simplified version of some local batch file echo-ing into some 
output, and that worked just fine.

Tup is not ready for prime-time?
Evgenii

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to