Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894338 - app-benchmarks/siege-4.1.6 fails to compile (MUSL-CLANG-SYSTEM): cookies.c:69:11: error: incompatible pointer to integer conversion initializing size_t (aka unsigned long) with an expression of type pthread_t (aka struct __pthread ) [-Wint-conversion]
Summary: app-benchmarks/siege-4.1.6 fails to compile (MUSL-CLANG-SYSTEM): cookies.c:69...
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: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-14 08:46 UTC by Agostino Sarubbo
Modified: 2023-10-20 07:03 UTC (History)
0 users

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


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

Issue: app-benchmarks/siege-4.1.6 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-14 08:46:16 UTC
Created attachment 851028 [details]
build.log

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


browser.c:229:36: warning: passing arguments to 'new_page' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
browser.c:977:28: warning: passing arguments to 'new_date' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cache.c:129:43: warning: passing arguments to 'new_date' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cache.c:132:43: warning: passing arguments to 'new_date' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
crew.c:141:26: 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]
cookies.c:69:11: error: incompatible pointer to integer conversion initializing 'size_t' (aka 'unsigned long') with an expression of type 'pthread_t' (aka 'struct __pthread *') [-Wint-conversion]
Comment 3 Larry the Git Cow gentoo-dev 2023-10-20 07:03:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390b6e304492abc975895a83359042db7beaeb22

commit 390b6e304492abc975895a83359042db7beaeb22
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-09-08 15:52:46 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-10-20 06:57:22 +0000

    app-benchmarks/siege: Fix incompatible pointer to integer conversion
    
    Closes: https://bugs.gentoo.org/894338
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32690
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/siege-4.1.6-clang16-build-fix.patch      | 32 +++++++++++++
 app-benchmarks/siege/siege-4.1.6-r1.ebuild         | 55 ++++++++++++++++++++++
 2 files changed, 87 insertions(+)