googleapis / googleapis/google-cloud-cpp

demo-rockylinux build is experiencing configure failures building pkgconf

Open
#15,824 0 comments 0 reactions 0 assignees View on GitHub
type: cleanup
Dominant language
C++
Stars
659
Forks
463
Avg merge
1d 2h
Merged PRs (30d)
89

Description

```
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
```

Contributor guide

Open the contributing guide

Research direction

The failure is in the Kaniko build command for the demo-rockylinux image, while configuring pkgconf-2.2.0. Inspect the image build definition and its toolchain dependencies first, then reproduce the configure step. Done means the image build gets past configure without the “no acceptable C compiler found” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, docker
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.