Package Details: xplico 1.2.2-3

Git Clone URL: https://aur.archlinux.org/xplico.git (read-only, click to copy)
Package Base: xplico
Description: Internet Traffic Decoder. Network Forensic Analysis Tool (NFAT)
Upstream URL: http://www.xplico.org/
Licenses: GPL
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 1
Popularity: 0.000000
First Submitted: 2017-01-06 14:32 (UTC)
Last Updated: 2023-10-03 16:56 (UTC)

Latest Comments

D3vil0p3r commented on 2024-04-21 10:51 (UTC)

Getting this error during building:

cc -rdynamic -I/tmp/makepkg/xplico/src/xplico-v.1.2.2/include -I/tmp/makepkg/xplico/src/xplico-v.1.2.2/common/include -I/tmp/makepkg/xplico/src/xplico-v.1.2.2/dissectors/include -I/tmp/makepkg/xplico/src/xplico-v.1.2.2/capt_dissectors/include -I/tmp/makepkg/xplico/src/xplico-v.1.2.2/dispatch/include  -Wall -fPIC -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DXPL_PEDANTIC_STATISTICS=1 -g -ggdb -O0 -DFTBL_SORT=1 -DXPL_CHECK_CODE=1 -DXPL_X86=1 -DGEOIP_LIBRARY=1 -I/usr/include/ndpi -DLOG_DIS_VAR_NAME=dis_tcp_grb_log_id   -c -o tcp_garbage.o tcp_garbage.c
tcp_garbage.c:101:86: warning: ‘struct ndpi_id_struct’ declared inside parameter list will not be visible outside of this definition or declaration
  101 | static ndpi_protocol nDPIPacket(packet *pkt, struct ndpi_flow_struct *l7flow, struct ndpi_id_struct *l7src, struct ndpi_id_struct *l7dst, bool ipv4)
      |                                                                                      ^~~~~~~~~~~~~~
tcp_garbage.c: In function ‘nDPIPacket’:
tcp_garbage.c:128:17: error: too many arguments to function ‘ndpi_detection_process_packet’
  128 |     l7prot_id = ndpi_detection_process_packet(ndpi, l7flow, data, size, when, l7src, l7dst);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libndpi/ndpi_main.h:31,
                 from tcp_garbage.c:51:
/usr/include/libndpi/ndpi_api.h:317:17: note: declared here
  317 |   ndpi_protocol ndpi_detection_process_packet(struct ndpi_detection_module_struct *ndpi_struct,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tcp_garbage.c: In function ‘TcpGrbDissector’:
tcp_garbage.c:673:57: warning: passing argument 3 of ‘nDPIPacket’ from incompatible pointer type [-Wincompatible-pointer-types]
  673 |                     l7prot_id = nDPIPacket(pkt, l7flow, l7src, l7dst, ipv4);
      |                                                         ^~~~~
      |                                                         |
      |                                                         struct ndpi_id_struct *
tcp_garbage.c:101:102: note: expected ‘struct ndpi_id_struct *’ but argument is of type ‘struct ndpi_id_struct *’
  101 | static ndpi_protocol nDPIPacket(packet *pkt, struct ndpi_flow_struct *l7flow, struct ndpi_id_struct *l7src, struct ndpi_id_struct *l7dst, bool ipv4)
      |                                                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
tcp_garbage.c:673:64: warning: passing argument 4 of ‘nDPIPacket’ from incompatible pointer type [-Wincompatible-pointer-types]
  673 |                     l7prot_id = nDPIPacket(pkt, l7flow, l7src, l7dst, ipv4);
      |                                                                ^~~~~
      |                                                                |
      |                                                                struct ndpi_id_struct *
tcp_garbage.c:101:132: note: expected ‘struct ndpi_id_struct *’ but argument is of type ‘struct ndpi_id_struct *’
  101 | PIPacket(packet *pkt, struct ndpi_flow_struct *l7flow, struct ndpi_id_struct *l7src, struct ndpi_id_struct *l7dst, bool ipv4)
      |                                                                                      ~~~~~~~~~~~~~~~~~~~~~~~^~~~~

tcp_garbage.c:676:57: warning: passing argument 3 of ‘nDPIPacket’ from incompatible pointer type [-Wincompatible-pointer-types]
  676 |                     l7prot_id = nDPIPacket(pkt, l7flow, l7dst, l7src, ipv4);
      |                                                         ^~~~~
      |                                                         |
      |                                                         struct ndpi_id_struct *
tcp_garbage.c:101:102: note: expected ‘struct ndpi_id_struct *’ but argument is of type ‘struct ndpi_id_struct *’
  101 | static ndpi_protocol nDPIPacket(packet *pkt, struct ndpi_flow_struct *l7flow, struct ndpi_id_struct *l7src, struct ndpi_id_struct *l7dst, bool ipv4)
      |                                                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
tcp_garbage.c:676:64: warning: passing argument 4 of ‘nDPIPacket’ from incompatible pointer type [-Wincompatible-pointer-types]
  676 |                     l7prot_id = nDPIPacket(pkt, l7flow, l7dst, l7src, ipv4);
      |                                                                ^~~~~
      |                                                                |
      |                                                                struct ndpi_id_struct *
tcp_garbage.c:101:132: note: expected ‘struct ndpi_id_struct *’ but argument is of type ‘struct ndpi_id_struct *’
  101 | PIPacket(packet *pkt, struct ndpi_flow_struct *l7flow, struct ndpi_id_struct *l7src, struct ndpi_id_struct *l7dst, bool ipv4)
      |                                                                                      ~~~~~~~~~~~~~~~~~~~~~~~^~~~~

tcp_garbage.c: In function ‘DissecRegist’:
tcp_garbage.c:1136:20: warning: assignment to ‘ProtVerify’ {aka ‘unsigned char (*)(int)’} from incompatible pointer type ‘_Bool (*)(int)’ [-Wincompatible-pointer-types]
 1136 |     hdep.ProtCheck = TcpGrbCheck;
      |                    ^
tcp_garbage.c: In function ‘DissectInit’:
tcp_garbage.c:1262:23: warning: implicit declaration of function ‘ndpi_detection_get_sizeof_ndpi_id_struct’; did you mean ‘ndpi_detection_get_sizeof_ndpi_flow_struct’? [-Wimplicit-function-declaration]
 1262 |     ndpi_proto_size = ndpi_detection_get_sizeof_ndpi_id_struct();
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       ndpi_detection_get_sizeof_ndpi_flow_struct
make[2]: *** [<builtin>: tcp_garbage.o] Error 1
make[2]: Leaving directory '/tmp/makepkg/xplico/src/xplico-v.1.2.2/dissectors/tcp_grbg'
make[1]: *** [Makefile:52: subdir] Error 1
make[1]: Leaving directory '/tmp/makepkg/xplico/src/xplico-v.1.2.2/dissectors'
make: *** [Makefile:149: subdir] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'xplico-1.2.2-3': 
error: packages failed to build: xplico-1.2.2-3

Please fix.

MarsSeed commented on 2023-08-26 13:43 (UTC)

Please make this depend on php-mcrypt instead of pecl-mcrypt. Thank you in advance.

hecsa commented on 2021-02-06 06:32 (UTC)

Hi, When trying to install I get this message:

make[2]: Entering directory '/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/dissectors/tcp_grbg' cc -M -rdynamic -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/common/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/dissectors/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/capt_dissectors/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/dispatch/include -Wall -fPIC -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DXPL_PEDANTIC_STATISTICS=1 -g -ggdb -O0 -DFTBL_SORT=1 -DXPL_CHECK_CODE=1 -DXPL_X86=1 -DGEOIP_LIBRARY=1 -I/usr/include/ndpi -DLOG_DIS_VAR_NAME=dis_tcp_grb_log_id dis_log.c tcp_garbage.c > .depend tcp_garbage.c:51:10: fatal error: libndpi/ndpi_main.h: No such file or directory 51 | #include <libndpi/ndpi_main.h> | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cc -rdynamic -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/common/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/dissectors/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/capt_dissectors/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/dispatch/include -Wall -fPIC -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DXPL_PEDANTIC_STATISTICS=1 -g -ggdb -O0 -DFTBL_SORT=1 -DXPL_CHECK_CODE=1 -DXPL_X86=1 -DGEOIP_LIBRARY=1 -I/usr/include/ndpi -DLOG_DIS_VAR_NAME=dis_tcp_grb_log_id -D_FORTIFY_SOURCE=2 -c -o dis_log.o dis_log.c cc -rdynamic -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/common/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/dissectors/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/capt_dissectors/include -I/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/dispatch/include -Wall -fPIC -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -DXPL_PEDANTIC_STATISTICS=1 -g -ggdb -O0 -DFTBL_SORT=1 -DXPL_CHECK_CODE=1 -DXPL_X86=1 -DGEOIP_LIBRARY=1 -I/usr/include/ndpi -DLOG_DIS_VAR_NAME=dis_tcp_grb_log_id -D_FORTIFY_SOURCE=2 -c -o tcp_garbage.o tcp_garbage.c In file included from /usr/include/sys/socket.h:22, from tcp_garbage.c:26: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ tcp_garbage.c:51:10: fatal error: libndpi/ndpi_main.h: No such file or directory 51 | #include <libndpi/ndpi_main.h> | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: [<builtin>: tcp_garbage.o] Error 1 make[2]: Leaving directory '/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/dissectors/tcp_grbg' make[1]: [Makefile:52: subdir] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-hecsa/aur-xplico/src/xplico-v.1.2.2/dissectors' make: *** [Makefile:149: subdir] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build . ==> Restart building xplico ? [y/N] ==> -------------------------------

Any clues? Thanks, and best regards, HeCSa.