Apiif.h/cxx not generated

View: New views
5 Messages — Rating Filter:   Alert me  

Apiif.h/cxx not generated

by Zelzer Sascha :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I recompiled the Cint sources today from a clean svn checkout (still
trying to figure out how the build system works in order to adapt it to
CMake properly).

If I understood it right, the files cint7/src/dict/Apiif.h/.cxx should
be generated during the build-process by cint_tmp. But this never
happens, because those files come with the svn checkout and make thinks
the target is up-to-date. This leads to compiler errors in Appif.cxx
(the symbols G__new_interpreted_object and G__delete_interpreted_object
are not defined, because G__ROOT is not defined in Api.h).

I just removed the two files and hit make again and everything was fine,
except for a failing test:
explicitdtor.cxx  
FAILED with code 256: diff  --old-group-format="explicitdtor.cxx
compiled:%c'\012'%<" --new-group-format="explicitdtor.cxx
interpreted:%c'\012'%>" --unchanged-line-format="" --old-line-format="
%3dn: %L" --new-line-format=" %3dn: %L" compiled interpreted>>
testdiff.txt

So, would removing those files from the svn repository do trick?

Regards,
Sascha


Re: Apiif.h/cxx not generated

by Philippe Canal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> So, would removing those files from the svn repository do trick?

Currently the ROOT framework is relying on those being in the Repository.

So I just updated the configure script to remove them automatically (at least
until ROOT can generated those).

> except for a failing test:

This is expected.  How did you run the test?  To 'automatically ignore'
this error, you can add the --hide or --hide-known-defects options to
testall.cxx

Cheers,
Philippe


Zelzer Sascha wrote:

> Hi,
>
> I recompiled the Cint sources today from a clean svn checkout (still
> trying to figure out how the build system works in order to adapt it to
> CMake properly).
>
> If I understood it right, the files cint7/src/dict/Apiif.h/.cxx should
> be generated during the build-process by cint_tmp. But this never
> happens, because those files come with the svn checkout and make thinks
> the target is up-to-date. This leads to compiler errors in Appif.cxx
> (the symbols G__new_interpreted_object and G__delete_interpreted_object
> are not defined, because G__ROOT is not defined in Api.h).
>
> I just removed the two files and hit make again and everything was fine,
> except for a failing test:
> explicitdtor.cxx  
> FAILED with code 256: diff  --old-group-format="explicitdtor.cxx
> compiled:%c'\012'%<" --new-group-format="explicitdtor.cxx
> interpreted:%c'\012'%>" --unchanged-line-format="" --old-line-format="
> %3dn: %L" --new-line-format=" %3dn: %L" compiled interpreted>>
> testdiff.txt
>
> So, would removing those files from the svn repository do trick?
>
> Regards,
> Sascha
>
>  


Re: Apiif.h/cxx not generated

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> This is expected.  How did you run the test?  To 'automatically ignore'
> this error, you can add the --hide or --hide-known-defects options to
> testall.cxx

and yes, this should be on by default. I will change that tomorrow.

Cheers, Axel.

Philippe Canal wrote:

>> So, would removing those files from the svn repository do trick?
>
> Currently the ROOT framework is relying on those being in the Repository.
>
> So I just updated the configure script to remove them automatically (at
> least until ROOT can generated those).
>
>> except for a failing test:
>
> This is expected.  How did you run the test?  To 'automatically ignore'
> this error, you can add the --hide or --hide-known-defects options to
> testall.cxx
>
> Cheers,
> Philippe
>
>
> Zelzer Sascha wrote:
>> Hi,
>>
>> I recompiled the Cint sources today from a clean svn checkout (still
>> trying to figure out how the build system works in order to adapt it to
>> CMake properly).
>> If I understood it right, the files cint7/src/dict/Apiif.h/.cxx should
>> be generated during the build-process by cint_tmp. But this never
>> happens, because those files come with the svn checkout and make thinks
>> the target is up-to-date. This leads to compiler errors in Appif.cxx
>> (the symbols G__new_interpreted_object and G__delete_interpreted_object
>> are not defined, because G__ROOT is not defined in Api.h).
>>
>> I just removed the two files and hit make again and everything was fine,
>> except for a failing test:
>> explicitdtor.cxx  FAILED with code 256: diff
>> --old-group-format="explicitdtor.cxx
>> compiled:%c'\012'%<" --new-group-format="explicitdtor.cxx
>> interpreted:%c'\012'%>" --unchanged-line-format="" --old-line-format="
>> %3dn: %L" --new-line-format=" %3dn: %L" compiled interpreted>>
>> testdiff.txt
>>
>> So, would removing those files from the svn repository do trick?
>>
>> Regards,
>> Sascha
>>
>>  
>
>


Re: Apiif.h/cxx not generated

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On 2009-01-12 21:06, Axel Naumann wrote:
>> This is expected.  How did you run the test?  To 'automatically ignore'
>> this error, you can add the --hide or --hide-known-defects options to
>> testall.cxx

This is now the default behavior.

Axel.

>
> Philippe Canal wrote:
>>> So, would removing those files from the svn repository do trick?
>> Currently the ROOT framework is relying on those being in the Repository.
>>
>> So I just updated the configure script to remove them automatically (at
>> least until ROOT can generated those).
>>
>>> except for a failing test:
>> This is expected.  How did you run the test?  To 'automatically ignore'
>> this error, you can add the --hide or --hide-known-defects options to
>> testall.cxx
>>
>> Cheers,
>> Philippe
>>
>>
>> Zelzer Sascha wrote:
>>> Hi,
>>>
>>> I recompiled the Cint sources today from a clean svn checkout (still
>>> trying to figure out how the build system works in order to adapt it to
>>> CMake properly).
>>> If I understood it right, the files cint7/src/dict/Apiif.h/.cxx should
>>> be generated during the build-process by cint_tmp. But this never
>>> happens, because those files come with the svn checkout and make thinks
>>> the target is up-to-date. This leads to compiler errors in Appif.cxx
>>> (the symbols G__new_interpreted_object and G__delete_interpreted_object
>>> are not defined, because G__ROOT is not defined in Api.h).
>>>
>>> I just removed the two files and hit make again and everything was fine,
>>> except for a failing test:
>>> explicitdtor.cxx  FAILED with code 256: diff
>>> --old-group-format="explicitdtor.cxx
>>> compiled:%c'\012'%<" --new-group-format="explicitdtor.cxx
>>> interpreted:%c'\012'%>" --unchanged-line-format="" --old-line-format="
>>> %3dn: %L" --new-line-format=" %3dn: %L" compiled interpreted>>
>>> testdiff.txt
>>>
>>> So, would removing those files from the svn repository do trick?
>>>
>>> Regards,
>>> Sascha
>>>
>>>  
>>
>
>


AW: Apiif.h/cxx not generated

by Zelzer Sascha :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> -----Ursprüngliche Nachricht-----
> Von: Philippe Canal [mailto:pcanal@...]
> Gesendet: Montag, 12. Januar 2009 20:41
> An: Zelzer Sascha
> Cc: cint@...
> Betreff: Re: [CINT] Apiif.h/cxx not generated
>
> > So, would removing those files from the svn repository do trick?
>
> Currently the ROOT framework is relying on those being in the
> Repository.
>
> So I just updated the configure script to remove them automatically (at
> least
> until ROOT can generated those).

Okay, thanks.

> > except for a failing test:
>
> This is expected.  How did you run the test?  To 'automatically ignore'
> this error, you can add the --hide or --hide-known-defects options to
> testall.cxx
>

I just did "make test". I will try it out again today, thanks!