Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2024 20:29:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278943] lang/julia: update to 1.10.3 led to new filenames for certain compiled Julia modules
Message-ID:  <bug-278943-7788-R7vTqSPceh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278943-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278943-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278943

--- Comment #4 from Hiroo Ono <hiroo.ono+freebsd@gmail.com> ---
Sorry, I thought I also checked with the option NATIVE, but it seems I did =
not
with the final pkg-plist.

>From the diff submitted, when the reporter did compile with the option NATI=
VE,
the hashed library file names became as follows:

%%NATIVE%%%%DATADIR%%/compiled/v%%MINOR%%/DelimitedFiles/dlKZm_2kKmW.ji
%%NATIVE%%%%DATADIR%%/compiled/v%%MINOR%%/DelimitedFiles/dlKZm_2kKmW.so
%%NATIVE%%%%DATADIR%%/compiled/v%%MINOR%%/DelimitedFiles/dlKZm_Xrf2B.ji
%%NATIVE%%%%DATADIR%%/compiled/v%%MINOR%%/DelimitedFiles/dlKZm_Xrf2B.so
%%NATIVE%%%%DATADIR%%/compiled/v%%MINOR%%/DelimitedFiles/dlKZm_ixjAb.ji

while, here at my side it became as follows:

%%DATADIR%%/compiled/v%%MINOR%%/DelimitedFiles/dlKZm_alIlh.ji=20
%%DATADIR%%/compiled/v%%MINOR%%/DelimitedFiles/dlKZm_e0JVL.ji=20
%%DATADIR%%/compiled/v%%MINOR%%/DelimitedFiles/dlKZm_e0JVL.so=20
%%DATADIR%%/compiled/v%%MINOR%%/DelimitedFiles/dlKZm_zHrJ5.ji=20
%%DATADIR%%/compiled/v%%MINOR%%/DelimitedFiles/dlKZm_zHrJ5.so

So, it seems that we have to choose between
1) delete "compiled" directory at install as we did until 1.9.x
  (in this case, some compile time happens when we first call the library by
"using".)
2) generate plist on the fly, when the port is built

Which one do you think is preferable?

By the way, I am also trying to make the port of julia 1.11.0 beta1, and it
seems it does not change the library hash between non-DEBUG and DEBUG build=
. So
maybe with release 1.11.x, NATIVE might also do not change the library hash=
. I
will remember to check that.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278943-7788-R7vTqSPceh>