19 Star 62 Fork 167

openEuler / yocto-meta-openeuler

 / 详情

【24.03】5.10 sdk缺少libmnl.h文件

已验收
缺陷
创建于  
2024-04-28 20:12

【24.03】5.10 sdk缺少libmnl.h文件

一、缺陷信息

内核信息: 5.10

缺陷归属组件:

缺陷归属的版本:

缺陷简述:
同时影响 ethtool ltp测试用例的编译
【环境信息】
硬件信息

  • 裸机场景请提供问题的硬件信息
  • 虚拟机场景请提供虚拟机的XML文件或配置信息
    软件信息
  • OS版本及分支信息
  • 内核信息
  • 发现问题的组件版本信息
    网络信息
  • 如果有特殊组网,请提供网络拓扑信息

【问题复现步骤】,请描述具体的操作步骤

# 先配置好sd
git clone https://gitee.com/src-openeuler/ethtool.git -b openEuler-24.03-LTS
cd ethtool
tar -xf ethtool-6.6.tar.xz
cd ethtool-6.6
./configure --host=${CROSS_COMPILE%-} --build=$(gcc -dumpmachine) 
make

2203-lts-sp3可以构建成功
【实际结果】,请描述出问题的结果和影响

cd ./tmp_extract/ethtool* && \
./configure --host=${CROSS_COMPILE%-} --build=$(gcc -dumpmachine) && \
make && \
make test-cmdline
configure: loading site script /home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/site-config-aarch64-openeuler-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-openeuler-linux-strip... aarch64-openeuler-linux-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for aarch64-openeuler-linux-gcc... aarch64-openeuler-linux-gcc  -mlittle-endian -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-openeuler-linux-gcc  -mlittle-endian -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix accepts -g... yes
checking for aarch64-openeuler-linux-gcc  -mlittle-endian -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix option to accept ISO C89... none needed
checking whether aarch64-openeuler-linux-gcc  -mlittle-endian -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of aarch64-openeuler-linux-gcc  -mlittle-endian -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix... gcc3
checking how to run the C preprocessor... aarch64-openeuler-linux-gcc -E  -mlittle-endian -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether aarch64-openeuler-linux-gcc  -mlittle-endian -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix needs -traditional... no
checking for aarch64-openeuler-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking whether C compiler accepts -std=gnu11... yes
checking for ANSI C header files... yes
checking for socket... yes
checking for bash-completion directory... ${prefix}/share/bash-completion/completions
checking for aarch64-openeuler-linux-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libmnl... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ethtool.spec
config.status: creating ethtool.8
config.status: creating ethtool-config.h
config.status: ethtool-config.h is unchanged
config.status: executing depfiles commands
make[1]: Entering directory '/home/zzy/openeuler/mugen/testcases/embedded-test/third_party_packages_test/oe_test_ethtool_test_001/tmp_extract/ethtool-6.6'
make  all-am
make[2]: Entering directory '/home/zzy/openeuler/mugen/testcases/embedded-test/third_party_packages_test/oe_test_ethtool_test_001/tmp_extract/ethtool-6.6'
depbase=`echo netlink/netlink.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
aarch64-openeuler-linux-gcc  -mlittle-endian -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix -DHAVE_CONFIG_H -I.  -I./uapi -I/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux/usr/include  -Wall -Wextra -D_POSIX_C_SOURCE=200809L -O2 -pipe -g -feliminate-unused-debug-types  -std=gnu11 -MT netlink/netlink.o -MD -MP -MF $depbase.Tpo -c -o netlink/netlink.o netlink/netlink.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from netlink/netlink.c:10:
netlink/netlink.h:10:10: fatal error: libmnl/libmnl.h: No such file or directory
   10 | #include <libmnl/libmnl.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1422: netlink/netlink.o] Error 1
make[2]: Leaving directory '/home/zzy/openeuler/mugen/testcases/embedded-test/third_party_packages_test/oe_test_ethtool_test_001/tmp_extract/ethtool-6.6'
make[1]: *** [Makefile:881: all] Error 2

【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等

缺陷详情参考链接:

缺陷分析指导链接:
https:xxx

评论 (2)

saarloos 创建了缺陷

Hi saarloos, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-Yocto, and any of the maintainers: @ilisimin , @fanglinxu , @Wayne Ren

openeuler-ci-bot 添加了
 
sig/sig-Yocto
标签
saarloos 修改了描述
saarloos 修改了描述
saarloos 优先级设置为次要
saarloos 任务状态待办的 修改为已完成
saarloos 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/openeuler/yocto-meta-openeuler.git
git@gitee.com:openeuler/yocto-meta-openeuler.git
openeuler
yocto-meta-openeuler
yocto-meta-openeuler

搜索帮助