← Back to team overview

kicad-developers team mailing list archive

OS X Packaging Update


Hi folks,

Things are progressing very well on the OS X packaging front!

Every time bzr is updated for lp:kicad, a Mac build is generated, and every
night, a clean build is generated and packaged as a dmg.  Miguel is working
on fixing my SSH credentials on the server, so I can push the build logs
and dmgs.

I've done my best to script a dmg creator that matches what end-users
expect from downloaded Mac applications.  I think it is very good at this

You can see an image of what it looks like inside one of these dmgs,
attached to this email.

The build log is included with every package, and also will be uploaded
next to every package, so that you don't have to download the entire
package to see a build log.

The package is currently around 200 megs.

The README is dynamically generated at package time.  A sample one
follows.  Please let me know if you have any additions or suggestions:

KiCad is an EDA software suite for the creation of professional
schematics and printed circuit boards up to 32 copper layers. KiCad
runs on Windows, Linux and OS X and is released under the open-source
GNU GPL v2 free of charge.

With KiCad you can create schematic diagrams and printed circuit board
up to 32 copper layers. KiCad comes with a rich set of libraries with
3D models as well.

KiCad is a mature EDA software tool under active development by a team
of developers and a vibrant user group. KiCad team counts three main
developers and a dozen of regular contributors.

Documentation is available in this disk image under docs/, and is
available online at http://www.kicad-pcb.org/.

You can browse the changelog at

Reporting Issues
The KiCad developers are working hard to provide quality, binary
releases to our users.  As of September 2014, the OS X package is
under heavy, active development.

If you encounter issues with this software, please report a bug at

To help us, please include the details from "About This Build" in this
file or the name of the download file (kicad-r*.dmg).  Please also
include the output from running the following command in the Terminal:


About This Build
KiCad revision: r5237
Packaged on 20143010-034759
Packaging script revision: r20
Build script revision: r20
CMake Settings: -DCMAKE_C_COMPILER=/usr/bin/clang

At the moment, I have set up another OS X machine running a freshly
installed 10.10.  I haven't installed anything else, and I am testing the
Kicad packages on there, and then once I have tested them, I am reverting
the system back to the state as it was "freshly installed."  This is not
ideal at all, but every day these packages aren't available is another day
I spend 20 minutes replying to people asking me where Mac builds are :)

What's Left:

* Automated uploads to the website.  I poked Miguel about this recently,
and he says he'll try to get to it today.

* The current Mac build appears to have some dependencies beyond what we
include in the bundle.  For example, on a freshly installed 10.10 system
with this bundle, I cannot open pcbnew.  I verified this myself.  A tester
reported to me that he was able to fix it by installing brew, libpng,
libpixman, and libfontconfig.  I have not verified that fix yet.

The error is: 06:53:16: dlopen(/Volumes/Contents/PlugIns/_pcbnew.kiface,
10): image not found
06:53:16: IO_ERROR: Fatal Installation Bug
missing file:

/Users/jenkins/remoteroot/workspace/KiCadMacBuild/kicad/common/kiway.cpp :
KiFACE() : line 219
It appears that it is looking for Contents/PlugIns/_pcbnew.kiface at the
wrong place, and I am not sure why installing those libraries would fix
that problem.  I am going to pull this out into its own email so discussion
of this doesn't get merged with other nightly build questions.

* Including libraries?  Not sure about this one.

What has been done:

* We redid our build cluster in a way that we could let in other people,
and not see the rest of the Wayne and Layne internal projects.  I hope to
get some more people in the packaging group, and this was a crucial first

* We have an OS X machine for building, and an OS X machine for testing,
and can restore it to the "freshly installed" state very easily.


Adam Wolf
Cofounder and Engineer

Attachment: Screen Shot 2014-10-29 at 1.01.19 PM.png
Description: PNG image

Follow ups