← Back to team overview

kicad-developers team mailing list archive

Re: Build error

 

Yes it does.  I'm building on Fedora via the "mock" tool, which always starts from an empty directory.  Just to be sure, I removed the entire "mock" working area, and I even re-downloaded the source repositories.  I'll try pushing the build up to the Copr build-system, and I'll report back with my findings.

	Steve

On 03/05/2018 01:43 PM, Seth Hillbrand wrote:
> Does the compile error exist after you make clean and re-make?
> 
> 2018-03-05 10:20 GMT-08:00 Steven A. Falco <stevenfalco@xxxxxxxxx <mailto:stevenfalco@xxxxxxxxx>>:
> 
>     I just got a build error on Linux, at git commit 218f66a08, which appears to be the latest commit.
> 
>     In file included from /builddir/build/BUILD/kicad-r12311-218f66a0/pcbnew/specctra_import_export/specctra.h:36:0,
>                      from /builddir/build/BUILD/kicad-r12311-218f66a0/pcbnew/specctra_import_export/specctra_import.cpp:50:
>     /builddir/build/BUILD/kicad-r12311-218f66a0/pcbnew/specctra_import_export/specctra_lexer.h:1075:2: error: #endif without #if
>      #endif   // SPECCTRA_LEXER_H_
>       ^~~~~
>     /builddir/build/BUILD/kicad-r12311-218f66a0/pcbnew/specctra_import_export/specctra_lexer.h:308:25: error: expected '}' before 'T_absolute'
>              T_routes        T_absolute = 0,
>                              ^~~~~~~~~~
>     /builddir/build/BUILD/kicad-r12311-218f66a0/pcbnew/specctra_import_export/specctra_lexer.h:308:38: error: invalid conversion from 'int' to 'DSN::T' [-fpermissive]
>              T_routes        T_absolute = 0,
>                                           ^
>     /builddir/build/BUILD/kicad-r12311-218f66a0/pcbnew/specctra_import_export/specctra_lexer.h:309:1: error: expected unqualified-id before ',' token
>      ,
>      ^
>     /builddir/build/BUILD/kicad-r12311-218f66a0/pcbnew/specctra_import_export/specctra_lexer.h:310:33: error: expected initializer before 'T_add_group'
>              T_routes_include        T_add_group,
>                                      ^~~~~~~~~~~
>     /builddir/build/BUILD/kicad-r12311-218f66a0/pcbnew/specctra_import_export/specctra_lexer.h:511:1: error: expected declaration before '}' token
>      }   // namespace DSN
>      ^
>     make[2]: *** [pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/build.make:4979: pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/specctra_import_export/specctra_import.cpp.o] Error 1
> 
> 
>     I looked at specctra_lexer.h (attached) and sure enough it has an unbalanced #ifndef / #endif.  This file is apparently auto-generated by cmake - I have no knowledge of the details.
> 
>             Steve
> 
>     _______________________________________________
>     Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>     More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
> 
> 



Follow ups

References