Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127336 - CCACHE_DIR isnt updated when changed in make.conf
Summary: CCACHE_DIR isnt updated when changed in make.conf
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 127332 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-23 10:18 UTC by James
Modified: 2006-03-23 10: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 James 2006-03-23 10:18:59 UTC
CFLAGS="${CFLAGS}"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort"
CHOST="i686-pc-linux-gnu"
ACCEPT_KEYWORDS="~x86"
PORT_LOGDIR="/var/log/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/nitro_overlay-1"
PORTAGE_NICENESS="10"
FEATURES="ccache"
USE="graphviz bash-completion firefox cairo bzip2 flac mp3 X insecure_drivers symlink mozilla kdenewldflags kdeenablefinal kdexdeltas insecure-savers tiff xscreensaver akode postgres java javascript kde qt gtk2 -gnome -cups -arts flash alsa xine sse sse2 mplayer nsplugin win32codecs nptl nptlonly glibc-omitfp"
CCACHE_SIZE="2G"
CCACHE_DIR="/ccache"
PORTAGE_ELOG_CLASSES="warn error log info"
PORTAGE_ELOG_SYSTEM="save"
MAKEOPTS="-j2"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="ati vesa"
PORTDIR="/usr/portage"
EMERGE_DEFAULT_OPTS="--alphabetical"


python -c 'import portage;print portage.settings["CCACHE_DIR"]' 
/var/tmp/ccache
should be 
CCACHE_DIR="$ccache"
Comment 1 James 2006-03-23 10:19:50 UTC
(In reply to comment #0)
> CFLAGS="${CFLAGS}"
> CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
> LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect
> -Wl,-hashvals -Wl,-zdynsort"
> CHOST="i686-pc-linux-gnu"
> ACCEPT_KEYWORDS="~x86"
> PORT_LOGDIR="/var/log/portage"
> PORTDIR_OVERLAY="/usr/local/portage /usr/local/nitro_overlay-1"
> PORTAGE_NICENESS="10"
> FEATURES="ccache"
> USE="graphviz bash-completion firefox cairo bzip2 flac mp3 X insecure_drivers
> symlink mozilla kdenewldflags kdeenablefinal kdexdeltas insecure-savers tiff
> xscreensaver akode postgres java javascript kde qt gtk2 -gnome -cups -arts
> flash alsa xine sse sse2 mplayer nsplugin win32codecs nptl nptlonly
> glibc-omitfp"
> CCACHE_SIZE="2G"
> CCACHE_DIR="/ccache"
> PORTAGE_ELOG_CLASSES="warn error log info"
> PORTAGE_ELOG_SYSTEM="save"
> MAKEOPTS="-j2"
> INPUT_DEVICES="keyboard mouse"
> VIDEO_CARDS="ati vesa"
> PORTDIR="/usr/portage"
> EMERGE_DEFAULT_OPTS="--alphabetical"
> 
> 
> python -c 'import portage;print portage.settings["CCACHE_DIR"]' 
> /var/tmp/ccache
> should be 
> CCACHE_DIR="$ccache"
> 

Portage 2.1_pre6-r6 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r0, 2.6.16-nitro_git3 i686)
Comment 2 James 2006-03-23 10:32:09 UTC
99local somehow had CCACHE_DIR="/var/tmp/ccache/" changed it and ran
env-update;source /etc/profile
then
python -c 'import portage;print portage.settings["CCACHE_DIR"]'
returned correct result

bug closed
Comment 3 SpanKY gentoo-dev 2006-03-23 10:43:19 UTC
*** Bug 127332 has been marked as a duplicate of this bug. ***