Wireshark-bugs: [Wireshark-bugs] [Bug 7606] New: Build is broken after in r44348
Date: Wed, 8 Aug 2012 12:42:09 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7606

           Summary: Build is broken after in r44348
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: ojab@xxxxxxx


Build Information:
Linux x86_64, gcc-4.7.1

The Wireshark package has been configured with the following options.
                    Build wireshark : yes (with GTK+ 2)
                       Build tshark : yes
                     Build capinfos : yes
                      Build editcap : yes
                      Build dumpcap : yes
                     Build mergecap : yes
                    Build text2pcap : yes
                      Build randpkt : yes
                       Build dftest : yes
                     Build rawshark : yes

   Save files as pcap-ng by default : yes
  Install dumpcap with capabilities : no
             Install dumpcap setuid : yes
                  Use dumpcap group : (none)
                        Use plugins : yes
                    Use Lua library : yes
                 Use Python binding : no
                   Build rtp_player : yes
             Build profile binaries : no
                   Use pcap library : yes
                   Use zlib library : yes
               Use kerberos library : no
                 Use c-ares library : no
               Use GNU ADNS library : no
                Use SMI MIB library : no
             Use GNU crypto library : yes
             Use SSL crypto library : no
           Use IPv6 name resolution : yes
                 Use gnutls library : no
     Use POSIX capabilities library : yes
                  Use GeoIP library : no
                     Use nl library : yes (v3)

--
r44346 builds fine, r44348 fails with:

make[3]: Entering directory `/sources/wireshark/epan'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
-I./.. -I./../tools/lemon -I./wslua       -DINET6 -DG_DISABLE_DEPRECATED
-DG_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DGTK_DISABLE_DEPRECATED
-DGTK_DISABLE_SINGLE_INCLUDES -D_U_="__attribute__((unused))" 
-D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include
'-DPLUGIN_DIR="/usr/lib/wireshark/plugins/1.9.0"' -Werror -DPYTHONDIR= -g -O2
-I/usr/include/libnl3   -Wall -W -Wextra -Wdeclaration-after-statement
-Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align
-Wformat-security -Wold-style-definition -Wno-error=unused-but-set-variable
-fexcess-precision=fast -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng15   -MT libwireshark_la-prefs.lo -MD -MP -MF
.deps/libwireshark_la-prefs.Tpo -c -o libwireshark_la-prefs.lo `test -f
'prefs.c' || echo './'`prefs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../tools/lemon
-I./wslua -DINET6 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES
-DGSEAL_ENABLE -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES
"-D_U_=__attribute__((unused))" -D_FORTIFY_SOURCE=2 -I/usr/include
-I/usr/local/include -I/usr/include
-DPLUGIN_DIR=\"/usr/lib/wireshark/plugins/1.9.0\" -Werror -DPYTHONDIR= -g -O2
-I/usr/include/libnl3 -Wall -W -Wextra -Wdeclaration-after-statement
-Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align
-Wformat-security -Wold-style-definition -Wno-error=unused-but-set-variable
-fexcess-precision=fast -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng15 -MT libwireshark_la-prefs.lo -MD -MP -MF
.deps/libwireshark_la-prefs.Tpo -c prefs.c  -fPIC -DPIC -o
.libs/libwireshark_la-prefs.o
prefs.c: In function 'column_hidden_init_cb':
prefs.c:1226:23: error: assignment from incompatible pointer type [-Werror]
prefs.c: In function 'column_num_set_cb':
prefs.c:1331:51: error: unused parameter 'pref' [-Werror=unused-parameter]
prefs.c:1331:64: error: unused parameter 'value' [-Werror=unused-parameter]
prefs.c:1331:81: error: unused parameter 'changed' [-Werror=unused-parameter]
prefs.c: In function 'column_num_write_cb':
prefs.c:1337:41: error: unused parameter 'pref' [-Werror=unused-parameter]
prefs.c:1337:65: error: unused parameter 'arg' [-Werror=unused-parameter]
prefs.c: In function 'column_format_set_cb':
prefs.c:1411:84: error: unused parameter 'changed' [-Werror=unused-parameter]
prefs.c: In function 'capture_column_set_cb':
prefs.c:1603:85: error: unused parameter 'changed' [-Werror=unused-parameter]
prefs.c: In function 'prefs_register_modules':
prefs.c:1766:9: error: passing argument 6 of 'prefs_register_custom_preference'
from incompatible pointer type [-Werror]
prefs.c:1001:6: note: expected 'void **' but argument is of type 'gchar **'
prefs.c:1774:9: error: passing argument 6 of 'prefs_register_custom_preference'
from incompatible pointer type [-Werror]
prefs.c:1001:6: note: expected 'void **' but argument is of type 'struct GList
**'
prefs.c:1786:9: error: passing argument 6 of 'prefs_register_custom_preference'
from incompatible pointer type [-Werror]
prefs.c:1001:6: note: expected 'void **' but argument is of type 'gint **'
prefs.c:1985:9: error: passing argument 6 of 'prefs_register_custom_preference'
from incompatible pointer type [-Werror]
prefs.c:1001:6: note: expected 'void **' but argument is of type 'gint **'
prefs.c:2037:9: error: passing argument 6 of 'prefs_register_custom_preference'
from incompatible pointer type [-Werror]
prefs.c:1001:6: note: expected 'void **' but argument is of type 'struct GList
**'
prefs.c: In function 'write_module_prefs':
prefs.c:4060:9: error: passing argument 2 of 'prefs_modules_foreach_submodules'
from incompatible pointer type [-Werror]
prefs.c:611:1: note: expected 'module_cb' but argument is of type 'gboolean
(*)(struct module_t *, void *)'
prefs.c: In function 'write_prefs':
prefs.c:4134:3: error: passing argument 2 of 'prefs_modules_foreach_submodules'
from incompatible pointer type [-Werror]
prefs.c:611:1: note: expected 'module_cb' but argument is of type 'gboolean
(*)(struct module_t *, void *)'
prefs.c:4076:16: error: unused variable 'cols_hidden' [-Werror=unused-variable]
prefs.c: At top level:
prefs.c:1143:13: error: 'custom_pref_no_init_cb' defined but not used
[-Werror=unused-function]
prefs.c:2320:1: error: 'find_index_from_string_array' defined but not used
[-Werror=unused-function]
cc1: all warnings being treated as errors
make[3]: *** [libwireshark_la-prefs.lo] Error 1
make[3]: Leaving directory `/sources/wireshark/epan'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/sources/wireshark/epan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/wireshark'
make: *** [all] Error 2

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.