Bug 287041 - editors/lazarus* ports build fail as patch has no path to file which should be patched
Summary: editors/lazarus* ports build fail as patch has no path to file which should b...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-24 09:12 UTC by nick.rozhkov
Modified: 2025-06-10 20:56 UTC (History)
2 users (show)

See Also:
linimon: maintainer-feedback? (acm)


Attachments
fixed_patch (585 bytes, patch)
2025-05-24 09:12 UTC, nick.rozhkov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nick.rozhkov 2025-05-24 09:12:33 UTC
Created attachment 260678 [details]
fixed_patch

Its impossible to build any version of lazarus as  patch-lcl_interfaces_qt6_qtwidgets.pas has no pathes to file which should changed. Port build output:
root@daemon:/usr/ports/editors/lazarus# make
===>   lazarus-gtk2-4.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by lazarus-gtk2-4.0 for building
===>  Extracting for lazarus-gtk2-4.0
=> SHA256 Checksum OK for freepascal/freepascal.org/lazarus-lazarus-9d15c73c91a1545be50bee02b27bd3b43f9d90e8_GL0.tar.gz.
===>  Patching for lazarus-gtk2-4.0
===>  Applying FreeBSD patches for lazarus-gtk2-4.0 from /usr/ports/editors/lazarus/files
File to patch: 

After make break
File to patch: ^C===>  FAILED Applying FreeBSD patch-lcl_interfaces_qt6_qtwidgets.pas
===> FAILED to apply cleanly FreeBSD patch(es)  patch-lcl_interfaces_qt6_qtwidgets.pas
*** Error code 1
*** Signal 2

With fixed patch (in attach) build finishes with no problem
Comment 1 Alastair Hogge 2025-05-25 09:46:56 UTC
Is this required post bug #287040?

I was able to build editors/lazarus-qt6 on 15-CURRENT without any problem.

1: https://codeberg.org/FreeBSD/freebsd-ports/commit/4e900aa0c8c808599435f441577d5750d2661007
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2025-06-10 17:59:27 UTC
^Triage: assign.
Comment 3 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2025-06-10 20:56:17 UTC
(In reply to nick.rozhkov from comment #0)
Try to update your ports tree, because it was fixed at https://cgit.freebsd.org/ports/commit/editors/lazarus?id=4e900aa0c8c808599435f441577d5750d2661007