Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923594 - dev-embedded/raspberrypi-utils-0_p20240115 adds -Werror flag on its own
Summary: dev-embedded/raspberrypi-utils-0_p20240115 adds -Werror flag on its own
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2024-02-02 08:12 UTC by Agostino Sarubbo
Modified: 2024-02-09 22:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,59.57 KB, text/plain)
2024-02-02 08:12 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-02 08:12:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-embedded/raspberrypi-utils-0_p20240115 adds -Werror flag on its own.
Discovered on: arm64 (internal ref: tinderbox_arm64)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0035
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-02 08:12:41 UTC
Created attachment 884002 [details]
build.log

build log and emerge --info
Comment 2 Cănărău Constantin 2024-02-07 20:33:55 UTC
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)
Comment 3 Larry the Git Cow gentoo-dev 2024-02-09 22:29:04 UTC
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(+)