[Gambas-user] Make instalation package don't work

José Luis Redrejo jredrejo at ...626...
Thu Jun 5 18:32:10 CEST 2008


2008/6/4 tsakaji30 <al_ur30 at ...67...>:

>
> Well, I couln't make the test because I can't find the rpmbuild package for
> Ubuntu, I have tried with apt-get and a little search with Google and
> nothing. If you say to me how to install rpmbuild I could make the tests.
>

You only need to install the debian package called "rpm"



>
> On the other hand, how I could get a gpg key to sign the package?
>


You only need to create it using gpg, and take into account that the
gambas2-ide packager takes  Project.Maintainer & " <" & Project.Address &
">  to build the name of the package maintainer, So, you have to create your
gpg key for that user and email in your user account.

You can find more info about the reasons to use gpg sign, way to get a valid
key for Debian, and links to the procedure to create a key at
http://www.debian.org/devel/join/nm-step2


Regards
José L.



>
>
> José Luis Redrejo wrote:
> >
> > The "weird" thing is that you don't have a gpg key to sign the package.
> It
> > does not affect to the package itself, but to the users who must trust
> you
> > before installing it (and you can not upload to Debian official
> > repositories)
> >
> >
> > On the other hand, did you try to do a rpm package before changing the
> > name?. I'm really interested in fix this problem and I need to know if
> > it's
> > a problem of the general packaging part or of the debian packaging
> > routines.
> >
> > Regards.
> >
> > 2008/6/4 tsakaji30 <al_ur30 at ...67...>:
> >
> >>
> >> You were right, i have changed the name of the folder and put in the
> home
> >> directory and it worked very well. But, in the log i see something
> weird,
> >> something about a sign, but i don't think it is a problem. Here is the
> >> log:
> >> Creando paquete para Ubuntu.
> >> Creando el directorio de construcción.
> >> Creando archivo de escritorio...
> >> Se están debianizando los fuentes.
> >> Creando paquete...
> >> dpkg-buildpackage: set CPPFLAGS to default value:
> >> dpkg-buildpackage: set CFLAGS to default value: -g -O2
> >> dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
> >> dpkg-buildpackage: set FFLAGS to default value: -g -O2
> >> dpkg-buildpackage: set LDFLAGS to default value:
> -Wl,-Bsymbolic-functions
> >> dpkg-buildpackage: Paquete fuente algoritmo
> >> dpkg-buildpackage: Versión fuente 0.0-1
> >> dpkg-buildpackage: Fuente cambiadas por Hecho por Benny Busnego y
> >> Alejandro
> >> Uribe. Seccion A. Telecomunicaciones UNEFA. Venezuela.
> >> <sakura_bb30 at ...67..., al_ur30 at ...67...>
> >> dpkg-buildpackage: arquitectura de anfitrión i386
> >>  debian/rules clean
> >> dh_testdir
> >> dh_testroot
> >> rm -Rf `find . -name ".gambas"`
> >> rm -Rf `find . -name "*.gambas"`
> >> rm -f build-stamp install-stamp
> >> dh_clean
> >> dpkg-source: construyendo algoritmo en algoritmo_0.0.orig.tar.gz
> >>  dpkg-source -b algoritmo-0.0
> >> dpkg-source: construyendo algoritmo en algoritmo_0.0-1.diff.gz
> >> dpkg-source: construyendo algoritmo en algoritmo_0.0-1.dsc
> >> dpkg-source: aviso: ignorando borrado del arachivo
> >> src/algoritmo/T1_AlgoritmoConmutacion.gambas
> >> dpkg-source: aviso: ignorando borrado del directorio
> >> src/algoritmo/.gambas
> >> dpkg-source: aviso: ignorando borrado del arachivo
> >> src/algoritmo/algoritmo.gambas
> >> dh_testdir
> >>  debian/rules build
> >> touch build-stamp
> >> /usr/local/bin/gbc2 -a  src/algoritmo
> >> OK
> >> gba2 src/algoritmo
> >> dh_testdir
> >>  debian/rules binary
> >> dh_testroot
> >> dh_clean -k
> >> dh_installdirs
> >> touch install-stamp
> >> dh_testdir -i
> >> dh_testroot -i
> >> dh_installdocs -i
> >> dh_installchangelogs -i
> >> dh_install -i
> >> dh_installmenu
> >> dh_compress -i
> >> dh_fixperms -i
> >> dh_installdeb -i
> >> dh_gencontrol -i
> >> dh_md5sums -i
> >> dh_builddeb -i
> >> dpkg-deb: construyendo el paquete `algoritmo' en
> >> `../algoritmo_0.0-1_all.deb'.
> >> dh_testdir
> >>
> >>  signfile algoritmo_0.0-1.dsc
> >> gpg: `Hecho por Benny Busnego y Alejandro Uribe. Seccion A.
> >> Telecomunicaciones UNEFA. Venezuela. <sakura_bb30 at ...67...,
> >> al_ur30 at ...67...>' omitido: clave secreta no disponible
> >> gpg: [stdin]: clearsign failed: clave secreta no disponible
> >>  dpkg-genchanges  >../algoritmo_0.0-1_i386.changes
> >> dpkg-buildpackage: binary and diff upload (original source NOT included)
> >> dpkg-genchanges: no incluyendo código fuente original en subida
> >> dpkg-buildpackage: aviso: Fallo al firmar los archivos .dsc y .changes
> >> Guardando archivo CHANGELOG.
> >> Los paquetes han sido creados con éxito.
> >>
> >>
> >>
> >> José Luis Redrejo wrote:
> >> >
> >> > The problem is that your project name begins with "gambas".
> >> > Somewhere in the packaging code it removes "gambas" from the project
> >> > name,so
> >> > it does not found it:
> >> > ...
> >> > dpkg-source: construyendo gambas-t1-algoritmoconmutacion en
> >> > gambas-t1-algoritmoconmutacion_0.0.orig.tar.gz
> >> > ...
> >> > /usr/local/bin/gbc2 -a  src/T1-AlgoritmoConmutacion
> >> > ..
> >> >
> >> > It's clear that the tar.gz contains gambas-t1-algoritmoconmutacion
> ,but
> >> > the
> >> > compiler looks for T1-AlgoritmoConmutacion, not
> >> > gambas-T1-AlgoritmoConmutacion.
> >> >
> >> > Try changing your project name. But before doing so, please, try
> >> creating
> >> > a
> >> > rpm package and tell us if it works right,  to know if this is a
> >> problem
> >> > of
> >> > the debian packaging or a problem of the common routines for all the
> >> > packaging projects. It would make easier debugging the problem.
> >> >
> >> > Regards.
> >> > José L.
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > 2008/6/3 Alejandro Uribe <al_ur30 at ...67...>:
> >> >
> >> >>
> >> >> Here is the log, i note a problem in the line "dpkg-buildpackage:
> >> fallo:
> >> >> debian/rules build gave error exit status 2", but i don't know why
> >> this
> >> >> error appears.
> >> >>
> >> >> Creando paquete para Ubuntu.
> >> >> Creando el directorio de construcción.
> >> >> Creando archivo de escritorio...
> >> >> Se están debianizando los fuentes.
> >> >> Creando paquete...
> >> >> dpkg-buildpackage: set CPPFLAGS to default value:
> >> >> dpkg-buildpackage: set CFLAGS to default value: -g -O2
> >> >> dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
> >> >> dpkg-buildpackage: set FFLAGS to default value: -g -O2
> >> >> dpkg-buildpackage: set LDFLAGS to default value:
> >> -Wl,-Bsymbolic-functions
> >> >> dpkg-buildpackage: Paquete fuente gambas-t1-algoritmoconmutacion
> >> >> dpkg-buildpackage: Versión fuente 0.0-1
> >> >> dpkg-buildpackage: Fuente cambiadas por Hecho por Benny Busnego y
> >> >> Alejandro
> >> >> Uribe. Seccion A. Telecomunicaciones UNEFA. Venezuela. <
> >> >> sakura_bb30 at ...67..., al_ur30 at ...67...>
> >> >> dpkg-buildpackage: arquitectura de anfitrión i386
> >> >>  debian/rules clean
> >> >> dh_testdir
> >> >> dh_testroot
> >> >> rm -Rf `find . -name ".gambas"`
> >> >> rm -Rf `find . -name "*.gambas"`
> >> >> rm -f build-stamp install-stamp
> >> >> dh_clean
> >> >> dpkg-source: construyendo gambas-t1-algoritmoconmutacion en
> >> >> gambas-t1-algoritmoconmutacion_0.0.orig.tar.gz
> >> >>  dpkg-source -b gambas-t1-algoritmoconmutacion-0.0
> >> >> dpkg-source: construyendo gambas-t1-algoritmoconmutacion en
> >> >> gambas-t1-algoritmoconmutacion_0.0-1.diff.gz
> >> >> dpkg-source: construyendo gambas-t1-algoritmoconmutacion en
> >> >> gambas-t1-algoritmoconmutacion_0.0-1.dsc
> >> >> dpkg-source: aviso: ignorando borrado del arachivo
> >> >> src/T1_AlgoritmoConmutacion/T1_AlgoritmoConmutacion.gambas
> >> >> dpkg-source: aviso: ignorando borrado del directorio
> >> >> src/T1_AlgoritmoConmutacion/.gambas
> >> >> dh_testdir
> >> >>  debian/rules build
> >> >> touch build-stamp
> >> >> /usr/local/bin/gbc2 -a  src/T1-AlgoritmoConmutacion
> >> >> gbc: project file not found:
> >> >> /home/alejandro/gambas-t1-algoritmoconmutacion-0.0/.project
> >> >> make: *** [build-stamp] Error 1
> >> >> dpkg-buildpackage: fallo: debian/rules build gave error exit status 2
> >> >> Guardando archivo CHANGELOG.
> >> >> Los paquetes han sido creados con éxito.
> >> >>
> >> >> I hope you can determine what's the problem here.
> >> >>
> >> >> Thanks again!
> >> >>
> >> >> > From: gambas at ...1...
> >> >> > To: gambas-user at lists.sourceforge.net
> >> >> > Date: Sun, 1 Jun 2008 14:27:26 +0200
> >> >> > Subject: Re: [Gambas-user] Make instalation package don't work
> >> >> >
> >> >> > On samedi 31 mai 2008, tsakaji30 wrote:
> >> >> > > Hello again, another question: i wanted to pack an application
> >> that
> >> i
> >> >> have
> >> >> > > made in gambas2 but when i try to use the option "Make
> instalation
> >> >> package"
> >> >> > > (there is in the tools bar), i complete the assistant (i have
> >> >> deb-helper
> >> >> > > installed) but it don't generate a .deb, only a .tar.gz (with the
> >> >> program
> >> >> > > and the source code).
> >> >> > >
> >> >> > > Is this option not implemented yet in Gambas 2-2.5.0?
> >> >> > >
> >> >> > > Thanks for your answers ;)
> >> >> >
> >> >> > Can you send the log of the packager? It is written if the textbox
> >> of
> >> >> the
> >> >> > wizard final step.
> >> >> >
> >> >> > --
> >> >> > Benoit Minisini
> >> >> >
> >> >> >
> >> >>
> >>
> -------------------------------------------------------------------------
> >> >> > This SF.net email is sponsored by: Microsoft
> >> >> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> >> >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >> >> > _______________________________________________
> >> >> > Gambas-user mailing list
> >> >> > Gambas-user at lists.sourceforge.net
> >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> >>
> >> >> _________________________________________________________________
> >> >> News, entertainment and everything you care about at Live.com. Get it
> >> >> now!
> >> >> http://www.live.com/getstarted.aspx
> >> >>
> >>
> -------------------------------------------------------------------------
> >> >> This SF.net email is sponsored by: Microsoft
> >> >> Defy all challenges. Microsoft(R) Visual Studio 2008.
> >> >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >> >> _______________________________________________
> >> >> Gambas-user mailing list
> >> >> Gambas-user at lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> >>
> >> >
> >>
> -------------------------------------------------------------------------
> >> > This SF.net email is sponsored by: Microsoft
> >> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >> > _______________________________________________
> >> > Gambas-user mailing list
> >> > Gambas-user at lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Make-instalation-package-don%27t-work-tp17570006p17635173.html
> >> Sent from the gambas-user mailing list archive at Nabble.com.
> >>
> >>
> >>
> -------------------------------------------------------------------------
> >> Check out the new SourceForge.net Marketplace.
> >> It's the best place to buy or sell services for
> >> just about anything Open Source.
> >> http://sourceforge.net/services/buy/index.php
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> > -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Make-instalation-package-don%27t-work-tp17570006p17655208.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> 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