Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381965 - kde-base/kcalc-4.6.5-r1 "owns" files in /var/tmp/portage
Summary: kde-base/kcalc-4.6.5-r1 "owns" files in /var/tmp/portage
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-05 18:54 UTC by Kevin Lyles
Modified: 2011-10-22 22:55 UTC (History)
1 user (show)

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


Attachments
Ksplash build log (ksplash-4.6.5:20111022-185827.log,26.58 KB, text/plain)
2011-10-22 22:34 UTC, Kevin Lyles
Details
Poppler build log (poppler-0.16.7:20111022-201031.log,70.18 KB, text/plain)
2011-10-22 22:36 UTC, Kevin Lyles
Details
Openjpeg build log (openjpeg-1.4-r1:20111022-185937.log,77.98 KB, text/plain)
2011-10-22 22:36 UTC, Kevin Lyles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Lyles 2011-09-05 18:54:32 UTC
Kcalc appears to own files in /var/tmp/portage, though those files don't actually exist.  Those files do not appear in the correct location, either (which means kcalc doesn't run).

The problem appears to have shown up when I re-emerged kcalc today as part of a revdep-rebuild.  Manually emerging the package again did not help.  I had the same version (kde-base/kcalc-4.6.5-r1) installed prior to today (since 8/19) and working properly.  The other packages that I re-emerged as part of the same revep-rebuild do not seem to have this issue, though kcalc was the only KDE package re-emerged today.

I'm not sure if this is portage, the ebuild, or something else.  I'm happy to look into things if someone can give me a starting point, or provide any other information that may be useful.

Reproducible: Always

Steps to Reproduce:
1. Emerge kde-base/kcalc-4.6.5-r1
2. Run equery files kcalc

Actual Results:  
The list of files includes several files in /var/tmp/portage

Expected Results:  
There are no files listed under /var/tmp/portage

# equery belongs /var/tmp
 * Searching for /var/tmp ... 
kde-base/kcalc-4.6.5-r1 (/var/tmp)
# equery files kcalc
 * Searching for kcalc ...
 * Contents of kde-base/kcalc-4.6.5-r1:
/usr
/usr/lib
/usr/lib/debug
/usr/lib/debug/var
/usr/lib/debug/var/tmp
/usr/lib/debug/var/tmp/portage
/usr/lib/debug/var/tmp/portage/kde-base
/usr/lib/debug/var/tmp/portage/kde-base/kcalc-4.6.5-r1
/usr/lib/debug/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work
/usr/lib/debug/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build
/usr/lib/debug/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)
/usr/lib/debug/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/bin
/usr/lib/debug/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/bin/kcalc.debug
/usr/lib/debug/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/lib
/usr/lib/debug/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/lib/libkdeinit4_kcalc.so.debug
/usr/share
/usr/share/doc
/usr/share/doc/kcalc-4.6.5-r1
/usr/share/doc/kcalc-4.6.5-r1/ChangeLog.bz2
/usr/share/doc/kcalc-4.6.5-r1/README.bz2
/usr/share/doc/kcalc-4.6.5-r1/TODO.bz2
/var
/var/tmp
/var/tmp/portage
/var/tmp/portage/kde-base
/var/tmp/portage/kde-base/kcalc-4.6.5-r1
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/bin
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/bin/kcalc
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/lib
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/lib/libkdeinit4_kcalc.so
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/applications
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/applications/kde4
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/applications/kde4/kcalc.desktop
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/apps
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/apps/kcalc
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/apps/kcalc/kcalcui.rc
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/apps/kcalc/scienceconstants.xml
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/apps/kconf_update
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/apps/kconf_update/kcalcrc.upd
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/config.kcfg
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/config.kcfg/kcalc.kcfg
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/doc
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/doc/HTML
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/doc/HTML/en
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/doc/HTML/en/kcalc
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/doc/HTML/en/kcalc/commands.docbook
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/doc/HTML/en/kcalc/common -> /var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/doc/HTML/en/common                                                   
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/doc/HTML/en/kcalc/index.cache.bz2
/var/tmp/portage/kde-base/kcalc-4.6.5-r1/work/kcalc-4.6.5_build/(update)/share/doc/HTML/en/kcalc/index.docbook
# emerge --info kcalc
Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3-iqgryn i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r3-iqgryn-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.3
Timestamp of tree: Sun, 04 Sep 2011 19:30:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo Custom-overlay-personal
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/hddtemp/hddtemp.db /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.netnitco.net/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo/ http://mirrors.rit.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en_US 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/portage/local/custom"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acct acl acpi aim akode alsa animgif ao apng arts audiofile avahi bash-completion bluetooth boost branding bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr chardet chm chroot cjk cleartype cli consolekit contrib coverart cracklib crypt cscope css cuda cups curl cvs cxx d dbus declarative detex device-mapper dga disk-partition diskio divx doc dri dvd dvdr ebook elf emboss encode exif expat fam fastcgi fat ffmpeg fftw firefox flac fmod font-server fontforge foomaticdb fortran fts3 gcj gd gdbm gdu gif gimp git glibc-omitfp glitz glsa glut gmedia gmp gnutls gphoto2 gpm graphics gs gsm gstreamer gtk gtkhtml h323 handbook hbci hddtemp iconv icq icu id3 idn imagemagick imlib inotify iostats jabber jadetex java java5 java6 jpeg jpeg2k kde kpathsea kqemu lame laptop latex latex3 lcms libnotify libsamplerate lm_sensors logrotate lua luatex lyrics lzma lzo mad matroska md5sum md5sum-external mdnsresponder-compat mfd-rewrites mikmod mjpeg mktemp mmap mmx mmxext mng modules motif moznocompose moznoirc moznomail mp3 mp4 mpd mpeg mpg123 mpi mplayer msn mudflap multiuser music musicbrainz nano-syntax ncurses network network-cron nls nowin nptl nptlonly nsplugin ntfs ntp nvidia objc ocaml ofa offensive ofx ogg openal opencl opengl openmp openvg optimization optimized-qmake pam pam_ssh pango pcre pdf perl phonon pic pipe png policykit posix ppds prediction pulseaudio python qt-static qt3 qt3support qt4 rdesktop readline realmedia redeyes reiserfs restrict-javascript romio rtc scenarios schroedinger science screen sdl sensord session sip sipim slp smp snmp speex spell sqlite srt sse sse2 ssh ssl startup-notification stream stroke subtitles subversion svg symlink sysfs syslog sysvipc tcpd tex4ht theora threads thunderbird tiff tk toolbar transcode truetype udev unicode usb userlocales utempter vaapi vcd vdpau video videos vidix vim-pager vim-syntax vim-with-x vnc voice vorbis vpx wav win32codecs winbind wma wmf wmp x264 x86 xattr xcb xcomposite xetex xine xinerama xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc yahoo zip zlib" ALSA_CARDS="emu10k1" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

kde-base/kcalc-4.6.5-r1 was built with the following:
USE="handbook (-aqua) -debug (-kdeenablefinal) -test"

#
Comment 1 Kevin Lyles 2011-09-05 19:16:03 UTC
Alright, this is weird.  I manually emerged kcalc a second time (third emerge today) with FEATURES="noclean" and that seems to have fixed it.  I was going to attach the build log.  I'll try a couple more things to see if I can cause the bug again.
Comment 2 Kevin Lyles 2011-09-05 20:04:10 UTC
I've been unable to make this happen again after another dozen or so manual emerges.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-09-05 22:53:42 UTC
@portage: any clue how this might happen?
Comment 4 Zac Medico gentoo-dev 2011-09-06 02:54:33 UTC
(In reply to comment #3)
> @portage: any clue how this might happen?

I have no clue. I'd suggest to resolve as WORKSFORME if nobody can reproduce it.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-09-06 20:28:07 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > @portage: any clue how this might happen?
> 
> I have no clue. I'd suggest to resolve as WORKSFORME if nobody can reproduce
> it.

Ack. Kevin, if it ever happens again, please reopen (ideally with a build log)...
Comment 6 Kevin Lyles 2011-10-22 22:33:33 UTC
I've had this happen again, this time with multiple packages.

# equery belongs /var/tmp
 * Searching for /var/tmp ... 
app-text/poppler-0.16.7 (/var/tmp)
kde-base/ksplash-4.6.5 (/var/tmp)
media-gfx/digikam-1.9.0 (/var/tmp)
media-libs/opencv-2.3.0 (/var/tmp)
media-libs/openjpeg-1.4-r1 (/var/tmp)
media-libs/vigra-1.7.1 (/var/tmp)
#

I'll attach the build logs for poppler, openjpeg, and ksplash shortly (they are the shortest).  I'm happy to post the rest if it would help.
Comment 7 Kevin Lyles 2011-10-22 22:34:46 UTC
Created attachment 290571 [details]
Ksplash build log
Comment 8 Kevin Lyles 2011-10-22 22:36:05 UTC
Created attachment 290573 [details]
Poppler build log
Comment 9 Kevin Lyles 2011-10-22 22:36:37 UTC
Created attachment 290575 [details]
Openjpeg build log
Comment 10 Arfrever Frehtes Taifersar Arahesis 2011-10-22 22:50:20 UTC
Have you set PREFIX="(update)" in make.conf, environment or somewhere else?
Comment 11 Kevin Lyles 2011-10-22 22:55:31 UTC
(In reply to comment #10)
> Have you set PREFIX="(update)" in make.conf, environment or somewhere else?

Oh lord, I'm an idiot.  That's part of the script I wrote to help myself streamline updates -- it changes PS1 to mark the shell that it launches as part of the script so I know I can close it without closing the whole session.

I'll rename that variable and that should clear things up.  Sorry for the noise.