Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150051 - emerge --info last sync time is not local time
Summary: emerge --info last sync time is not local time
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-10-04 04:33 UTC by srrijkers
Modified: 2007-01-13 06:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description srrijkers 2006-10-04 04:33:52 UTC
emerge --info shows an incorrect last sync time, as my localtime is actually set to UTC +0200 (CEST). My emerge --info, which shows the error:

Portage 2.1.2_pre2-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 04 Oct 2006 11:00:08 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cli crypt cups dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jpeg kernel_linux libg++ linguas_en_GB mad mmx mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png ppds pppd python readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_i810 vorbis win32codecs xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2006-10-04 04:37:21 UTC
It's a utc timestamp that's generated on the private master mirror.  I suppose we could convert it to the local time, but that would probably decrease it's usefulness.
Comment 2 srrijkers 2006-10-04 04:45:59 UTC
Ah, yes, I can see the usefulness of that. Please forget the whole 'error' part then :).
Perhaps it would be handy to change the field descriptor a bit then, because now it kind of gives the impression that it shows the actual time of the last sync, in stead of the server's timestamp. Quite trivial though.

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 07:01:03 UTC
Please, leave that UTC, converting it is not a good idea.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 07:53:21 UTC
Changed the label to clarify this.
Comment 5 Zac Medico gentoo-dev 2007-01-13 06:43:02 UTC
This is in svn r5545 and has been released in 2.1.2_rc4-r9.