Description of problem: ll-cli export 执行失败 [an23.1-d@an23 org.deepin.hello]$ ls linglong org.deepin.hello_0.0.0.1_x86_64_binary.layer linglong.yaml org.deepin.hello_0.0.0.1_x86_64_develop.layer [an23.1-d@an23 org.deepin.hello]$ ll-builder export (10498) /builddir/build/BUILD/linyaps-1.7.3/apps/ll-builder/src/main.cpp:757 [code -1 ] message: /builddir/build/BUILD/linyaps-1.7.3/libs/linglong/src/linglong/builder/linglong_builder.cpp:1207 export uab file /builddir/build/BUILD/linyaps-1.7.3/libs/linglong/src/linglong/package/uab_packager.cpp:216 package uab: uab-header is missing Version-Release number of selected component (if applicable): $ cat /etc/os-release NAME="Anolis OS" VERSION="23" ID="anolis" VERSION_ID="23" PLATFORM_ID="platform:an23" PRETTY_NAME="Anolis OS 23" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugzilla.openanolis.cn/" [an23.1-d@an23 org.deepin.hello]$ rpm -qa |grep linglong linglong-installer-1.3.3.8-1.an23.x86_64 linglong-box-1.7.3-1.an23.x86_64 linglong-bin-1.7.3-1.an23.x86_64 linglong-1.7.3-1.an23.x86_64 linglong-builder-1.7.3-1.an23.x86_64 How reproducible: Steps to Reproduce: 1.ll-builder create org.deepin.hello 2.cd org.deepin.hello 3.ll-builder export Actual results: $ ll-builder export (10498) /builddir/build/BUILD/linyaps-1.7.3/apps/ll-builder/src/main.cpp:757 [code -1 ] message: /builddir/build/BUILD/linyaps-1.7.3/libs/linglong/src/linglong/builder/linglong_builder.cpp:1207 export uab file /builddir/build/BUILD/linyaps-1.7.3/libs/linglong/src/linglong/package/uab_packager.cpp:216 package uab: uab-header is missing Expected results: 无报错 Additional info:
客户端这边后面改进一下,其实是在其他发行版上不支持导出UAB格式,所以构建时并未开启uab-header组件的编译选项。如果检测到uab-header不存在,应提示不支持而非报错。
(In reply to kamiyadm from comment #1) > 客户端这边后面改进一下,其实是在其他发行版上不支持导出UAB格式,所以构建时并未开启uab-header组件的编译选项。如果检测到uab- > header不存在,应提示不支持而非报错。 提示使用ll-builder export --layer