Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 558084

Summary: net-analyzer/wireshark-1.12.7 with clang-3.6.2-r100 - main_menubar.c:538:25: error: 'gtk_ui_manager_get_widget' is deprecated [-Werror,-Wdeprecated-declarations]
Product: Gentoo Linux Reporter: Julian Ospald <hasufell>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: 1439899795-install-net-analyzer_wireshark-1.12.7:0::gentoo.out.xz
cave-info.txt

Description Julian Ospald 2015-08-18 12:22:38 UTC
Created attachment 409354 [details]
1439899795-install-net-analyzer_wireshark-1.12.7:0::gentoo.out.xz

works with gcc-4.9 though
Comment 1 Julian Ospald 2015-08-18 12:23:07 UTC
Created attachment 409356 [details]
cave-info.txt
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-03 06:10:58 UTC
I don't see where the wireshark build system adds -Werror, so I assume this is clang's doing.
Comment 3 Julian Ospald 2015-10-03 09:17:14 UTC
(In reply to Jeroen Roovers from comment #2)
> I don't see where the wireshark build system adds -Werror, so I assume this
> is clang's doing.

???

Clang does not add random flags to compilation. It only can be the build system. Also see cave-info.txt for the CFLAGS that were active during the build.
Comment 4 Julian Ospald 2015-10-03 09:50:12 UTC
it could be related to "-Wall" being different on clang and gcc, but "-Wall" never imples "-Werror", which can also be seen in the build log

another possibility could be broken configure checks/macros
Comment 5 Julian Ospald 2015-10-03 12:43:14 UTC
wireshark-1.11.3-gtk-deprecated-warnings.patch is causing this

The upstream version does not suffer from this bug.
Comment 6 Fabio Scaccabarozzi 2016-01-25 18:52:50 UTC
The version of wireshark from this bug has been removed from the tree, and 2.0.1 is in place as stable now.
Wireshark 2.0.1 compiles and tests fine with clang-3.7.1-r100.
I think this bug can be closed as wontfix.