在ubuntu20.04下编译 全志A20的Andorid的SDK安装msgfmt和makeinfo

在ubuntu20.04下编译 全志A20的Andorid的SDK安装msgfmt和makeinfo


https://www.cnblogs.com/applebaba/p/10041470.html
You must install 'msgfmt' on your build machine
ubuntu:sudo apt-get install gettext

https://blog.csdn.net/antoinette/article/details/4244713
makeinfo如何安装
原创Antoinette 最后发布于2009-06-05 12:34:00 阅读数 23153  收藏
展开
装 texinfo

sudo apt-get install texinfo
————————————————
版权声明:本文为CSDN博主「Antoinette」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/antoinette/article/details/4244713


rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ ./build.sh 

mkscript current setting:
        Chip: sun7i
    Platform: linux
       Board: 
  Output Dir: /home/rootroot/wyb/a20p/lichee/out/linux/common

INFO: build lichee ...
INFO: build buildroot ...

Using default config ...

make: 进入目录“/home/rootroot/wyb/a20p/lichee/buildroot”
mkdir -p /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/lxdialog
make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" obj=/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config -C package/config -f Makefile.br conf
make[1]: 进入目录“/home/rootroot/wyb/a20p/lichee/buildroot/package/config”
/usr/bin/gcc -I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>" -DLOCALE  -I/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config  -MM *.c > /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/.depend 2>/dev/null || :
/usr/bin/gcc -I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>" -DLOCALE  -I/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config   -c conf.c -o /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/conf.o
/usr/bin/gcc -I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>" -DLOCALE  -I/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config   -c kxgettext.c -o /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/kxgettext.o
/usr/bin/gcc -I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>" -DLOCALE  -I/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config  -I. -c /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/zconf.tab.c -o /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/zconf.tab.o
In file included from /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/zconf.tab.c:2500:
./util.c: In function ‘file_write_dep’:
./util.c:167:15: warning: ‘..config.tmp’ directive writing 12 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  167 |  sprintf(buf, "%s..config.tmp", dir);
      |               ^~~~~~~~~~~~~~~~
./util.c:167:2: note: ‘sprintf’ output between 13 and 4109 bytes into a destination of size 4097
  167 |  sprintf(buf, "%s..config.tmp", dir);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/zconf.tab.c:2501:
./confdata.c: In function ‘conf_write’:
./confdata.c:594:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  594 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
      |                    ^~~~~~~~~~~~~~~~~
./confdata.c:594:3: note: ‘sprintf’ output between 13 and 4119 bytes into a destination of size 4097
  594 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./confdata.c: In function ‘conf_write_autoconf’:
./confdata.c:818:15: warning: ‘.config.cmd’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  818 |  sprintf(buf, "%s.config.cmd", dir);
      |               ^~~~~~~~~~~~~~~
./confdata.c:818:2: note: ‘sprintf’ output between 12 and 4108 bytes into a destination of size 4097
  818 |  sprintf(buf, "%s.config.cmd", dir);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./confdata.c:824:15: warning: ‘.tmpconfig’ directive writing 10 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  824 |  sprintf(buf, "%s.tmpconfig", dir);
      |               ^~~~~~~~~~~~~~
./confdata.c:824:2: note: ‘sprintf’ output between 11 and 4107 bytes into a destination of size 4097
  824 |  sprintf(buf, "%s.tmpconfig", dir);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./confdata.c:829:15: warning: ‘.tmpconfig_tristate’ directive writing 19 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  829 |  sprintf(buf, "%s.tmpconfig_tristate", dir);
      |               ^~~~~~~~~~~~~~~~~~~~~~~
./confdata.c:829:2: note: ‘sprintf’ output between 20 and 4116 bytes into a destination of size 4097
  829 |  sprintf(buf, "%s.tmpconfig_tristate", dir);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./confdata.c:836:15: warning: ‘.tmpconfig.h’ directive writing 12 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  836 |  sprintf(buf, "%s.tmpconfig.h", dir);
      |               ^~~~~~~~~~~~~~~~
./confdata.c:836:2: note: ‘sprintf’ output between 13 and 4109 bytes into a destination of size 4097
  836 |  sprintf(buf, "%s.tmpconfig.h", dir);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./confdata.c:917:15: warning: ‘.tmpconfig.h’ directive writing 12 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  917 |  sprintf(buf, "%s.tmpconfig.h", dir);
      |               ^~~~~~~~~~~~~~~~
./confdata.c:917:2: note: ‘sprintf’ output between 13 and 4109 bytes into a destination of size 4097
  917 |  sprintf(buf, "%s.tmpconfig.h", dir);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./confdata.c:923:15: warning: ‘.tmpconfig_tristate’ directive writing 19 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  923 |  sprintf(buf, "%s.tmpconfig_tristate", dir);
      |               ^~~~~~~~~~~~~~~~~~~~~~~
./confdata.c:923:2: note: ‘sprintf’ output between 20 and 4116 bytes into a destination of size 4097
  923 |  sprintf(buf, "%s.tmpconfig_tristate", dir);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./confdata.c:931:15: warning: ‘.tmpconfig’ directive writing 10 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  931 |  sprintf(buf, "%s.tmpconfig", dir);
      |               ^~~~~~~~~~~~~~
./confdata.c:931:2: note: ‘sprintf’ output between 11 and 4107 bytes into a destination of size 4097
  931 |  sprintf(buf, "%s.tmpconfig", dir);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/gcc -I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>" -DLOCALE  -I/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config   /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/conf.o /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/zconf.tab.o   -o /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/conf
rm /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/zconf.tab.c
make[1]: 离开目录“/home/rootroot/wyb/a20p/lichee/buildroot/package/config”
  GEN     /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/Makefile
#
# configuration written to /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/.config
#
make: 离开目录“/home/rootroot/wyb/a20p/lichee/buildroot”
make: 进入目录“/home/rootroot/wyb/a20p/lichee/buildroot”
/usr/bin/make -j5 O=/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot silentoldconfig
make[1]: 进入目录“/home/rootroot/wyb/a20p/lichee/buildroot”
  GEN     /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/Makefile
KCONFIG_AUTOCONFIG=/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/tristate.config BUILDROOT_CONFIG=/home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/.config /home/rootroot/wyb/a20p/lichee/out/linux/common/buildroot/build/buildroot-config/conf --silentoldconfig Config.in
#
# make dependencies written to .auto.deps
# ATTENTION buildroot devels!
# See top of this file before playing with this auto-preprequisites!
#
make[1]: 离开目录“/home/rootroot/wyb/a20p/lichee/buildroot”

You must install 'msgfmt' on your build machine
msgfmt is usually part of the gettext package in your distribution

make: *** [toolchain/dependencies/dependencies.mk:20:dependencies] 错误 1
make: 离开目录“/home/rootroot/wyb/a20p/lichee/buildroot”
ERROR: build buildroot Failed
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ sudo apt-get install msgfmt
[sudo] rootroot 的密码: 
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
E: 无法定位软件包 msgfmt
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ sudo apt-get install gettext
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
下列软件包是自动安装的并且现在不需要了:
  libncurses-dev:i386 libreadline6 libreadline8:i386 libtinfo5 python3-asn1crypto
使用'sudo apt autoremove'来卸载它(它们)。
建议安装:
  gettext-doc autopoint libasprintf-dev libgettextpo-dev
下列【新】软件包将被安装:
  gettext
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 129 个软件包未被升级。
需要下载 897 kB 的归档。
解压缩后会消耗 3,879 kB 的额外空间。
获取:1 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 gettext amd64 0.19.8.1-10 [897 kB]
已下载 897 kB,耗时 4秒 (216 kB/s)
正在选中未选择的软件包 gettext。
(正在读取数据库 ... 系统当前共安装有 165009 个文件和目录。)
准备解压 .../gettext_0.19.8.1-10_amd64.deb  ...
正在解压 gettext (0.19.8.1-10) ...
正在设置 gettext (0.19.8.1-10) ...
正在处理用于 man-db (2.9.0-2) 的触发器 ...
正在处理用于 install-info (6.7.0.dfsg.2-5) 的触发器 ...
正在处理用于 libc-bin (2.30-0ubuntu3) 的触发器 ...
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 


rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ ./build.sh config

mkscript current setting:
        Chip: sun7i
    Platform: linux
       Board: 
  Output Dir: /home/rootroot/wyb/a20p/lichee/out/linux/common

INFO: build lichee ...
INFO: build buildroot ...
make: 进入目录“/home/rootroot/wyb/a20p/lichee/buildroot”

You must install 'makeinfo' on your build machine
makeinfo is usually part of the texinfo package in your distribution

make: *** [toolchain/dependencies/dependencies.mk:20:dependencies] 错误 1
make: 离开目录“/home/rootroot/wyb/a20p/lichee/buildroot”
ERROR: build buildroot Failed
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ sudo apt-get install makeinfo
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
E: 无法定位软件包 makeinfo
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ sudo apt-get install texinfo
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
下列软件包是自动安装的并且现在不需要了:
  libncurses-dev:i386 libreadline6 libreadline8:i386 libtinfo5 python3-asn1crypto
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
  libtext-unidecode-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl tex-common
建议安装:
  libxml-sax-expatxs-perl debhelper texlive-base texlive-latex-base texlive-plain-generic texlive-fonts-recommended
下列【新】软件包将被安装:
  libtext-unidecode-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl tex-common texinfo
升级了 0 个软件包,新安装了 8 个软件包,要卸载 0 个软件包,有 129 个软件包未被升级。
需要下载 1,925 kB 的归档。
解压缩后会消耗 13.9 MB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://cn.archive.ubuntu.com/ubuntu focal/universe amd64 tex-common all 6.13 [32.7 kB]
获取:2 http://cn.archive.ubuntu.com/ubuntu focal/universe amd64 libtext-unidecode-perl all 1.30-1 [99.0 kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libxml-namespacesupport-perl all 1.12-1 [13.2 kB]
获取:4 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libxml-sax-base-perl all 1.09-1 [18.8 kB]
获取:5 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libxml-sax-perl all 1.02+dfsg-1 [56.2 kB]
获取:6 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1build1 [320 kB]
获取:7 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libxml-sax-expat-perl all 0.51-1 [10.5 kB]
获取:8 http://cn.archive.ubuntu.com/ubuntu focal/universe amd64 texinfo amd64 6.7.0.dfsg.2-5 [1,375 kB]
已下载 1,925 kB,耗时 5秒 (385 kB/s) 
正在选中未选择的软件包 tex-common。
(正在读取数据库 ... 系统当前共安装有 165212 个文件和目录。)
准备解压 .../0-tex-common_6.13_all.deb  ...
正在解压 tex-common (6.13) ...
正在选中未选择的软件包 libtext-unidecode-perl。
准备解压 .../1-libtext-unidecode-perl_1.30-1_all.deb  ...
正在解压 libtext-unidecode-perl (1.30-1) ...
正在选中未选择的软件包 libxml-namespacesupport-perl。
准备解压 .../2-libxml-namespacesupport-perl_1.12-1_all.deb  ...
正在解压 libxml-namespacesupport-perl (1.12-1) ...
正在选中未选择的软件包 libxml-sax-base-perl。
准备解压 .../3-libxml-sax-base-perl_1.09-1_all.deb  ...
正在解压 libxml-sax-base-perl (1.09-1) ...
正在选中未选择的软件包 libxml-sax-perl。
准备解压 .../4-libxml-sax-perl_1.02+dfsg-1_all.deb  ...
正在解压 libxml-sax-perl (1.02+dfsg-1) ...
正在选中未选择的软件包 libxml-libxml-perl。
准备解压 .../5-libxml-libxml-perl_2.0134+dfsg-1build1_amd64.deb  ...
正在解压 libxml-libxml-perl (2.0134+dfsg-1build1) ...
正在选中未选择的软件包 libxml-sax-expat-perl。
准备解压 .../6-libxml-sax-expat-perl_0.51-1_all.deb  ...
正在解压 libxml-sax-expat-perl (0.51-1) ...
正在选中未选择的软件包 texinfo。
准备解压 .../7-texinfo_6.7.0.dfsg.2-5_amd64.deb  ...
正在解压 texinfo (6.7.0.dfsg.2-5) ...
正在设置 libxml-namespacesupport-perl (1.12-1) ...
正在设置 tex-common (6.13) ...
update-language: texlive-base not installed and configured, doing nothing!
正在设置 libxml-sax-base-perl (1.09-1) ...
正在设置 libtext-unidecode-perl (1.30-1) ...
正在设置 libxml-sax-perl (1.02+dfsg-1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...

Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version
正在设置 libxml-libxml-perl (2.0134+dfsg-1build1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50...
update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
正在设置 libxml-sax-expat-perl (0.51-1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::Expat with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
正在设置 texinfo (6.7.0.dfsg.2-5) ...
正在处理用于 man-db (2.9.0-2) 的触发器 ...
正在处理用于 install-info (6.7.0.dfsg.2-5) 的触发器 ...
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 
rootroot@rootroot-HP-Laptop-14s-dp0xxx:~/wyb/a20p/lichee$ 

发布了146 篇原创文章 · 获赞 20 · 访问量 30万+

猜你喜欢

转载自blog.csdn.net/wb4916/article/details/104270990