You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mark Wielaard proposed a patch in the above BZ which looks like this (untested):
diff --git a/build/files.c b/build/files.c
index aab128aaa..803a97248 100644
--- a/build/files.c+++ b/build/files.c@@ -1896,7 +1896,8 @@ static int generateBuildIDs(FileList fl, ARGV_t *files)
int needDbg = 0;
for (i = 0, flp = fl->files.recs; i < fl->files.used; i++, flp++) {
struct stat sbuf;
- if (lstat(flp->diskPath, &sbuf) == 0 && S_ISREG (sbuf.st_mode)) {+ if (lstat(flp->diskPath, &sbuf) == 0 && S_ISREG (sbuf.st_mode)+ && (flp->flags & RPMFILE_EXCLUDE) == 0) {
/* We determine whether this is a main or
debug ELF based on path. */
int isDbg = strncmp (flp->cpioPath,
The text was updated successfully, but these errors were encountered:
This appears to be a bug in that we let rpmbuild generate .build-id symlinks even for files that are
%exclude
d from the given subpackage.The original report: https://bugzilla.redhat.com/show_bug.cgi?id=2142890
Mark Wielaard proposed a patch in the above BZ which looks like this (untested):
The text was updated successfully, but these errors were encountered: