From: Michael Tremer Date: Fri, 3 Jan 2025 08:51:43 +0000 (+0000) Subject: build: Don't try to find dependencies for debug files X-Git-Tag: 0.9.30~570 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9127744b8a2a2d4492b6caa7da4cb450df8116e;p=pakfire.git build: Don't try to find dependencies for debug files Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/build.c b/src/pakfire/build.c index 3b5eff37e..5e5563da5 100644 --- a/src/pakfire/build.c +++ b/src/pakfire/build.c @@ -623,6 +623,14 @@ static int __pakfire_build_find_requires( if (!path) return -EINVAL; + // Skip debug files + if (pakfire_path_match("/usr/lib/debug/**", path)) + return 0; + + // Skip debug sources + else if (pakfire_path_match("/usr/src/debug/**", path)) + return 0; + // Handle pkg-config files if (pakfire_path_match("**.pc", path)) return pakfire_build_find_pkgconfig_requires(ctx, file, deps);