Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885711 - net-im/dino-0.3.0 fails to compile (CLANG-STRICTER-SYSTEM): cipher_converter.vala:4:17: error: incompatible function pointer types assigning to GConverterResult ()(GConverter , const void , gsize, void , gsize, GConverterFlags, gsize , gsize , GError ) (
Summary: net-im/dino-0.3.0 fails to compile (CLANG-STRICTER-SYSTEM): cipher_converter....
Status: CONFIRMED
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:
Depends on: 892708
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-13 04:00 UTC by Agostino Sarubbo
Modified: 2023-02-24 16:35 UTC (History)
0 users

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


Attachments
build.log (build.log,157.37 KB, text/plain)
2022-12-13 04: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 2022-12-13 04:00:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-im/dino-0.3.0 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(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:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-13 04:01:01 UTC
Created attachment 842339 [details]
build.log

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


-- Could NOT find WebRTCAudioProcessing (missing: WebRTCAudioProcessing_LIBRARY) (Required is at least version "0.2")
-- WebRTCAudioProcessing not found, build without voice pre-processing!
FAILED: crypto-vala/CMakeFiles/crypto-vala.dir/src/cipher_converter.c.o 
FAILED: plugins/signal-protocol/CMakeFiles/signal-protocol-vala.dir/src/store.c.o 
/var/tmp/portage/net-im/dino-0.3.0/work/dino-0.3.0/crypto-vala/src/cipher_converter.vala:4:17: error: incompatible function pointer types assigning to 'GConverterResult (*)(GConverter *, const void *, gsize, void *, gsize, GConverterFlags, gsize *, gsize *, GError **)' (aka 'GConverterResult (*)(struct _GConverter *, const void *, unsigned long, void *, unsigned long, GConverterFlags, unsigned long *, unsigned long *, struct _GError **)') from 'GConverterResult (*)(GConverter *, guint8 *, gsize, guint8 *, gsize, GConverterFlags, gsize *, gsize *, GError **)' (aka 'GConverterResult (*)(struct _GConverter *, unsigned char *, unsigned long, unsigned char *, unsigned long, GConverterFlags, unsigned long *, unsigned long *, struct _GError **)') [-Werror,-Wincompatible-function-pointer-types]
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-12 01:03:38 UTC
This may be fixed by the dev-lang/vala-0.56.4 bump today.