Opened 8 months ago

Closed 8 months ago

#69612 closed defect (fixed)

libsecret @0.20.5: error: incompatible function pointer types

Reported by: MStraeten (Martin Straeten) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc:
Port: libsecret

Description

libsecret fails to build

:info:build ../libsecret-0.20.5/libsecret/test-vala-lang.vala:175:51: error: incompatible function pointer types passing 'void (gpointer)' (aka 'void (void *)') to parameter of type 'GTestDataFunc' (aka 'void (*)(const void *)') [-Wincompatible-function-pointer-types]

macos sonoma xcode 15.3

Attachments (1)

main.log (103.4 KB) - added by MStraeten (Martin Straeten) 8 months ago.

Download all attachments as: .zip

Change History (3)

Changed 8 months ago by MStraeten (Martin Straeten)

Attachment: main.log added

comment:1 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: libsecret removed
Summary: libsecret fails to buildlibsecret @0.20.5: error: incompatible function pointer types

See https://gitlab.gnome.org/GNOME/libsecret/-/issues/85 which was closed as a duplicate of https://gitlab.gnome.org/GNOME/vala/-/issues/1413 which is open and mentions https://gitlab.gnome.org/GNOME/vala/-/merge_requests/368 which is still open as well. It looks like the only solution for now is to downgrade this error back to a warning again.

comment:2 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 0a843ecca89a4ac808ad37d2ce6801dd3a42ad63/macports-ports (master):

libsecret: Disable new compiler warning

Closes: #69612

Note: See TracTickets for help on using tickets.