Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898058 - net-misc/wget2-2.0.1-r2 fails to compile (MUSL-CLANG-SYSTEM): thread.c:292:9: error: incompatible pointer to integer conversion returning pthread_t (aka struct __pthread ) from a function with result type wget_thread_id (aka unsigned long) [-Wint-convers
Summary: net-misc/wget2-2.0.1-r2 fails to compile (MUSL-CLANG-SYSTEM): thread.c:292:9:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-27 09:06 UTC by Agostino Sarubbo
Modified: 2024-10-30 19:58 UTC (History)
0 users

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


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

Issue: net-misc/wget2-2.0.1-r2 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:06:56 UTC
Created attachment 854918 [details]
build.log

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


configure: WARNING: *** libhsts was not found.
thread.c:292:9: error: incompatible pointer to integer conversion returning 'pthread_t' (aka 'struct __pthread *') from a function with result type 'wget_thread_id' (aka 'unsigned long') [-Wint-conversion]
Comment 3 Larry the Git Cow gentoo-dev 2023-06-13 14:16:27 UTC
The bug has been closed via the following commit(s):

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

commit e4fbab63c9307ea2361f125a6f51303e0b146e15
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-05-29 08:53:31 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2023-06-13 14:12:05 +0000

    net-misc/wget2: Fix incompatible pointer to integer conversion
    
    Closes: https://bugs.gentoo.org/898058
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31207
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../wget2-fix-build-issues-with-clang-16.patch     | 28 +++++++
 net-misc/wget2/wget2-2.0.1-r3.ebuild               | 96 ++++++++++++++++++++++
 2 files changed, 124 insertions(+)