[Scons-users] Implicit cache error after running a successful build

Matias Iturburu matias.iturburu at tallertechnologies.com
Fri Nov 1 09:04:59 EDT 2013


2013/11/1 Matias Iturburu <matias.iturburu at tallertechnologies.com>


>

>

>

> 2013/11/1 Dirk Bächle <tshortik at gmx.de>

>

>> Hi guys,

>>

>>

>> On 01.11.2013 02:13, Matias Iturburu wrote:

>>

>>

>>

>>

>> 2013/10/31 Bill Deegan <bill at baddogconsulting.com>

>>

>>> Dirk,

>>>

>>> Can you take a look at this?

>>> Looks like maybe something funky with the QT4 tool.

>>>

>>> -Bill

>>>

>>>

>> Chances are it's something funky in my tool, as dirk's is throughly

>> tested.

>> What I'd need is some guidance to pin point where the bug is triggered...

>>

>>

>> sure, I'll chip in. Matias, please try to enable the Qt4 Tool's debugging

>> output with

>>

>> env['QT4_DEBUG'] = 1

>>

>> or similar. This should give you more output about what the Tool is

>> doing. The Tool itself checks that the to-be-moced files (containing an

>> Q_OBJECT macro) actually exist. So you should search through your

>> filesystem (at least all the directories that are specified in the normal

>> CPPPATH) for the additional files like *.H.

>> Another thing to try is, to explicitly set the path list that gets

>> searched for the MOC files. As default it's the same as CPPPATH, but you

>> can also set it directly with:

>>

>> env['QT4_AUTOMOC_CPPPATH'] = ['.','includes']

>>

>> Then report back, and we'll see how to continue from there.

>>

>> Regards,

>>

>> Dirk

>>

>

> Cool!. I'll try that and report back.

>



Got this:

$ fbuild biopp:astyle

scons: Reading SConscript files ...
scons: qt4: no header for 'build/mili/examples/example_prepos-caller.cpp'.
scons: qt4: no header for 'build/mili/examples/example_ranker.cpp'.
scons: qt4: no header for 'build/biopp/tools/generate_graph.cpp'.
scons: qt4: no header for
'build/mili/examples/example_coroutines_extended.cpp'.
scons: qt4: no header for 'build/mili/examples/example_random-gen.cpp'.
scons: qt4: no header for 'build/mili/examples/example_properties.cpp'.
scons: qt4: no header for 'build/mili/examples/example_raii.cpp'.
scons: qt4: no header for 'build/mili/examples/example_binary-streams.cpp'.
scons: qt4: no header for
'build/mili/examples/example_metaprogramming_utils.cpp'.
scons: qt4: no header for 'build/mili/examples/example_fast-list.cpp'.
scons: qt4: no header for
'build/mili/examples/example_factory_registry.cpp'.
scons: qt4: no header for
'build/mili/examples/example_delete-container.cpp'.
scons: qt4: no header for 'build/biopp/tests/bio_alphabets_test.cpp'.
scons: qt4: no header for 'build/biopp/tests/biopp_iterators_test.cpp'.
scons: qt4: no header for 'build/biopp/tests/prot_structure_test.cpp'.
scons: qt4: no header for 'build/biopp/tests/rna_structure_test.cpp'.
scons: qt4: no header for 'build/biopp/tests/sequences_test.cpp'.
scons: qt4: no header for 'build/biopp/tests/triplet_test.cpp'.
scons: qt4: no header for 'build/mili/examples/example_is-lossless-sum.cpp'.
scons: qt4: no header for 'build/mili/examples/example_invariants.cpp'.
scons: qt4: no header for 'build/mili/examples/example_type-mapper.cpp'.
scons: qt4: no header for
'build/mili/examples/example_safe_c_functions.cpp'.
scons: qt4: no header for 'build/mili/examples/example_factory.cpp'.
scons: qt4: no header for 'build/mili/examples/example_variants_set.cpp'.
scons: qt4: no header for 'build/mili/examples/example_string-utils.cpp'.
scons: qt4: no header for 'build/mili/examples/example_loop-unrolling.cpp'.
scons: qt4: no header for 'build/mili/examples/example_template-info.cpp'.
scons: qt4: no header for 'build/mili/tests/arith-utils_tests.cpp'.
scons: qt4: no header for 'build/mili/tests/auto_array_test.cpp'.
scons: qt4: no header for 'build/mili/tests/binary-streams_test.cpp'.
scons: qt4: no header for 'build/mili/tests/bitwise-enums_test.cpp'.
scons: qt4: no header for 'build/mili/tests/compile_assert_test.cpp'.
scons: qt4: no header for 'build/mili/tests/container-utils_test.cpp'.
scons: qt4: no header for 'build/mili/tests/delete-container_test.cpp'.
scons: qt4: no header for 'build/mili/tests/factory_registry_test.cpp'.
scons: qt4: no header for 'build/mili/tests/factory_test.cpp'.
scons: qt4: no header for 'build/mili/tests/fast-list_test.cpp'.
scons: qt4: no header for 'build/mili/tests/generic_exceptions_test.cpp'.
scons: qt4: no header for 'build/mili/tests/invariants_tests.cpp'.
scons: qt4: no header for 'build/mili/tests/license_text_test.cpp'.
scons: qt4: no header for 'build/mili/tests/loop-unrolling_test.cpp'.
scons: qt4: no header for 'build/mili/tests/metaprogramming_utils_test.cpp'.
scons: qt4: no header for 'build/mili/tests/platform-detection_test.cpp'.
scons: qt4: no header for 'build/mili/tests/prepos-caller_test.cpp'.
scons: qt4: no header for 'build/mili/tests/promotion_disable_test.cpp'.
scons: qt4: no header for 'build/mili/tests/properties_tests.cpp'.
scons: qt4: no header for 'build/mili/tests/raii_test.cpp'.
scons: qt4: no header for 'build/mili/tests/random_gen_test.cpp'.
scons: qt4: Scanning 'build/mili/tests/ranker_test.h' (header of
'build/mili/tests/ranker_test.cpp')
scons: qt4: no header for 'build/mili/tests/safe_c_functions_test.cpp'.
scons: qt4: no header for 'build/mili/tests/stream-utils_test.cpp'.
scons: qt4: no header for 'build/mili/tests/string-utils_test.cpp'.
scons: qt4: no header for 'build/mili/tests/template-info_test.cpp'.
scons: qt4: no header for 'build/mili/tests/type-mapper_test.cpp'.
scons: qt4: no header for 'build/mili/tests/variants_set_test.cpp'.
scons: qt4: no header for
'build/mili/examples/example_coroutines_advanced.cpp'.
scons: qt4: no header for 'build/mili/examples/example_stream-utils.cpp'.
scons: qt4: no header for 'build/mili/examples/example_compile-assert.cpp'.
scons: qt4: no header for 'build/mili/examples/example_arith-utils.cpp'.
scons: qt4: no header for 'build/mili/examples/example_container-utils.cpp'.
scons: qt4: no header for 'build/mili/examples/example_bitwise-enums.cpp'.
scons: qt4: no header for 'build/mili/examples/example_coroutines.cpp'.
scons: qt4: no header for 'build/mili/examples/example_license_text.cpp'.
scons: qt4: no header for
'build/mili/examples/example_platform-detection.cpp'.
scons: qt4: no header for 'build/biopp/src/bio_molecular/bio_molecular.cpp'.
scons: qt4: no header for 'build/biopp/src/bio_molecular/triplets.cpp'.
scons: qt4: no header for 'build/biopp/src/rna_structure/rna_structure.cpp'.
scons: qt4: no header for
'build/mili/examples/example_promotion-disable.cpp'.
scons: qt4: no header for 'build/biopp/tools/test_aminoacids_distances.cpp'.
scons: done reading SConscript files.
scons: Building targets ...

=== Running ASTYLE ===

Inalterado
/home/matias/Proyectos/fudepan-build/projects/biopp/src/bio_molecular/bio_molecular.cpp
Inalterado
/home/matias/Proyectos/fudepan-build/projects/biopp/src/bio_molecular/triplets.cpp
Inalterado
/home/matias/Proyectos/fudepan-build/projects/biopp/src/rna_structure/rna_structure.cpp
Inalterado
/home/matias/Proyectos/fudepan-build/projects/biopp/biopp/biopp.h
[astyle] OK on: /home/matias/Proyectos/fudepan-build/projects/biopp
scons: *** [biopp:astyle] Implicit dependency
`projects/biopp/bio_molecular.H' not found, needed by target `biopp:astyle'.
scons: building terminated because of errors.

Not sure how to read it, but it seems that the tool doesn't find anything
interesting.
The project itself doesn't use qt at all. But I have the tool loaded
because fbuild keeps track of multiple projects not just *biopp*.
Hope that make sense.



> Thanks!

>

>

>>

>>

>> _______________________________________________

>> Scons-users mailing list

>> Scons-users at scons.org

>> http://four.pairlist.net/mailman/listinfo/scons-users

>>

>>

>

>

> --

> <http://www.tallertechnologies.com>

> Matías Iturburu

> Software Engineer

>

> *San Lorenzo 47, 3rd Floor, Office 5

> Córdoba, Argentina

>

> *

> *Phone: +54 351 4217888 / +54 351 4218211

> Skype: matias.iturburu*

>




--
<http://www.tallertechnologies.com>
Matías Iturburu
Software Engineer

*San Lorenzo 47, 3rd Floor, Office 5
Córdoba, Argentina

*
*Phone: +54 351 4217888 / +54 351 4218211
Skype: matias.iturburu*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20131101/473fd443/attachment.htm


More information about the Scons-users mailing list