microcai / gentoo-zh

Overlay for Gentoo Users.
http://gentoo.org.cn
GNU General Public License v2.0
334 stars 188 forks source link

can't install bamf package due to compile error #570

Closed jenenliu closed 3 years ago

jenenliu commented 4 years ago

here is the compile error message

bamf-factory.c: In function ‘bamf_factory_init’:
bamf-factory.c:118:13: error: G_ADD_PRIVATE [-Werror]
  118 |   self->priv = BAMF_FACTORY_GET_PRIVATE (self);
      |             ^~~~~~~~~~~~~~~
bamf-control.c: In function ‘bamf_control_init’:
bamf-control.c:100:13: error: G_ADD_PRIVATE [-Werror]
  100 |   priv = self->priv = BAMF_CONTROL_GET_PRIVATE (self);
      |             ^~~~~~~~~~~~~~~
bamf-window.c: In function ‘bamf_window_init’:
bamf-window.c:445:13: error: G_ADD_PRIVATE [-Werror]
  445 |   priv = self->priv = BAMF_WINDOW_GET_PRIVATE (self);
      |             ^~~~~~~~~~~~~~~
bamf-application.c: In function ‘bamf_application_init’:
bamf-application.c:746:13: error: G_ADD_PRIVATE [-Werror]
  746 |   priv = self->priv = BAMF_APPLICATION_GET_PRIVATE (self);
      |             ^~~~~~~~~~~~~~~
bamf-view.c: In function ‘bamf_view_init’:
bamf-view.c:1053:13: error: G_ADD_PRIVATE [-Werror]
 1053 |   priv = self->priv = BAMF_VIEW_GET_PRIVATE (self);
      |             ^~~~~~~~~~~~~~~
bamf-tab.c: In function ‘bamf_tab_init’:
bamf-tab.c:179:13: error: G_ADD_PRIVATE [-Werror]
  179 |   self->priv = BAMF_TAB_GET_PRIVATE (self);
      |             ^~~~~~~~~~~~~~~
bamf-matcher.c: In function ‘bamf_matcher_init’:
bamf-matcher.c:282:13: error: G_ADD_PRIVATE [-Werror]
  282 |   priv = self->priv = BAMF_MATCHER_GET_PRIVATE (self);
      |             ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:641: libbamf3_la-bamf-control.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[3]: *** [Makefile:669: libbamf3_la-bamf-factory.lo] Error 1
cc1: all warnings being treated as errors
make[3]: *** [Makefile:662: libbamf3_la-bamf-window.lo] Error 1
cc1: all warnings being treated as errors
make[3]: *** [Makefile:676: libbamf3_la-bamf-tab.lo] Error 1
cc1: all warnings being treated as errors
make[3]: *** [Makefile:634: libbamf3_la-bamf-application.lo] Error 1
cc1: all warnings being treated as errors
make[3]: *** [Makefile:655: libbamf3_la-bamf-view.lo] Error 1
cc1: all warnings being treated as errors
make[3]: *** [Makefile:648: libbamf3_la-bamf-matcher.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/x11-libs/bamf-0.5.4/work/bamf-0.5.4/lib/libbamf'
make[2]: *** [Makefile:514: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/x11-libs/bamf-0.5.4/work/bamf-0.5.4/lib/libbamf'
make[1]: *** [Makefile:460: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/x11-libs/bamf-0.5.4/work/bamf-0.5.4'
make: *** [Makefile:391: all] Error 2
 * ERROR: x11-libs/bamf-0.5.4::gentoo-zh failed (compile phase):
 *   emake failed

full emerge log

https://paste.ubuntu.com/p/dQmhJCnPJQ/

liangyongxiang commented 4 years ago

@zhtengw

RevySR commented 3 years ago

bamf has removed. Please visit

https://github.com/zhtengw/deepin-overlay/blob/master/x11-libs/bamf/