! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Build fails in git-f1d9afd (2012-04-18)
Status:
RESOLVED: INVALID

Comments

Description Masato Hashimoto 2012-04-18 07:30:28 CEST
Created attachment 4337 
Build log

Build garcon fails due to the following error:
---
make[3]: Entering directory `/home/hashimo/git/xfce.d/xfce/garcon/garcon'
  CC     libgarcon_1_la-garcon-config.lo
  CC     libgarcon_1_la-garcon-marshal.lo
  CC     libgarcon_1_la-garcon-menu-item-pool.lo
  CC     libgarcon_1_la-garcon-menu.lo
  CC     libgarcon_1_la-garcon-menu-node.lo
garcon-menu.c: In function 'garcon_menu_directory_file_changed':
garcon-menu.c:2441:11: error: passing argument 1 of 'g_file_equal' from incompatible pointer type [-Werror]
In file included from /usr/include/glib-2.0/gio/gio.h:66:0,
                 from ../garcon/garcon-menu-item.h:30,
                 from garcon-menu.c:35:
/usr/include/glib-2.0/gio/gfile.h:556:25: note: expected 'struct GFile *' but argument is of type 'struct GarconMenuDirectory *'
garcon-menu.c:2441:11: error: passing argument 2 of 'g_file_equal' from incompatible pointer type [-Werror]
In file included from /usr/include/glib-2.0/gio/gio.h:66:0,
                 from ../garcon/garcon-menu-item.h:30,
                 from garcon-menu.c:35:
/usr/include/glib-2.0/gio/gfile.h:556:25: note: expected 'struct GFile *' but argument is of type 'struct GarconMenuDirectory *'
  CC     libgarcon_1_la-garcon-menu-tree-provider.lo
cc1: all warnings being treated as errors
---
Attached build log.

Versions:
garcon git-f1d9afd
glib 2.30.2
gcc 4.7.0

Build & Platform:
Build 1012-04-18 on ArchLinux
Comment 1 Andre Miranda editbugs 2014-07-03 06:01:54 CEST
I guess after two years this problem has been solved.
I can compile master just with ./autogen.sh && make.

Versions:
garcon git-f55e6b3
glib 2.40.0
gcc 4.9.0

Build & Platform:
Build 2014-06-03 on ArchLinux(updated)
Comment 2 Nick Schermer editbugs 2014-07-29 08:33:48 CEST
Code was changed

Bug #8721

Reported by:
Masato Hashimoto
Reported on: 2012-04-18
Last modified on: 2014-07-29

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

Build log (16.98 KB, text/plain)
2012-04-18 07:30 CEST , Masato Hashimoto
no flags

Additional information