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@mint-660> 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@mint-660> 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 System Information created by Gambas [System] Gambas=3.8.2 OperatingSystem=Linux Kernel=4.2.0-16-generic Architecture=x86_64 Distribution=Ubuntu 15.10 Desktop=MATE Theme=Gtk Language=en_GB.UTF-8 Memory=7887M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.14.3 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.600.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1600.7 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.52.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.4.2 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_BACKEND=x11 COMPIZ_CONFIG_PROFILE=mate DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-DEGkApHHa2,guid=1be4de8feb243ca578024b27563b1682 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_LANG=en_GB GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=1781 GTK_MODULES=gail:atk-bridge:canberra-gtk-module GTK_OVERLAY_SCROLLING=0 HOME=<home> LANG=en_GB.UTF-8 LANGUAGE=en_GB:en LOGNAME=<user> MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=<home> SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/931,unix/<hostname>:/tmp/.ICE-unix/931 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=982 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER=<user> XAUTHORITY=<home>/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user> XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user