Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895822 - dev-tcltk/tkimg-1.4.14-r1 fails to compile (MUSL-CLANG-SYSTEM): tiffPixar.c:1414:16: error: incompatible integer to pointer conversion assigning to uint8_t (aka unsigned char ) from uint8_t (aka unsigned char) [-Wint-conversion]
Summary: dev-tcltk/tkimg-1.4.14-r1 fails to compile (MUSL-CLANG-SYSTEM): tiffPixar.c:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-22 08:16 UTC by Agostino Sarubbo
Modified: 2023-03-14 20:33 UTC (History)
0 users

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


Attachments
build.log (build.log,267.25 KB, text/plain)
2023-02-22 08:16 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 2023-02-22 08:16:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-tcltk/tkimg-1.4.14-r1 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-22 08:16:31 UTC
Created attachment 853818 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-22 08:16:33 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


jpegtcl.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jpegtcl.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jpegtclStubLib.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pcx.c:705:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pngtcl.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pngtcl.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pngtclStubLib.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tga.c:599:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tifftcl.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tifftcl.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tifftclStubLib.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tiffPixar.c:1414:16: error: incompatible integer to pointer conversion assigning to 'uint8_t *' (aka 'unsigned char *') from 'uint8_t' (aka 'unsigned char') [-Wint-conversion]
Comment 3 Larry the Git Cow gentoo-dev 2023-03-14 20:33:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38f7fe2ccd1202077ddc49cb4de13f77a42f80f1

commit 38f7fe2ccd1202077ddc49cb4de13f77a42f80f1
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-03-14 20:29:02 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-03-14 20:29:49 +0000

    dev-tcltk/tkimg: fix gcc13 compilation
    
    Closes: https://bugs.gentoo.org/895822
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-tcltk/tkimg/files/tkimg-1.4.14-gcc11.patch     | 74 ++++++++++++++++++++++
 ...img-1.4.14-r1.ebuild => tkimg-1.4.14-r2.ebuild} | 17 ++++-
 2 files changed, 90 insertions(+), 1 deletion(-)