Re: [Kicad-developers] Python scripting build broken on windows.

2018-12-11 Thread jp charras
Le 11/12/2018 à 20:38, Maciej Suminski a écrit :
> Hi Wayne, Seth,
> 
> On 12/11/18 7:51 PM, Wayne Stambaugh wrote:
> [...]
>> FYI, swig does not support unique_ptr or weak_ptr yet[1].  If you change
>> any code in pcbnew that gets swigged using these pointer templates, the
>> python scripting will fail to build.  If you want to use unique_ptr, you
>> will have to create a swig wrapper for it[2].  SWIG does support
>> shared_ptr so that may be an option.
> 
> Sorry for the build errors and thanks for the quick reaction. I have
> seen unique_ptrs all over the KiCad code, so it has never occurred to me
> that they need a special treatment for SWIG. I will find another
> scripting-friendly way to fix the memory leaks.
> 
> Cheers,
> Orson

Hi Orson,

The issue is due to this method:
std::unique_ptr GetNewConfig( const wxString& aProgName )
that cannot be mapped by SWIG, because it returns a unique_ptr.

This method is not really useful for python scripting.
So the easy way is just to do not map it in pcbnew.py

The attached basic patch show hos to do that.

(There are many other examples in Kicad code that use this trick)

-- 
Jean-Pierre CHARRAS
 common/common.cpp | 6 --
 include/common.h  | 2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/common/common.cpp b/common/common.cpp
index d3c6bef89..a5b8a4c52 100644
--- a/common/common.cpp
+++ b/common/common.cpp
@@ -247,7 +247,9 @@ double RoundTo0( double x, double precision )
 return (double) ix / precision;
 }
 
-
+#ifndef SWIG
+// SWIG cannot map std::unique_ptr<> in Python. So because this method is not 
usefull in Python
+// just discard it.
 std::unique_ptr GetNewConfig( const wxString& aProgName )
 {
 wxFileName configname;
@@ -256,7 +258,7 @@ std::unique_ptr GetNewConfig( const wxString& 
aProgName )
 
 return std::make_unique( wxT( "" ), wxT( "" ), 
configname.GetFullPath() );
 }
-
+#endif
 
 wxString GetKicadConfigPath()
 {
diff --git a/include/common.h b/include/common.h
index 62410d367..4491433d7 100644
--- a/include/common.h
+++ b/include/common.h
@@ -311,7 +311,9 @@ const wxString PrePendPath( const wxString& aEnvVar, const 
wxString& aPriorityPa
  * @return A pointer to a new wxConfigBase derived object is returned.  The 
caller is in charge
  *  of deleting it.
  */
+#ifndef SWIG
 std::unique_ptr GetNewConfig( const wxString& aProgName );
+#endif
 
 /**
  * Return the user configuration path used to store KiCad's configuration 
files.
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] 5.0.2 stable release.

2018-12-11 Thread Seth Hillbrand

Am 2018-12-11 19:08, schrieb Nick Østergaard:

It is fixed, I actually mentally has it in my head that it was
included in Stevens patch. You may need to refresh the page if your
browser caches aggressively.


Thanks Nick!  It now points to 5.0.2.  However, it still includes the 
Eagle crash warning.  We should probably remove that as well.


Best-
Seth

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] 5.0.2 stable release.

2018-12-11 Thread Nick Østergaard
It is fixed, I actually mentally has it in my head that it was
included in Stevens patch. You may need to refresh the page if your
browser caches aggressively.
On Wed, 12 Dec 2018 at 01:01, Seth Hillbrand  wrote:
>
> Am 2018-12-09 13:13, schrieb Wayne Stambaugh:
> > I pushed the release announcement to the KiCad website and made the
> > announcement at forum.kicad.info.  Thanks again everyone.  Now it's on
> > to 5.1.
> >
> > Cheers,
> >
> > Wayne
>
> Looks like the Windows download website[1] still needs to be updated.
> 5.0.2_1 is in the stable directory but not linked yet.
>
> -S
>
> [1] http://kicad-pcb.org/download/windows/
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] 5.0.2 stable release.

2018-12-11 Thread Seth Hillbrand

Am 2018-12-09 13:13, schrieb Wayne Stambaugh:

I pushed the release announcement to the KiCad website and made the
announcement at forum.kicad.info.  Thanks again everyone.  Now it's on
to 5.1.

Cheers,

Wayne


Looks like the Windows download website[1] still needs to be updated.  
5.0.2_1 is in the stable directory but not linked yet.


-S

[1] http://kicad-pcb.org/download/windows/

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] KiCad Janitor moves

2018-12-11 Thread Seth Hillbrand

Am 2018-12-11 12:16, schrieb Maciej Sumiński:

Recently KiCad Janitor had been rather unreliable, mostly due to my
capricious Internet connection, so a few minutes ago he has got a new
home at one of CERN servers. It used to work as a webhook, but in order
to improve robustness I have switched it to polling (updates every 2
minutes). I expect the setup to be rock-solid, so please ping me 
anytime

KiCad Janitor misbehaves.


Hi Orson-

Thanks for keeping Janitor happy!  Once it's settled into its new home, 
can we run the 5.0.2 "Fix Committed"->"Fix Released" script to clear out 
the old reports that were tagged 5.0.2?


Best-
Seth

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] kicad-dev-nightly PPA builds for artful outdated?

2018-12-11 Thread Carsten Schoenert
Hi,

Am 11.12.18 um 20:14 schrieb Matthijs Kooijman:
> If only PPA's would just support building against Debian/stable, that
> would make a lot of stuff easier. Or perhaps I should just move to
> Ubuntu instead...

that would be better than to rely on usable packages from Ubuntu because
of Debian Stable isn't fresh enough and doesn't provide nightly builds
of KiCad. PPA's for Debian could be provided too, it's just a matter
time and resources.

BTW: It's rather simple to build a own KiCad version in Debian Stretch
with additional packages from Backports. That's how I sometimes test if
I need to tweek the build of KiCad for Backports.

-- 
Regards
Carsten Schoenert

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] [PATCH] Use absolute path CMAKE_INSTALL_FULL_LIBDIR for 3d viewer PLUGINDIR

2018-12-11 Thread Wayne Stambaugh
On 12/11/2018 11:52 AM, Brüns, Stefan wrote:
> On Dienstag, 11. Dezember 2018 17:27:20 CET Wayne Stambaugh wrote:
>> Hi Stefan,
>>
>> On 12/11/2018 11:17 AM, Brüns, Stefan wrote:
>>> On Sonntag, 9. Dezember 2018 18:07:21 CET Wayne Stambaugh wrote:
 Stefan,

 I tested you patch and it seems to work fine on linux.  However, it also
 affects macos which I'm not sure that it wont break something.  Would
 one of our macos devs please take a look at this patch when you get a
 chance.
>>>
>>> Hi Wayne,
>>>
>>> I am quite sure it does not affect MacOS, as the changed code block is
>>> guarded by #ifndef __WXMAC__ [1], and PLUGINDIR is not used outside the
>>> block as far as I can see.
>>>
>>> Kind regards,
>>>
>>> Stefan
>>>
>>> [1] https://git.launchpad.net/kicad/tree/3d-viewer/3d_cache/
>>> 3d_plugin_manager.cpp#n123
>>
>> The patch I'm looking at applies at line 149 which is inside #ifndef
>> _WIN32 block which would effect both linux and macos.  Is it possible
>> this code changed you submitted the patch (it does apply cleanly) or I
>> have the wrong patch.  I've attached the patch I tested just in case.
> 
> And line 123 has #ifndef __WXMAC__. The WIN32 block is nested inside it, so 
> literally it is #if !(defined(__WXMAC__) || defined(_WIN32)).
> 
> Regards,
> 
> Stefan
> 

I merged your patch into the development branch.  Thank you for your
contribution to KiCad.

Cheers,

Wayne

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Jenkins build is back to normal : linux-kicad-full-gcc-head #4416

2018-12-11 Thread Miguel Angel Ajo
See 



___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Python scripting build broken on windows.

2018-12-11 Thread Maciej Suminski
Hi Wayne, Seth,

On 12/11/18 7:51 PM, Wayne Stambaugh wrote:
[...]
> FYI, swig does not support unique_ptr or weak_ptr yet[1].  If you change
> any code in pcbnew that gets swigged using these pointer templates, the
> python scripting will fail to build.  If you want to use unique_ptr, you
> will have to create a swig wrapper for it[2].  SWIG does support
> shared_ptr so that may be an option.

Sorry for the build errors and thanks for the quick reaction. I have
seen unique_ptrs all over the KiCad code, so it has never occurred to me
that they need a special treatment for SWIG. I will find another
scripting-friendly way to fix the memory leaks.

Cheers,
Orson



signature.asc
Description: OpenPGP digital signature
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] KiCad Janitor moves

2018-12-11 Thread Wayne Stambaugh
On 12/11/2018 12:16 PM, Maciej Sumiński wrote:
> Recently KiCad Janitor had been rather unreliable, mostly due to my
> capricious Internet connection, so a few minutes ago he has got a new
> home at one of CERN servers. It used to work as a webhook, but in order
> to improve robustness I have switched it to polling (updates every 2
> minutes). I expect the setup to be rock-solid, so please ping me anytime
> KiCad Janitor misbehaves.
> 
> Cheers,
> Orson
> 

Thanks Orson!  Hopefully the janitor will no longer fall asleep on the job.

Cheers,

Wayne

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] kicad-dev-nightly PPA builds for artful outdated?

2018-12-11 Thread Matthijs Kooijman
Hi Jean-Samuel,

> Launchpad doesn't support anymore build for artful. So it will no more
> available.
Ah, that explains. A quick google for this didn't turn up any info, but
I should probably have dug a bit deeper.

> Have you try Xenial PPA ? (not sure if it's working...)
Hm, I recall I moved to artful because xenial and zesty didn't work out
in terms of dependencies, but I tried again just now and things seem to
work (both the kicad-5 and kicad-dev-nightly versions). It did miss the
libglew1.13 package (neither Debian stable or oldstable have this
particular version), but I could just install that manually from xenial.
Maybe that missing dependency threw me off before, but it's easy enough
to fix :-)

If only PPA's would just support building against Debian/stable, that
would make a lot of stuff easier. Or perhaps I should just move to
Ubuntu instead...

Thanks for your thoughts!

Gr.

Matthijs


signature.asc
Description: PGP signature
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Build failed in Jenkins: linux-kicad-full-gcc-head #4415

2018-12-11 Thread Miguel Angel Ajo
See 


Changes:

[jeff] Fix debug assert.

--
[...truncated 154.18 KB...]
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/generate_alias_info.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/highlight.cpp.o
[ 86%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/library_listbox.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/hotkeys.cpp.o
[ 86%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/getpart.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/hotkeys_board_editor.cpp.o
[ 86%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/cvpcb_mainframe.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/hotkeys_footprint_editor.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/hierarch.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/initpcb.cpp.o
[ 86%] Building CXX object cvpcb/CMakeFiles/cvpcb_kiface.dir/listbox_base.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/layer_widget.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/highlight_connection.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/load_select_footprint.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/magnetic_tracks_functions.cpp.o
[ 88%] Building CXX object cvpcb/CMakeFiles/cvpcb_kiface.dir/menubar.cpp.o
[ 88%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/hotkeys.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/menubar_footprint_editor.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/menubar_pcb_editor.cpp.o
[ 88%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/readwrite_dlgs.cpp.o
[ 88%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_arc.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_bezier.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/microwave.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/minimun_spanning_tree.cpp.o
[ 88%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/toolbars_cvpcb.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_circle.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_collectors.cpp.o
Scanning dependencies of target gerbview
[ 88%] Building CXX object 
gerbview/CMakeFiles/gerbview.dir/__/common/single_top.cpp.o
[ 88%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/tools/cvpcb_actions.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/move-drag_pads.cpp.o
[ 88%] Building CXX object 
gerbview/CMakeFiles/gerbview.dir/__/common/pgm_base.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_draw_item.cpp.o
[ 88%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/tools/cvpcb_control.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_field.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/move_or_drag_track.cpp.o
[ 88%] Linking CXX executable gerbview
[ 88%] Built target gerbview
[ 89%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/tools/cvpcb_selection_tool.cpp.o
Scanning dependencies of target pl_editor
[ 89%] Building CXX object 
pagelayout_editor/CMakeFiles/pl_editor.dir/__/common/single_top.cpp.o
[ 89%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_pin.cpp.o
[ 89%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/muwave_command.cpp.o
[ 89%] Building CXX object 
pagelayout_editor/CMakeFiles/pl_editor.dir/__/common/pgm_base.cpp.o
[ 89%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_polyline.cpp.o
[ 89%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/dialogs/fp_conflict_assignment_selector_base.cpp.o
[ 89%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/netlist.cpp.o
[ 89%] Linking CXX executable pl_editor
[ 89%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_rectangle.cpp.o
[ 89%] Built target pl_editor
[ 89%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/dialogs/fp_conflict_assignment_selector.cpp.o
Scanning dependencies of target pcb_calculator
[ 89%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator.dir/__/common/single_top.cpp.o
[ 89%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_text.cpp.o
[ 89%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator.dir/__/common/pgm_base.cpp.o
[ 89%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/onleftclick.cpp.o
[ 89%] Building CXX object 

[Kicad-developers] Jenkins build is back to normal : kicad-qa #4982

2018-12-11 Thread Miguel Angel Ajo
See 


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Python scripting build broken on windows.

2018-12-11 Thread Wayne Stambaugh
On 12/11/2018 1:14 PM, Seth Hillbrand wrote:
> Am 2018-12-11 12:05, schrieb Seth Hillbrand:
>> Am 2018-12-11 11:46, schrieb Wayne Stambaugh:
>>> One of the last couple of patches this morning broke the python
>>> scripting build on windows.  I'm getting the following error (and yes I
>>> deleted pcbnew_wrap in an attempt to fix the issue):
>>
>> Same on linux.  I had to back out
>> a9efbf47161f7ab6619f099d6b4eb3671451
>>
> 
> Hi Orson-
> 
> I temporarily reverted the commit to get the compiles working again.
> 
> -S

FYI, swig does not support unique_ptr or weak_ptr yet[1].  If you change
any code in pcbnew that gets swigged using these pointer templates, the
python scripting will fail to build.  If you want to use unique_ptr, you
will have to create a swig wrapper for it[2].  SWIG does support
shared_ptr so that may be an option.

[1]:
http://www.swig.org/Doc3.0/SWIGDocumentation.html#CPlusPlus11_general_purpose_smart_pointers
[2]:
http://www.howtobuildsoftware.com/index.php/how-do/b0RN/python-c-swig-how-to-handle-unique-ptrs-with-swig

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Python scripting build broken on windows.

2018-12-11 Thread Seth Hillbrand

Am 2018-12-11 12:05, schrieb Seth Hillbrand:

Am 2018-12-11 11:46, schrieb Wayne Stambaugh:

One of the last couple of patches this morning broke the python
scripting build on windows.  I'm getting the following error (and yes 
I

deleted pcbnew_wrap in an attempt to fix the issue):


Same on linux.  I had to back out 
a9efbf47161f7ab6619f099d6b4eb3671451




Hi Orson-

I temporarily reverted the commit to get the compiles working again.

-S

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Build failed in Jenkins: kicad-qa #4981

2018-12-11 Thread Miguel Angel Ajo
See 

Changes:

[jeff] Fix debug assert.

--
Started by an SCM change
Building remotely on debian8 (clang gcc linux) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://github.com/KiCad/kicad-source-mirror.git # timeout=10
Fetching upstream changes from https://github.com/KiCad/kicad-source-mirror.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/KiCad/kicad-source-mirror.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 2c53ab3d8c123983ddff11c2a0c1e1f4f1db2ff4 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2c53ab3d8c123983ddff11c2a0c1e1f4f1db2ff4
Commit message: "Fix debug assert."
 > git rev-list --no-walk 63d4afb3eef056968588eb96aafb5f418b6d8cc5 # timeout=10
[kicad-qa] $ /bin/sh -xe /tmp/jenkins4605936902671568812.sh
+ cmake --version
cmake version 3.0.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
+ gcc --version
gcc (Debian 4.9.2-10+deb8u1) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ git --version
git version 2.1.4
+ OPTS= -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON 
-DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
+ OPTS= -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON 
-DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON 
-DBUILD_SHARED_LIBS:BOOL=ON
+ [ -d passed-qa ]
+ [ -d build ]
+ cd build
+ /usr/bin/cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON 
-DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON 
-DBUILD_SHARED_LIBS:BOOL=ON
-- KiCad install dir: 
-- Check for installed GLEW -- found
-- Boost version: 1.55.0
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/dist-packages
-- Found wxPython 3.0.1.1/gtk2 (wxWidgets 3.0.1.1)
-- Found wxWidgets: 
-L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0
 (found suitable version "3.0.2", minimum required is "3.0.1.1") 
-- Found wxPython.h in 
/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0/wx/wxPython
-- S3DSG version: 2.0.0
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Found wxWidgets: 
-L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0
 (found suitable version "3.0.2", minimum required is "3.0.0") 
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Configuring done
-- Generating done
-- Build files have been written to: 

+ echo CMAKE exit code is 0
CMAKE exit code is 0
+ rm -f pcbnew/pcbnewPYTHON_wrap.cxx
+ + grep -q ^MAKEJOBS=
env
+ echo The MAKEJOBS variable is empty
The MAKEJOBS variable is empty
+ JOBS=4
+ make -j4 pcbnew_python_module
[  0%] [  0%] Built target idf3
[  0%] Built target page_layout_lexer_source_files
Generating version string header
-- Using Git to determine build version string.
-- Found Git: /usr/bin/git (found version "2.1.4") 
[  2%] [  2%] Built target gal
[  2%] Built target lib_table_lexer_source_files
Built target netlist_lexer_source_files
[  2%] Built target pcb_lexer_source_files
[  2%] Built target pcb_plot_lexer_source_files
[  2%] [  4%] Built target legacy_wx
Built target kicad_3dsg
[  4%] Built target lib_dxf
[  4%] Built target connectivity
[  4%] Built target specctra_lexer_source_files
[  4%] Built target polygon
[ 46%] Built target bitmaps
[ 52%] Built target pcbcommon
[ 53%] Built target pcad2kicadpcb
[ 59%] Built target 3d-viewer
-- Writing 
 file with 
version: (6.0.0-rc1-dev-1374-g2c53ab3)
[ 59%] Built target version_header
[ 59%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o
Scanning dependencies of target common
[ 59%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o
Linking CXX static library libcommon.a
: In 
function ‘PyObject* 

[Kicad-developers] Build failed in Jenkins: linux-kicad-full-gcc-head #4414

2018-12-11 Thread Miguel Angel Ajo
See 


Changes:

[Maciej Suminski] Support autopanning in GALified eeschema

--
[...truncated 141.30 KB...]
[ 79%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/target_edit.cpp.o
[ 79%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/text_mod_grid_table.cpp.o
[ 79%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_arc.cpp.o
[ 79%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/gerbview_draw_panel_gal.cpp.o
[ 79%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tool_footprint_editor.cpp.o
[ 79%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tool_footprint_viewer.cpp.o
[ 79%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_bezier.cpp.o
[ 79%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/gerbview_painter.cpp.o
[ 79%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_circle.cpp.o
[ 79%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tool_onrightclick.cpp.o
[ 79%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_collectors.cpp.o
[ 80%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/tools/gerbview_actions.cpp.o
[ 80%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_draw_item.cpp.o
[ 80%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_field.cpp.o
[ 80%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tool_pcb_editor.cpp.o
[ 80%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_pin.cpp.o
[ 80%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/tools/selection_tool.cpp.o
[ 80%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_polyline.cpp.o
[ 80%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/toolbars_update_user_interface.cpp.o
[ 80%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_rectangle.cpp.o
[ 80%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_text.cpp.o
[ 80%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/tools/gerbview_control.cpp.o
[ 80%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/libarch.cpp.o
[ 80%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/gerber_collectors.cpp.o
[ 81%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/tracks_cleaner.cpp.o
[ 81%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/panel_gerbview_display_options.cpp.o
[ 81%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/panel_gerbview_display_options_base.cpp.o
[ 81%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/menubar.cpp.o
[ 81%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/panel_gerbview_settings.cpp.o
[ 81%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/undo_redo.cpp.o
[ 81%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/panel_gerbview_settings_base.cpp.o
[ 81%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/netlist_generator.cpp.o
[ 81%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_layers_select_to_pcb_base.cpp.o
[ 81%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/netlist_object_list.cpp.o
[ 81%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/zone_filler.cpp.o
[ 81%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_print_gerbview.cpp.o
[ 81%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/netlist_object.cpp.o
[ 81%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/onleftclick.cpp.o
[ 82%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/onrightclick.cpp.o
[ 82%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_select_one_pcb_layer.cpp.o
[ 82%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/operations_on_items_lists.cpp.o
[ 82%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/zones_by_polygon.cpp.o
[ 82%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/__/common/base_screen.cpp.o
[ 82%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/pin_number.cpp.o
[ 82%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/pin_shape.cpp.o
[ 82%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/zones_by_polygon_fill_functions.cpp.o
[ 82%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/zones_functions_for_undo_redo.cpp.o
[ 82%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/pin_type.cpp.o
[ 82%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/__/common/base_units.cpp.o
[ 82%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_DXF.cpp.o
[ 82%] Building CXX object 

Re: [Kicad-developers] [PATCH] Use absolute path CMAKE_INSTALL_FULL_LIBDIR for 3d viewer PLUGINDIR

2018-12-11 Thread Wayne Stambaugh
On 12/11/2018 11:52 AM, Brüns, Stefan wrote:
> On Dienstag, 11. Dezember 2018 17:27:20 CET Wayne Stambaugh wrote:
>> Hi Stefan,
>>
>> On 12/11/2018 11:17 AM, Brüns, Stefan wrote:
>>> On Sonntag, 9. Dezember 2018 18:07:21 CET Wayne Stambaugh wrote:
 Stefan,

 I tested you patch and it seems to work fine on linux.  However, it also
 affects macos which I'm not sure that it wont break something.  Would
 one of our macos devs please take a look at this patch when you get a
 chance.
>>>
>>> Hi Wayne,
>>>
>>> I am quite sure it does not affect MacOS, as the changed code block is
>>> guarded by #ifndef __WXMAC__ [1], and PLUGINDIR is not used outside the
>>> block as far as I can see.
>>>
>>> Kind regards,
>>>
>>> Stefan
>>>
>>> [1] https://git.launchpad.net/kicad/tree/3d-viewer/3d_cache/
>>> 3d_plugin_manager.cpp#n123
>>
>> The patch I'm looking at applies at line 149 which is inside #ifndef
>> _WIN32 block which would effect both linux and macos.  Is it possible
>> this code changed you submitted the patch (it does apply cleanly) or I
>> have the wrong patch.  I've attached the patch I tested just in case.
> 
> And line 123 has #ifndef __WXMAC__. The WIN32 block is nested inside it, so 
> literally it is #if !(defined(__WXMAC__) || defined(_WIN32)).
> 
> Regards,
> 
> Stefan
> 

I missed that.  The indented pragmas threw me off.  I merge this as soon
as I get a chance.

Cheers,

Wayne

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] KiCad Janitor moves

2018-12-11 Thread Maciej Sumiński
Recently KiCad Janitor had been rather unreliable, mostly due to my
capricious Internet connection, so a few minutes ago he has got a new
home at one of CERN servers. It used to work as a webhook, but in order
to improve robustness I have switched it to polling (updates every 2
minutes). I expect the setup to be rock-solid, so please ping me anytime
KiCad Janitor misbehaves.

Cheers,
Orson



signature.asc
Description: OpenPGP digital signature
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Python scripting build broken on windows.

2018-12-11 Thread Seth Hillbrand

Am 2018-12-11 11:46, schrieb Wayne Stambaugh:

One of the last couple of patches this morning broke the python
scripting build on windows.  I'm getting the following error (and yes I
deleted pcbnew_wrap in an attempt to fix the issue):


Same on linux.  I had to back out 
a9efbf47161f7ab6619f099d6b4eb3671451


-S

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Build failed in Jenkins: kicad-qa #4980

2018-12-11 Thread Miguel Angel Ajo
See 

Changes:

[Maciej Suminski] Support autopanning in GALified eeschema

--
Started by an SCM change
Building remotely on debian8 (clang gcc linux) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://github.com/KiCad/kicad-source-mirror.git # timeout=10
Fetching upstream changes from https://github.com/KiCad/kicad-source-mirror.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/KiCad/kicad-source-mirror.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 63d4afb3eef056968588eb96aafb5f418b6d8cc5 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 63d4afb3eef056968588eb96aafb5f418b6d8cc5
Commit message: "Support autopanning in GALified eeschema"
 > git rev-list --no-walk a9efbf47161f7ab6619f099d6b4eb3671451 # timeout=10
[kicad-qa] $ /bin/sh -xe /tmp/jenkins7490584745255372754.sh
+ cmake --version
cmake version 3.0.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
+ gcc --version
gcc (Debian 4.9.2-10+deb8u1) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ git --version
git version 2.1.4
+ OPTS= -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON 
-DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
+ OPTS= -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON 
-DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON 
-DBUILD_SHARED_LIBS:BOOL=ON
+ [ -d passed-qa ]
+ [ -d build ]
+ cd build
+ /usr/bin/cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON 
-DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON 
-DBUILD_SHARED_LIBS:BOOL=ON
-- KiCad install dir: 
-- Check for installed GLEW -- found
-- Boost version: 1.55.0
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/dist-packages
-- Found wxPython 3.0.1.1/gtk2 (wxWidgets 3.0.1.1)
-- Found wxWidgets: 
-L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0
 (found suitable version "3.0.2", minimum required is "3.0.1.1") 
-- Found wxPython.h in 
/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0/wx/wxPython
-- S3DSG version: 2.0.0
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Found wxWidgets: 
-L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0
 (found suitable version "3.0.2", minimum required is "3.0.0") 
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Configuring done
-- Generating done
-- Build files have been written to: 

+ echo CMAKE exit code is 0
CMAKE exit code is 0
+ rm -f pcbnew/pcbnewPYTHON_wrap.cxx
+ + grep -q ^MAKEJOBS=
env
+ echo The MAKEJOBS variable is empty
The MAKEJOBS variable is empty
+ JOBS=4
+ make -j4 pcbnew_python_module
[  0%] Built target page_layout_lexer_source_files
[  0%] Generating version string header
[  0%] Built target idf3
-- Using Git to determine build version string.
[  0%] Built target lib_table_lexer_source_files
-- Found Git: /usr/bin/git (found version "2.1.4") 
[  0%] Built target netlist_lexer_source_files
[  2%] Built target gal
[  2%] Built target pcb_lexer_source_files
[  4%] Built target kicad_3dsg
[  4%] Built target pcb_plot_lexer_source_files
Scanning dependencies of target legacy_wx
[  4%] Building CXX object 
common/CMakeFiles/legacy_wx.dir/legacy_wx/eda_draw_panel.cpp.o
[  4%] Built target lib_dxf
[ 46%] Built target bitmaps
[ 46%] Built target connectivity
[ 46%] Built target specctra_lexer_source_files
[ 46%] Built target polygon
-- Writing 
 file with 
version: (6.0.0-rc1-dev-1373-g63d4afb)
[ 46%] Built target version_header
[ 52%] Built target pcbcommon
[ 53%] Built target pcad2kicadpcb
[ 59%] Built target 3d-viewer
Scanning dependencies of target common
[ 59%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o
[ 59%] Building CXX object 

Re: [Kicad-developers] [PATCH] Use absolute path CMAKE_INSTALL_FULL_LIBDIR for 3d viewer PLUGINDIR

2018-12-11 Thread Brüns , Stefan
On Dienstag, 11. Dezember 2018 17:27:20 CET Wayne Stambaugh wrote:
> Hi Stefan,
> 
> On 12/11/2018 11:17 AM, Brüns, Stefan wrote:
> > On Sonntag, 9. Dezember 2018 18:07:21 CET Wayne Stambaugh wrote:
> >> Stefan,
> >> 
> >> I tested you patch and it seems to work fine on linux.  However, it also
> >> affects macos which I'm not sure that it wont break something.  Would
> >> one of our macos devs please take a look at this patch when you get a
> >> chance.
> > 
> > Hi Wayne,
> > 
> > I am quite sure it does not affect MacOS, as the changed code block is
> > guarded by #ifndef __WXMAC__ [1], and PLUGINDIR is not used outside the
> > block as far as I can see.
> > 
> > Kind regards,
> > 
> > Stefan
> > 
> > [1] https://git.launchpad.net/kicad/tree/3d-viewer/3d_cache/
> > 3d_plugin_manager.cpp#n123
> 
> The patch I'm looking at applies at line 149 which is inside #ifndef
> _WIN32 block which would effect both linux and macos.  Is it possible
> this code changed you submitted the patch (it does apply cleanly) or I
> have the wrong patch.  I've attached the patch I tested just in case.

And line 123 has #ifndef __WXMAC__. The WIN32 block is nested inside it, so 
literally it is #if !(defined(__WXMAC__) || defined(_WIN32)).

Regards,

Stefan

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Python scripting build broken on windows.

2018-12-11 Thread Wayne Stambaugh
One of the last couple of patches this morning broke the python
scripting build on windows.  I'm getting the following error (and yes I
deleted pcbnew_wrap in an attempt to fix the issue):

[ 84%] Building CXX object
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.obj
C:/msys64/home/wstambaugh/build32/kicad/trunk-release/pcbnew/pcbnew_wrap.cxx:
In function 'PyObject* _wrap_GetNewConfig(PyObject*, PyObject*)':
C:/msys64/home/wstambaugh/build32/kicad/trunk-release/pcbnew/pcbnew_wrap.cxx:23565:132:
error: use of deleted function 'std::unique_ptr<_Tp,
_Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp =
wxConfigBase; _Dp = std::default_delete]'
   resultobj = SWIG_NewPointerObj((new std::unique_ptr< wxConfigBase
>(static_cast< const std::unique_ptr< wxConfigBase >& >(result))),
SWIGTYPE_p_std__unique_ptrT_wxConfigBase_t, SWIG_POINTER_OWN |  0 );

   ^
C:/msys64/home/wstambaugh/build32/kicad/trunk-release/pcbnew/pcbnew_wrap.cxx:1187:89:
note: in definition of macro 'SWIG_NewPointerObj'
 #define SWIG_NewPointerObj(ptr, type, flags)
SWIG_Python_NewPointerObj(NULL, ptr, type, flags)

^~~
In file included from C:/msys64/mingw32/include/c++/7.4.0/memory:80:0,
 from
C:/msys64/home/wstambaugh/src/kicad-trunk/include/macros.h:37,
 from
C:/msys64/home/wstambaugh/build32/kicad/trunk-release/pcbnew/pcbnew_wrap.cxx:5411:
C:/msys64/mingw32/include/c++/7.4.0/bits/unique_ptr.h:388:7: note:
declared here
   unique_ptr(const unique_ptr&) = delete;
   ^~
C:/msys64/home/wstambaugh/build32/kicad/trunk-release/pcbnew/pcbnew_wrap.cxx:
In instantiation of 'SwigValueWrapper&
SwigValueWrapper::operator=(const T&) [with T =
std::unique_ptr]':
C:/msys64/home/wstambaugh/build32/kicad/trunk-release/pcbnew/pcbnew_wrap.cxx:23564:48:
  required from here
C:/msys64/home/wstambaugh/build32/kicad/trunk-release/pcbnew/pcbnew_wrap.cxx:32:65:
error: use of deleted function 'std::unique_ptr<_Tp,
_Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp =
wxConfigBase; _Dp = std::default_delete]'
   SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new
T(t)); pointer = tmp; return *this; }
 ^~~~
In file included from C:/msys64/mingw32/include/c++/7.4.0/memory:80:0,
 from
C:/msys64/home/wstambaugh/src/kicad-trunk/include/macros.h:37,
 from
C:/msys64/home/wstambaugh/build32/kicad/trunk-release/pcbnew/pcbnew_wrap.cxx:5411:
C:/msys64/mingw32/include/c++/7.4.0/bits/unique_ptr.h:388:7: note:
declared here
   unique_ptr(const unique_ptr&) = delete;
   ^~
make[2]: ***
[pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/build.make:3561:
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:1775:
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Cheers,

Wayne

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] kicad-dev-nightly PPA builds for artful outdated?

2018-12-11 Thread Matthijs Kooijman
Hey folks,

> I've been trying to update to the latest nightly build, but it seems
> that the PPA has stopped building version for artful (17.10).
Seems the same thing happens for the kicad-5 release PPA (it has only
5.0.0 for Artful). For the kicad-5-nightly PPA, no artful builds are
available at all.

Gr.

Matthijs


signature.asc
Description: PGP signature
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Build failed in Jenkins: linux-kicad-full-gcc-head #4413

2018-12-11 Thread Miguel Angel Ajo
See 


Changes:

[Maciej Suminski] Set the screen pointer to null before deleting the associated 
items

[Maciej Suminski] Fixed memory leaks

--
[...truncated 154.31 KB...]
[ 85%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/hotkeys.cpp.o
[ 85%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/onleftclick.cpp.o
[ 85%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/hotkeys_board_editor.cpp.o
[ 85%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/hotkeys_footprint_editor.cpp.o
[ 85%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/initpcb.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/onrightclick.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/layer_widget.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/load_select_footprint.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/magnetic_tracks_functions.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/operations_on_items_lists.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/menubar_footprint_editor.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/pin_number.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/menubar_pcb_editor.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/pin_shape.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/microwave.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/minimun_spanning_tree.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/pin_type.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/move-drag_pads.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_DXF.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/move_or_drag_track.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/muwave_command.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/netlist.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_HPGL.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/onleftclick.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/onrightclick.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_PDF.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pad_edit_functions.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcb_base_edit_frame.cpp.o
Scanning dependencies of target qa_pcb_parse_input
[ 88%] Building CXX object 
qa/pcb_parse_input/CMakeFiles/qa_pcb_parse_input.dir/__/qa_utils/mocks.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_PS.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcb_footprint_edit_utils.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcb_layer_box_selector.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_SVG.cpp.o
[ 88%] Building CXX object 
qa/pcb_parse_input/CMakeFiles/qa_pcb_parse_input.dir/main.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_draw_panel.cpp.o
[ 88%] Building CXX object 
qa/pcb_parse_input/CMakeFiles/qa_pcb_parse_input.dir/__/__/common/base_units.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcb_layer_widget.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/project_rescue.cpp.o
[ 88%] Building CXX object 
qa/pcb_parse_input/CMakeFiles/qa_pcb_parse_input.dir/__/__/common/xnode.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_base_frame.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcb_edit_frame.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_bitmap.cpp.o
[ 88%] Building CXX object 
qa/pcb_parse_input/CMakeFiles/qa_pcb_parse_input.dir/__/__/common/base_screen.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_bus_entry.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_collectors.cpp.o
[ 88%] Linking CXX executable qa_pcb_parse_input
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_component.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_eagle_plugin.cpp.o
[ 89%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_config.cpp.o
[ 90%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_field.cpp.o

Re: [Kicad-developers] [PATCH] Use absolute path CMAKE_INSTALL_FULL_LIBDIR for 3d viewer PLUGINDIR

2018-12-11 Thread Wayne Stambaugh
Hi Stefan,

On 12/11/2018 11:17 AM, Brüns, Stefan wrote:
> On Sonntag, 9. Dezember 2018 18:07:21 CET Wayne Stambaugh wrote:
>> Stefan,
>>
>> I tested you patch and it seems to work fine on linux.  However, it also
>> affects macos which I'm not sure that it wont break something.  Would
>> one of our macos devs please take a look at this patch when you get a
>> chance.
> 
> Hi Wayne,
> 
> I am quite sure it does not affect MacOS, as the changed code block is 
> guarded 
> by #ifndef __WXMAC__ [1], and PLUGINDIR is not used outside the block as far 
> as I can see.
> 
> Kind regards,
> 
> Stefan
> 
> [1] https://git.launchpad.net/kicad/tree/3d-viewer/3d_cache/
> 3d_plugin_manager.cpp#n123

The patch I'm looking at applies at line 149 which is inside #ifndef
_WIN32 block which would effect both linux and macos.  Is it possible
this code changed you submitted the patch (it does apply cleanly) or I
have the wrong patch.  I've attached the patch I tested just in case.

Cheers,

Wayne
From 3f1f474f8ceab75acda7c1d0a36cc9c33c6124b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= 
Date: Tue, 9 Oct 2018 17:35:55 +0200
Subject: [PATCH] Use absolute path CMAKE_INSTALL_FULL_LIBDIR for 3d viewer
 PLUGINDIR

Currently, the plugindir in the plugin manager is constructed as
{CMAKE_INSTALL_PREFIX}/bin/../{CMAKE_INSTALL_LIBDIR}/kicad/..., while
CMakes install uses {CMAKE_INSTALL_LIBDIR}/kicad/...

In case CMAKE_INSTALL_LIBDIR is a relative path "install" prefixes it
with CMAKE_INSTALL_PREFIX and both paths happen to match, otherwise
the constructed path ends up as e.g. "/usr/bin/../usr/lib/kicad/...".

For these cases where an absolute path is wanted CMake provides the
CMAKE_INSTALL_FULL_ variants which works the same as
CMAKE_INSTALL_ when used as DIRECTORY for install.
---
 3d-viewer/3d_cache/3d_plugin_manager.cpp | 10 +++---
 3d-viewer/3d_plugin_dir.h.in |  2 +-
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/3d-viewer/3d_cache/3d_plugin_manager.cpp 
b/3d-viewer/3d_cache/3d_plugin_manager.cpp
index 52f2cef..fc561e7 100644
--- a/3d-viewer/3d_cache/3d_plugin_manager.cpp
+++ b/3d-viewer/3d_cache/3d_plugin_manager.cpp
@@ -149,14 +149,10 @@ void S3D_PLUGIN_MANAGER::loadPlugins( void )
 #endif
 
 #ifndef _WIN32
-// multiarch friendly determination of the plugin directory: the 
executable dir
-// is first determined via wxStandardPaths::Get().GetExecutablePath() 
and then
-// the CMAKE_INSTALL_LIBDIR path is appended relative to the 
executable dir.
+// PLUGINDIR = CMAKE_INSTALL_FULL_LIBDIR path is the absolute path
+// corresponding to the install path used for constructing 
KICAD_USER_PLUGIN
 
-fn.Assign( wxStandardPaths::Get().GetExecutablePath() );
-fn.RemoveLastDir();
-wxString tfname = fn.GetPathWithSep();
-tfname.Append( wxString::FromUTF8Unchecked( PLUGINDIR ) );
+wxString tfname = wxString::FromUTF8Unchecked( PLUGINDIR );
 fn.Assign( tfname, "");
 fn.AppendDir( "kicad" );
 #else
diff --git a/3d-viewer/3d_plugin_dir.h.in b/3d-viewer/3d_plugin_dir.h.in
index 6cf6de2..fb923ec 100644
--- a/3d-viewer/3d_plugin_dir.h.in
+++ b/3d-viewer/3d_plugin_dir.h.in
@@ -1 +1 @@
-#define PLUGINDIR "@CMAKE_INSTALL_LIBDIR@"
+#define PLUGINDIR "@CMAKE_INSTALL_FULL_LIBDIR@"
-- 
2.19.0

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] [PATCH] Use absolute path CMAKE_INSTALL_FULL_LIBDIR for 3d viewer PLUGINDIR

2018-12-11 Thread Brüns , Stefan
On Sonntag, 9. Dezember 2018 18:07:21 CET Wayne Stambaugh wrote:
> Stefan,
> 
> I tested you patch and it seems to work fine on linux.  However, it also
> affects macos which I'm not sure that it wont break something.  Would
> one of our macos devs please take a look at this patch when you get a
> chance.

Hi Wayne,

I am quite sure it does not affect MacOS, as the changed code block is guarded 
by #ifndef __WXMAC__ [1], and PLUGINDIR is not used outside the block as far 
as I can see.

Kind regards,

Stefan

[1] https://git.launchpad.net/kicad/tree/3d-viewer/3d_cache/
3d_plugin_manager.cpp#n123
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] kicad-dev-nightly PPA builds for artful outdated?

2018-12-11 Thread Jean-Samuel Reynaud
Dear Matthijs,

Launchpad doesn't support anymore build for artful. So it will no more
available.
Have you try Xenial PPA ? (not sure if it's working...)


Regards,
Le 11/12/2018 à 16:05, Matthijs Kooijman a écrit :
> Hey folks,
> 
> I've been trying to update to the latest nightly build, but it seems
> that the PPA has stopped building version for artful (17.10). The latest
> version is:
> 
> kicad  201807190649+829ba27~83~ubuntu17.10.1  js-reynaud (2018-07-19)
> 
> (from https://launchpad.net/~js-reynaud/+archive/ubuntu/kicad-dev-nightly)
> 
> The other distributions in the PPA have today's build available.
> 
> Was support for artful intentionally dropped, or is something wrong somewhere?
> I'm not quite how the process behind a PPA works, apparently.
> 
> I also looked at the build logs around the time of the last succesful
> build, and it seems there have been no (failing) attempts after that, so
> it looks like artful builds were just switched off?
> 
> I'm interested in the Artful build, since I'm running Debian/stable and artful
> seems to match stable best (installing bionic replaces libcurl3 with libcurl4,
> require an upgrade of half my system to testing...)
> 
> Any chance to get the artful builds up-to-date again? Anything I can do to 
> help?
> 
> Gr.
> 
> Matthijs
> 




signature.asc
Description: OpenPGP digital signature
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Build failed in Jenkins: linux-kicad-full-gcc-head #4412

2018-12-11 Thread Miguel Angel Ajo
See 


Changes:

[jean-pierre charras] Eagle(.lbr) footprints not listed in Library Browser

--
[...truncated 152.25 KB...]
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_circle.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_collectors.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/autorouter/autoplacer_tool.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_draw_item.cpp.o
[ 86%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/footprints_listbox.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_field.cpp.o
[ 86%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/lib_pin.cpp.o
[ 86%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/library_listbox.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/action_plugin.cpp.o
[ 86%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/cvpcb_mainframe.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_polyline.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_rectangle.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/append_board_to_current.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/lib_text.cpp.o
[ 86%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/libarch.cpp.o
[ 86%] Building CXX object cvpcb/CMakeFiles/cvpcb_kiface.dir/listbox_base.cpp.o
[ 86%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/menubar.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/array_creator.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/netlist_generator.cpp.o
[ 86%] Building CXX object cvpcb/CMakeFiles/cvpcb_kiface.dir/menubar.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/netlist_object_list.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/netlist_object.cpp.o
[ 86%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/readwrite_dlgs.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/onleftclick.cpp.o
[ 86%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/attribut.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/onrightclick.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/operations_on_items_lists.cpp.o
[ 87%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/toolbars_cvpcb.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/pin_number.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/block.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/pin_shape.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/pin_type.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_DXF.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_HPGL.cpp.o
[ 87%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/tools/cvpcb_actions.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/block_footprint_editor.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_PDF.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_PS.cpp.o
[ 87%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/tools/cvpcb_control.cpp.o
[ 87%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/board_netlist_updater.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/plot_schematic_SVG.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_draw_panel.cpp.o
[ 88%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/tools/cvpcb_selection_tool.cpp.o
[ 88%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/build_BOM_from_board.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/project_rescue.cpp.o
[ 88%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_base_frame.cpp.o
[ 88%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/dialogs/fp_conflict_assignment_selector_base.cpp.o
[ 89%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/connect.cpp.o
[ 89%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_bitmap.cpp.o
[ 89%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_bus_entry.cpp.o
[ 89%] Building CXX object 
cvpcb/CMakeFiles/cvpcb_kiface.dir/dialogs/fp_conflict_assignment_selector.cpp.o
[ 89%] Building CXX object 
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/controle.cpp.o
[ 89%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/sch_collectors.cpp.o

[Kicad-developers] Build failed in Jenkins: kicad-qa #4979

2018-12-11 Thread Miguel Angel Ajo
See 

Changes:

[Maciej Suminski] Set the screen pointer to null before deleting the associated 
items

[Maciej Suminski] Fixed memory leaks

--
[...truncated 70.39 KB...]
 BOARD* board = getModel();
^
: 
In member function ‘int PCB_EDITOR_CONTROL::TrackWidthDec(const TOOL_EVENT&)’:
:369:12:
 warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
 BOARD* board = getModel();
^
: 
In member function ‘int PCB_EDITOR_CONTROL::ViaSizeInc(const TOOL_EVENT&)’:
:386:12:
 warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
 BOARD* board = getModel();
^
: 
In member function ‘int PCB_EDITOR_CONTROL::ViaSizeDec(const TOOL_EVENT&)’:
:403:12:
 warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
 BOARD* board = getModel();
^
: 
In member function ‘int PCB_EDITOR_CONTROL::PlaceModule(const TOOL_EVENT&)’:
:420:13:
 warning: declaration of ‘module’ shadows a member of 'this' [-Wshadow]
 MODULE* module = aEvent.Parameter();
 ^
:421:27:
 warning: declaration of ‘controls’ shadows a member of 'this' [-Wshadow]
 KIGFX::VIEW_CONTROLS* controls = getViewControls();
   ^
:423:16:
 warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
 SELECTION& selection = selTool->GetSelection();
^
: 
In member function ‘int 
PCB_EDITOR_CONTROL::modifyLockSelected(PCB_EDITOR_CONTROL::MODIFY_MODE)’:
:542:22:
 warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
 const SELECTION& selection = selTool->GetSelection();
  ^
: 
In member function ‘int PCB_EDITOR_CONTROL::PlaceTarget(const TOOL_EVENT&)’:
:584:18:
 warning: declaration of ‘view’ shadows a member of 'this' [-Wshadow]
 KIGFX::VIEW* view = getView();
  ^
:585:27:
 warning: declaration of ‘controls’ shadows a member of 'this' [-Wshadow]
 KIGFX::VIEW_CONTROLS* controls = getViewControls();
   ^
:586:12:
 warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
 BOARD* board = getModel();
^
: 
In member function ‘int PCB_EDITOR_CONTROL::ZoneMerge(const TOOL_EVENT&)’:
:710:22:
 warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
 const SELECTION& selection = 
m_toolMgr->GetTool()->GetSelection();
  ^
:711:12:
 warning: declaration of ‘board’ shadows a member of 'this' [-Wshadow]
 BOARD* board = getModel();
^
: 
In member function ‘int PCB_EDITOR_CONTROL::ZoneDuplicate(const TOOL_EVENT&)’:
:769:17:
 warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
 const auto& selection = selTool->GetSelection();
 ^
: 
In member function ‘int PCB_EDITOR_CONTROL::CrossProbePcbToSch(const 
TOOL_EVENT&)’:
:826:22:
 warning: declaration of ‘selection’ shadows a member of 'this' [-Wshadow]
 const SELECTION& selection = selTool->GetSelection();
  ^
: 

[Kicad-developers] kicad-dev-nightly PPA builds for artful outdated?

2018-12-11 Thread Matthijs Kooijman
Hey folks,

I've been trying to update to the latest nightly build, but it seems
that the PPA has stopped building version for artful (17.10). The latest
version is:

kicad  201807190649+829ba27~83~ubuntu17.10.1  js-reynaud (2018-07-19)

(from https://launchpad.net/~js-reynaud/+archive/ubuntu/kicad-dev-nightly)

The other distributions in the PPA have today's build available.

Was support for artful intentionally dropped, or is something wrong somewhere?
I'm not quite how the process behind a PPA works, apparently.

I also looked at the build logs around the time of the last succesful
build, and it seems there have been no (failing) attempts after that, so
it looks like artful builds were just switched off?

I'm interested in the Artful build, since I'm running Debian/stable and artful
seems to match stable best (installing bionic replaces libcurl3 with libcurl4,
require an upgrade of half my system to testing...)

Any chance to get the artful builds up-to-date again? Anything I can do to help?

Gr.

Matthijs


signature.asc
Description: PGP signature
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Build failed in Jenkins: linux-kicad-full-gcc-head #4411

2018-12-11 Thread Miguel Angel Ajo
See 


Changes:

[jean-pierre charras] VIEW_OVERLAY: add missing code and missing poly graphic 
overloaded

--
[...truncated 152.26 KB...]
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/params_read_write.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/autoplace_fields.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/pcb_calculator_frame.cpp.o
[ 86%] Building CXX object 
kicad/CMakeFiles/kicad.dir/dialogs/dialog_template_selector.cpp.o
[ 86%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/gerber_collectors.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/backanno.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/datafile_read_write.cpp.o
[ 86%] Building CXX object kicad/CMakeFiles/kicad.dir/files-io.cpp.o
[ 86%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/panel_gerbview_display_options.cpp.o
[ 86%] Building CXX object kicad/CMakeFiles/kicad.dir/import_project.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/regulators_funct.cpp.o
[ 86%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/block.cpp.o
[ 86%] Building CXX object kicad/CMakeFiles/kicad.dir/kicad.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/tracks_width_versus_current.cpp.o
[ 86%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/panel_gerbview_display_options_base.cpp.o
[ 86%] Building CXX object kicad/CMakeFiles/kicad.dir/mainframe.cpp.o
[ 86%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/panel_gerbview_settings.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/bus-wire-junction.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline_ident.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/UnitSelector.cpp.o
[ 86%] Building CXX object kicad/CMakeFiles/kicad.dir/menubar.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/pcb_calculator_datafile_keywords.cpp.o
[ 86%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/panel_gerbview_settings_base.cpp.o
[ 86%] Building CXX object kicad/CMakeFiles/kicad.dir/prjconfig.cpp.o
[ 86%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/busentry.cpp.o
[ 86%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_layers_select_to_pcb_base.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/transline.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/c_microstrip.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/microstrip.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/coplanar.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/coax.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/rectwaveguide.cpp.o
[ 86%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/stripline.cpp.o
[ 87%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline/twistedpair.cpp.o
[ 87%] Building CXX object kicad/CMakeFiles/kicad.dir/project_template.cpp.o
[ 87%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/transline_dlg_funct.cpp.o
[ 87%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_print_gerbview.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/class_libentry.cpp.o
[ 87%] Building CXX object kicad/CMakeFiles/kicad.dir/tree_project_frame.cpp.o
[ 87%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/attenuators/attenuator_classes.cpp.o
[ 87%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/dialogs/pcb_calculator_frame_base.cpp.o
[ 87%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/dialogs/dialog_select_one_pcb_layer.cpp.o
[ 87%] Building CXX object kicad/CMakeFiles/kicad.dir/treeprojectfiles.cpp.o
[ 87%] Building CXX object 
eeschema/CMakeFiles/eeschema_kiface.dir/class_library.cpp.o
[ 87%] Building CXX object kicad/CMakeFiles/kicad.dir/treeproject_item.cpp.o
[ 87%] Building CXX object 
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/dialogs/dialog_regulator_data_base.cpp.o
[ 87%] Building CXX object 
gerbview/CMakeFiles/gerbview_kiface.dir/__/common/base_screen.cpp.o
[ 87%] Linking CXX executable kicad
[ 87%] Linking CXX shared module _pcb_calculator.kiface
[ 87%] Building CXX object