Package Details: sngrep 1.8.1-1

Git Clone URL: https://aur.archlinux.org/sngrep.git (read-only, click to copy)
Package Base: sngrep
Description: A tool for displaying SIP call message flows from a terminal
Upstream URL: https://github.com/irontec/sngrep
Keywords: sip voip
Licenses: GPL
Conflicts: sngrep
Provides: sngrep
Submitter: w1ngnutt
Maintainer: SycoLTH
Last Packager: SycoLTH
Votes: 12
Popularity: 0.019676
First Submitted: 2015-04-28 13:29 (UTC)
Last Updated: 2024-04-10 10:16 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

hafkensite commented on 2022-03-04 06:57 (UTC)

Seems to be an issue with the latest ncurses version, when closing the conversation view I got a segfault from within the ncurses del_panel call. This issue has been reported and fixed, but no new release has been published.

https://github.com/irontec/sngrep/issues/389

rakotomandimby commented on 2021-11-10 16:20 (UTC)

The cause of the failure is the CFLAGS in /etc/makepkg.conf

Initially it is:

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
    -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
    -fstack-clash-protection -fcf-protection"

I removed the -Werror=format-security so that it is

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
    -Wp,-D_FORTIFY_SOURCE=2 -Wformat \
    -fstack-clash-protection -fcf-protection"

and we are done.

I keep the CFLAGS without the -Werror=format-security for the moment

rakotomandimby commented on 2021-11-10 15:50 (UTC)

I get this error:

curses/ui_manager.c: In function ‘dialog_confirm’:
curses/ui_manager.c:668:5: error: format not a string literal and no format arguments [-Werror=format-security]
  668 |     mvwprintw(dialog_win, 1, (width - strlen(title)) / 2, title);
      |     ^~~~~~~~~

Apparently Debian Sid also gets: https://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg601634.html

I am looking for a solution

cypa commented on 2020-08-28 04:37 (UTC)

looks like it works, but why it is not in the main repo? noone use arch as SIP platform?