Incompatible graphmath.ppu unit

Bug #1970807 reported by Chris Hall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazarus (Ubuntu)
New
Undecided
Unassigned

Bug Description

The solution is to remove the graphmath unit ppu file in the .lazarus user directory and then have lazarus recompile or use the unit in the usr/lib directory. I've only tested with the default lazarus empty form program, but this problem shows up immediately.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: lazarus 2.2.0+dfsg1-5ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 28 17:41:33 2022
InstallationDate: Installed on 2020-03-06 (783 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitecture: all
SourcePackage: lazarus
UpgradeStatus: Upgraded to jammy on 2022-04-28 (0 days ago)

Revision history for this message
Chris Hall (cmhallmi) wrote :
Revision history for this message
Paul Gevers (paul-climbing) wrote :

I'm not sure how useful this info is, but I just compiled Form1 on Debian (bookworm) and I don't see any issues.

@ginggs, Ubuntu applied one patch, do you think that may be related?

Revision history for this message
Chris Hall (cmhallmi) wrote : Re: [Bug 1970807] Re: Incompatible graphmath.ppu unit

I had the problem when trying to compile form1 on ubuntu 22.04 (jammy)
that had been upgraded from 21.10 (impish). The upgrade removed lazarus
and fpc from my machine and I had to re-install lazarus. Whatever the
package install process does, it puts an incompatible graphmath.ppu in
your .lazarus directory structure. Removing that ppu solves the problem
as then lazarus seems to use the unit in the usr/lib directory
structure. This bug occurred on 2 separate machines.

On 4/29/2022 2:49 AM, Paul Gevers wrote:
> I'm not sure how useful this info is, but I just compiled Form1 on
> Debian (bookworm) and I don't see any issues.
>
> @ginggs, Ubuntu applied one patch, do you think that may be related?
>

Revision history for this message
Paul Gevers (paul-climbing) wrote :

The upgrade process *should not* remove lazarus and fpc, that's a bug. Do you happen to have the logs of when this happened such that we can figure out why there were removed?

However, the install process doesn't put anything in .lazarus. If anything, that's left over from the previous version (as stuff in the home folder is not to be touched during removal). Apparently lazarus doesn't handle old local files in the home folder gracefully.

Revision history for this message
Chris Hall (cmhallmi) wrote :

I don't know where a log would be. But the upgrade did remove bothe
Lazarus and fpc on both machines.

On 2022-04-30 2:45 p.m., Paul Gevers wrote:
> The upgrade process *should not* remove lazarus and fpc, that's a bug.
> Do you happen to have the logs of when this happened such that we can
> figure out why there were removed?
>
> However, the install process doesn't put anything in .lazarus. If
> anything, that's left over from the previous version (as stuff in the
> home folder is not to be touched during removal). Apparently lazarus
> doesn't handle old local files in the home folder gracefully.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.