Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#3590 closed defect (invalid)

mutter 3.6.0 compile failes using gcc 4.7

Reported by: Maik Greubel Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords: mutter
Cc:

Description

Compilation of mutter 3.6.0 failed using gcc 4.7.1 with this error:

core/prefs.c: In function 'meta_prefs_set_num_workspaces': core/prefs.c:1672:23: error: 'pref' may be used uninitialized in this function [-Werror=maybe-uninitialized] core/prefs.c: In function 'meta_prefs_set_no_tab_popup': core/prefs.c:2151:27: error: 'pref' may be used uninitialized in this function [-Werror=maybe-uninitialized] cc1: all warnings being treated as errors

Fixed by attached patch.

Attachments (2)

mutter-3.6.0-compile-gcc-4.7.patch (664 bytes ) - added by Maik Greubel 12 years ago.
build.log (24.5 KB ) - added by Armin K 12 years ago.
Mutter Build Log

Download all attachments as: .zip

Change History (7)

by Maik Greubel, 12 years ago

comment:1 by Armin K, 12 years ago

I've built Mutter with GCC 4.7.1 and I didn't notice any problems. I have 4.7.2 currently. I'll check it again.

by Armin K, 12 years ago

Attachment: build.log added

Mutter Build Log

comment:2 by Armin K, 12 years ago

As you see in attached build.log, it works great with 4.7.2 and it worked very well with 4.7.1 here. Unless someone else confirms this, I'll mark it as "worksforme".

comment:3 by tnut, 12 years ago

Same for me, I had no problems to compile it (I'm still with gcc 4.7.1). It has a huge number of deps when we ask for it:

util-macros sqlite libxml2 libgpg-error libpthread-stubs xtrans pcre libjpeg libtiff libpng libpciaccess expat llvm pixman freetype gperf libdatrie icu which libusb nspr hicolor-icon-theme libogg alsa-lib gsl json-c xbitmaps check cdparanoia xdg-utils curl iso-codes libtasn1 nettle libidn p11-kit ruby itstool xorg-proto python docbook-xml libgcrypt glib jasper lcms2 libdrm perl-xml-parser fontconfig libthai aspell libusb-compat js libvorbis flac speex gnutls libxdmcp libxau makedepend libice libfontenc xcb-proto docbook-xsl libxslt gobject-introspection vala intltool libtheora libsndfile libsm libxfont libxcb rarian atk json-glib gstreamer1 gstreamer polkit gsettings-desktop-schemas libx11 xcb-util gnome-doc-utils libxext libxfixes libxrender dbus libxt libxkbfile startup-notification libxinerama libxxf86vm libxi libxv libxcomposite libxdamage libxft libxcursor libxrandr libcups colord dbus-glib glib-networking libgnome-keyring libxmu libxpm libxtst gdk-pixbuf mesa cups enchant libsoup libxaw at-spi2-core cairo xorg-app at-spi2-atk harfbuzz pango cogl gtk-update-icon-cache gstreamer-plugins-base gstreamer1-plugins-base clutter gtk3 gtk bluez gconf libnotify pulseaudio geoclue libcanberra webkit zenity mutter

Regards

Thierry

comment:4 by Armin K, 12 years ago

Resolution: invalid
Status: newclosed

As the author didn't reply for some time and the package appears to work for at least two of us, closing this ticket.

comment:5 by bdubbs@…, 10 years ago

Milestone: 7.0

Milestone 7.0 deleted

Note: See TracTickets for help on using tickets.