soInjecting a package inserts a 'stub' for that package so that Portage thinks that it is installed.
will prevent it from emergeing X11.emerge inject [package its trying to install]
Code: Select all
emerge inject x11-base/apple-xfreeCode: Select all
emerge inject apple-xfree/x11-1.0.then enteremerge -p [the program you want to install]
This should fool portage into thinking its already installed it.emerge inject [the xserver the previous command is trying to install]
Code: Select all
echo "x11-base/xfree-4.3.0-r7" >> /etc/portage/packages.provided
Code: Select all
cat /etc/portage/profile/packages.provided
app-shells/bash-2.05b-r2
dev-libs/libxml2-2.6.7
sys-devel/libperl-5.8.1
dev-lang/perl-5.8.1
sys-devel/autoconf-2.59
sys-devel/m4-1.4
sys-apps/coreutils-0.0.0
sys-devel/automake-1.6.3

Code: Select all
mkdir /etc/portage
touch /etc/portage/packages.provided
echo "x11-base/xfree-4.3.0-r7" >> /etc/portage/packages.provided
-bash: /etc/portage/packages.provided: Permission denied

Code: Select all
x11-base/xfree-4.3.0-r7Code: Select all
emerge -pv aterm
Calculating dependencies \
emerge: there are no ebuilds to satisfy "x11-base/apple-xfree".

Code: Select all
emerge --inject x11-base/apple-xfree-4.3
Code: Select all
gcc -Wl,-F. -Wl,-F. -bundle -framework Python -fast -mcpu=7450 -pipe build/temp.darwin-7.5.0-Power_Macintosh-2.3/fchksum.o build/temp.darwin-7.5.0-Power_Macintosh-2.3/md5.o build/temp.darwin-7.5.0-Power_Macintosh-2.3/cksum.o build/temp.darwin-7.5.0-Power_Macintosh-2.3/sum.o -lz -o build/lib.darwin-7.5.0-Power_Macintosh-2.3/fchksum.so
ld: build/temp.darwin-7.5.0-Power_Macintosh-2.3/fchksum.o has local relocation entries in non-writable section (__TEXT,__text)
error: command 'gcc' failed with exit status 1
!!! ERROR: dev-python/python-fchksum-1.7.1 failed.
!!! Function src_compile, Line 20, Exitcode 1
I've been getting the same python-fchksum error as you for some time now. (I've been waiting, hoping it would go away with an update.) I noticed today that it also comes up with jpeg-6b-r3.DaVe&OpenMOsix wrote:[...]
when i try to update portage, the python-fchksum fails.