Mon 19 Apr 2004 10:11:02 AM UTC, original submission:
Hi,
I have tha following rule:
$(MK_INSROOT)/lib/java/jar/%: src/coasterLoader/build/lib/jar/%
-$(RM) $@
$(INSTALL) $< $@
$(CHMOD) 0444 $@
This target fails for a jar called coasterLoader.jar
When I run this in one ClearCase view the current path is "/vobs/MARKET_RISK/specificrisk" and the total dependency becomes "/vobs/MARKET_RISK/specificrisk/src/coasterLoader/build/lib/jar/coasterLoader.jar"
which is ok.
When I build in a different view the current path is "/view/ssa_8_lenkeian_var_specific_2.1_uat1/vobs/MARKET_RISK/" and the total dependency becomes "/view/ssa_8_lenkeian_var_specific_2.1_uat1/vobs/MARKET_RISK/specificrisk/src/coasterLoader/build/lib/jar/coasterLoader.jar" which is NOT OK becaus it can't match the rules.
I have run with the "-d" flag and here is the output:
works:
Considering target file `/home/lenkeian/devel/sbcimp/run/pkgs/RISK/var_specific/v2.1.0/lib/java/jar/coasterLoader.jar'.
File `/home/lenkeian/devel/sbcimp/run/pkgs/RISK/var_specific/v2.1.0/lib/java/jar/coasterLoader.jar' does not exist.
Looking for an implicit rule for `/home/lenkeian/devel/sbcimp/run/pkgs/RISK/var_specific/v2.1.0/lib/java/jar/coasterLoader.jar'.
Trying pattern rule with stem `coasterLoader.jar'.
Trying implicit prerequisite `src/coasterLoader/build/lib/jar/coasterLoader.jar'.
Found an implicit rule for `/home/lenkeian/devel/sbcimp/run/pkgs/RISK/var_specific/v2.1.0/lib/java/jar/coasterLoader.jar'.
doesn't work:
No implicit rule found for `installjars'.
Considering target file `/view/ssa_8_lenkeian_var_specific_2.1_uat1/vobs/MARKET_RISK/INSTALL/sbcimp/run/pkgs/RISK/var_specific/v2.1.0/lib/java/jar/coasterLoader.jar'.
File `/view/ssa_8_lenkeian_var_specific_2.1_uat1/vobs/MARKET_RISK/INSTALL/sbcimp/run/pkgs/RISK/var_specific/v2.1.0/lib/java/jar/coasterLoader.jar' does not exist.
Looking for an implicit rule for `/view/ssa_8_lenkeian_var_specific_2.1_uat1/vobs/MARKET_RISK/INSTALL/sbcimp/run/pkgs/RISK/var_specific/v2.1.0/lib/java/jar/coasterLoader.jar'.
Trying pattern rule with stem `coasterLoader.jar'.
Trying implicit prerequisite `src/coasterLoader/build/lib/jar/coasterLoader.jar'.
Trying pattern rule with stem `jar/coasterLoader.jar'.
Trying implicit prerequisite `src/coasterLoader/build/lib/jar/coasterLoader.jar'.
...
And on ity goes.
I have also tried with another ridiculously long view name (even longer than above) and that fails on even a shorter file:
make[3]: Entering directory `/vobs/MARKET_RISK/merlin/interface/infra'
/view/risk_lenkeian_unix_extremely_long_view_name_to_test_ssa_problem_with_coasterLoader/vobs/MARKET_RISK/makefiles/Makefile5.proj:121: make.depend: No such file or directory
Which leads me to believe that the problem is in the maximum length of the implicit rule maybe?
Best regards,
Andrei Lenkei
|