FS#60584 - [lazarus-gtk2] Fatal: Can't find unit LazFileUtils used by Gtk2Int
Attached to Project:
Community Packages
Opened by regid (regid1) - Thursday, 25 October 2018, 18:13 GMT
Last edited by Ike Devolder (BlackEagle) - Sunday, 31 March 2019, 12:48 GMT
Opened by regid (regid1) - Thursday, 25 October 2018, 18:13 GMT
Last edited by Ike Devolder (BlackEagle) - Sunday, 31 March 2019, 12:48 GMT
|
Details
Description:
fpc -S2cgi -O1 -gl -vewnhi -l -Fu/usr/lib/lazarus/lcl/units/x86_64-linux/ -Fu/usr/lib/lazarus/lcl/units/x86_64-linux/ -Fu/usr/lib/lazarus/lcl/units/x86_64-linux/gtk2/ -Fu/usr/lib/lazarus/packager/units/x86_64-linux/ -Fu. -o./magnifier -dLCL -dLCLgtk2 magnifier.dpr fails: Fatal: Can't find unit LazFileUtils used by Gtk2Int Additional info: * lazarus-gtk2 1.8.4-4 * No lazarus, fpc, whatever pascal related config files modified, or added, to what is installed by the related packages. Steps to reproduce: # Have lazarus-gtk2, and all its dependencies, installed. $ curl -L https://sourceforge.net/projects/magnifier/files/new%20source%20code/3.4/magnifier-3.4.zip --output magnifier-3.4.zip $ bsdtar --strip-components 1 -xf magnifier-3.4.zip $ cd mgnifier-3.4 $ sed -i '/ -WG/s///' make.sh # I asked at https://bbs.archlinux.org/viewtopic.php?id=241459 for -WG. # No answer at the time of writing. $ make ./make.sh Target architecture: x86_64 Target operating system: linux Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 3.0.4 [2018/10/18] for x86_64 Copyright (c) 1993-2017 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling magnifier.dpr Fatal: Can't find unit LazFileUtils used by Gtk2Int Fatal: Compilation aborted Error: /usr/bin/ppcx64 returned an error exitcode make: *** [Makefile:15: all] Error 1 # There is a LazFileUtils unit at # https://github.com/alrieckert/lazarus/blob/master/components/lazutils/lazfileutils.pas # I don't know if it is relevant. |
This task depends upon
Should cd to magnifier-3.4, not mgnifier-3.4
pacman -Ql lazarus| grep --color -i gtk2int
finds 3 files.
pacman -Ql lazarus| grep --color -i lazfileutils
has 8 results.
Are you suggesting to close this bug report, since it is probably a lazarus issue? And more than that, it is probably more about my ignorance about using fpc than anything else?
So perhaps others can see such an issue when the bug report is reviewed.