Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159497 - busybox-1.3.1 fails to compile in editors/vi.c because /etc/localtime is not set
Summary: busybox-1.3.1 fails to compile in editors/vi.c because /etc/localtime is not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
: 159523 159529 159661 159711 159782 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-30 10:22 UTC by ruckc
Modified: 2007-01-03 11:35 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge busybox build output (busybox.log,12.05 KB, text/plain)
2006-12-30 10:55 UTC, ruckc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ruckc 2006-12-30 10:22:40 UTC
I use accept_keywords="~x86", on my new system, i went to emerge world and busybox wants to upgrade to 1.3.1

emerge busybox fails with this error:

  LD      editors/built-in.o
  CC      editors/awk.o
  CC      editors/ed.o
  CC      editors/patch.o
  CC      editors/sed.o
  CC      editors/vi.o
editors/vi.c: In function 'colon':
editors/vi.c:987: error: missing terminating " character
make[1]: *** [editors/vi.o] Error 1
make: *** [editors] Error 2

!!! ERROR: sys-apps/busybox-1.3.1 failed.
Call stack:
  ebuild.sh, line 1603:   Called dyn_compile
  ebuild.sh, line 961:   Called src_compile
  busybox-1.3.1.ebuild, line 177:   Called die

!!! build failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
Comment 1 SpanKY gentoo-dev 2006-12-30 10:31:03 UTC
you neglected to include `emerge info` ... you should also post a full build log
Comment 2 ruckc 2006-12-30 10:53:01 UTC
Sorry about that.., herei s emerge --info and shortly will be the buildlog as an attachment.

Portage 2.1.2_rc4-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.1
Last Sync: Sat, 30 Dec 2006 05:30:05 +0000
dev-lang/python:     2.4.3-r1, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.tds.net/gentoo "
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="nls jpeg session unicode mysql x264 gdbm xml iconv samba cli tcpd apache2 fortran postgres python bash-completion ssl sse bitmap-fonts isdnlog nptl postgis truetype szip ppds udev mmx exif geos proj imagemagick truetype-fonts gdal dri pdf tiff cups pcre gpm java zip type1-fonts perl gif ipv6 cracklib dlloader ncurses pppd geotiff jbig postgresql berkdb png ffmpeg aac nptlonly jpeg2k zlib hdf mapserver ming spl bzip2 crypt libg++ pam gd-external x86 xorg readline php reflection" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 ruckc 2006-12-30 10:55:19 UTC
Created attachment 105002 [details]
emerge busybox build output
Comment 4 SpanKY gentoo-dev 2006-12-30 11:47:21 UTC
ok, i'm pretty sure your problem is that your /etc/localtime is set incorrectly

what does `date` show ?
Comment 5 ruckc 2006-12-30 15:50:58 UTC
ahh crap, i forgot to set the correct /etc/localtime...  rebuilding now... arg... well now i feel stupid.
Comment 6 SpanKY gentoo-dev 2006-12-30 17:52:41 UTC
np ... ive fixed the upstream buildsystem to handle this scenario, but i'd prefer to not bother backporting the patch into our ebuild if you dont mind ;)
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-12-30 18:53:33 UTC
*** Bug 159523 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-12-30 19:38:33 UTC
*** Bug 159529 has been marked as a duplicate of this bug. ***
Comment 9 solar (RETIRED) gentoo-dev 2006-12-31 09:01:46 UTC
When did busybox start using/depending localtime? It's always used /etc/TZ before.
Comment 10 SpanKY gentoo-dev 2006-12-31 09:06:38 UTC
no, uClibc uses /etc/TZ ... busybox doesnt care about the libc implementation details

the new busybox build scripts uses '%Z' with strftime() and when you have the default Factory timezone, it outputs a garbage define which causes this build failure
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 01:20:04 UTC
*** Bug 159661 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 06:38:02 UTC
*** Bug 159711 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 14:08:55 UTC
*** Bug 159782 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 14:23:26 UTC
ETOOMANYBROKENCLOCKS. Reopen.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 14:25:07 UTC
*** Bug 159782 has been marked as a duplicate of this bug. ***
Comment 16 SpanKY gentoo-dev 2007-01-02 15:50:25 UTC
the ebuild now detects /etc/localtime being bogus and spits out an error saying so
Comment 17 Kirill Elagin 2007-01-03 11:35:16 UTC
(In reply to comment #16)
> the ebuild now detects /etc/localtime being bogus and spits out an error saying
> so

hm... Still fails. busybox-1.3.1.
Setting /etc/localtime helped.