FS#68113 - [lazarus] Warnings when compile the default project

Attached to Project: Community Packages
Opened by Adrian Sav (adi.sav) - Monday, 05 October 2020, 17:27 GMT
Last edited by Ike Devolder (BlackEagle) - Tuesday, 06 October 2020, 21:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

when compiling the default project, without any modifications after install of Lazarus, I get the following warnings:
----------------
Compile Project, Target: /home/user/tmp/project1: Success, Warnings: 2
project1.lpr(21,1) Warning: "crtbeginS.o" not found, this will probably cause a linking failure
project1.lpr(21,1) Warning: "crtendS.o" not found, this will probably cause a linking failure
----------------

Additional info:
* package version: lazarus-qt5-2.0.10-1


Steps to reproduce:

- install lazarus-qt5-2.0.10-1 with "pacman -S lazarus-qt5"
- compile default project

This is not normal. Practically, Lazarus is DOA (Dead On Arrival). Please fix it.
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Tuesday, 06 October 2020, 21:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  rebuilt fpc for gcc 10.2.x
Comment by Doug Newgard (Scimmia) - Monday, 05 October 2020, 17:53 GMT
So warnings mean it's DOA? WTF?
Comment by Adrian Sav (adi.sav) - Tuesday, 06 October 2020, 05:36 GMT
@ Doug Newgard (Scimmia): Lazarus also crashed for me a few times, suddenly closing all it's windows from the screen. That's why I said that at first. But then I removed Lazarus with "pacman -Rsc lazarus-q5" and reinstalled. It doesn't crash anymore, but the warnings are still there.

I don't want to create the impression I am unappreciative. I thank Ike Devolder (BlackEagle) for packaging it.

Also, I want to help. And as a note of improvement, the default font of the Source Editor (DejaVu Sans Mono) looks very bad. Some characters are fused together. Even setting "Extra character spacing" to 2 doesn't help much. I am attaching screenshot.
Fonts that look normal to me in KDE 5.19.5: Nimbus Mono PS, Bold, 11; Noto Sans, Regular, 11; Source Code Pro, Semibold, 11.
Comment by Ike Devolder (BlackEagle) - Tuesday, 06 October 2020, 05:50 GMT
I forgot to rebuild fpc for updated gcc, rebuilds are coming to the repo's later today
Comment by Ike Devolder (BlackEagle) - Tuesday, 06 October 2020, 05:55 GMT
@adi.sav for the font configuration, I'm not sure if that should be changed in the package. To be honest I mostly use lazarus because its required to build doublecmd, so I don't spend much time in it's interface
Comment by Adrian Sav (adi.sav) - Tuesday, 06 October 2020, 07:18 GMT
@BlackEagle
Thank you for the rebuilds.

I understand that the font is not important for you, since you use Lazarus just to build doublecmd (I also use it and it is a great file manager with many advanced features I use daily).
But for others it might be important. A lot of people use Arch Linux (and derivatives) and many use Lazarus. Why not make a little effort to make a big difference to somebody and also to improve the overall quality of Arch repository?
Comment by Ike Devolder (BlackEagle) - Tuesday, 06 October 2020, 10:21 GMT
@adi.sav I want to be sure this is a general issue, and not just for you alone (the font stuff)
Comment by Ike Devolder (BlackEagle) - Tuesday, 06 October 2020, 10:25 GMT
I just tested on my work machine and it looks pretty ok
Comment by Ike Devolder (BlackEagle) - Tuesday, 06 October 2020, 10:28 GMT
For the font issue I'm going to check this evening on my machine where I'm running plasma-desktop to see if its showing similar issue with the font as in your screenshot
Comment by Adrian Sav (adi.sav) - Tuesday, 06 October 2020, 13:39 GMT
Yes, the font looks okay on your computer. I wonder what's the problem on my side...
I just installed my Linux (Manjaro, which is based on Arch) from scratch. Everything is at default.
Comment by Ike Devolder (BlackEagle) - Tuesday, 06 October 2020, 19:13 GMT
I can confirm that when you are using plasma-desktop the font looks worthless
Comment by Ike Devolder (BlackEagle) - Tuesday, 06 October 2020, 21:04 GMT
I'm not going to change the font settings for lazarus, because it it caused due to settings in plasma

If I'm changing the font hinting to medium lazarus shows the fonts just fine.

Loading...