← Back to team overview

kicad-developers team mailing list archive

Re: Build error

 

Sorry, you did and I missed it.

A dependency was missed. I think the following might fix it.

in pcbnew/CMakeLists.txt
-add_dependencies( pcbnew_kiface specctra_lexer_source_files )
+add_dependencies( pcbnew_kiface_objects specctra_lexer_source_files )


On 06/03/18 13:10, Nick Østergaard wrote:
I just gave you hints on how to reproduce this. I suspect the most important part is the high number of make jobs. I use cmake version 3.10.2 on archlinux.

2018-03-06 1:03 GMT+01:00 hauptmech <hauptmech@xxxxxxxxx <mailto:hauptmech@xxxxxxxxx>>:

    If you have any hints on how to reproduce the failure I can try to
    help. The cmake version being used might help.


    On 06/03/18 12:55, Nick Østergaard wrote:
    I reproduce in a clean workspace like this:
    git clone https://github.com/KiCad/kicad-source-mirror.git
    <https://github.com/KiCad/kicad-source-mirror.git> kicad_steven
    cd kicad_steven/
    mkdir build
    cd build/
    cmake .. -DKICAD_SCRIPTING=OFF -DKICAD_SCRIPTING_MODULES=OFF
    -DKICAD_SCRIPTING_WXPYTHON=OFF
    make -j40


    On 5.0.0-rc2-dev-101-gf7ef010fe

    2018-03-06 <tel:20%2018%2003%2006> 0:37 GMT+01:00 Nick Østergaard
    <oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>>:

        Ok, now I also see that issue. It could very easily be that
        RPATH commit making the build system unstable. It is a
        problem that the generated files are not in the build dir,
        but in the source dir.


        2018-03-05 23:22 GMT+01:00 Nick Østergaard <oe.nick@xxxxxxxxx
        <mailto:oe.nick@xxxxxxxxx>>:

            It also seem to build correctly on jenkins.

            2018-03-05 23:16 GMT+01:00 Steven A. Falco
            <stevenfalco@xxxxxxxxx <mailto:stevenfalco@xxxxxxxxx>>:

                I'm going to retract this report.  It builds
                correctly on copr, so the problem must be something
                in my local setup.

                Sorry for the noise.

                        Steve

                _______________________________________________
                Mailing list: https://launchpad.net/~kicad-developers
                <https://launchpad.net/%7Ekicad-developers>
                Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
                <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
                Unsubscribe : https://launchpad.net/~kicad-developers
                <https://launchpad.net/%7Ekicad-developers>
                More help   : https://help.launchpad.net/ListHelp
                <https://help.launchpad.net/ListHelp>






    _______________________________________________
    Mailing list:https://launchpad.net/~kicad-developers
    <https://launchpad.net/%7Ekicad-developers>
    Post to     :kicad-developers@xxxxxxxxxxxxxxxxxxx
    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe :https://launchpad.net/~kicad-developers
    <https://launchpad.net/%7Ekicad-developers>
    More help   :https://help.launchpad.net/ListHelp
    <https://help.launchpad.net/ListHelp>



    _______________________________________________
    Mailing list: https://launchpad.net/~kicad-developers
    <https://launchpad.net/%7Ekicad-developers>
    Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~kicad-developers
    <https://launchpad.net/%7Ekicad-developers>
    More help   : https://help.launchpad.net/ListHelp
    <https://help.launchpad.net/ListHelp>




References