rpm: "Missing build-id" and "`%changelog` is missing" warnings

Đang mở
#590 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker, dockerfile
Lĩnh vực
build-system

Hướng nghiên cứu

Start by tracing the Fedora 37 RPM build command and packaging files that produce the listed warnings; the issue does not name those files or tests. Check how the RPM specs handle changelogs and build IDs for docker-proxy, buildx, and compose. Done means the reported warnings are resolved in a Fedora 37 build; the issue has no comments or follow-up confirming a narrower scope.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Seeing some warnings while building for Fedora 37 (using docker-ce-packaging at https://github.com/docker/docker-ce-packaging/commit/153875c148795fa5e266165dbf5cf328a4925ab7).

make DOCKER_CLI_REF=v23.0.0-rc.2 DOCKER_ENGINE_REF=v23.0.0-rc.2 VERSION=23.0.0-rc.2 fedora-37

...

RPM build warnings:
    line 57: It's not recommended to have unversioned Obsoletes: Obsoletes: docker-ce-selinux
    line 58: It's not recommended to have unversioned Obsoletes: Obsoletes: docker-engine-selinux
    line 59: It's not recommended to have unversioned Obsoletes: Obsoletes: docker-engine
    source_date_epoch_from_changelog set but %changelog is missing
    Missing build-id in /root/rpmbuild/BUILDROOT/docker-ce-23.0.0~rc.2-1.fc37.aarch64/usr/bin/docker-proxy
    source_date_epoch_from_changelog set but %changelog is missing
    source_date_epoch_from_changelog set but %changelog is missing
    source_date_epoch_from_changelog set but %changelog is missing
    Missing build-id in /root/rpmbuild/BUILDROOT/docker-buildx-plugin-0.10.0-1.fc37.aarch64/usr/libexec/docker/cli-plugins/docker-buildx
    source_date_epoch_from_changelog set but %changelog is missing
    Missing build-id in /root/rpmbuild/BUILDROOT/docker-compose-plugin-2.15.1-1.fc37.aarch64/usr/libexec/docker/cli-plugins/docker-compose
Ngôn ngữ chính
Dockerfile
Star
37
Fork
42
Merge trung bình
16 giờ 53 phút
Pull request đã merge (30 ngày)
30

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của docker/packaging

Tất cả issue của docker/packaging

Issue tương tự

Thêm issue về Build System

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.