]> git.ipfire.org Git - pakfire.git/commitdiff
build: Dump all information about the source package
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Feb 2025 13:18:58 +0000 (13:18 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Feb 2025 13:18:58 +0000 (13:18 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/build.c

index 23fa05e9cce5d2028b7723c7bf7b29e1431648da..77f27349b0ea0cf5245dabfff91797450d61db0e 100644 (file)
@@ -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)) {