找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 6773|回复: 6

通过openwrt自带的sdk工具编译软件包失败

[复制链接]
按照如下两个教程尝试编译s-s-r for openwrt的ipk安装包却失败
已经做到了教程中#安装 feeds#的步骤,但是从这里开始就已经报错了,后面继续尝试编译肯定失败
,请问问题出在哪里,该如何解决
https://www.right.com.cn/forum/thread-204802-1-1.html
https://github.com/ywb94/openwrt-S-S R
系统:ubuntu 18.04.1 server版
过程如下:
root@ubuntu-linux:/etc/apt# sudo apt-get update
Hit:1 http://mirrors.163.com/ubuntu bionic InRelease
Get:2 http://mirrors.163.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:3 http://mirrors.aliyun.com/ubuntu bionic InRelease
Get:4 http://mirrors.163.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:5 http://mirrors.163.com/ubuntu bionic-proposed InRelease [242 kB]
Hit:6 https://mirrors.ustc.edu.cn/ubuntu bionic InRelease
Get:7 https://mirrors.ustc.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
Hit:8 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
Get:9 http://mirrors.163.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:10 https://mirrors.ustc.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]
Hit:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Get:12 https://mirrors.ustc.edu.cn/ubuntu bionic-security InRelease [83.2 kB]
Get:13 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]
Hit:14 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
Get:15 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed InRelease [242 kB]
Get:16 http://mirrors.163.com/ubuntu bionic-security/universe Sources [13.1 kB]
Get:17 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]
Hit:18 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease
Hit:19 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:20 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease
Get:21 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease [83.2 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Get:23 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed InRelease [242 kB]
Get:24 http://mirrors.163.com/ubuntu bionic-security/universe amd64 Packages [48.6 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:26 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/main Sources [19.6 kB]
Get:27 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/universe Sources [8,560 B]
Get:28 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/main amd64 Packages [50.1 kB]
Get:29 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/main Translation-en [21.5 kB]
Get:30 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/universe amd64 Packages [18.6 kB]
Get:31 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/universe Translation-en [10.8 kB]
Get:32 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 Packages [277 kB]
Get:33 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/universe amd64 Packages [157 kB]
Get:34 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/main Sources [19.6 kB]
Get:35 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/universe Sources [8,560 B]
Get:36 http://mirrors.163.com/ubuntu bionic-security/universe Translation-en [27.4 kB]
Get:37 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/main amd64 Packages [51.8 kB]
Get:38 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/main Translation-en [21.9 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [277 kB]
Get:40 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/universe amd64 Packages [18.6 kB]
Get:41 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed/universe Translation-en [10.8 kB]
Get:42 http://mirrors.163.com/ubuntu bionic-updates/universe Sources [52.2 kB]
Get:43 http://mirrors.163.com/ubuntu bionic-updates/main amd64 Packages [277 kB]
Get:44 http://mirrors.163.com/ubuntu bionic-updates/universe amd64 Packages [157 kB]
Get:45 http://mirrors.163.com/ubuntu bionic-updates/universe Translation-en [71.0 kB]
Get:46 http://mirrors.163.com/ubuntu bionic-proposed/main Sources [19.6 kB]
Get:47 http://mirrors.163.com/ubuntu bionic-proposed/universe Sources [8,560 B]
Get:48 http://mirrors.163.com/ubuntu bionic-proposed/main amd64 Packages [50.1 kB]
Get:49 http://mirrors.163.com/ubuntu bionic-proposed/main Translation-en [21.5 kB]
Get:50 http://mirrors.163.com/ubuntu bionic-proposed/universe amd64 Packages [18.6 kB]
Get:51 http://mirrors.163.com/ubuntu bionic-proposed/universe Translation-en [10.8 kB]
Fetched 3,384 kB in 20s (171 kB/s)
Reading package lists... Done
root@ubuntu-linux:/etc/apt# sudo apt-get install gawk libncurses5-dev libz-dev zlib1g-dev  git ccache
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'zlib1g-dev' instead of 'libz-dev'
ccache is already the newest version (3.4.1-1).
gawk is already the newest version (1:4.1.4+dfsg-1build1).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
git is already the newest version (1:2.17.1-1ubuntu0.1).
libncurses5-dev is already the newest version (6.1-1ubuntu1.18.04).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
root@ubuntu-linux:/etc/apt# sudo apt-get install git-core build-essential libssl-dev libncurses5-dev unzip gawk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
build-essential is already the newest version (12.4ubuntu1).
gawk is already the newest version (1:4.1.4+dfsg-1build1).
unzip is already the newest version (6.0-21ubuntu1).
git is already the newest version (1:2.17.1-1ubuntu0.1).
libssl-dev is already the newest version (1.1.0g-2ubuntu4.1).
libncurses5-dev is already the newest version (6.1-1ubuntu1.18.04).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
root@ubuntu-linux:/etc/apt# sudo apt-get install subversion mercurial
Reading package lists... Done
Building dependency tree
Reading state information... Done
mercurial is already the newest version (4.5.3-1ubuntu2).
subversion is already the newest version (1.9.7-4ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
root@ubuntu-linux:/etc/apt# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
  linux-libc-dev linux-signed-generic
2 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 1,002 kB of archives.
After this operation, 16.4 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/main amd64 linux-libc-dev amd64 4.15.0-31.33 [1,000 kB]
Get:2 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/main amd64 linux-signed-generic amd64 4.15.0.31.33 [1,896 B]
Fetched 1,002 kB in 1s (1,231 kB/s)
(Reading database ... 112559 files and directories currently installed.)
Preparing to unpack .../linux-libc-dev_4.15.0-31.33_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.15.0-31.33) over (4.15.0-30.32) ...
Preparing to unpack .../linux-signed-generic_4.15.0.31.33_amd64.deb ...
Unpacking linux-signed-generic (4.15.0.31.33) over (4.15.0.30.32) ...
Setting up linux-signed-generic (4.15.0.31.33) ...
Setting up linux-libc-dev:amd64 (4.15.0-31.33) ...
root@ubuntu-linux:/etc/apt# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2
  linux-headers-4.15.0-31 linux-headers-4.15.0-31-generic
  linux-headers-generic linux-image-generic thermald
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  linux-generic linux-signed-generic
The following NEW packages will be installed:
  linux-headers-4.15.0-31 linux-headers-4.15.0-31-generic
The following packages will be upgraded:
  linux-headers-generic
1 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Need to get 12.1 MB of archives.
After this operation, 89.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/main amd64 linux-headers-4.15.0-31 all 4.15.0-31.33 [11.0 MB]
Get:2 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/main amd64 linux-headers-4.15.0-31-generic amd64 4.15.0-31.33 [1,102 kB]
Get:3 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed/main amd64 linux-headers-generic amd64 4.15.0.31.33 [2,508 B]
Fetched 12.1 MB in 3s (3,689 kB/s)
(Reading database ... 112559 files and directories currently installed.)
Removing linux-signed-generic (4.15.0.31.33) ...
Removing linux-generic (4.15.0.30.32) ...
Selecting previously unselected package linux-headers-4.15.0-31.
(Reading database ... 112553 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.15.0-31_4.15.0-31.33_all.deb ...
Unpacking linux-headers-4.15.0-31 (4.15.0-31.33) ...
Selecting previously unselected package linux-headers-4.15.0-31-generic.
Preparing to unpack .../linux-headers-4.15.0-31-generic_4.15.0-31.33_amd64.deb ...
Unpacking linux-headers-4.15.0-31-generic (4.15.0-31.33) ...
Preparing to unpack .../linux-headers-generic_4.15.0.31.33_amd64.deb ...
Unpacking linux-headers-generic (4.15.0.31.33) over (4.15.0.30.32) ...
Setting up linux-headers-4.15.0-31 (4.15.0-31.33) ...
Setting up linux-headers-4.15.0-31-generic (4.15.0-31.33) ...
Setting up linux-headers-generic (4.15.0.31.33) ...
root@ubuntu-linux:/etc/apt# apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.15.0-30-generic is already the newest version (4.15.0-30.32).
The following packages were automatically installed and are no longer required:
  amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2
  linux-headers-4.15.0-31 linux-headers-4.15.0-31-generic
  linux-headers-generic linux-image-generic thermald
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@ubuntu-linux:/etc/apt# sudo apt-get clean
root@ubuntu-linux:/etc/apt# apt-get update
Hit:1 http://mirrors.163.com/ubuntu bionic InRelease
Hit:2 http://mirrors.163.com/ubuntu bionic-security InRelease
Hit:3 http://mirrors.163.com/ubuntu bionic-updates InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu bionic InRelease
Hit:5 https://mirrors.ustc.edu.cn/ubuntu bionic InRelease
Hit:6 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
Hit:7 https://mirrors.ustc.edu.cn/ubuntu bionic-updates InRelease
Hit:8 https://mirrors.ustc.edu.cn/ubuntu bionic-backports InRelease
Hit:9 https://mirrors.ustc.edu.cn/ubuntu bionic-security InRelease
Hit:10 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
Hit:11 http://mirrors.163.com/ubuntu bionic-proposed InRelease
Hit:12 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed InRelease
Hit:13 http://mirrors.163.com/ubuntu bionic-backports InRelease
Hit:14 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease
Hit:15 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease
Hit:16 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:17 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Hit:18 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Hit:19 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
Hit:20 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed InRelease
Hit:21 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:22 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Hit:23 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Reading package lists... Done
root@ubuntu-linux:/etc/apt# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2
  linux-headers-4.15.0-31 linux-headers-4.15.0-31-generic
  linux-headers-generic linux-image-generic thermald
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@ubuntu-linux:/etc/apt# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2
  linux-headers-4.15.0-31 linux-headers-4.15.0-31-generic
  linux-headers-generic linux-image-generic thermald
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-linux:/etc/apt# apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.15.0-30-generic is already the newest version (4.15.0-30.32).
The following packages were automatically installed and are no longer required:
  amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2
  linux-headers-4.15.0-31 linux-headers-4.15.0-31-generic
  linux-headers-generic linux-image-generic thermald
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@ubuntu-linux:/etc/apt# sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2
  linux-headers-4.15.0-31 linux-headers-4.15.0-31-generic
  linux-headers-generic linux-image-generic thermald
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
After this operation, 92.4 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 141913 files and directories currently installed.)
Removing linux-image-generic (4.15.0.30.32) ...
Removing amd64-microcode (3.20180524.1~ubuntu0.18.04.2) ...
update-initramfs: deferring update (trigger activated)
Removing intel-microcode (3.20180425.1~ubuntu0.18.04.2) ...
update-initramfs: deferring update (trigger activated)
Removing iucode-tool (2.3.1-1) ...
Removing thermald (1.7.0-5ubuntu1) ...
Removing libdbus-glib-1-2:amd64 (0.110-2) ...
Removing linux-headers-generic (4.15.0.31.33) ...
Removing linux-headers-4.15.0-31-generic (4.15.0-31.33) ...
Removing linux-headers-4.15.0-31 (4.15.0-31.33) ...
Processing triggers for initramfs-tools (0.130ubuntu3.2) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-30-generic
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for dbus (1.12.2-1ubuntu1) ...
root@ubuntu-linux:/etc/apt# sudo apt-get clean
root@ubuntu-linux:/etc/apt# sudo apt-get update
Hit:1 http://mirrors.163.com/ubuntu bionic InRelease
Hit:2 http://mirrors.163.com/ubuntu bionic-security InRelease
Hit:3 http://mirrors.163.com/ubuntu bionic-updates InRelease
Hit:4 http://mirrors.163.com/ubuntu bionic-proposed InRelease
Hit:5 http://mirrors.163.com/ubuntu bionic-backports InRelease
Hit:6 http://mirrors.aliyun.com/ubuntu bionic InRelease
Hit:7 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
Hit:8 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
Hit:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic InRelease
Hit:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates InRelease
Hit:11 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease
Hit:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-backports InRelease
Hit:13 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease
Hit:14 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-security InRelease
Hit:15 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-proposed InRelease
Hit:16 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:17 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Hit:18 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:19 https://mirrors.ustc.edu.cn/ubuntu bionic InRelease
Hit:20 https://mirrors.ustc.edu.cn/ubuntu bionic-updates InRelease
Hit:21 https://mirrors.ustc.edu.cn/ubuntu bionic-backports InRelease
Hit:22 https://mirrors.ustc.edu.cn/ubuntu bionic-security InRelease
Hit:23 https://mirrors.ustc.edu.cn/ubuntu bionic-proposed InRelease
Reading package lists... Done
root@ubuntu-linux:/etc/apt# sudo apt-get install gawk libncurses5-dev libz-dev zlib1g-dev  git ccache
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'zlib1g-dev' instead of 'libz-dev'
ccache is already the newest version (3.4.1-1).
gawk is already the newest version (1:4.1.4+dfsg-1build1).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
git is already the newest version (1:2.17.1-1ubuntu0.1).
libncurses5-dev is already the newest version (6.1-1ubuntu1.18.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-linux:/etc/apt# sudo apt-get install git-core build-essential libssl-dev libncurses5-dev unzip gawk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
build-essential is already the newest version (12.4ubuntu1).
gawk is already the newest version (1:4.1.4+dfsg-1build1).
unzip is already the newest version (6.0-21ubuntu1).
git is already the newest version (1:2.17.1-1ubuntu0.1).
libssl-dev is already the newest version (1.1.0g-2ubuntu4.1).
libncurses5-dev is already the newest version (6.1-1ubuntu1.18.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-linux:/etc/apt# sudo apt-get install subversion mercurial
Reading package lists... Done
Building dependency tree
Reading state information... Done
mercurial is already the newest version (4.5.3-1ubuntu2).
subversion is already the newest version (1.9.7-4ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-linux:/etc/apt# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-linux:/etc/apt# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-linux:/etc/apt# sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-4.15.0-30-generic is already the newest version (4.15.0-30.32).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-linux:/etc/apt# cd ~
root@ubuntu-linux:~# ls -l
total 309192
drwxr-xr-x 9 1000 freedom      4096 Jul 31 12:32 openwrt-sdk-18.06.0-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64
-rw-rw-r-- 1 1000 freedom 316743680 Aug  7 09:19 openwrt-sdk-18.06.0-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64.tar
root@ubuntu-linux:~# cd openwrt-sdk-18.06.0-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64
root@ubuntu-linux:~/openwrt-sdk-18.06.0-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64# ./scripts/feeds update packages
Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git^8bf5fc17db6072549a4e3bd8230d7962364f2043' ...
Cloning into './feeds/packages'...
remote: Counting objects: 64068, done.
remote: Compressing objects: 100% (28880/28880), done.
remote: Total 64068 (delta 34988), reused 60533 (delta 31726)
Receiving objects: 100% (64068/64068), 15.14 MiB | 1.30 MiB/s, done.
Resolving deltas: 100% (34988/34988), done.
Switched to a new branch '8bf5fc17db6072549a4e3bd8230d7962364f2043'
/home/freedom/openwrt-sdk-18.06.0-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64
Create index file './feeds/packages.index'
.sed.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
.xargs.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
.find.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
.xargs.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
.sed.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
.sed.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
Collecting package info: merging...Aborted (core dumped)
Collecting package info: done
.sed.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
.xargs.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
.find.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
.xargs.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
.sed.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
.sed.bin: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
Collecting target info: merging...Aborted (core dumped)
Collecting target info: done
root@ubuntu-linux:~/openwrt-sdk-18.06.0-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64# ./scripts/feeds install libpcre
Collecting package info: done
Collecting target info: done
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'r8169-firmware', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'e100-firmware', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'bnx2-firmware', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'ar3k-firmware', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'mwifiex-sdio-firmware', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'edgeport-firmware', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist
Ignoring feed 'base' - index missing
Ignoring feed 'luci' - index missing
Ignoring feed 'routing' - index missing
Ignoring feed 'telephony' - index missing
WARNING: No feed for package 'libpcre' found


我的恩山、我的无线 The best wifi forum is right here.
 楼主| 来自手机 | 显示全部楼层
哪位大佬指点一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看起来好像是
./scripts/feeds update packages

这一步出错了,导致后面
  1. WARNING: No feed for package 'libpcre' found
复制代码


会不会因为网络状况不好,导致git clone 数据失败
试试重新 获取一次更新 ./scripts/feeds update packages
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看错误信息,是 locale 问题。。。在你执行之前,设置一下 export LC_ALL=C 试试

点评

把locale用lc_all=c清除以后,依然在install -a后输出warning信息: 但是奇怪的是紧跟着再运行一次feeds install后就没有了(以前也是这样)。 不过编译还是失败。 您还有其他的建议或者方法吗?多谢!  详情 回复 发表于 2018-11-17 03:28
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

标记
通过openwrt自带的sdk工具编译软件包失败
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我也有同样的问题,ubunto1604 server版,也是相同的warning,但是那些依赖已经安装好了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

qyb77 发表于 2018-9-26 10:17
看错误信息,是 locale 问题。。。在你执行之前,设置一下 export LC_ALL=C 试试

把locale用lc_all=c清除以后,依然在install -a后输出warning信息:

  1. WARNING: Makefile 'package/lean/amule/Makefile' has a dependency on 'libpng', which does not exist
  2. WARNING: Makefile 'package/lean/amule/Makefile' has a dependency on 'libupnp', which does not exist
  3. WARNING: Makefile 'package/lean/amule/Makefile' has a build dependency on 'libgd', which does not exist
  4. WARNING: Makefile 'package/lean/autocore/Makefile' has a dependency on 'bc', which does not exist
  5. WARNING: Makefile 'package/lean/autocore/Makefile' has a dependency on 'lm-sensors', which does not exist
  6. WARNING: Makefile 'package/lean/automount/Makefile' has a dependency on 'ntfs-3g', which does not exist
  7. WARNING: Makefile 'package/lean/autosamba/Makefile' has a dependency on 'luci-app-samba', which does not exist
  8. WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
  9. WARNING: Makefile 'package/utils/busybox/Makefile' has a build dependency on 'libpam', which does not exist
  10. WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libgnutls', which does not exist
  11. WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libopenldap', which does not exist
  12. WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libssh2', which does not exist
  13. WARNING: Makefile 'package/lean/ddns-scripts_aliyun/Makefile' has a dependency on 'ddns-scripts', which does not exist
  14. WARNING: Makefile 'package/lean/ddns-scripts_aliyun/Makefile' has a dependency on 'wget', which does not exist
  15. WARNING: Makefile 'package/lean/ipv6-helper/Makefile' has a dependency on 'luci-proto-ipv6', which does not exist
  16. WARNING: Makefile 'package/lean/ipv6-helper/Makefile' has a dependency on 'wget', which does not exist
  17. WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency on 'liblzma', which does not exist
  18. WARNING: Makefile 'package/lean/libidn2/Makefile' has a dependency on 'libunistring', which does not exist
  19. WARNING: Makefile 'package/network/services/lldpd/Makefile' has a dependency on 'libnetsnmp', which does not exist
  20. WARNING: Makefile 'package/lean/luci-app-adbyby-plus/Makefile' has a dependency on 'wget', which does not exist
  21. WARNING: Makefile 'package/lean/luci-app-adbyby-plus/Makefile' has a dependency on 'coreutils', which does not exist
  22. WARNING: Makefile 'package/lean/luci-app-adbyby-plus/Makefile' has a dependency on 'coreutils-nohup', which does not exist
  23. WARNING: Makefile 'package/lean/luci-app-adbyby-plus/Makefile' has a build dependency on 'luci-base/host', which does not exist
  24. WARNING: Makefile 'package/lean/luci-app-aliddns/Makefile' has a dependency on 'wget', which does not exist
  25. WARNING: Makefile 'package/lean/luci-app-aliddns/Makefile' has a build dependency on 'luci-base/host', which does not exist
  26. WARNING: Makefile 'package/lean/luci-app-amule/Makefile' has a build dependency on 'luci-base/host', which does not exist
  27. WARNING: Makefile 'package/lean/luci-app-arpbind/Makefile' has a build dependency on 'luci-base/host', which does not exist
  28. WARNING: Makefile 'package/lean/luci-app-autoreboot/Makefile' has a dependency on 'luci', which does not exist
  29. WARNING: Makefile 'package/lean/luci-app-autoreboot/Makefile' has a build dependency on 'luci-base/host', which does not exist
  30. WARNING: Makefile 'package/lean/luci-app-filetransfer/Makefile' has a build dependency on 'luci-base/host', which does not exist
  31. WARNING: Makefile 'package/lean/luci-app-flowoffload/Makefile' has a build dependency on 'luci-base/host', which does not exist
  32. WARNING: Makefile 'package/lean/luci-app-frpc/Makefile' has a dependency on 'wget', which does not exist
  33. WARNING: Makefile 'package/lean/luci-app-frpc/Makefile' has a build dependency on 'luci-base/host', which does not exist
  34. WARNING: Makefile 'package/lean/luci-app-guest-wifi/Makefile' has a build dependency on 'luci-base/host', which does not exist
  35. WARNING: Makefile 'package/lean/luci-app-ipsec-virtual**d/Makefile' has a dependency on 'strongswan-minimal', which does not exist
  36. WARNING: Makefile 'package/lean/luci-app-ipsec-virtual**d/Makefile' has a dependency on 'strongswan-mod-xauth-generic', which does not exist
  37. WARNING: Makefile 'package/lean/luci-app-ipsec-virtual**d/Makefile' has a build dependency on 'luci-base/host', which does not exist
  38. WARNING: Makefile 'package/lean/luci-app-n2n_v2/Makefile' has a build dependency on 'luci-base/host', which does not exist
  39. WARNING: Makefile 'package/lean/luci-app-nft-qos/Makefile' has a build dependency on 'luci-base/host', which does not exist
  40. WARNING: Makefile 'package/lean/luci-app-openvirtual**-server/Makefile' has a build dependency on 'luci-base/host', which does not exist
  41. WARNING: Makefile 'package/lean/luci-app-pppoe-relay/Makefile' has a dependency on 'rp-pppoe-common', which does not exist
  42. WARNING: Makefile 'package/lean/luci-app-pppoe-relay/Makefile' has a dependency on 'rp-pppoe-relay', which does not exist
  43. WARNING: Makefile 'package/lean/luci-app-pppoe-relay/Makefile' has a build dependency on 'luci-base/host', which does not exist
  44. WARNING: Makefile 'package/lean/luci-app-p p t p-server/Makefile' has a dependency on 'p p t pd', which does not exist
  45. WARNING: Makefile 'package/lean/luci-app-p p t p-server/Makefile' has a build dependency on 'luci-base/host', which does not exist
  46. WARNING: Makefile 'package/lean/luci-app-ramfree/Makefile' has a build dependency on 'luci-base/host', which does not exist
  47. WARNING: Makefile 'package/lean/luci-app-sfe/Makefile' has a build dependency on 'luci-base/host', which does not exist
  48. WARNING: Makefile 'package/lean/luci-app-S-S R-plus/Makefile' has a dependency on 'coreutils', which does not exist
  49. WARNING: Makefile 'package/lean/luci-app-S-S R-plus/Makefile' has a dependency on 'coreutils-base64', which does not exist
  50. WARNING: Makefile 'package/lean/luci-app-S-S R-plus/Makefile' has a dependency on 'bash', which does not exist
  51. WARNING: Makefile 'package/lean/luci-app-S-S R-plus/Makefile' has a dependency on 'wget', which does not exist
  52. WARNING: Makefile 'package/lean/luci-app-S-S R-plus/Makefile' has a dependency on 's-s-libev-ss-redir', which does not exist
  53. WARNING: Makefile 'package/lean/luci-app-S-S R-pro/Makefile' has a dependency on 's-s-libev-ss-redir', which does not exist
  54. WARNING: Makefile 'package/lean/luci-app-S-S R-pro/Makefile' has a dependency on 'coreutils', which does not exist
  55. WARNING: Makefile 'package/lean/luci-app-S-S R-pro/Makefile' has a dependency on 'coreutils-base64', which does not exist
  56. WARNING: Makefile 'package/lean/luci-app-S-S R-pro/Makefile' has a dependency on 'coreutils-nohup', which does not exist
  57. WARNING: Makefile 'package/lean/luci-app-S-S R-pro/Makefile' has a build dependency on 'luci-base/host', which does not exist
  58. WARNING: Makefile 'package/lean/luci-app-S-S Rserver-python/Makefile' has a dependency on 'python', which does not exist
  59. WARNING: Makefile 'package/lean/luci-app-S-S Rserver-python/Makefile' has a build dependency on 'luci-base/host', which does not exist
  60. WARNING: Makefile 'package/lean/luci-app-syncdial/Makefile' has a dependency on 'luci-app-mwan3', which does not exist
  61. WARNING: Makefile 'package/lean/luci-app-syncdial/Makefile' has a build dependency on 'luci-base/host', which does not exist
  62. WARNING: Makefile 'package/lean/luci-app-ttyd/Makefile' has a dependency on 'ttyd', which does not exist
  63. WARNING: Makefile 'package/lean/luci-app-ttyd/Makefile' has a build dependency on 'luci-base/host', which does not exist
  64. WARNING: Makefile 'package/lean/luci-app-usb-printer/Makefile' has a dependency on 'p910nd', which does not exist
  65. WARNING: Makefile 'package/lean/luci-app-usb-printer/Makefile' has a build dependency on 'luci-base/host', which does not exist
  66. WARNING: Makefile 'package/lean/luci-app-v2瑞-pro/Makefile' has a dependency on 'coreutils', which does not exist
  67. WARNING: Makefile 'package/lean/luci-app-v2瑞-pro/Makefile' has a dependency on 'coreutils-base64', which does not exist
  68. WARNING: Makefile 'package/lean/luci-app-v2瑞-pro/Makefile' has a dependency on 'coreutils-nohup', which does not exist
  69. WARNING: Makefile 'package/lean/luci-app-v2瑞-pro/Makefile' has a dependency on 'lua-cjson', which does not exist
  70. WARNING: Makefile 'package/lean/luci-app-v2瑞-pro/Makefile' has a build dependency on 'luci-base/host', which does not exist
  71. WARNING: Makefile 'package/lean/luci-app-vlmcsd/Makefile' has a build dependency on 'luci-base/host', which does not exist
  72. WARNING: Makefile 'package/lean/luci-app-vsftpd/Makefile' has a build dependency on 'luci-base/host', which does not exist
  73. WARNING: Makefile 'package/lean/luci-app-webadmin/Makefile' has a build dependency on 'luci-base/host', which does not exist
  74. WARNING: Makefile 'package/lean/luci-app-wrtbwmon/Makefile' has a dependency on 'luci-app-nlbwmon', which does not exist
  75. WARNING: Makefile 'package/lean/luci-app-wrtbwmon/Makefile' has a build dependency on 'luci-base/host', which does not exist
  76. WARNING: Makefile 'package/lean/luci-app-xlnetacc/Makefile' has a dependency on 'wget', which does not exist
  77. WARNING: Makefile 'package/lean/luci-app-zerotier/Makefile' has a dependency on 'zerotier', which does not exist
  78. WARNING: Makefile 'package/lean/luci-app-zerotier/Makefile' has a build dependency on 'luci-base/host', which does not exist
  79. WARNING: Makefile 'package/lean/luci-lib-fs/Makefile' has a dependency on 'luci', which does not exist
  80. WARNING: Makefile 'package/lean/luci-lib-fs/Makefile' has a dependency on 'luci-lib-nixio', which does not exist
  81. WARNING: Makefile 'package/network/utils/nftables/Makefile' has a dependency on 'jansson', which does not exist
  82. WARNING: Makefile 'package/lean/open-vm-tools/Makefile' has a dependency on 'glib2', which does not exist
  83. WARNING: Makefile 'package/lean/open-vm-tools/Makefile' has a dependency on 'libtirpc', which does not exist
  84. WARNING: Makefile 'package/lean/s-sr-libev/Makefile' has a dependency on 'libpcre', which does not exist
  85. WARNING: Makefile 'package/lean/s-sr-libev/Makefile' has a dependency on 'libpcre', which does not exist
  86. WARNING: Makefile 'package/lean/s-sr-libev/Makefile' has a dependency on 'libpcre', which does not exist
  87. WARNING: Makefile 'package/lean/s-sr-libev/Makefile' has a dependency on 'libpcre', which does not exist
  88. WARNING: Makefile 'package/lean/wxbase/Makefile' has a dependency on 'libexpat', which does not exist
复制代码


但是奇怪的是紧跟着再运行一次feeds install后就没有了(以前也是这样)。

不过编译还是失败。

您还有其他的建议或者方法吗?多谢!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 07:44

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表