[Gambas-user] Gambas 2 version 1.9.90 - 2 bugs

Benoit Minisini gambas at ...1...
Wed Oct 3 15:40:16 CEST 2007


On mercredi 03 octobre 2007, Stefano Palmeri wrote:
>
> I downloaded 1.9.90. I tried to make a RPM package
> of a project and get this error:
>
> Creating package for Mandriva Linux.
> Initializing ~/RPM directory.
> Creating source package.
> Creating .spec file.
> Creating package...
>
> rpmbuild -ba /home/stefano/RPM/SPECS/gbxgol.spec
> Executing(%prep): /bin/sh -e /home/stefano/RPM/tmp/rpm-tmp.35159
> + umask 022
> + cd /home/stefano/RPM/BUILD
> + rm -rf /home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot
> + cd /home/stefano/RPM/BUILD
> + rm -rf gbxgol
> + /usr/bin/bzip2 -dc /home/stefano/RPM/SOURCES/gbxgol-0.0.75.tar.bz2
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd gbxgol
> + exit 0
> Executing(%build): /bin/sh -e /home/stefano/RPM/tmp/rpm-tmp.95251
> + umask 022
> + cd /home/stefano/RPM/BUILD
> + cd gbxgol
> + /usr/local/bin/gbc2 -a -p
> OK
> + gba2
> + exit 0
> Executing(%install): /bin/sh -e /home/stefano/RPM/tmp/rpm-tmp.95251
> + umask 022
> + cd /home/stefano/RPM/BUILD
> + cd gbxgol
> + install -d /home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot//usr/bin
> + install -p
> gbxgol.gambas
> /home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot//usr/bin/gbxgol +
> install -d
> '/home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot/%{_miconsdir}' +
> install -d
> '/home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot/%{_iconsdir}' +
> install -d
> '/home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot/%{_liconsdir}' +
> install -p .icon/16.png
> '/home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot/%{_miconsdir}/gbxgol.p
>ng' +
> install -p .icon/32.png
> '/home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot/%{_iconsdir}/gbxgol.pn
>g' +
> install -p .icon/48.png
> '/home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot/%{_liconsdir}/gbxgol.p
>ng' +
> install -d
> /home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot//usr/share/applications
> + cat
> + /usr/lib/rpm/brp-compress
> + /usr/lib/rpm/brp-strip
> + /usr/lib/rpm/brp-strip-static-archive
> + /usr/lib/rpm/brp-strip-comment-note
> Processing files: gbxgol-0.0.75-75mdv
> Checking for unpackaged
> file(s): /usr/lib/rpm/check-files
> /home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot Wrote:
> /home/stefano/RPM/SRPMS/gbxgol-0.0.75-75mdv.src.rpm
> Wrote: /home/stefano/RPM/RPMS/noarch/gbxgol-0.0.75-75mdv.noarch.rpm
> Executing(%clean): /bin/sh -e /home/stefano/RPM/tmp/rpm-tmp.63274
> + umask 022
> + cd /home/stefano/RPM/BUILD
> + cd gbxgol
> + rm -rf /home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot
> + exit 0
>
> The package build has failed.
> Package.MoveFile.1053: File or directory does not exist

I fixed the package naming bug in the last revision. Can you try it and tell 
me if it is ok for you?

>
>
> Also I noticed this bug: if in project properties I set
> version = 0.1.0 and then I make an installation package,
> the packager wizard automatically upgrade the version by
> one and the project version becomes 0.1.1. If I set 0.0.56, then
> the packager upgrades to 0.0.57 et cetera.
>
> There's another old problem in Project --> Properties. Everytime
> I make an executable of a project, for testing purpose, the version
> of the project is automatically upgraded by one.
> A new executable doesn't mean it's a new project version, and
> it's a little annoying to reset the version in Project-->Properties.

Actually the project version is only made of the two first numbers: Major and 
Minor. The last one is a revision number, and is only intended to count the 
number of time a project executable was made. This is the reason why it is 
always automatically incremented. Note that the release number is not used by 
the packager unless specified explicitely.

>
> Congratulation for the upcoming RC1!

Thanks!

>
> Regards,
>
> Stefano
>

Regards,

-- 
Benoit Minisini




More information about the User mailing list