Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Can not build on ubuntu 26.04: missing files in the tarball.

未关闭
#663 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

LinearTapeFileSystem/ltfs 的其他 Issue

查看 LinearTapeFileSystem/ltfs 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。