! 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 !
Fail to build from source (trunk)
Status:
RESOLVED: INVALID

Comments

Description Yves-Alexis Perez editbugs 2008-11-23 15:41:08 CET
Hey,

trying to test patch for bug #4051 I noticed that thunar FTBFS with -O0:

gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -DEXO_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Thunar\" -DLIBDIR=\"/usr/lib\" -DLIBEXECDIR=\"/usr/libexec\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DTHUNAR_VERSION_API=\"1\" -DG_ENABLE_DEBUG -DHAVE_GNUC_VISIBILITY   -D_REENTRANT -I/usr/include/exo-0.3 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -Werror -O0 -g3 -DDBUS_API_SUBJECT_TO_CHANGE -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   -O0 -MT Thunar-thunar-shortcuts-model.o -MD -MP -MF .deps/Thunar-thunar-shortcuts-model.Tpo -c -o Thunar-thunar-shortcuts-model.o `test -f 'thunar-shortcuts-model.c' || echo './'`thunar-shortcuts-model.c
cc1: warnings being treated as errors
thunar-shortcuts-model.c: In function ‘thunar_shortcuts_model_init’:
thunar-shortcuts-model.c:344: error: implicit declaration of function ‘setlocale’
thunar-shortcuts-model.c:344: error: ‘LC_MESSAGES’ undeclared (first use in this function)
thunar-shortcuts-model.c:344: error: (Each undeclared identifier is reported only once
thunar-shortcuts-model.c:344: error: for each function it appears in.)
thunar-shortcuts-model.c:344: error: assignment makes pointer from integer without a cast
thunar-shortcuts-model.c: In function ‘thunar_shortcuts_model_load’:
thunar-shortcuts-model.c:923: error: ‘LC_MESSAGES’ undeclared (first use in this function)
thunar-shortcuts-model.c:923: error: assignment makes pointer from integer without a cast
make[3]: *** [Thunar-thunar-shortcuts-model.o] Error 1
make[3]: Leaving directory `/home/corsac/debian/xfce/desktop/thunar/thunar'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/corsac/debian/xfce/desktop/thunar/thunar'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/corsac/debian/xfce/desktop/thunar'
make: *** [all] Error 2
Comment 1 Yves-Alexis Perez editbugs 2008-11-23 22:07:55 CET
This was an outdated checkout, sorry

Bug #4646

Reported by:
Yves-Alexis Perez
Reported on: 2008-11-23
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information