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

Stefano Palmeri rospolosco at ...152...
Wed Oct 3 15:02:08 CEST 2007


Alle 23:58, martedì 2 ottobre 2007, Benoit Minisini ha scritto:
> Hi,
>
> The last svn revision of gambas changed the version number to 1.9.90.
>
> That means that:
>
> 1) You must do a ./reconf-all; ./configure -C before recompiling
> everything.
>
> 2) The first release candidate of Gambas 2 is coming :-). Before, I will
> first release 1.9.90 so that you can test it a little before making it
> public. If no big problems are found, the 1.9.91 will be released as Gambas
> 2 RC1.
>
> Important notes:
>
> There is a big change in the last revision: the module symbols are now
> private by default, and not public as in VB. This will break the projects
> that used this feature. But I added a new project option to enable the old
> behaviour. This option is automatically set when you create a new project
> and you request Visual Basic compatibility.
>
> The other big change will be the last incrementaion of the bytecode
> version, that will force you to recompile all your projects. Sorry for
> that!
>
> I plan to make some articles on news site about the release candidate, in
> the hope of attracting more testers^W people. Maybe I will make some sort
> of HTML slides on the web site and provide links to them in the articles.
>
> Any help and suggestion about that is welcome!!!
>
> Regards,

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.png'
+ 
install -p .icon/32.png '/home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot/%{_iconsdir}/gbxgol.png'
+ 
install -p .icon/48.png '/home/stefano/RPM/tmp/gbxgol-0.0.75-75mdv-buildroot/%{_liconsdir}/gbxgol.png'
+ 
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


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. 

Congratulation for the upcoming RC1!

Regards,

Stefano









More information about the User mailing list