kde/H-QML: quitar symlinks /usr/bin del install (rompían el sellado)
qtshadertools construyó qsb + instaló OK, pero el post-paso de symlinks falló: 'ln: /out/: cannot overwrite directory' (línea de user_facing_tool_links con nombre vacío → ln ... /out/) → install non-zero → no selló → qtdeclarative sin qsb. Los tools quedan en /usr/lib/qt6/bin con rpath; CMake los halla solo. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -32,13 +32,9 @@ cmake -B build -G Ninja -Wno-dev \
|
||||
-DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF
|
||||
'''
|
||||
compile = "cmake --build build"
|
||||
install = '''
|
||||
DESTDIR=/out cmake --install build
|
||||
if [ -f build/user_facing_tool_links.txt ]; then
|
||||
mkdir -p /out/usr/bin
|
||||
while read -r target name; do ln -sf "$target" "/out/$name"; done < build/user_facing_tool_links.txt
|
||||
fi
|
||||
'''
|
||||
# Tools (qml/qmlcachegen/qmlimportscanner) en /usr/lib/qt6/bin/ con rpath; sin symlinks a /usr/bin
|
||||
# (user_facing_tool_links con nombre vacío rompe `ln ... /out/` → install non-zero). CMake los halla solo.
|
||||
install = "DESTDIR=/out cmake --install build"
|
||||
|
||||
[deps]
|
||||
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "mesa", "libdrm", "libxkbcommon", "qtshadertools", "qtsvg", "qtlanguageserver"]
|
||||
|
||||
@@ -31,13 +31,9 @@ cmake -B build -G Ninja -Wno-dev \
|
||||
-DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF
|
||||
'''
|
||||
compile = "cmake --build build"
|
||||
install = '''
|
||||
DESTDIR=/out cmake --install build
|
||||
if [ -f build/user_facing_tool_links.txt ]; then
|
||||
mkdir -p /out/usr/bin
|
||||
while read -r target name; do ln -sf "$target" "/out/$name"; done < build/user_facing_tool_links.txt
|
||||
fi
|
||||
'''
|
||||
# Los tools (qsb) quedan en /usr/lib/qt6/bin/ con rpath $ORIGIN; CMake los halla vía Qt6ShaderToolsTools.
|
||||
# Sin symlinks a /usr/bin (user_facing_tool_links tiene líneas de nombre vacío → `ln ... /out/` rompe).
|
||||
install = "DESTDIR=/out cmake --install build"
|
||||
|
||||
[deps]
|
||||
build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "mesa", "libdrm", "libxkbcommon"]
|
||||
|
||||
Reference in New Issue
Block a user