[Gambas-user] Unable to create .deb installs for Ubuntu / Mint
Michael Perryman
gambasperryman at ...626...
Thu Nov 5 17:09:37 CET 2015
Thanks it fixed that problem, but now producing other errors to prevent the
packages being created.. I will investigate those now.
Michael
On 5 November 2015 at 15:26, Benoît Minisini <gambas at ...1...>
wrote:
> Le 05/11/2015 16:16, Michael Perryman a écrit :
> > Using the Gambas 3.7 versions on Mint 17.2 I was having no problems,
> > writing, compiling, testing, & creating installation packages for use in
> > Linux Mint 17.2. A few weeks after installing 3.8 I needed to create an
> > installation package for use with Mint. It failed to create an
> > installation package.
> >
> > Assuming that there was something wrong with my installation of Mint I
> > first tried reinstalling Mint 17.2, using just the defaults, on an empty
> > disk. It still would not compile.
> >
> > Next I tried installing Ubuntu 15.10 on an empty disk. First creating 3
> > partitions for use as "/", swap & home.
> >
> > Other than telling it to use the above disk structure do an default
> install
> > of Ubuntu Mate 15.10, letting it apply all updates during the install.
> >
> > Install Gambas with the following script.
> >
> > #!/bin/bash -vx
> > sudo add-apt-repository ppa:gambas-team/gambas3
> > sudo apt-get update
> > sudo apt-get install gambas3
> >
> > Copy source directory from what was a working program prier to Gambas 3.8
> > into a source directory on the test installation.
> > Create a separate directory in which to put the installation files.
> >
> > Load program and chose project / compile all.
> >
> > Chose project / make / executable, choosing put shortcut on desktop.
> >
> > Running the executable that has been placed from the desktop,
> everything
> > works.
> >
> > Now choosing project / make / installation package, & on Target
> > Distribution only ticking Ubuntu / Mint I get the message that I have
> > always had "makepkg is missing". In addition I now get the 2 messages
> :-
> > autoconf and automake are missing.
> > makeself is missing.
> >
> > I Clicked next on every window until "Destination directory " is
> displayed.
> > Chose the install directory & click next.
> > Next screen click "create package"
> > The following is displayed.
> >
> >
> >
> > Saving CHANGELOG file.
> >
> >
> ==============================================================================
> >
> > CREATING PACKAGE FOR UBUNTU / KUBUNTU / MINT....
> >
> >
> > Making build directory.
> > Creating desktop file...
> > Sources are being debianizated.
> > Creating package...
> > cd
> '/home/michael/data/GambasInstall/GarminTools/ubuntu/garmintools-0.1.12'
> > dpkg-buildpackage -d -rfakeroot -uc -us
> > dpkg-buildpackage: source package garmintools
> > dpkg-buildpackage: source version 0.1.12-0ubuntu2
> > dpkg-buildpackage: source distribution unstable
> > dpkg-buildpackage: source changed by michael <michael at ...3522...>
> > sh: 1: gcc: not found
> > dpkg-architecture: warning: couldn't determine gcc system type, falling
> > back to default (native compilation)
> > dpkg-buildpackage: host architecture amd64
> > dpkg-source --before-build garmintools-0.1.12
> > dpkg-source: error: syntax error in garmintools-0.1.12/debian/control at
> > line 12: line with unknown format (not field-colon-value)
> > dpkg-buildpackage: error: dpkg-source --before-build garmintools-0.1.12
> > gave error exit status 25
> > The package build has failed.
> > Package.MakeDebPackage.991: 'dpkg-buildpackage' has failed.
> > Saving CHANGELOG file.
> >
> > End of CHANGELOG file
> > ========================================================
> >
> > File garmintools-0.1.12/debian/control follows. everything between
> the
> > rows of ========== The 12th line, said to be an error is part of the
> > Description
> >
> >
> ==================================================================================
> > Source: garmintools
> > Section: contrib/electronics
> > Priority: optional
> > Maintainer: michael <michael at ...3522...>
> > Build-Depends: debhelper (>= 5.0.0), gambas3-dev (>= 3.8), gambas3-dev
> (<<
> > 3.99.0), gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0),
> > gambas3-gb-form (>= 3.8), gambas3-gb-form (<< 3.99.0), gambas3-gb-pcre
> (>=
> > 3.8), gambas3-gb-pcre (<< 3.99.0)
> > Standards-Version: 3.9.6
> >
> > Package: garmintools
> > Architecture: all
> > Depends: gambas3-runtime (>= 3.8), gambas3-runtime (<< 3.99.0),
> > gambas3-gb-image (>= 3.8), gambas3-gb-image (<< 3.99.0), gambas3-gb-form
> > (>= 3.8), gambas3-gb-form (<< 3.99.0), gambas3-gb-pcre (>= 3.8),
> > gambas3-gb-pcre (<< 3.99.0)
> > Description: 0.1.0
> > GPS data processing for navagation
> > gpx merge file correctl...
> > 0.1.0
> > GPS data processing for navagation
> > gpx merge file correctly forated
> > This program is written in Gambas.
> >
> ================================================================================
> >
> > Does anyone know why this is failing & how to fix the problem.
> >
> > Many thanks
> >
> > Michael
> >
> >
>
> I think you have a workaround by removing any newline inside your
> project description (I'm not sure, as you didn't provide your project.)
>
> Otherwise the problem will be fixed in Gambas 3.8.3 that will be
> released soon. You can already download the sources on sourceforge.net
> if you can't wait.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list