xmake-io / xmake-repo

📦 An official xmake package repository
https://xrepo.xmake.io
Apache License 2.0
627 stars 377 forks source link

xrepo install icui18n issue #4567

Closed raphael10-collab closed 3 weeks ago

raphael10-collab commented 3 weeks ago

Xmake Version

2.9.3

Operating System Version and Architecture

Ubuntu 23.10

Describe Bug

raphy@raohy:~$ xrepo search icui18n
The package names:
raphy@raohy:~$ xrepo install icui18n
error: package(icui18n) not found!
error: execv(/home/raphy/.local/bin/xmake require -j 10 --extra={system=false} icui18n) failed(255)

Expected Behavior

plain installation

Project Configuration

raphy@raohy:~$ cat xmake.lua 
set_languages("c99", "c++20")
add_rules("mode.debug", "mode.release")

--add_requires("cosmocc")

aa_syslinks("pthread")

add_requires(
    "cosmocc",
    "wxWidgets",
    "curl",
    "leptonica",
    "tesseract",
    "PDFHummus::PDFWriter",
    --"Threads",
    "OpenSSL::SSL",
    "nng",
    "json-c",
    "sqlite3",
    "stfl",
    "xml2",
    "icui18n",
    "icuuc"
)

target("isdigits")
    set_kind("binary")
    --add_files("/home/raphy/isdigits/src/*.cpp")
    add_files("/home/raphy/Grasp/src/*.cpp")

    set_toolchains("@cosmocc")

on_install(function (package)
     -- TODO
end)

Additional Information and Error Logs

None

raphael10-collab commented 3 weeks ago
raphy@raohy:~$ xrepo install icu4c
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> icu4c 75.1 
please input: y (y/n/m)
y
  => download https://github.com/unicode-org/icu/releases/download/release-75-1/icu4c-75_1-src.tgz .. ok
  => install icu4c 75.1 .. ok