Bug 12472 - [Anolis23.1][x86_64][玲珑] ll-builder export 执行失败
Summary: [Anolis23.1][x86_64][玲珑] ll-builder export 执行失败
Status: CONFIRMED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Desktop (show other bugs) Desktop
Version: 23.1
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: 杨晓旋
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-19 11:53 UTC by 任博
Modified: 2024-12-19 14:18 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 任博 alibaba_cloud_group 2024-12-19 11:53:19 UTC
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:
Comment 1 kamiyadm uniontech_group 2024-12-19 13:32:20 UTC
客户端这边后面改进一下,其实是在其他发行版上不支持导出UAB格式,所以构建时并未开启uab-header组件的编译选项。如果检测到uab-header不存在,应提示不支持而非报错。
Comment 2 kamiyadm uniontech_group 2024-12-19 13:32:57 UTC
(In reply to kamiyadm from comment #1)
> 客户端这边后面改进一下,其实是在其他发行版上不支持导出UAB格式,所以构建时并未开启uab-header组件的编译选项。如果检测到uab-
> header不存在,应提示不支持而非报错。

提示使用ll-builder export --layer