! 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 !
xfce4-settings build error
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Mouse Settings

Comments

Description Rumjantsev Egor 2009-03-11 06:56:17 CET
When i try to compile xfce-4.6.0 graphical installer on Mandriva 2007.1 workstation i got the following error:

gmake[4]: Entering directory `/root/tmp/xfce4-4.6-installer/xfce4-settings/dialogs/mouse-settings'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DDATADIR=\"/usr/local/xfce-4.6/share\" -DSRCDIR=\"../..\" -DLOCALEDIR=\"/usr/local/xfce-4.6/share/locale\" -DG_LOG_DOMAIN=\"xfce4-mouse-settings\" -DNDEBUG -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS  -I/usr/local/xfce-4.6/include  -I/usr/include -I/usr/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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/local/xfce-4.6/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0   -I/usr/local/xfce-4.6/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/local/xfce-4.6/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/local/xfce-4.6/include  -I/usr/include -I/usr/include -O2 -pipe -MT xfce4_mouse_settings-main.o -MD -MP -MF .deps/xfce4_mouse_settings-main.Tpo -c -o xfce4_mouse_settings-main.o `test -f 'main.c' || echo './'`main.c
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po xfce-mouse-settings.desktop.in xfce-mouse-settings.desktop
Found cached translation database
Merging translations into xfce-mouse-settings.desktop.
main.c: In function 'mouse_settings_event_filter':
main.c:1128: error: 'DeviceAdded' undeclared (first use in this function)
main.c:1128: error: (Each undeclared identifier is reported only once
main.c:1128: error: for each function it appears in.)
main.c:1129: error: 'DeviceRemoved' undeclared (first use in this function)
gmake[4]: Leaving directory `/root/tmp/xfce4-4.6-installer/xfce4-settings/dialogs/mouse-settings'
gmake[3]: Leaving directory `/root/tmp/xfce4-4.6-installer/xfce4-settings/dialogs/mouse-settings'
gmake[2]: Leaving directory `/root/tmp/xfce4-4.6-installer/xfce4-settings/dialogs'
gmake[1]: Leaving directory `/root/tmp/xfce4-4.6-installer/xfce4-settings'
!! Failed to build xfce4-settings, see the errors above
!! for details on the problem.


(installer-gui:21407): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed

I found out that there are some people who has the same bug but there isn't solution of it.
Comment 1 Nick Schermer editbugs 2009-03-11 07:33:32 CET
What is your version of inputproto?
Comment 2 Rumjantsev Egor 2009-03-11 08:14:27 CET
(In reply to comment #1)
> What is your version of inputproto?

Name: InputProto
Description: Input extension headers
Version: 1.4.1
Comment 3 Nick Schermer editbugs 2009-03-11 11:54:34 CET
DeviceAdded and DeviceRemoved were added in 1.4.2, not in 1.4 together with XI_Add_DevicePresenceNotify_Major. Will update the following check in the code:

#if XI_Add_DevicePresenceNotify_Major >= 1 && defined (DeviceRemoved)
Comment 4 Rumjantsev Egor 2009-03-11 12:44:01 CET
(In reply to comment #3)
> DeviceAdded and DeviceRemoved were added in 1.4.2, not in 1.4 together with
> XI_Add_DevicePresenceNotify_Major. Will update the following check in the code:
> 
> #if XI_Add_DevicePresenceNotify_Major >= 1 && defined (DeviceRemoved)

It helped. Thank you.
Comment 5 Nick Schermer editbugs 2009-03-11 17:44:05 CET
Fixed in revision 29649.

Bug #5084

Reported by:
Rumjantsev Egor
Reported on: 2009-03-11
Last modified on: 2009-07-14

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Attachments

Additional information