[Gambas-user] Package creation for Suse 10.3

Benoit Minisini gambas at ...1...
Wed Nov 28 00:49:16 CET 2007


On mercredi 28 novembre 2007, Dominique SIMONART wrote:
> Benoit Minisini a écrit :
> > On mardi 27 novembre 2007, Dominique SIMONART wrote:
> >> Hi,
> >>
> >> Gambas 1.9.91 (from RPM) OpenSuse 10.3 KDE
> >> I wanted to test the package creation for OpenSuse 10.3
> >> the test project contains almost nothing. I kept all thing by default
> >> and get this:
> >>
> >> Création du paquetage pour OpenSUSE.
> >> Initialisation du répertoire ~/RPM.
> >> Création du paquetage des sources.
> >> Creation du fichier .spec.
> >> Création du paquetage...
> >>
> >> rpmbuild -ba /home/domi/RPM/SPECS/test.spec
> >> Executing(%prep): /bin/sh -e /home/domi/RPM/tmp/rpm-tmp.50500
> >> + umask 022
> >> + cd /home/domi/RPM/BUILD
> >> + rm -rf /home/domi/RPM/tmp/test-0.0.3-1suse-buildroot
> >> + cd /home/domi/RPM/BUILD
> >> + rm -rf test
> >> + /usr/bin/bzip2 -dc /home/domi/RPM/SOURCES/test-0.0.3.tar.bz2
> >> + tar -xf -
> >> + STATUS=0
> >> + '[' 0 -ne 0 ']'
> >> + cd test
> >> /home/domi/RPM/tmp/rpm-tmp.50500: line 31: cd: test: No such file or
> >> directory
> >> error: Bad exit status from /home/domi/RPM/tmp/rpm-tmp.50500 (%prep)
> >>
> >>
> >> RPM build errors:
> >>     Bad exit status from /home/domi/RPM/tmp/rpm-tmp.50500 (%prep)
> >>
> >> La construction des paquetages a échoué.
> >> Package.MakeRpmPackage.781: 'rpmbuild' a retourné le code d'erreur
> >> suivant : 1
> >>
> >> What is wrong here?
> >> Which folder should I use for the RPM works with everybody (domi is
> >> quite a personal folder ! )
> >>
> >> thanks for your attention
> >> Dominique Simonart
> >
> > Can you send me the project?
>
> sure !
> regards
> Dominique Simonart

You must use the "make project archive" from the IDE menu, otherwise you miss 
some files.

-- 
Benoit Minisini




More information about the User mailing list