Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281037 - equery check incorrectly sees mtimes as wrong
Summary: equery check incorrectly sees mtimes as wrong
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks: 237964
  Show dependency tree
 
Reported: 2009-08-10 21:16 UTC by Roel Brook
Modified: 2009-10-26 23:34 UTC (History)
1 user (show)

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


Attachments
Output of "equery k gcc" (output,116.81 KB, text/plain)
2009-08-10 21:19 UTC, Roel Brook
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roel Brook 2009-08-10 21:16:20 UTC
I have app-portage/gentoolkit-0.3.0_rc7 installed.

When I do "equery k gcc", I get output such as 

!!! /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4/tr1_impl/cinttypes has wrong mtime (is 1249936415, should be 1249936415)

Though both numbers are the same, equery thinks they're different, and marks all files as "invalid".

Full output is attached.



Reproducible: Always




Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-zen1 x86_64)
=================================================================
System uname: Linux-2.6.30-zen1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 10 Aug 2009 19:45:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1, 3.1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -msse4.1 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://de-mirror.org/distro/gentoo/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/"
LANG="nl_NL.UTF-8"
LC_ALL="nl_NL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="nl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/zen-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/jokey /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac aalib acl alsa amd64 apache2 bash-completion branding bzip2 cdr cleartype cli consolekit cracklib crypt cups curl dbus device-mapper directfb divx dri emerald encode evo exif fat ffmpeg flac fortran fuse gdbm glitz gnome gphoto2 gpm gtk hal hddtemp iconv id3tag imagemagick ipod isdnlog java java6 jfs jpeg kqemu libcaca lzo matroska mktemp mmx mmxext moonlight mp3 mudflap multilib musicbrainz mysql ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive opengl openmp pam pcre perl php png postgres pppd python rar readline realmedia reflection reiser4 reiserfs session skins spl sqlite sse sse2 ssl ssse3 svg sysfs tcpd theora threads tiff tk truetype unicode upnp v4l v4l2 vcd vcdx vim-syntax vorbis wmp wub32codecs x264 xattr xcb xcomposite xfce xfs xorg xscreensaver xulrunner xvid zeroconf zlib" ALSA_CARDS="snd_hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl en" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roel Brook 2009-08-10 21:19:32 UTC
Created attachment 200870 [details]
Output of "equery k gcc"

Seems related to http://bugs.gentoo.org/show_bug.cgi?id=232803
Comment 2 Paul Varner (RETIRED) gentoo-dev 2009-08-10 21:38:29 UTC
Thanks for the report. It is the same bug as before, we are comparing a float to an integer when we should be comparing integers.
Comment 3 Douglas Anderson 2009-08-11 02:11:33 UTC
Paul, r18 from my repo includes a fix for this, as well as a new option.

http://code.google.com/p/genscripts/source/diff?spec=svn18&old=13&r=18&format=side&path=%2Ftrunk%2Fgentoolkit%2Fpym%2Fgentoolkit%2Fequery%2Fcheck.py
Comment 4 DarkNRG 2009-08-19 10:46:04 UTC
Would be nice to see this fixed.

It seems the error still exists even in svn version (gentoolkit-9999) and it's really irritating when first seen without having a closer look at the output ;)