Package Details: wireshark-git 4.3.0rc0+222+gadb4f1d91b-1

Git Clone URL: https://aur.archlinux.org/wireshark-git.git (read-only, click to copy)
Package Base: wireshark-git
Description: A free network protocol analyzer for Unix/Linux. GIT version
Upstream URL: https://www.wireshark.org/
Licenses: GPL2
Conflicts: wireshark, wireshark-cli, wireshark-common, wireshark-gtk, wireshark-qt
Provides: libwireshark.so, libwiretap.so, libwsutil.so, wireshark-cli, wireshark-qt
Replaces: wireshark, wireshark-cli, wireshark-common, wireshark-gtk, wireshark-qt
Submitter: nagy
Maintainer: Lekensteyn
Last Packager: Lekensteyn
Votes: 11
Popularity: 0.84
First Submitted: 2014-07-11 19:05 (UTC)
Last Updated: 2023-10-16 17:12 (UTC)

Required by (30)

Sources (2)

Latest Comments

1 2 3 4 5 6 Next › Last »

Lekensteyn commented on 2023-10-16 17:13 (UTC)

@mohe HTTP/3 support is enabled now. Please note that there are several known issues, including crashes. Hopefully these get fixed by the 4.2 release. If you run into any issues, feel free to report them on https://gitlab.com/wireshark/wireshark/-/issues/16761

mohe commented on 2023-10-15 15:05 (UTC)

Can you please apply the following patch to enable HTTP/3 header dissection:

diff --git a/PKGBUILD b/PKGBUILD
index 2f83e19..8b47816 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Daniel Nagy <danielnagy at gmx de>

 pkgname=wireshark-git
-pkgver=4.1.0rc0+1387+g20a8a8eb0f
+pkgver=4.3.0rc0+215+gf1f6c1369d
 pkgrel=1
 pkgdesc="A free network protocol analyzer for Unix/Linux. GIT version"
 arch=('i686' 'x86_64')
@@ -30,6 +30,7 @@ depends=(
         'krb5'
         #'libsmi'
         'libnghttp2'            # for HTTP/2 dissector
+        'libnghttp3'            # for HTTP/3 dissector
         'minizip'               # for profile zip files in Qt
         'sbc'                   # Bluetooth audio codec in RTP player
         'snappy' 'lz4'          # for cql dissector

solarisfire commented on 2023-05-07 18:01 (UTC)

Tried installing this today and it just falls over during compilation...

[1909/2636] Building C object epan/dfilter/CMakeFiles/dfilter.dir/drange.c.o
FAILED: epan/dfilter/CMakeFiles/dfilter.dir/drange.c.o 
/usr/bin/cc -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DWS_BUILD_DLL -I/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/build -I/home/solarisfire/.cache/yay/wireshark-git/src/wireshark -I/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/include -I/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/epan/dfilter -I/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/build/epan/dfilter -I/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/epan -I/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/tools/lemon -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -fvisibility=hidden  -Wall -Wextra -Wpointer-arith -Wformat-security -fno-strict-overflow -fexcess-precision=fast -Wvla -Wattributes -Wpragmas -Wredundant-decls -Wunreachable-code -Wlogical-op -Wno-error=stringop-overflow= -Wno-error=deprecated-declarations -Wframe-larger-than=32768 -Wno-format-truncation -fdiagnostics-color=always -Wshadow -Wold-style-definition -Wstrict-prototypes -Wno-pointer-sign -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -fmacro-prefix-map=/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/= -fmacro-prefix-map=/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/build/= -fmacro-prefix-map=../= -O3 -DNDEBUG -std=gnu11 -fPIC -Werror -MD -MT epan/dfilter/CMakeFiles/dfilter.dir/drange.c.o -MF epan/dfilter/CMakeFiles/dfilter.dir/drange.c.o.d -o epan/dfilter/CMakeFiles/dfilter.dir/drange.c.o -c /home/solarisfire/.cache/yay/wireshark-git/src/wireshark/epan/dfilter/drange.c
In file included from /home/solarisfire/.cache/yay/wireshark-git/src/wireshark/wsutil/wmem/wmem.h:25,
                 from /home/solarisfire/.cache/yay/wireshark-git/src/wireshark/include/wireshark.h:54,
                 from /home/solarisfire/.cache/yay/wireshark-git/src/wireshark/epan/dfilter/drange.h:16,
                 from /home/solarisfire/.cache/yay/wireshark-git/src/wireshark/epan/dfilter/drange.c:14:
/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/epan/dfilter/drange.c: In function ‘drange_node_from_str’:
/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/wsutil/wmem/wmem_strutl.h:51:31: error: ‘upper’ may be used uninitialized [-Werror=maybe-uninitialized]
   51 | #define ws_strdup_printf(...) wmem_strdup_printf(NULL, __VA_ARGS__)
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/epan/dfilter/drange.c:138:28: note: in expansion of macro ‘ws_strdup_printf’
  138 |                 *err_ptr = ws_strdup_printf("Range %s isn't valid "
      |                            ^~~~~~~~~~~~~~~~
/home/solarisfire/.cache/yay/wireshark-git/src/wireshark/epan/dfilter/drange.c:60:19: note: ‘upper’ was declared here
   60 |     gint32 lower, upper;
      |                   ^~~~~
cc1: all warnings being treated as errors
[1926/2636] Building C object epan/dissectors/CMakeFiles/dissectors.dir/packet-rrc.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

Lekensteyn commented on 2023-01-11 14:20 (UTC)

I've updated the packages with new dependencies and to use Qt6 as that is the default going forward. Thanks for your patience!

@Depau I have added wireshark-cli as "provides" since some packages depend on it. I have not added wireshark-qt, but if it is needed, it could be done. @sandalswallow This package combines the contents of the wireshark-cli and wireshark-qt packages, that's why it conflicts with the wireshark-cli package. @slimb The package repo has been updated to the Gitlab instance, and the Gerrit reference in the comments have been replaced by a reference to the GitHub mirror.

a36233 commented on 2022-03-20 13:09 (UTC) (edited on 2022-03-20 13:11 (UTC) by a36233)

vcs_version.h unchanged.
[29/984] Building C object epan/dissectors/CMakeFiles/dissectors.dir/packet-ngap.c.o
FAILED: epan/dissectors/CMakeFiles/dissectors.dir/packet-ngap.c.o 
/usr/bin/cc -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DWS_BUILD_DLL -DWS_DISABLE_ASSERT -DWS_DISABLE_DEBUG -I/home/brunofernandes/AUR/wireshark-git/src/wireshark/build -I/home/brunofernandes/AUR/wireshark-git/src/wireshark -I/home/brunofernandes/AUR/wireshark-git/src/wireshark/include -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/libxml2 -isystem /home/brunofernandes/AUR/wireshark-git/src/wireshark/build/epan/dissectors -isystem /home/brunofernandes/AUR/wireshark-git/src/wireshark/epan/dissectors -isystem /home/brunofernandes/AUR/wireshark-git/src/wireshark/epan -fvisibility=hidden  -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wredundant-decls -Wno-error=maybe-uninitialized -Wno-format-truncation -Wframe-larger-than=32768 -fdiagnostics-color=always -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -fmacro-prefix-map=/home/brunofernandes/AUR/wireshark-git/src/wireshark/= -fmacro-prefix-map=/home/brunofernandes/AUR/wireshark-git/src/wireshark/build/= -fmacro-prefix-map=../= -O3 -DNDEBUG -fPIC -std=gnu11 -Werror -MD -MT epan/dissectors/CMakeFiles/dissectors.dir/packet-ngap.c.o -MF epan/dissectors/CMakeFiles/dissectors.dir/packet-ngap.c.o.d -o epan/dissectors/CMakeFiles/dissectors.dir/packet-ngap.c.o -c /home/brunofernandes/AUR/wireshark-git/src/wireshark/epan/dissectors/packet-ngap.c
./asn1/ngap/ngap.cnf: In function ‘dissect_ngap_SourceToTarget_TransparentContainer.constprop’:
./asn1/ngap/packet-ngap-template.c:666:29: error: variable ‘ngap_data’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
cc1: all warnings being treated as errors
[34/984] Building C object epan/dissectors/CMakeFiles/dissectors.dir/packet-rrc.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

kiosion commented on 2022-02-11 19:28 (UTC)

Having the same issue as @Linuxman, unable to build using either Ninja (the default) or by changing to Cmake. Get build failures either way.

sandalswallow commented on 2021-07-12 05:41 (UTC)

how come this package conflict with "wireshark-cli"

depau commented on 2021-03-08 09:30 (UTC) (edited on 2021-03-08 09:31 (UTC) by depau)

Hi, Could you please add the packages that this package conflicts with to provides as well?

Without it this packages breaks dependencies for other packages that depend on, for example, only wireshark-cli and not the whole thing.

provides=('wireshark' 'wireshark-common' 'wireshark-gtk' 'wireshark-qt' 'wireshark-cli')

Linuxman commented on 2020-12-15 07:55 (UTC) (edited on 2020-12-15 07:55 (UTC) by Linuxman)

Am i doing smth wrong?

[2208/2477] Building CXX object ui/qt/CMakeFiles/qtui.dir/print_dialog.cpp.o FAILED: ui/qt/CMakeFiles/qtui.dir/print_dialog.cpp.o /usr/bin/c++ -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -Iui/qt/qtui_autogen/include -I. -I../ -Iui/qt -I../ui/qt -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/qt -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtMultimedia -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wextra-semi -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fmacro-prefix-map=/home/linuxtoxa/.cache/yay/wireshark-git/src/wireshark/= -fmacro-prefix-map=/home/linuxtoxa/.cache/yay/wireshark-git/src/wireshark/build/= -fmacro-prefix-map=../= -O3 -DNDEBUG -fPIC -std=c++11 -Werror -MD -MT ui/qt/CMakeFiles/qtui.dir/print_dialog.cpp.o -MF ui/qt/CMakeFiles/qtui.dir/print_dialog.cpp.o.d -o ui/qt/CMakeFiles/qtui.dir/print_dialog.cpp.o -c ../ui/qt/print_dialog.cpp ../ui/qt/print_dialog.cpp: In member function ‘gboolean PrintDialog::printHeader()’: ../ui/qt/print_dialog.cpp:139:43: error: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Werror=deprecated-declarations] 139 | int page_top = cur_printer_->pageRect().top(); | ^ In file included from /usr/include/qt/QtPrintSupport/QPrinter:1, from ../ui/qt/print_dialog.h:20, from ../ui/qt/print_dialog.cpp:10: /usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here 259 | QRect pageRect() const; | ^~~~~~~~ ../ui/qt/print_dialog.cpp: In member function ‘gboolean PrintDialog::printLine(int, const char)’: ../ui/qt/print_dialog.cpp:174:66: error: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Werror=deprecated-declarations] 174 | out_rect = cur_painter_->boundingRect(cur_printer_->pageRect(), Qt::TextWordWrap, out_line); | ^ In file included from /usr/include/qt/QtPrintSupport/QPrinter:1, from ../ui/qt/print_dialog.h:20, from ../ui/qt/print_dialog.cpp:10: /usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here 259 | QRect pageRect() const; | ^~~~~~~~ ../ui/qt/print_dialog.cpp:176:32: error: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Werror=deprecated-declarations] 176 | if (cur_printer_->pageRect().height() < page_pos_ + out_rect.height()) { | ^ In file included from /usr/include/qt/QtPrintSupport/QPrinter:1, from ../ui/qt/print_dialog.h:20, from ../ui/qt/print_dialog.cpp:10: /usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here 259 | QRect pageRect() const; | ^~~~~~~~ ../ui/qt/print_dialog.cpp: In member function ‘void PrintDialog::printPackets(QPrinter, bool)’: ../ui/qt/print_dialog.cpp:236:35: error: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Werror=deprecated-declarations] 236 | page_pos_ = printer->pageRect().top(); | ^ In file included from /usr/include/qt/QtPrintSupport/QPrinter:1, from ../ui/qt/print_dialog.h:20, from ../ui/qt/print_dialog.cpp:10: /usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here 259 | QRect pageRect() const; | ^~~~~~~~ cc1plus: all warnings being treated as errors [2217/2477] Building CXX object ui/qt/CMakeFiles/qtui.dir/main_window_slots.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting... error making: wireshark-git

slimb commented on 2020-10-25 22:26 (UTC)

Can you change the source to gitlab? https://gitlab.com/wireshark/wireshark The github repo is a mirror of their gitlab