Can not build on ubuntu 26.04: missing files in the tarball.
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c, ubuntu
- 领域
- build-system
调研方向
Start by inspecting the release tarball’s submodule contents and the include in src/libltfs/uthash.h; the reported build failure is that uthash_submodule/src/uthash.h is missing. Check how the source archive is assembled and compare it with the repository’s submodule setup. Done when a fresh v2.4.9.0 tarball includes the required header and builds past this compile step.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Fresh download of the v2.4.9.0.
Untarred. Required packages previously installed.
autoconf and configure run without issues.
make fails with:
make[3]: Entering directory '/home/jpw/LTO/ltfs-2.4.9.0-10523/src/libltfs'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE -I../../src -DLTFS_CONFIG_FILE='"/usr/local/etc/ltfs.conf"' -DLTFS_BASE_DIR='"NONE"' -I .. -Wall -Wsign-compare -fsigned-char -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/uuid -I/usr/include/libxml2 -D ENABLE_SNMP -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/build/net-snmp-8bhvO7/net-snmp-5.9.4+dfsg=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/build/net-snmp-8bhvO7/net-snmp-5.9.4+dfsg=/usr/src/net-snmp-5.9.4+dfsg-2ubuntu3 -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/build/net-snmp-8bhvO7/net-snmp-5.9.4+dfsg=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -fdebug-prefix-map=/build/net-snmp-8bhvO7/net-snmp-5.9.4+dfsg=/usr/src/net-snmp-5.9.4+dfsg-2ubuntu3 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.40/CORE -Wdate-time -I. -I/usr/include -fkeep-inline-functions -rdynamic -g -O2 -D_FORTIFY_SOURCE=0 -O0 -ggdb -MT libltfs_la-ltfs.lo -MD -MP -MF .deps/libltfs_la-ltfs.Tpo -c -o libltfs_la-ltfs.lo `test -f 'ltfs.c' || echo './'`ltfs.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE -I../../src -DLTFS_CONFIG_FILE=\"/usr/local/etc/ltfs.conf\" -DLTFS_BASE_DIR=\"NONE\" -I .. -Wall -Wsign-compare -fsigned-char -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/uuid -I/usr/include/libxml2 -D ENABLE_SNMP -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/build/net-snmp-8bhvO7/net-snmp-5.9.4+dfsg=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/build/net-snmp-8bhvO7/net-snmp-5.9.4+dfsg=/usr/src/net-snmp-5.9.4+dfsg-2ubuntu3 -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/build/net-snmp-8bhvO7/net-snmp-5.9.4+dfsg=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -fdebug-prefix-map=/build/net-snmp-8bhvO7/net-snmp-5.9.4+dfsg=/usr/src/net-snmp-5.9.4+dfsg-2ubuntu3 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.40/CORE -Wdate-time -I. -I/usr/include -fkeep-inline-functions -rdynamic -g -O2 -D_FORTIFY_SOURCE=0 -O0 -ggdb -MT libltfs_la-ltfs.lo -MD -MP -MF .deps/libltfs_la-ltfs.Tpo -c ltfs.c -fPIC -DPIC -o .libs/libltfs_la-ltfs.o
In file included from ../../src/libltfs/ltfstrace.h:77,
from ltfs.h:102,
from fs.h:52,
from ltfs.c:60:
../../src/libltfs/uthash.h:52:10: fatal error: uthash_submodule/src/uthash.h: No such file or directory
52 | #include "uthash_submodule/src/uthash.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:628: libltfs_la-ltfs.lo] Error 1
make[3]: Leaving directory '/home/jpw/LTO/ltfs-2.4.9.0-10523/src/libltfs'
make[2]: *** [Makefile:696: all-recursive] Error 1
make[2]: Leaving directory '/home/jpw/LTO/ltfs-2.4.9.0-10523/src'
make[1]: *** [Makefile:528: all-recursive] Error 1
make[1]: Leaving directory '/home/jpw/LTO/ltfs-2.4.9.0-10523'
make: *** [Makefile:434: all] Error 2
Based on git status, this should be inside a submodule, but there is no remote to pull from.
Desktop (please complete the following information):
- OS: Ubuntu 26.04 server.
- 主要语言
- C
- 星标
- 359
- 派生
- 112
- 平均合并
- 10 天 1 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LinearTapeFileSystem/ltfs 的其他 Issue
-
ltfs_ordered_copy: copying several files into a directory fails with 'Is a directory' since v2.4.9.0可能已有人在做 @MitchelTighe 于 10 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
LinearTapeFileSystem/ltfs#661 ·
-
2.4.9.1 mkltfs failed可能已有人在做 @madjesc 于 12 天前认领。 未关闭Investigating
LinearTapeFileSystem/ltfs#656 · 3 条评论 · 已指派 1 人 ·
-
ltfs/mkltfs segfault when the drive INQUIRY vendor id is not IBM/HP/HPE/QUANTUM (NULL deref in _raw_open)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 25/100
LinearTapeFileSystem/ltfs#650 ·
-
难度 5/5 一周以上 新手友好度 35/100
LinearTapeFileSystem/ltfs#647 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
LinearTapeFileSystem/ltfs#643 ·
查看 LinearTapeFileSystem/ltfs 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 78/100
HexaCluster/credcheck#86 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
mongodb/winkerberos#175 ·
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
AOMediaCodec/SVT-AV1#3320 ·
-
difficulty: easy
难度 2/5 1-3 小时 新手友好度 64/100