Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886601 - sci-visualization/gr-0.53.0-r1 fails to compile (CLANG-STRICTER-SYSTEM): gr.c:9975:11: error: incompatible integer to pointer conversion assigning to char from int [-Wint-conversion]
Summary: sci-visualization/gr-0.53.0-r1 fails to compile (CLANG-STRICTER-SYSTEM): gr.c...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-18 10:10 UTC by Agostino Sarubbo
Modified: 2023-05-06 17:00 UTC (History)
0 users

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


Attachments
build.log (build.log,87.92 KB, text/plain)
2022-12-18 10:10 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 2022-12-18 10:10:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-visualization/gr-0.53.0-r1 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-18 10:10:51 UTC
Created attachment 843355 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-18 10:10:52 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Cairo (missing: CAIRO_LIBRARY) (found version "1.17.6")
-- Could NOT find Ffmpeg (missing: FFMPEG_TEST_COMPILED FFMPEG_LIBRARY_AVFORMAT FFMPEG_LIBRARY_AVCODEC FFMPEG_LIBRARY_SWSCALE FFMPEG_LIBRARY_AVUTIL) (Required is at least version "57.48.100")
-- Could NOT find Freetype (missing: FREETYPE_LIBRARY) (found version "2.12.1")
-- Could NOT find Gs (missing: GS_LIBRARY GS_INCLUDE_DIR GS_VERSION_STRING) 
-- Could NOT find Qt5Network (missing: Qt5Network_DIR)
-- Could NOT find Qt5Widgets (missing: Qt5Widgets_DIR)
-- Could NOT find Tiff (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR TIFF_VERSION_STRING) 
-- Could NOT find Zeromq (missing: ZEROMQ_LIBRARY ZEROMQ_INCLUDE_DIR ZEROMQ_VERSION_STRING) (Required is exact version "4.0")
FAILED: CMakeFiles/gr_static.dir/lib/gr/gr.c.o 
/var/tmp/portage/sci-visualization/gr-0.53.0-r1/work/gr-0.53.0/lib/gr/gr.c:9975:11: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2023-05-06 17:00:01 UTC
Version is gone