Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898860 - www-apache/mod_qos-11.73 fails to compile (MUSL-CLANG-SYSTEM): mod_qos.c:1915:12: error: incompatible pointer to integer conversion assigning to unsigned int from apr_os_thread_t (aka struct __pthread ) [-Wint-conversion]
Summary: www-apache/mod_qos-11.73 fails to compile (MUSL-CLANG-SYSTEM): mod_qos.c:1915...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PullRequest
: 887195 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-03-02 10:01 UTC by Agostino Sarubbo
Modified: 2023-09-12 05:42 UTC (History)
0 users

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


Attachments
build.log (build.log,56.87 KB, text/plain)
2023-03-02 10:01 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-03-02 10:01:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: www-apache/mod_qos-11.73 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-03-02 10:01:44 UTC
Created attachment 855734 [details]
build.log

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


apxs:Error: Command failed with rc=65536
mod_qos.c:1915:12: error: incompatible pointer to integer conversion assigning to 'unsigned int' from 'apr_os_thread_t' (aka 'struct __pthread *') [-Wint-conversion]
Comment 3 Craig Andrews gentoo-dev 2023-07-05 18:18:04 UTC
I submitted the patch upstream: https://sourceforge.net/p/mod-qos/discussion/697421/thread/9ddcdb5e7e/
Comment 4 Larry the Git Cow gentoo-dev 2023-07-05 18:19:29 UTC
The bug has been closed via the following commit(s):

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

commit f074eba281133487bad523cc1b460a42ac3fd225
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-06-05 14:57:25 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2023-07-05 18:18:33 +0000

    www-apache/mod_qos: Fix incompatible pointer to integer conversion
    
    Closes: https://bugs.gentoo.org/898860
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31321
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 ...incompatible-pointer-to-integer-conversion.diff | 12 ++++
 www-apache/mod_qos/mod_qos-11.74-r1.ebuild         | 66 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-12 05:42:58 UTC
*** Bug 887195 has been marked as a duplicate of this bug. ***