Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-05

Latest trunk IDE can't rebuild itself from menu

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I just tested another bug report by using the latest Lazarus from Trunk. I built the IDE using FPC 2.4.3 (latest) via the command line: make bigide

The IDE built without problems.

I now noticed that if I go to "Tools > Configure 'build lazarus'" and click on the "Build" button nothing happens. :-/ No compiling is started, no messages appear in the Messages window etc...

Same thing happens if I select "Tools > Build Lazarus".

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Juha gmail
to Graeme Geldenhuys

Graeme Geldenhuys kirjoitti perjantai, 6. toukokuuta 2011 12:54:21:

Just for interest sake, I'm using Lazarus 0.9.31 r28160 FPC 2.4.3 x86_64-linux-gtk 2.

Works here.
The latest Lazarus trunk revision is r30581.
Your revision is rather old already.

Juha

Reply by email

Graeme Geldenhuys
to Juha gmail
Juha wrote
Works here. The latest Lazarus trunk revision is r30581. Your revision is rather old already.

That is strange, because I got a trunk update this morning, and my Lazarus changed from v0.9.29 to v0.9.31, so something was definitely updated. Maybe the revision.inc file wasn't updated during the 'make bigide' build process, so still reflects my previous build number?

'git log' shows I am at r30567, so I guess the 'make bigide' just doesn't update revision.inc - another bug?

--------------------------------------
$ git log
commit 863bb95c49b2b0d82ed4bcb88d6176b7bdca8140
Author: martin
Date: Fri May 6 08:40:42 2011 +0000

DBG: More error handling. error in step-over / terminate on error

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk at 30567 4005530d-fff6-0310-9dd1-cebe43e6787f
--------------------------------------

I'll get another trunk update and try again...

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Graeme Geldenhuys
to Juha gmail: Graeme Geldenhuys kirjoitti perjantai, 6. toukokuuta 2011 12:54:21: Works here. The…
Juha wrote
The latest Lazarus trunk revision is r30581. Your revision is rather old already.

OK, 'make bigide' didn't update the revision.inc file. Even though I use the git mirror repository, in the past it used to update to rUnknown, now it just left the old revision number in tact (which I think is worse than the old behaviour).

I'm now on:
Lazarus 0.9.31 r30584-git FPC 2.4.3 x86_64-linux-gtk 2

I also found the problem. Somewhere during the upgrade from 0.9.29 to 0.9.31 the "Configure ide" dialog, all the radio buttons were reset to "None". Setting the IDE radio button to "build" fixed the issue. :)

PS:
Attached is a script for git users so their revision.inc files can be updated as well. A manual execution just before a rebuild will do the trick - at least it's better that reporting the wrong revision.

Usage is as follows:

  $ ./git-svn-getrevision.sh > ide/revision.inc

Anyway, sorry about the false alarm.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: git-svn-getrevision.sh Type: application/x-sh Size: 156 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110506/930b15f3/attachment.sh>

Reply by email

Juha gmail
to Graeme Geldenhuys

Graeme Geldenhuys kirjoitti perjantai, 6. toukokuuta 2011 15:34:01:

OK, 'make bigide' didn't update the revision.inc file. Even though I use the git mirror repository, in the past it used to update to rUnknown, now it just left the old revision number in tact (which I think is worse than the old behaviour).

[...]

PS: Attached is a script for git users so their revision.inc files can be updated as well. A manual execution just before a rebuild will do the trick - at least it's better that reporting the wrong revision.

Good news for you Graeme!
In Tools directory there is "svn2revisioninc" which you should compile. After that the revision gets updated to correct value also when using a git repo. I am doing it all the time with git-svn link and Lazarus About-box shows the correct revision. :)

The change was made by Mario Bonati, issue #18156. The issue report has your comments, too.

Regards,
Juha

Reply by email