Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898064 - net-nds/gssproxy-0.9.1 fails to compile (MUSL-CLANG-SYSTEM): gp_util.c:92:9: error: incompatible integer to pointer conversion assigning to char from int [-Wint-conversion]
Summary: net-nds/gssproxy-0.9.1 fails to compile (MUSL-CLANG-SYSTEM): gp_util.c:92:9: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-27 09:07 UTC by Agostino Sarubbo
Modified: 2023-07-23 01:55 UTC (History)
0 users

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


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

Issue: net-nds/gssproxy-0.9.1 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-27 09:07:10 UTC
Created attachment 854924 [details]
build.log

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


src/client/gpm_common.c:729:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
src/client/gpm_common.c:768:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
src/gp_rpc_process.c:207:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
src/gp_rpc_process.c:294:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
src/gp_util.c:92:9: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
Comment 3 Larry the Git Cow gentoo-dev 2023-07-23 01:55:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1fa5706559e41c9fce366a69291e7cbc7b86c3

commit 1a1fa5706559e41c9fce366a69291e7cbc7b86c3
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-05-31 13:35:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-23 01:54:59 +0000

    net-nds/gssproxy: Fix build with musl llvm
    
    Upstream-Commit: https://github.com/gssapi/gssproxy/commit/f6ab3193e64ecc9db4d253b6dd99991f461b6081
    Closes: https://bugs.gentoo.org/898064
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31238
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gssproxy-0.9.1-fix-musl-llvm16-build.patch     |  30 ++++++
 net-nds/gssproxy/gssproxy-0.9.1-r1.ebuild          | 102 +++++++++++++++++++++
 2 files changed, 132 insertions(+)