sunhaiyong1978 / Yongbao

一个基于交叉编译的Linux发行版。
23 stars 1 forks source link

host-tools/automake脚本运行错误! #4

Closed liangyongxiang closed 1 year ago

liangyongxiang commented 1 year ago

运行 ./build.sh

~/work/loong/Yongbao/loongarch64 $ ./build.sh
创建索引文件......
当前指定的编译标记如下:
g_opt f_opt
索引文件创建完成。
开始编译制作过程......
开始执行 host-tools 组中的 automake 软件包的制作步骤...
host-tools/automake脚本运行错误!

将出错的行修改一下:

diff --git a/loongarch64/build.sh b/loongarch64/build.sh
index 827ca49..fb66f92 100755
--- a/loongarch64/build.sh
+++ b/loongarch64/build.sh
@@ -1091,7 +1091,7 @@ do
        else
                echo -e "\r准备执行 ${STEP_STAGE} 组中的完成脚本...\033[0K"
        fi
-       tools/show_package_script.sh ${SCRIPT_FILE} >/dev/null
+       bash -x tools/show_package_script.sh ${SCRIPT_FILE}
        RET_VAL=$?
        if [ "${RET_VAL}" != "0" ]; then
                echo "${SCRIPT_FILE}脚本运行错误!"

得到的log: https://gist.github.com/liangyongxiang/ffcfe4b14c7535ac993d737084df76b2

使用 bash -x ./build.sh 得到的log:https://gist.github.com/liangyongxiang/38af76a319fab487b987af5f74768573

sunhaiyong1978 commented 1 year ago

这个问题我也已经发现,是因为少传了一个文件导致的,目前已上传,可以重新pull一下再构建。

liangyongxiang commented 1 year ago

好的。我这边重新构建遇到新的问题,我开一个新的issue