! 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 !
orage 4.5.14.0 fails to build on FreeBSD
Status:
CLOSED: FIXED

Comments

Description Alexis Ballier 2008-09-28 07:55:51 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.3) Gecko/2008092720 Gentoo Firefox/3.0.3
Build Identifier: 

My setup isn't a standard FreeBSD but gentoo/FreeBSD 7.0, however the base system (esp. the libc) is the same so this shouldn't matter.

if i686-gentoo-freebsd7.0-gcc -DHAVE_CONFIG_H -I. -I. -I..    -D_THREAD_SAFE -I/usr/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/pixman-1 -I/usr/include/atk-1.0    -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I../libical/src/libical -I../libical/src/libicalss -I../libical/src/libical -I../libical/src/libicalss -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   -march=athlon-xp -O2 -pipe -g -ggdb -MT orage-parameters.o -MD -MP -MF ".deps/orage-parameters.Tpo" -c -o orage-parameters.o `test -f 'parameters.c' || echo './'`parameters.c; \
	then mv -f ".deps/orage-parameters.Tpo" ".deps/orage-parameters.Po"; else rm -f ".deps/orage-parameters.Tpo"; exit 1; fi
parameters.c: In function ‘get_first_weekday_from_locale’:
parameters.c:138: error: ‘_NL_TIME_FIRST_WEEKDAY’ undeclared (first use in this function)
parameters.c:138: error: (Each undeclared identifier is reported only once
parameters.c:138: error: for each function it appears in.)
parameters.c:140: error: ‘_NL_TIME_WEEK_1STDAY’ undeclared (first use in this function)
gmake: *** [orage-parameters.o] Error 1


It seems that _NL_TIME_FIRST_WEEKDAY and _NL_TIME_WEEK_1STDAY are glibc specific; I'm not sure how to fix this since I've not been able to find any documentation about those variables (man langinfo.h doesn't say anything about it on linux).

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 juha editbugs 2008-09-29 05:32:39 CEST
This is fixed in Orage 4.5.14.1 svn Revision 27367.
(Good to have this BUG report now though since there were none.)
Comment 2 juha editbugs 2009-02-28 18:05:40 CET
fixed in 4.6.0

Bug #4420

Reported by:
Alexis Ballier
Reported on: 2008-09-28
Last modified on: 2009-02-28

People

CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information