Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878899 - media-video/handbrake-1.5.1 fails to compile (lto): error: type of 'combo_search_key_press_cb' does not match original declaration [-Werror=lto-type-mismatch]
Summary: media-video/handbrake-1.5.1 fails to compile (lto): error: type of 'combo_sea...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: James Beddek
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-31 17:21 UTC by Kostadin
Modified: 2022-10-31 23:05 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.txt,7.44 KB, text/plain)
2022-10-31 17:21 UTC, Kostadin
Details
build.log (build.log,117.21 KB, text/x-log)
2022-10-31 17:21 UTC, Kostadin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin 2022-10-31 17:21:03 UTC
Created attachment 826245 [details]
emerge --info

media-video/handbrake-1.5.1 fails to compile with CFLAGS=-flto=auto -Werror=lto-type-mismatch -Werror=odr -Werror=strict-aliasing



/var/tmp/portage/media-video/handbrake-1.5.1/work/HandBrake-1.5.1/build/../gtk/src/main.c:326:29: error: type of 'presets_list_selection_changed_cb' does not match original declaration [-Werror=lto-type-mismatch]
  326 | extern G_MODULE_EXPORT void presets_list_selection_changed_cb(void);
      |                             ^
/var/tmp/portage/media-video/handbrake-1.5.1/work/HandBrake-1.5.1/build/../gtk/src/presets.c:2953:1: note: type mismatch in parameter 1
 2953 | presets_list_selection_changed_cb(GtkTreeSelection *selection, signal_user_data_t *ud)
      | ^
/var/tmp/portage/media-video/handbrake-1.5.1/work/HandBrake-1.5.1/build/../gtk/src/presets.c:2953:1: note: 'presets_list_selection_changed_cb' was previously declared here
/var/tmp/portage/media-video/handbrake-1.5.1/work/HandBrake-1.5.1/build/../gtk/src/main.c:330:13: error: type of 'presets_row_expanded_cb' does not match original declaration [-Werror=lto-type-mismatch]
  330 | extern void presets_row_expanded_cb(void);
      |             ^
Comment 1 Kostadin 2022-10-31 17:21:22 UTC
Created attachment 826247 [details]
build.log