Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-3068

Issue mate install : mate-panel building error with networkmanager USE enabled

    • Icon: Bug Bug
    • Resolution: Fixed Upstream
    • Icon: Normal Normal
    • None
    • None

      When I try install mate desktop environment, that happen while "mate-panel" is compiled:
      (...)
      In file included from clock-location.c:22:0:
      /usr/include/NetworkManager/NetworkManager.h:31:31: fatal error: nm-version-macros.h: No such file or directory
      #include <nm-version-macros.h>
      ^
      compilation terminated.
      Makefile:969: recipe for target 'clock_applet-clock-location.o' failed
      make[5]: *** [clock_applet-clock-location.o] Error 1
      make[5]: *** Waiting for unfinished jobs....
      system-timezone.c: In function ‘system_timezone_is_zone_file_valid’:
      system-timezone.c:864:21: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      GIOStatus status;
      ^
      clock-face.c: In function ‘clock_face_load_face’:
      clock-face.c:509:2: warning: ‘rsvg_pixbuf_from_file_at_size’ is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:234) [-Wdeprecated-declarations]
      priv->face_pixbuf = rsvg_pixbuf_from_file_at_size (name,
      ^
      clock-face.c:517:17: warning: ‘rsvg_pixbuf_from_file_at_size’ is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:234) [-Wdeprecated-declarations]
      priv->face_pixbuf = rsvg_pixbuf_from_file_at_size (name,
      ^
      clock.c: In function ‘save_cities_store’:
      clock.c:2491:26: warning: assignment from incompatible pointer type
      array[i] = loc_to_string (loc);
      ^
      clock.c:2498:57: warning: passing argument 1 of ‘g_strdup’ from incompatible pointer type
      array_reverse [len - i - 1] = g_strdup (array [i]);
      ^
      In file included from /usr/include/glib-2.0/glib.h:79:0,
      from ./../../libmate-panel-applet/mate-panel-applet.h:28,
      from clock.c:45:
      /usr/include/glib-2.0/glib/gstrfuncs.h:216:22: note: expected ‘const gchar *’ but argument is of type ‘gchar **’
      gchar* g_strdup (const gchar *str) G_GNUC_MALLOC;
      ^
      clock.c:2498:45: warning: assignment from incompatible pointer type
      array_reverse [len - i - 1] = g_strdup (array [i]);
      ^
      clock.c: In function ‘temperature_combo_changed’:
      clock.c:2908:15: warning: unused variable ‘str’ [-Wunused-variable]
      const gchar *str;
      ^
      clock.c: In function ‘speed_combo_changed’:
      clock.c:2924:15: warning: unused variable ‘str’ [-Wunused-variable]
      const gchar *str;
      ^
      clock.c: At top level:
      clock.c:187:12: warning: ‘clock_numbers’ defined but not used [-Wunused-variable]
      static int clock_numbers = 0;
      ^
      libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -march=core-avx-i -O2 -pipe -c system-timezone.c -o system-timezone.o >/dev/null 2>&1
      make[5]: Leaving directory '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/work/mate-panel-1.8.1/applets/clock'
      Makefile:1173: recipe for target 'all-recursive' failed
      make[4]: *** [all-recursive] Error 1
      make[4]: Leaving directory '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/work/mate-panel-1.8.1/applets/clock'
      Makefile:641: recipe for target 'all' failed
      make[3]: *** [all] Error 2
      make[3]: Leaving directory '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/work/mate-panel-1.8.1/applets/clock'
      Makefile:451: recipe for target 'all-recursive' failed
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/work/mate-panel-1.8.1/applets'
      Makefile:531: recipe for target 'all-recursive' failed
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/work/mate-panel-1.8.1'
      Makefile:463: recipe for target 'all' failed
      make: *** [all] Error 2

      • ERROR: mate-base/mate-panel-1.8.1-r1::gentoo failed (compile phase):
      • emake failed
      • If you need support, post the output of `emerge --info '=mate-base/mate-panel-1.8.1-r1::gentoo'`,
      • the complete build log and the output of `emerge -pqv '=mate-base/mate-panel-1.8.1-r1::gentoo'`.
      • The complete build log is located at '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/temp/build.log'.
      • The ebuild environment file is located at '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/temp/environment'.
      • Working directory: '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/work/mate-panel-1.8.1'
      • S: '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/work/mate-panel-1.8.1'

      >>> Failed to emerge mate-base/mate-panel-1.8.1-r1, Log file:

      >>> '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/temp/build.log'

      • Messages for package mate-base/mate-panel-1.8.1-r1:
      • ERROR: mate-base/mate-panel-1.8.1-r1::gentoo failed (compile phase):
      • emake failed
      • If you need support, post the output of `emerge --info '=mate-base/mate-panel-1.8.1-r1::gentoo'`,
      • the complete build log and the output of `emerge -pqv '=mate-base/mate-panel-1.8.1-r1::gentoo'`.
      • The complete build log is located at '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/temp/build.log'.
      • The ebuild environment file is located at '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/temp/environment'.
      • Working directory: '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/work/mate-panel-1.8.1'
      • S: '/var/tmp/portage/mate-base/mate-panel-1.8.1-r1/work/mate-panel-1.8.1'

            oleg oleg
            b3t4 b3t4 [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: