Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558084 - 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]
Summary: net-analyzer/wireshark-1.12.7 with clang-3.6.2-r100 - main_menubar.c:538:25: ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2015-08-18 12:22 UTC by Julian Ospald
Modified: 2016-01-28 11:05 UTC (History)
0 users

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


Attachments
1439899795-install-net-analyzer_wireshark-1.12.7:0::gentoo.out.xz (1439899795-install-net-analyzer_wireshark-1.12.7:0::gentoo.out.xz,68.81 KB, application/x-xz)
2015-08-18 12:22 UTC, Julian Ospald
Details
cave-info.txt (cave-info.txt,23.24 KB, text/plain)
2015-08-18 12:23 UTC, Julian Ospald
Details

Note You need to log in before you can comment on or make changes to this bug.
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.