make check produces an error that stops the build process

未关闭
#4,585 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
c

调研方向

从第91行和第356行所指出的tests Makefile targets开始,然后检查golden-decompression/rle-first-block.zst fixture,并在Fedora 44上运行make check。确定解压缩测试拒绝符号链接的原因,并使make check成功完成。

由索引模型根据 Issue 内容生成。

描述

Howdy,

The build system is Fedora 44 (Rawhide).

I checked out the "latest" zstd code (1.6.0) and am building the code. All seems to go well.

I just added "make check" to the build script I'm using and the build failed in "make check". This problem happens every time unless I comment out the "make check"... then it's back to the usual success.

Here's what I'm seeing:

,
,
,
===> decompression only tests

  • dd bs=1048576 count=1 if=/dev/zero of=tmp
    1+0 records in
    1+0 records out
    1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000651343 s, 1.6 GB/s
  • ../programs/zstd -d -o tmp1 /export/home/tools/zstd2/obj-x86_64-pc-linux-gnu/tests/../tests/golden-decompression/rle-first-block.zst
    Warning : /export/home/tools/zstd2/obj-x86_64-pc-linux-gnu/tests/../tests/golden-decompression/rle-first-block.zst is a symbolic link, ignoring
    make[1]: *** [Makefile:356: test-zstd] Error 1
    make[1]: Leaving directory '/export/home/tools/zstd2/obj-x86_64-pc-linux-gnu/tests'
    make: *** [Makefile:91: check] Error 2

I have a build log if that's needed.

Am I doing something wrong here?

Best regards,

George...

主要语言
C
星标
28.1k
派生
2.7k
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

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

facebook/zstd 的其他 Issue

查看 facebook/zstd 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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