sys-libs/timezone-data-2006g dies with: localtime.c: In function 'differ_by_repeat': localtime.c:331: warning: comparison is always false due to limited range of data type localtime.c: At top level: localtime.c:1124: error: static declaration of 'tzsetwall' follows non-static declaration /usr/include/time.h:169: error: previous declaration of 'tzsetwall' was here gmake: *** [localtime.o] Error 1 gmake: *** Waiting for unfinished jobs.... !!! ERROR: sys-libs/timezone-data-2006g failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile timezone-data-2006g.ebuild, line 28: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. ---- contents of emerge --info ---- Gentoo Base System version 20060420 Portage 2.1.1_pre1-r3 (default-bsd/fbsd/6.1/x86, gcc-4.1.1, freebsd-lib-6.1-r0, 6.1-RELEASE-p1 i386) ================================================================= System uname: 6.1-RELEASE-p1 i386 i386 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 6.1 ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd" AUTOCLEAN="yes" CBUILD="i686-gentoo-freebsd6.1" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-gentoo-freebsd6.1" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy collision-protect distlocks metadata-transfer sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/portage-alt-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86-fbsd X acpi cups gdbm gif ipv6 jpeg ncurses nls ogg oss pam perl png python readline ssl tcltk tcpd truetype unicode usb xml xorg xv zlib elibc_FreeBSD kernel_FreeBSD userland_BSD" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 90306 [details, diff] timezone-data-ebuild.patch Since some functions (not only 'tzsetwall') are already in fbsd userland, zic code already takes care of such userlands and only needs -DSTD_INSPIRED in the CFLAGS to compile and work.
Fixed now in CVS, thanks for the bug report.