Bug#462703: FTBFS with GCC 4.3: duplicate function parameters

Martin Michlmayr tbm at cyrius.com
Sat Jan 26 23:44:29 UTC 2008


Package: epiphany-browser
Version: 2.20.3-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  GCC 4.3 now prints an error
message when C++ code contains duplicate function parameter names in
function prototypes, see
http://www.cyrius.com/journal/2007/12/07#gcc-4.3-multiple-params

You can reproduce this problem with gcc-snapshot or gcc-4.3 from
unstable.

> Automatic build of epiphany-browser_2.20.3-1 on em64t by sbuild/amd64 0.53
...
>  g++ -DHAVE_CONFIG_H -I. -I../.. -I/build/tbm/epiphany-browser-2.20.3/embed/mozilla -I/build/tbm/epiphany-browser-2.20.3/lib -I/build/tbm/epiphany-browser-2.20.3/embed -I/build/tbm/epiphany-browser-2.20.3 -I/usr/include/xulrunner/. -I/usr/include/xulrunner/caps -I/usr/include/xulrunner/chardet -I/usr/include/xulrunner/chrome -I/usr/include/xulrunner/commandhandler -I/usr/include/xulrunner/content -I/usr/include/xulrunner/cookie -I/usr/include/xulrunner/docshell -I/usr/include/xulrunner/dom -I/usr/include/xulrunner/exthandler -I/usr/include/xulrunner/fastfind -I/usr/include/xulrunner/helperAppDlg -I/usr/include/xulrunner/find -I/usr/include/xulrunner/gfx -I/usr/include/xulrunner/gtkembedmoz -I/usr/include/xulrunner/history -I/usr/include/xulrunner/js -I/usr/include/xulrunner/layout -I/usr/include/xulrunner/locale -I/usr/include/xulrunner/mimetype -I/usr/include/xulrunner/necko -I/usr/include/xulrunner/nkcache -I/usr/include/xulrunner/passwordmgr -I/usr/include/xulrunner/pipboot -I/usr/include/xulrunner/pipnss -I/usr/include/xulrunner/pref -I/usr/include/xulrunner/shistory -I/usr/include/xulrunner/sidebar -I/usr/include/xulrunner/spellchecker -I/usr/include/xulrunner/uriloader -I/usr/include/xulrunner/uconv -I/usr/include/xulrunner/wallet -I/usr/include/xulrunner/webbrowserpersist -I/usr/include/xulrunner/webbrwsr -I/usr/include/xulrunner/widget -I/usr/include/xulrunner/windowwatcher -I/usr/include/xulrunner/xmlextras -I/usr/include/xulrunner/xpcom -I/usr/include/xulrunner/xpconnect -DSHARE_DIR=\"/usr/share/epiphany-browser\" -DPLUGINDIR=\"/usr/lib/epiphany-gecko/2.20/plugins\" -DMOZILLA_HOME=\"/usr/lib/xulrunner\" -DMOZILLA_PREFIX=\"/usr\" -DMOZILLA_NATIVE_PLUGINSDIR=\"/usr/lib/mozilla/plugins\" -DUA_VERSION=\"2.20\" -DALLOW_PRIVATE_API -DXP_UNIX -DJS_THREADSAFE -I/usr/include/xulrunner -I/usr/include/xulrunner/xpcom -I/usr/include/xulrunner/string -I/usr/include/nspr -I/usr/include/mozjs -I/usr/include/xulrunner/gtkembedmoz -DPNG_NO_MMX_CODE -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -fno-rtti -fshort-wchar -g -O2 -Wall -Wno-unused -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -g -O2 -MT libephymozillaembed_la-EphyBrowser.lo -MD -MP -MF .deps/libephymozillaembed_la-EphyBrowser.Tpo -c /build/tbm/epiphany-browser-2.20.3/embed/mozilla/EphyBrowser.cpp  -fPIC -DPIC -o .libs/libephymozillaembed_la-EphyBrowser.o
> In file included from /usr/include/xulrunner/gfx/nsMargin.h:41,
>                  from /usr/include/xulrunner/gfx/nsIPrintSettings.h:17,
>                  from /build/tbm/epiphany-browser-2.20.3/embed/mozilla/EphyBrowser.cpp:70:
> /usr/include/xulrunner/gfx/nsCoord.h: In function 'float NS_IEEEPositiveInfinity()':
> /usr/include/xulrunner/gfx/nsCoord.h:65: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /usr/include/xulrunner/gfx/nsCoord.h: In function 'PRBool NS_IEEEIsNan(float)':
> /usr/include/xulrunner/gfx/nsCoord.h:69: warning: dereferencing type-punned pointer will break strict-aliasing rules
> In file included from /build/tbm/epiphany-browser-2.20.3/embed/mozilla/EphyBrowser.cpp:105:
> /build/tbm/epiphany-browser-2.20.3/lib/ephy-zoom.h: At global scope:
> /build/tbm/epiphany-browser-2.20.3/lib/ephy-zoom.h:50: warning: deprecated conversion from string constant to 'gchar*'
> /build/tbm/epiphany-browser-2.20.3/lib/ephy-zoom.h:50: warning: deprecated conversion from string constant to 'gchar*'
> /build/tbm/epiphany-browser-2.20.3/lib/ephy-zoom.h:50: warning: deprecated conversion from string constant to 'gchar*'
> /build/tbm/epiphany-browser-2.20.3/lib/ephy-zoom.h:50: warning: deprecated conversion from string constant to 'gchar*'
> /build/tbm/epiphany-browser-2.20.3/lib/ephy-zoom.h:50: warning: deprecated conversion from string constant to 'gchar*'
> /build/tbm/epiphany-browser-2.20.3/lib/ephy-zoom.h:50: warning: deprecated conversion from string constant to 'gchar*'
> /build/tbm/epiphany-browser-2.20.3/lib/ephy-zoom.h:50: warning: deprecated conversion from string constant to 'gchar*'
> /build/tbm/epiphany-browser-2.20.3/lib/ephy-zoom.h:50: warning: deprecated conversion from string constant to 'gchar*'
> /build/tbm/epiphany-browser-2.20.3/lib/ephy-zoom.h:50: warning: deprecated conversion from string constant to 'gchar*'
> In file included from /build/tbm/epiphany-browser-2.20.3/embed/mozilla/EphyBrowser.cpp:114:
> /build/tbm/epiphany-browser-2.20.3/embed/mozilla/EphyBrowser.h:190: error: multiple parameters named 'aURI'
> make[5]: *** [libephymozillaembed_la-EphyBrowser.lo] Error 1
> make[5]: Leaving directory `/build/tbm/epiphany-browser-2.20.3/debian/build/gecko/embed/mozilla'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/build/tbm/epiphany-browser-2.20.3/debian/build/gecko/embed'

-- 
Martin Michlmayr
http://www.cyrius.com/






More information about the pkg-gnome-maintainers mailing list