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

demo-rockylinux build is experiencing configure failures building pkgconf

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp, docker

调研方向

失败发生在配置 pkgconf-2.2.0 时用于 demo-rockylinux 镜像的 Kaniko 构建命令中。首先检查镜像构建定义及其工具链依赖,然后重现 configure 步骤。当镜像构建在没有出现“no acceptable C compiler found”错误的情况下通过 configure 后,即表示完成。

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

描述

type: cleanup
Step #0 - "kaniko-build": time="2025-12-10T18:37:17Z" level=info msg="WORKDIR /var/tmp/build/pkgconf"
Step #0 - "kaniko-build": time="2025-12-10T18:37:17Z" level=info msg="Cmd: workdir"
Step #0 - "kaniko-build": time="2025-12-10T18:37:17Z" level=info msg="Changed working directory to /var/tmp/build/pkgconf"
Step #0 - "kaniko-build": time="2025-12-10T18:37:17Z" level=info msg="Creating directory /var/tmp/build/pkgconf with uid -1 and gid -1"
Step #0 - "kaniko-build": time="2025-12-10T18:37:17Z" level=info msg="Taking snapshot of files..."
Step #0 - "kaniko-build": time="2025-12-10T18:37:17Z" level=info msg="RUN curl -fsSL https://distfiles.ariadne.space/pkgconf/pkgconf-2.2.0.tar.gz |     tar -xzf - --strip-components=1 &&     ./configure --prefix=/usr --with-system-libdir=/lib64:/usr/lib64 --with-system-includedir=/usr/include &&     make -j ${NCPU:-4} &&     make install &&     ldconfig && cd /var/tmp && rm -fr build"
Step #0 - "kaniko-build": time="2025-12-10T18:37:17Z" level=info msg="Initializing snapshotter ..."
Step #0 - "kaniko-build": time="2025-12-10T18:37:17Z" level=info msg="Taking snapshot of full filesystem..."
Step #0 - "kaniko-build": time="2025-12-10T18:37:22Z" level=info msg="Cmd: /bin/sh"
Step #0 - "kaniko-build": time="2025-12-10T18:37:22Z" level=info msg="Args: [-c curl -fsSL https://distfiles.ariadne.space/pkgconf/pkgconf-2.2.0.tar.gz |     tar -xzf - --strip-components=1 &&     ./configure --prefix=/usr --with-system-libdir=/lib64:/usr/lib64 --with-system-includedir=/usr/include &&     make -j ${NCPU:-4} &&     make install &&     ldconfig && cd /var/tmp && rm -fr build]"
Step #0 - "kaniko-build": time="2025-12-10T18:37:22Z" level=info msg="Running: [/bin/sh -c curl -fsSL https://distfiles.ariadne.space/pkgconf/pkgconf-2.2.0.tar.gz |     tar -xzf - --strip-components=1 &&     ./configure --prefix=/usr --with-system-libdir=/lib64:/usr/lib64 --with-system-includedir=/usr/include &&     make -j ${NCPU:-4} &&     make install &&     ldconfig && cd /var/tmp && rm -fr build]"
Step #0 - "kaniko-build": checking for gcc... no
Step #0 - "kaniko-build": checking for cc... no
Step #0 - "kaniko-build": checking for cl.exe... no
Step #0 - "kaniko-build": checking for clang... no
Step #0 - "kaniko-build": configure: error: in `/var/tmp/build/pkgconf':
Step #0 - "kaniko-build": configure: error: no acceptable C compiler found in $PATH
Step #0 - "kaniko-build": See `config.log' for more details
Step #0 - "kaniko-build": error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
主要语言
C++
星标
659
派生
475
平均合并
1 天 12 小时
30 天内合并 PR
77

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

googleapis/google-cloud-cpp 的其他 Issue

查看 googleapis/google-cloud-cpp 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

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