Recent

Author Topic: Package paths not found errors (macOS trunk)  (Read 2194 times)

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Package paths not found errors (macOS trunk)
« on: December 11, 2018, 10:55:50 pm »
I've been using svn trunk on macOS to keep up on cocoa fixes and lldb, which has been working fine for a few months. However today I ran into some issues with building packages. I get errors like:

'File not found: File 'path/to/my/project/fpssearch.pas" not found.'

The message window is reporting 'incompatible ppu'. This is happening with both SynEdit and fpspreadsheet packages. I don't understand why it is looking for the needed files in my project directory. I'm trying walking back svn versions, so far with no luck.

I'd appreciate any thoughts.

« Last Edit: December 11, 2018, 11:00:21 pm by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: Package paths not found errors (macOS trunk)
« Reply #1 on: December 11, 2018, 11:39:34 pm »
I seem to have resolved this by changing search paths and hiding one file, but is still puzzling. I had changed the locations of two files, but not sure why that would cause this.

Also, I had been using a version of 'RegExpr.pas' that SynEdit may use. SynEdit compiled, but Lazarus may have found my copy and tried to recompile. Just a guess, I really have no idea.  %)

BTW, I'm back at the current trunk.
« Last Edit: December 12, 2018, 12:24:56 am by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Package paths not found errors (macOS trunk)
« Reply #2 on: December 12, 2018, 12:36:58 am »
'File not found: File 'path/to/my/project/fpssearch.pas" not found.'
The message window is reporting 'incompatible ppu'. ...
The 'incompatible ppu' error message is misleading. Very likely you have 2 .ppu files with the same name in different directories. It can happen after you move source files around.
The solution is to build clean, meaning to delete all .ppu and .o files.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: Package paths not found errors (macOS trunk)
« Reply #3 on: December 12, 2018, 01:29:25 am »
Many thanks JuhaManninen. I imagine you are correct. I did build clean multiple times (that is usually my first try when I get an unexpected error), and also deleted what build files I could locate. I probably missed something though.

“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

 

TinyPortal © 2005-2018