rpm: depend on curl-native
PATCH 1/1 rpm: depend on curl-native
rpm is searching for curl executable at do_configure time and result is non-deterministic without this dependency:
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240201-8dcic6ea/packages/diff-html/
--- meta/recipes-devtools/rpm/rpm_4.19.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/rpm/rpm_4.19.1.bb +1 -1
@@ -48,7 +48,7 @@ SRCREV = "98b301ebb44fb5cabb56fc24bc3aaa437c47c038" S = "${WORKDIR}/git" -DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd" +DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd curl-native" DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native" EXTRA_OECMAKE:append:libc-musl = " -DENABLE_NLS=OFF -DENABLE_OPENMP=OFF"
Signature · 1 line
2.39.2
Quoted 14 lines · Alexander Kanavin
rpm is searching for curl executable at
do_configuretime and result is non-deterministic without this dependency:
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240201-8dcic6ea/packages/diff-html/Signed-off-by Alexander Kanavin <[email protected]>--- meta/recipes-devtools/rpm/rpm_4.19.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/rpm/rpm_4.19.1.bb +0
-0
meta/recipes-devtools/rpm/rpm_4.19.1.bb SRCREV = "98b301ebb44fb5cabb56fc24bc3aaa437c47c038" · line 54
Quoted 8 lines
meta/recipes-devtools/rpm/rpm_4.19.1.bb +1
-1@@ -48,7 +48,7 @@ SRCREV = "98b301ebb44fb5cabb56fc24bc3aaa437c47c038" S = "${WORKDIR}/git" -DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd" +DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd curl-native" DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native" EXTRA_OECMAKE:append:libc-musl = " -DENABLE_NLS=OFF -DENABLE_OPENMP=OFF"
Can we not just tell rpm it is "curl" or "/usr/bin/curl" explicitly? Adding dependencies increases build times and we really don't want to if we don't need to.
Cheers,
Richard
Quoted 3 lines · Richard Purdie
Can we not just tell rpm it is "curl" or "
/usr/bin/curl" explicitly? Adding dependencies increases build times and we really don't want to if we don't need to.
Yes, I've send a patch for that now.
Alex