Daniel,

Actually, it exists now, even before I run the command you gave me:
# imf.pl all
Create gsp100.h first:
vmake 10.00.08 30-04-2002
VMAKE_PATH=/tmp/sapdbsrc,
29-05-02 13:32:05 start  of    collection phase
29-05-02 13:32:07 end    of    collection phase
29-05-02 13:32:07 start  of    gsp100.h   fast
gsp100.h
missing command script 'mfcinc.pl'
29-05-02 13:32:07 end    of    gsp100.h   fast
Inconsistent build information between $RELVER(R74) and gsp100.h (R-1-1)

root@glt3903:/tmp/sapdbsrc# which mfcinc.pl
/tmp/sapdb_tools/bin/mfcinc.pl

root@glt3903:/tmp/sapdbsrc# ls -l `which mfcinc.pl`
-rwxrwxr-x    1 root     root         3054 May 24 21:24
/tmp/sapdb_tools/bin/mfcinc.pl*

If I then run the command you gave me:
# cd $TOOL

/tmp/sapdb_tools# ./envexec $TOOL $TOOL perl $(TOOL)/bin/imf.pl -u
mfcinc.pl.tt
bash: TOOL: command not found
Can't open perl script "/bin/imf.pl": No such file or directory

Ah, I just noticed the incorrect parentheses,

/tmp/sapdb_tools# ./envexec $TOOL $TOOL perl $TOOL/bin/imf.pl -u
mfcinc.pl.tt
vmake 10.00.08 30-04-2002
VMAKE_PATH=../sapdb_tools,
29-05-02 13:37:11 start  of    collection phase
unknown target 'mfcinc.pl.tt', version 'f'
error collecting 'mfcinc.pl.tt'
29-05-02 13:37:11 end    of    collection phase
error opening '../sapdb_tools/sys/wrk//prot/Modules.PID23474.m0'
29-05-02 13:37:11 end    of    mfcinc.pl.tt

/tmp/sapdb_tools# ls -l `which mfcinc.pl`
-rwxrwxr-x    1 root     root         3054 May 24 21:24
/tmp/sapdb_tools/bin/mfcinc.pl*


I re-ran the imf.pl all command with Perl tracing turned on.  It didn't
really show me anything more.  The relevant part is this:
# PERLDB_OPTS="NonStop=1 AutoTrace=1 frame=2" perl -dS
/tmp/sapdb_tools/bin/imf.pl all
...
...
    exited imake::ToolTrace
    355:                my $VMakeRc;
    357:                if ($ENV{VMAKE_LOCATION})
    358:                {
    364:                        $VMakeRc = system ($ENV{TOOL}."/pgm/vmake",
@VMakeArgs);
vmake 10.00.08 30-04-2002
VMAKE_PATH=/tmp/sapdbsrc,
29-05-02 13:42:21 start  of    collection phase
29-05-02 13:42:22 end    of    collection phase
29-05-02 13:42:22 start  of    gsp100.h   fast
gsp100.h
missing command script 'mfcinc.pl'
29-05-02 13:42:22 end    of    gsp100.h   fast
    367:                if (defined ($optctl{t})) {
    374:            unless ($Options =~ /K/) {
    375:                unlink <$WRK/fast/tmp/*_$ENV{'BUILDPID'}.*>;
    entering Env::FETCH
     103:           my ($self) = @_;
     104:           $ENV{$$self};


Mark Post

-----Original Message-----
From: Dittmar, Daniel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 7:55 AM
To: 'Post, Mark K'; 'sapdb'
Subject: RE: Source Build Error


> gsp100.h
> missing command script 'mfcinc.pl'
> 28-05-02 12:55:44 end    of    gsp100.h   fast
> Inconsistent build information between $RELVER(R74) and 
> gsp100.h (R-1-1)
[...]
> # find . -name gsp100.h -ls
> 208899    8 -r--r--r--   1 500      513          8177 May 16 16:16
> ./sys/src/sp/gsp100.h
>  19033    0 -rwxr-xr-x   1 root     root            0 May 24 21:28
> ./sys/wrk/incl/gsp100.h
>  19050    8 -rw-rw-r--   1 root     root         8177 May 16 16:16
> ./sys/wrk/fast/tmp/gsp100.h

The missing mfcinc.pl is the culprit. vmake compares the 
release info found in the environment with the one found 
in $WRK/incl/gsp100.h. And because mfcinc.pl is missing,
an empty file is copied to $WRK/incl.

To find the problems with the incomplete build tools:
- cd $TOOL
- ./envexec $TOOL $TOOL perl $(TOOL)/bin/imf.pl -u mfcinc.pl.tt

Does this result in an error? Does $TOOL/bin/mfcinc.pl exist 
after this call?

Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[EMAIL PROTECTED]
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to