[fpc-devel] Failing Lazarus Codetools Pas2JS-related tests

Maxim Ganetsky ganmax at narod.ru
Tue Dec 26 17:03:52 CET 2023


26.12.2023 16:21, Michael Van Canneyt via fpc-devel пишет:
>
>
> On Tue, 26 Dec 2023, Maxim Ganetsky via fpc-devel wrote:
>
>> 26.12.2023 11:49, Michael Van Canneyt via fpc-devel пишет:
>>> On Mon, 25 Dec 2023, Maxim Ganetsky wrote:
>>>> Thanks. But still no luck. It seems like asterisks in config file 
>>>> are not expanded properly. See the output of compilation run for a 
>>>> trivial "Hello, World!" program:
>>>
>>> They are expanded. I've been using it for quite some time now.
>>> I don't think I've been hallucinating. See below :-)
>>>
>>>> ||
>>>> Info: Macro defined: UNICODE
>>>> ||
>>>> Info: Compiler exe: "/usr/local/bin/pas2js"
>>>> ||
>>>> Info: Using working directory: 
>>>> "/builds/freepascal.org/lazarus-sandbox/lazarus-test-4"
>>>> ||
>>>> Info: Using unit path: "/usr/local/lib/fpc/3.3.1/pas2js/*/src"
>>>> ||
>>>> Note: unit path not found: "/usr/local/lib/fpc/3.3.1/pas2js/*/src"
>>>
>>> Is the path correct to begin with ?
>>
>> Sigh, no it is not:
>>
>> $ ls -l /usr/local/lib/fpc/3.3.1/pas2js
>> |
>> total 4
>> ||
>> drwxr-xr-x 2 root root 4096 Dec 25 17:37 rtl
>> ||
>> $ ls -l /usr/local/lib/fpc/3.3.1/pas2js/rtl
>> ||
>> total 48
>> ||-rw-rw-r-- 1 root root 45451 Dec 25 15:49 rtl.js|
>>
>> So `make install` does not work as expected?
>
> It does, but 'make install' only does half the job for making a release:
> pas2js works with sources only, which are not installed by 'make 
> install'.

They were before. I rolled back to Pas2Js commit 
bdf63857de5cc53bde6d72f1261ecff5d08c8d7b, and with this commit hello.pas 
builds successfully and I see the following files installed by `make 
install`:

$ ls /usr/local/lib/fpc/$FPC_MAIN_VER/pas2js
|
chartjs
||
dataabstract
||
fcl-base
||
fcl-db
||
fpcunit
||
jspdf
||
nodejs
||
rtl
||
$ ls /usr/local/lib/fpc/$FPC_MAIN_VER/pas2js/rtl
||
Rtl.BrowserLoadHelper.pas
||
Rtl.HTMLActions.pas
||
Rtl.HTMLEventNames.pas
||
Rtl.HTMLTranslate.pas
||
Rtl.HTMLUtils.pas
||
Rtl.ScriptLoader.pas
||
Rtl.TemplateLoader.pas
||
Rtl.UnitLoader.pas
||
arrayutils.pas
||
browserconsole.pas
||
class2pas.pas
||
classes.pas
||
contnrs.pas
||
dateutils.pas
||
generics.collections.pas
||
generics.defaults.pas
||
generics.strings.pas
||
hotreloadclient.pas
||
js.pas
||
libjquery.pas
||
math.pas
||
node.events.pas
||
nodejs.pas
||
objpas.pas
||
p2jsres.pp
||
pas2js_rtl.lpk
||
pas2js_rtl.pas
||
rstranslate.pp
||
rtl.js
||
rtl.webthreads.pas
||
rtlconsts.pas
||
rtti.pas
||
simplelinkedlist.pas
||
strutils.pas
||
system.pas
||
sysutils.pas
||
timer.pas
||
types.pas
||
typinfo.pas
||
web.pas
||
webassembly.pas
||
webaudio.pas
||
webbluetooth.pas
||
webgl.pas
||
weborworker.pas
||
webrouter.pp
||
webrtc.pas
||
websvg.pas
||
webutils.pas
||webworker.pas|

-- 

Best regards,
  Maxim Ganetskymailto:ganmax at narod.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20231226/6e8fabda/attachment-0001.htm>


More information about the fpc-devel mailing list