Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885539 - media-tv/linuxtv-dvb-apps-1.1.1.20140321-r1 fails to compile (CLANG-STRICTER-SYSTEM): dvbdate.c:313:11: error: incompatible pointer to integer conversion assigning to __time_t (aka long) from time_t (aka long ); dereference with [-Wint-conversion]
Summary: media-tv/linuxtv-dvb-apps-1.1.1.20140321-r1 fails to compile (CLANG-STRICTER-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-12 10:02 UTC by Agostino Sarubbo
Modified: 2023-04-22 15:20 UTC (History)
0 users

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


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

Issue: media-tv/linuxtv-dvb-apps-1.1.1.20140321-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-12 10:02:21 UTC
Created attachment 841663 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-04-22 15:20:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81e99f1c753d1cb564be29b22dcd8927830c4b9a

commit 81e99f1c753d1cb564be29b22dcd8927830c4b9a
Author:     Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
AuthorDate: 2023-04-22 15:02:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-22 15:19:28 +0000

    media-tv/linuxtv-dvb-apps: fix build w/ -Wint-conversion
    
    Closes: https://bugs.gentoo.org/885539
    Closes: https://github.com/gentoo/gentoo/pull/30703
    Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/linuxtv-dvb-apps-1.1.1.20140321-dvbdate.patch       | 11 +++++++++++
 ...21-r1.ebuild => linuxtv-dvb-apps-1.1.1.20140321-r2.ebuild} |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)