googleapis / googleapis/google-cloud-cpp
demo-rockylinux build is experiencing configure failures building pkgconf
- Ngôn ngữ chính
- C++
- Star
- 659
- Fork
- 462
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 89
Mô tả
```
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
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Lỗi nằm trong lệnh build Kaniko cho image demo-rockylinux, khi cấu hình pkgconf-2.2.0. Trước tiên, hãy kiểm tra định nghĩa build của image và các dependency của toolchain, sau đó tái hiện bước configure. Được xem là hoàn tất khi image build vượt qua configure mà không gặp lỗi “no acceptable C compiler found”.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- cpp, docker
- Lĩnh vực
- build-system, devops
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 42/100