From e6f7b3ea1e7674db91d8aa82171dab22e488c6b9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 15 Feb 2025 13:18:58 +0000 Subject: [PATCH] build: Dump all information about the source package Signed-off-by: Michael Tremer --- src/pakfire/build.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pakfire/build.c b/src/pakfire/build.c index 23fa05e9..77f27349 100644 --- a/src/pakfire/build.c +++ b/src/pakfire/build.c @@ -2431,9 +2431,15 @@ int pakfire_build_exec(struct pakfire_build* build, const char* path, goto ERROR; const char* nevra = pakfire_package_get_string(package, PAKFIRE_PKG_NEVRA); - const char* uuid = pakfire_package_get_string(package, PAKFIRE_PKG_UUID); - INFO(build->ctx, "Building %s (%s)...\n", nevra, uuid); + INFO(build->ctx, "Building %s...\n", nevra); + + // Dump more details about the package + char* p = pakfire_package_dump(package, PAKFIRE_PKG_DUMP_LONG); + if (p) { + INFO(build->ctx, "%s\n", p); + free(p); + } // Check if this package can be build in this environment if (!pakfire_package_supports_build_arch(package, arch)) { -- 2.39.5