Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885697 - net-dialup/ppp-2.4.9-r8 fails to compile (CLANG-STRICTER-SYSTEM): mplscp.c:42:3: error: incompatible function pointer types initializing int ()(fsm , u_char , int, int) (aka int ()(struct fsm , unsigned char , int, int)) with an expression of type int (f
Summary: net-dialup/ppp-2.4.9-r8 fails to compile (CLANG-STRICTER-SYSTEM): mplscp.c:42...
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
: 902855 (view as bug list)
Depends on:
Blocks: clang-16-porting
  Show dependency tree
Reported: 2022-12-13 03:43 UTC by Agostino Sarubbo
Modified: 2023-03-24 02:34 UTC (History)
1 user (show)

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

build.log (build.log,78.66 KB, text/plain)
2022-12-13 03:43 UTC, Agostino Sarubbo

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

Issue: net-dialup/ppp-2.4.9-r8 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-13 03:43:43 UTC
Created attachment 842329 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-13 03:43:45 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:

./configure: line 10: CC: command not found
./configure: line 23: CFLAGS: command not found
mplscp.c:42:3: error: incompatible function pointer types initializing 'int (*)(fsm *, u_char *, int, int)' (aka 'int (*)(struct fsm *, unsigned char *, int, int)') with an expression of type 'int (fsm *, u_char *, int)' (aka 'int (struct fsm *, unsigned char *, int)') [-Werror,-Wincompatible-function-pointer-types]
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-24 02:34:21 UTC
*** Bug 902855 has been marked as a duplicate of this bug. ***