Closed REMqb closed 4 weeks ago
Fixed https://github.com/xmake-io/xmake-repo/commit/c34c4200773beb2908857e865d2d2bb9c8d874bf, Try it again xrepo update-repo
It still fails because the table info
doesn't have the key includedirs
so it's doing nil[1]
, and it doesn't contains sysincludedirs
either.
Here is the content of info
:
{
links = {
"bz2"
},
linkdirs = {
"/usr/lib/x86_64-linux-gnu"
},
libfiles = {
"/usr/lib/x86_64-linux-gnu/libbz2.a",
"/usr/lib/x86_64-linux-gnu/libbz2.so"
}
}
Thanks your info, Try it again.
It works now. Thanks :+1:
Bot detected the issue body's language is not English, translate it automatically.
It works now. Thanks :+1:
Xmake Version
v2.9.4+HEAD.e85b001
Operating System Version and Architecture
Debian 11.10
Describe Bug
I'm unable to install boost with config
bzip2 = true
.Boost's xmake.lua function https://github.com/xmake-io/xmake-repo/blob/2fdd344046b86e86ee4f6fa11828c1032962bcfd/packages/b/boost/xmake.lua#L280-L291 crashes on line 286 because
includedirs
is not present in the table returned bydep:fetch()
for libbz2-dev installed by apt.(the header is installed in
/usr/include/bzlib.h
)Expected Behavior
The script shouldn't crash
Project Configuration
Additional Information and Error Logs