Notification time stamped 2023-11-15 18:54:58 UTC
From 103c5b38b74ee89a83e5ada377d83c2fa562cf82 Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer(a)redhat.com>
Date: Nov 15 2023 18:54:49 +0000
Subject: Escape - in Lua pattern as %-
---
diff --git a/report-gcc-errors.lua b/report-gcc-errors.lua
index 161a57d..7f85804 100644
--- a/report-gcc-errors.lua
+++ b/report-gcc-errors.lua
@@ -598,7 +598,7 @@ local problem = false
for i = 1,#files do
local p = files[i][1]
for line in io.lines(p) do
- local match = string.match(line, "implicit-function-declaration: (%g+)$")
+ local match = string.match(line, "implicit%-function%-declaration: (%g+)$")
if (not match) or not (good[match]) then
if not problem then
print("*** GCC errors begin ***\n")
https://src.fedoraproject.org/rpms/redhat-rpm-config/c/103c5b38b74ee89a83e5…
Notification time stamped 2023-11-15 18:48:41 UTC
From f0341c3b31d1f5d068ab0d8b1b20a4c6c4c2b52f Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer(a)redhat.com>
Date: Nov 15 2023 18:48:31 +0000
Subject: glibc does not define major (only gnu_dev_major)
An implicit declaration results in a link error, so is safe to ignore.
---
diff --git a/report-gcc-errors.lua b/report-gcc-errors.lua
index fe0ff67..161a57d 100644
--- a/report-gcc-errors.lua
+++ b/report-gcc-errors.lua
@@ -90,6 +90,7 @@ local good = {
"lchflags",
"libiconv_open",
"mach_absolute_time",
+ "major",
"makedev",
"malloc_get_state",
"malloc_set_state",
https://src.fedoraproject.org/rpms/redhat-rpm-config/c/f0341c3b31d1f5d068ab…
Notification time stamped 2023-11-15 18:39:44 UTC
From e8ea694d798bbb73ed3ca030eafa567a5b3e337b Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer(a)redhat.com>
Date: Nov 15 2023 18:39:34 +0000
Subject: Adjust implicit-function-declaration error matching to new GCC
---
diff --git a/report-gcc-errors.lua b/report-gcc-errors.lua
index f88e70f..fe0ff67 100644
--- a/report-gcc-errors.lua
+++ b/report-gcc-errors.lua
@@ -597,7 +597,7 @@ local problem = false
for i = 1,#files do
local p = files[i][1]
for line in io.lines(p) do
- local match = string.match(line, "implicit function declaration: (%g+)$")
+ local match = string.match(line, "implicit-function-declaration: (%g+)$")
if (not match) or not (good[match]) then
if not problem then
print("*** GCC errors begin ***\n")
https://src.fedoraproject.org/rpms/redhat-rpm-config/c/e8ea694d798bbb73ed3c…