← Back to team overview

kicad-developers team mailing list archive

Re: Fwd: PPA build problems

 

Thanks Wayne.  I'll do this soon!

Adam Wolf
On Mon, Oct 24, 2011 at 3:17 PM, Wayne Stambaugh <stambaughw@xxxxxxxxxxx>wrote:

> On 10/24/2011 2:43 PM, Hans Henry von Tresckow wrote:
> > On Sat, Oct 22, 2011 at 9:16 AM, Adam Wolf
> > <adamwolf@xxxxxxxxxxxxxxxxxxxx> wrote:
> >>
> >>
> >> On Sat, Oct 22, 2011 at 9:35 AM, Dick Hollenbeck <dick@xxxxxxxxxxx>
> wrote:
> >>>
> >>>
> >>> It seems we need to have "packaging" information maintained somewhere.
>  In
> >>> the video
> >>> example it looks like it was being merged in from a separate repo,
> >>> although that decision
> >>> to maintain it in a separate tree is a separate topic or decision.
> >>>
> >>>
> >>> After that everything seems to be in place at Launchpad already.
> >>>
> >>> I volunteer to spend some time on this, but again, it will be several
> days
> >>> before I can
> >>> get there.
> >>>
> >>> Thanks,
> >>>
> >>> Dick
> >>
> >> I've had a build recipe set up for something like six months, but it
> broke
> >> sometime during the XPM icon changes.  I finally had a chance to take a
> look
> >> at it this morning, and I changed the build recipe branch to not have
> >> -DXPM_CPP_PATH=$(CURDIR)/build/bitmaps in the cmake options, and it
> appears
> >> to build fine.  My PPA already had builds scheduled for most recent
> ubuntu
> >> releases, so I cannot test it on their architecture for anything but
> Ubuntu
> >> 12.04 ("Precise").  I did test it with that, and it successfully built,
> as
> >> well as successfully built on my Ubuntu 11.04 machine.  In about 20
> hours or
> >> so, the rest of the Ubuntu releases should build on Launchpad.
> >>
> >> The build recipes seem to be pretty amazing, really.  I have a single
> branch
> >> of packaging information loaded.  I started with the debian packaging
> >> information.  I then added a few lines in a build recipe
> >> (https://code.launchpad.net/~adamwolf/+recipe/kicad-packaging-daily)
> and now
> >> Launchpad merges kicad with my packaging tree, and if there's been any
> >> changes in the last day, it builds it and puts it in a PPA.
> >>
> >> Adam Wolf
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >>
> >
> > Adam,
> > Thanks for taking a look at this. However, it looks like the platform
> > specific packages are falling over on a missing icon file:
> >
> > taken from:
> >
> https://launchpadlibrarian.net/83586705/buildlog_ubuntu-precise-i386.kicad_0.0.201110240307%2B3190%7E9%7Eprecise1_FAILEDTOBUILD.txt.gz
> >
> > -- Install configuration: ""
> > -- Install component: "binary"
> > -- Installing:
> /build/buildd/kicad-0.0.201110240307+3190~9~precise1/debian/kicad/usr/bin/cvpcb
> > -- Installing:
> /build/buildd/kicad-0.0.201110240307+3190~9~precise1/debian/kicad/usr/bin/eeschema
> > -- Installing:
> /build/buildd/kicad-0.0.201110240307+3190~9~precise1/debian/kicad/usr/lib/kicad/plugins/netlist_form_pads-pcb.xsl
> > -- Installing:
> /build/buildd/kicad-0.0.201110240307+3190~9~precise1/debian/kicad/usr/bin/gerbview
> > -- Installing:
> /build/buildd/kicad-0.0.201110240307+3190~9~precise1/debian/kicad/usr/bin/kicad
> > -- Installing:
> /build/buildd/kicad-0.0.201110240307+3190~9~precise1/debian/kicad/usr/bin/pcbnew
> > -- Installing:
> /build/buildd/kicad-0.0.201110240307+3190~9~precise1/debian/kicad/usr/bin/bitmap2component
> > -- Installing:
> /build/buildd/kicad-0.0.201110240307+3190~9~precise1/debian/kicad/usr/bin/pcb_calculator
> > dh_installdocs
> > dh_install -s
> > cp: cannot stat `./kicad/bitmaps/icon_kicad.xpm': No such file or
> directory
>
>                    ^^^^^^^  needs to be changed to:
>                   ./kicad/bitmaps_png/icons/icon_kicad.png
>
> The project is now using PNG files as the default image format.  This
> required
> a path change for the image files.  The debian configuration file will need
> to
> be updated.  There may be other image paths that cause the build to fail as
> well.  Grep the debian configuration file for all occurrences of
> ./kicad/bitmaps and replace them accordingly.
>
> Wayne
>
> > dh_install: cp -a ./kicad/bitmaps/icon_kicad.xpm
> > debian/kicad//usr/share/pixmaps// returned exit code 1
> > make: *** [install-arch] Error 2
> > dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave
> > error exit status 2
> >
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References