← Back to team overview

kicad-developers team mailing list archive

Re: Build error

 

I ran a bisection, and it looks like the first bad commit is:

e0b33ee8a Fix RPATH not removed in shared object file for python

I can build its predecessor, 62bcf4fde41, without any problems.  I attached the bisect log, showing which commits I tried to build, and the results.

	Steve


On 03/05/2018 02:13 PM, Steven A. Falco wrote:
> 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>
>>
>>
> 
> 

bad	218f66a08b36bba9f2f4ab32753a97ca116f863a Fix sign comparison warning
	5bbb4489b3ab7f36fccd8822ee03ae5f92234fc3 Fixed out of bounds access to m_shaderBuffer array in 3D viewer raytracer
bad	e0b33ee8a605c5366e0b2e26e8d30192d9b742f7 Fix RPATH not removed in shared object file for python
good	62bcf4fde41e68dc2bb5435270155efa689dd300 pcbnew: reorder "Fabrication Outputs" in menu
good	3e54e16bdceedd2d96bafd7728cdb223df8a6876 Update ratsnest after a footprint change
	0521b63503c2b70864e22e28a9e9a6408c4fcd33 Remove negation from PCB_BASE_FRAME::PlaceModule() parameter
	4be12292a0555f4127003ba54b3131797c759703 Fixed duplicate misbehaviour when duplicating single track/via
	fabbc48b40445ff2b7ec30d025dcc808920046df macOS: standardise CFBundleName to application names.
good	9c44d67f3b3162d7abf9ce5eb689975229348eed Eeschema: Simplify transformation representation
	f4eb63f8716ec3ce5e37bcf556523c6e6bf0bf3c Size fields list correctly in symbol edit.
	90e2c8dd7f2aa31b74fb24fce0a4b96b6e93d581 Get rid of first-scroll jerkiness in eeschema.
	cd2224b94d14ab6ffd43f4a7f684aed324c143b0 Add missing hotkey support to GerbView
	d2c86f859456589a71ff93ccdc04c7a6090fea5b GerbView: Disable legacy-only event handlers when GAL is active
	01ef0bd2e9237ce5d6109616ee94294a1501c161 pcbnew: Add graphic polygon on drawing layer
	8f42e128dae844bb1f74763025998a515295a897 Fix missing C++-11 compiler flags when building on macOS with non-Xcode clang
	a7860787472c121cb72a4bec90fe8398229e09cd Fix clang-mp build error (don't declare const variables as being firstprivate)
good	2af51ef20fa0f9e133e133fe6129c57bc13b8dcd Eagle import: do not call TrimWire() on imported schematics
	1f099906186a2cb6f417081a6e417b13a890768e Remove not used ListNets() methods
	260f680c6c68b9e8456ca55e6ed08b74a2236cce Eagle import: fix memory leak on schematic sheets import
	419a16ae58c6e6670f9b889080344271a1efbd38 Eagle import: fix footprint LIB_IDs in the imported board
	8e8d95dd7f8d0fb5018b46e26277ce0faadfb139 Eagle import: process all sheets when adding junctions; fix footprint LIB_IDs
	f7158e834d1510c1e6b51be6502c43f34898b92a Created STDOUT_REPORTER class for debugging
	a3941b1deca284f895862e455508fed1b76ca5bf Eagle import plugin: remap zones/tracks/vias using net name remapping
	77346d81cec4722821e802fba6656b10db11a634 Eagle import plugin: add junction dots to fix connectivity
	1f078f533b3765cc5b5820fe5d824d53ab65f1ff Refactor Eagle project import to use Kiway::ExpressMail()
	9016344bb3ed1d4bf5d2dae9dd6842bfbbf79b55 Eagle Schematic Import: Fix netlist mapping for zones and vias.
	3d9c25494c0cb2bbecd6619b557f263a81fcc0b4 Revert "Eagle importer: use only global net labels"
	2da7199a3726baf35b59af4be57ba60e819f0d8e GerbView: Fix active layer synchronization
	284c3468280c87e8ef3b547ea67e4c4e700cf9ea Don't cache github libraries above nginx server.
	43147a3a7ae9ccf4f244d47af77b145bc6eb66f1 Do not append "RESCUE" to symbol names when rescuing symbols.
	c294a54c576fea15bffcbf24e936637ec942d140 Fix footprint wizard setup of gEDA libraries.
good	c77d13292b63a3ef7c28f004ee93f3ed93cca9f3 Reinstate multi-threading in zone filler.

Follow ups

References