docker-ce-packaging icon indicating copy to clipboard operation
docker-ce-packaging copied to clipboard

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

Open thaJeztah opened this issue 3 years ago • 0 comments

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

thaJeztah avatar Jan 12 '23 12:01 thaJeztah