Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcre.mk still pointing to ftp.pcre.org which is not anymore online since at least November 4th, and consider that pcre2 version 10.36 is not anymore officially provided from pcre.org #43895

Closed
iviar opened this issue Jan 22, 2022 · 1 comment

Comments

@iviar
Copy link

iviar commented Jan 22, 2022

A build prepared with make full-source-dist fails because in a second stage deps/pcre.mk tries to retrieve pcre2 from ftp.pcre.org which is "no longer available", it's said FTP, but in practice I don't see either port 443 receptive for the line of deps/pcre.mk containing https://ftp.pcre.org/pub/pcre/pcre2-$(PCRE_VER).tar.bz2

https://pcre.org -currently last modified on Thu, 04 Nov 2021 23:13:21 GMT- says:

Note that the former ftp.pcre.org FTP site is no longer available. You will need to update any scripts that download PCRE source code to download via HTTPS, Git, or Subversion from the new home on GitHub instead.

Furthermore to consider pcre.org do not provides anymore officially version 10.36,
Here is PCRE2 ChangeLog
and an extract if I USE_SYSTEM_PCRE:=1 with system pcre 10.39
building julia-git-1.8.0.DEV.r51086.gdd0c14ba1d0
PCRE2_jll (1) | started at 2022-01-18T20:06:00.377
PCRE2_jll (1) | failed at 2022-01-18T20:06:15.913
Test Failed at aur/julia-git/src/julia/usr/share/julia/stdlib/v1.8/PCRE2_jll/test/runtests.jl
Expression: vn == v"10.36.0"
Evaluated: v"10.39.0" == v"10.36.0"
giving the only test failure from a version string assert check

@giordano
Copy link
Contributor

Duplicate of #43878

archlinux-github pushed a commit to archlinux/aur that referenced this issue Jul 31, 2022
libunwind, pcre2 and mpfr (not to use some more of the system libs,
as occurred arch system versions got out of sync against julia choice)

- make test  instead of  testall.
`make test` does currently the following bit less than the
preceding command in check() correspondent to `make testall`
           LibGit2/online
           Pkg
the difference is given by the argument `default` or `all` to runtests.jl
See diff <(make -n test) <(make -n testall)
then add argument --help-list at the invocation of runtests.jl
to list and compare the tests run by `default` or `all` flavor
consider running some `make` command with -j1 argument in low memory
machines (the minimum seems to be in the order of 12Gb+ of available
memory and 20Gb of Swap)

- while testing this change the failure of test for
pcre2 and mpfr is just due to a version-string comparison,
	'pcre2=10.36.0' current system version would be 10.39
	'mpfr=4.1.0' a string version check refuses current version 4.1.0-p13
I let julia build internally such libraries too
the official changes description of pcre are in
https://github.com/PhilipHazel/pcre2/blob/master/ChangeLog
Also the attempt to prepare the deps source files with
`make full-source-dist` (now commented out) fails because
since at least November 4th 2020 the used url in pcre.mk,
ftp.pcre.org is "not anymore" online (as said in https://pcre.org)
I opened julia development issue JuliaLang/julia#43895

- Remove an obsolete cp Make.user, because being specified in the
sources, an absolute symbolic link is created in src dir

- Removed a comment mentioning USE_SYSTEM_ARPACK, not anymore used

- Update dependency also with version range according to
https://github.com/JuliaLang/julia/blob/master/doc/src/devdocs/build/build.md#required-build-tools-and-external-libraries

if you have enough RAM there is chance that the build succeeds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants