Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885349 - media-libs/libgpod-0.8.3-r5 fails to compile (CLANG-STRICTER-SYSTEM): generic-callout.c:667:49: error: parameter usb_device_number was not declared, defaults to int; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Summary: media-libs/libgpod-0.8.3-r5 fails to compile (CLANG-STRICTER-SYSTEM): generic...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PullRequest
Depends on:
Blocks: clang-16-porting
  Show dependency tree
Reported: 2022-12-10 14:09 UTC by Agostino Sarubbo
Modified: 2022-12-16 05:11 UTC (History)
1 user (show)

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

build.log (build.log,116.71 KB, text/plain)
2022-12-10 14:09 UTC, Agostino Sarubbo
libgpod-0.8.3-no-implicit-int-args.patch (libgpod-0.8.3-no-implicit-int-args.patch,987 bytes, patch)
2022-12-11 01:41 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-10 14:09:43 UTC

Issue: media-libs/libgpod-0.8.3-r5 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-10 14:09:45 UTC
Created attachment 841263 [details]

build log and emerge --info
Comment 2 Peter Levine 2022-12-11 01:41:41 UTC
Created attachment 841311 [details, diff]

Explicitly declares args as gint (aka int).

PR submitted to
Comment 3 Larry the Git Cow gentoo-dev 2022-12-16 05:11:01 UTC
The bug has been closed via the following commit(s):

commit 6ab939e7cafa7b560904b3839eaeabb3adafca7e
Author:     Pascal Jäger <>
AuthorDate: 2022-12-11 19:47:29 +0000
Commit:     Sam James <>
CommitDate: 2022-12-16 05:08:50 +0000

    media-libs/libgpod: fix build for clang16, fix other bugs
    - rm /tmp only when USE=udev
    - call udev_reload when USE=udev
    - fix implicit int
    Signed-off-by: Pascal Jäger <>
    Signed-off-by: Sam James <>

 .../libgpod/files/libgpod-0.8.3-implicit-int.patch | 19 ++++++
 media-libs/libgpod/libgpod-0.8.3-r6.ebuild         | 78 ++++++++++++++++++++++
 2 files changed, 97 insertions(+)