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

xrepo install libxml2 issue #4566

Open
raphael10-collab opened this issue Jul 4, 2024 · 0 comments
Open

xrepo install libxml2 issue #4566

raphael10-collab opened this issue Jul 4, 2024 · 0 comments
Labels

Comments

@raphael10-collab
Copy link

raphael10-collab commented Jul 4, 2024

Xmake Version

2.9.3

Operating System Version and Architecture

Ubuntu 23.10

Describe Bug

raphy@raohy:~$ xrepo search xml2
The package names:
    xml2: 
      -> libxml2-2.10.3: The XML C parser and toolkit of Gnome. (in xmake-repo)
      -> tinyxml2-10.0.0: simple, small, efficient, C++ XML parser that can be easily integrating into other programs. (in xmake-repo)
raphy@raohy:~$ 
raphy@raohy:~$ xrepo install libxml2
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> libxml2 2.10.3 
please input: y (y/n/m)
y
  => install libxml2 2.10.3 .. failed

/usr/bin/make  all-recursive
make[1]: Entering directory '/home/raphy/.xmake/cache/packages/2407/l/libxml2/2.10.3/source'
Making all in include
make[2]: Entering directory '/home/raphy/.xmake/cache/packages/2407/l/libxml2/2.10.3/source/include'
Making all in libxml
make[3]: Entering directory '/home/raphy/.xmake/cache/packages/2407/l/libxml2/2.10.3/source/include/libxml'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/raphy/.xmake/cache/packages/2407/l/libxml2/2.10.3/source/include/libxml'
make[3]: Entering directory '/home/raphy/.xmake/cache/packages/2407/l/libxml2/2.10.3/source/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/raphy/.xmake/cache/packages/2407/l/libxml2/2.10.3/source/include'
make[2]: Leaving directory '/home/raphy/.xmake/cache/packages/2407/l/libxml2/2.10.3/source/include'
Making all in .
make[2]: Entering directory '/home/raphy/.xmake/cache/packages/2407/l/libxml2/2.10.3/source'
  CC       xmllint.o
  CC       libxml2_la-SAX.lo
  CC       libxml2_la-entities.lo
if you want to get more verbose errors, please see:
  -> /home/raphy/.xmake/cache/packages/2407/l/libxml2/2.10.3/installdir.failed/logs/install.txt
error: install failed!
error: execv(/home/raphy/.local/bin/xmake require -j 10 --extra={system=false} libxml2) failed(255)
raphy@raohy:~$ 

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")

add_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

/home/raphy/.xmake/cache/packages/2407/l/libxml2/2.10.3/installdir.failed/logs/install.txt :
install.txt

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

1 participant