Summary: | dev-embedded/raspberrypi-utils-0_p20240115 adds -Werror flag on its own | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | James Le Cuirot <chewi> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | canarauc, chewi, esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/raspberrypi/utils/pull/69 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 260867 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2024-02-02 08:12:39 UTC
Created attachment 884002 [details]
build.log
build log and emerge --info
Naive patch: --- a/dtmerge/CMakeLists.txt.orig 2024-02-02 17:03:07.000000000 +0200 +++ b/dtmerge/CMakeLists.txt 2024-02-03 19:49:43.299757158 +0200 @@ -5,7 +5,7 @@ #set project name project(dtmerge) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra") if (CMAKE_COMPILER_IS_GNUCC) add_definitions (-ffunction-sections) --- a/eeptools/CMakeLists.txt.orig 2024-02-02 17:03:07.000000000 +0200 +++ b/eeptools/CMakeLists.txt 2024-02-03 19:51:20.283511124 +0200 @@ -5,7 +5,7 @@ #set project name project(eeptools) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra") if (CMAKE_COMPILER_IS_GNUCC) add_definitions (-ffunction-sections) --- a/pinctrl/CMakeLists.txt.orig 2024-02-02 17:03:07.000000000 +0200 +++ b/pinctrl/CMakeLists.txt 2024-02-03 19:52:10.279382208 +0200 @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.10...3.27) include(GNUInstallDirs) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -pedantic") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic") #set project name project(pinctrl) --- a/vclog/CMakeLists.txt.orig 2024-02-02 17:03:07.000000000 +0200 +++ b/vclog/CMakeLists.txt 2024-02-03 19:53:57.347102088 +0200 @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.10...3.27) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -pedantic") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic") #set project name project(vclog) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f3bc2e56cf2051e74015d3f40b66f334ac7702 commit 48f3bc2e56cf2051e74015d3f40b66f334ac7702 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-02-09 22:27:32 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-02-09 22:28:50 +0000 dev-embedded/raspberrypi-utils: Patch to drop -Werror flag Closes: https://bugs.gentoo.org/923594 Signed-off-by: James Le Cuirot <chewi@gentoo.org> .../files/raspberrypi-utils-werror.patch | 77 ++++++++++++++++++++++ .../raspberrypi-utils-0_p20240203.ebuild | 4 ++ 2 files changed, 81 insertions(+) |