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

jom distribution is not accessible from Russian Federation #5042

Open
danil-kondr2016 opened this issue Aug 25, 2024 · 1 comment
Open

jom distribution is not accessible from Russian Federation #5042

danil-kondr2016 opened this issue Aug 25, 2024 · 1 comment
Labels

Comments

@danil-kondr2016
Copy link

danil-kondr2016 commented Aug 25, 2024

Xmake Version

2.9.4

Operating System Version and Architecture

Windows 11

Describe Bug

I'm creating the archiver project which requires OpenSSL for its build. OpenSSL has jom in its dependencies on Windows which can be accessed only from Qt servers. Since Qt has prohibited downloading from Russian Federation's IP addresses, I can't install OpenSSL into my project without using VPN or Tor.

Please include jom distribution into your mirror.

Expected Behavior

OpenSSL should be installed with its dependencies:

  -> nasm 2.16.01 [from:openssl3]
  -> strawberry-perl 5.32.0+1 [from:openssl3]
  -> jom 1.1.4 [private, from:openssl3]
  -> openssl3 3.3.1 [runtimes:"MT"]

Project Configuration

-- TODO replace with my IO
add_requires('openssl3')

add_defines("_FILE_OFFSET_BITS=64")

target("io")
        set_kind("static")
        add_files("src/io/*.c")
        add_headerfiles("include/(io/*.h)")
        add_includedirs("include", {public = true})

target("kcflib")
        set_kind("static")
        add_packages("openssl3")
        add_files("src/kcflib/*.c")
        add_headerfiles("include/(kcf/*.h)")
        add_includedirs("include", {public = true})
        add_rules("utils.install.cmake_importfiles")
        add_rules("utils.install.pkgconfig_importfiles")

Additional Information and Error Logs

PS C:\Users\Danila\kcf> xmake project -k compile_commands
checking for platform ... windows
checking for architecture ... x64
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Microsoft C/C++ Compiler (x64) version ... 19.40.33811
updating repositories .. ok
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> nasm 2.16.01 [from:openssl3]
  -> strawberry-perl 5.32.0+1 [from:openssl3]
  -> jom 1.1.4 [private, from:openssl3]
  -> openssl3 3.3.1 [runtimes:"MT"]
please input: y (y/n/m)
y
  => download https://github.com/xmake-mirror/build-artifacts/releases/download/nasm-2.16.01/windows-x64-vc14.37.32822-632ea6d333c9481b9845516b90cbee69.7z .. ok
  => install nasm 2.16.01 .. ok
  => download https://download.qt.io/official_releases/jom/jom_1_1_4.zip .. failed

we can also download these packages manually:
  - https://download.qt.io/official_releases/jom/jom_1_1_4.zip
to the local search directories:
  - jom-1.1.4.zip, jom_1_1_4.zip
and we can run `xmake g --pkg_searchdirs=/xxx` to set the search directories.
  => download https://github.com/xmake-mirror/strawberry-perl/releases/download/5.32.0.1/strawberry-perl-5.32.0.1-64bit.zip .. failed
  => download http://strawberryperl.com/download/5.32.0.1/strawberry-perl-5.32.0.1-64bit.zip .. ok
  => install strawberry-perl 5.32.0+1 .. ok
@ChrisCatCP
Copy link
Contributor

resolved #5043

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants