ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Cookbook to make ubuntu 16.04 bot on buildbot

From: Remy Leone <remy.leone@xxxxxxxx>
Date: Tue, 04 Jul 2017 13:55:45 +0000
Hello,

I would like to know if there is a script/cookbook documented somewhere where I can see the exact set of commands that are launched to make a ubuntu buildbot slave?

I'm trying to compile wireshark from an ubuntu container but it keeps failing even if I'm using:
./tools/debian-setup.sh --install-optional --assume-yes
./autogen.sh 
./configure
./make

It keeps failing with the following message:

        "Unable to open ./.svn/entries",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ascend_scanner.c: In function 'yy_get_next_buffer':",
        "ascend_scanner.c:2502:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]",
        "  if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {",
        "                                               ^",
        "k12text.c: In function 'yy_get_next_buffer':",
        "k12text.c:1711:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]",
        "  if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {",
        "                                               ^",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "scanner.c: In function 'yy_get_next_buffer':",
        "scanner.c:1703:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]",
        "  if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {",
        "                                               ^",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "diam_dict.c: In function 'yy_get_next_buffer':",
        "diam_dict.c:2330:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]",
        "  if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {",
        "                                               ^",
        "dtd_parse.c: In function 'yy_get_next_buffer':",
        "dtd_parse.c:1681:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]",
        "  if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {",
        "                                               ^",
        "dtd_preparse.c: In function 'yy_get_next_buffer':",
        "dtd_preparse.c:1368:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]",
        "  if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {",
        "                                               ^",
        "radius_dict.c: In function 'yy_get_next_buffer':",
        "radius_dict.c:2131:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]",
        "  if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {",
        "                                               ^",
        "uat_load.c: In function 'yy_get_next_buffer':",
        "uat_load.c:1458:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]",
        "  if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {",
        "                                               ^",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "ar: `u' modifier ignored since `D' is the default (see `U')",
        "In file included from iface_monitor.c:55:0:",
        "/_usr/include/net/if.h:129:0: error: \"IFNAMSIZ\" redefined [-Werror]",
        " # define IFNAMSIZ IF_NAMESIZE",
        " ^",
        "In file included from /usr/include/libnl3/netlink/netlink.h:24:0,",
        "                 from /usr/include/libnl3/netlink/msg.h:15,",
        "                 from iface_monitor.c:40:",
        "/usr/include/libnl3/netlink/netlink-compat.h:21:0: note: this is the location of the previous definition",
        " #define IFNAMSIZ 16",
        " ^",
        "cc1: all warnings being treated as errors",
        "make[2]: *** [libcaputils_a-iface_monitor.o] Error 1",
        "make[2]: *** Waiting for unfinished jobs....",
        "make[1]: *** [all-recursive] Error 1",
        "make: *** [all] Error 2"


Best regards

Rémy