Code: Select all
(Perl compile output here. Perl compiles fine.)
<<< dir /usr/share/doc/perl-5.8.8-r2
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
2 of 56 build
!!! '='media-gfx/graphviz-2.12',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
3 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
4 of 56 build
!!! '='virtual/jdk-1.6.0',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
5 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
6 of 56 build
!!! '='app-doc/doxygen-1.5.4',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
7 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
8 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
9 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
10 of 56 build
!!! '='sys-apps/dbus-1.0.2-r2',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
11 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
12 of 56 build
!!! '='virtual/ghostscript-0',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
13 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
14 of 56 build
!!! '='app-text/ghostscript-gpl-8.61-r1',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
15 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
16 of 56 build
!!! '='dev-lang/swig-1.3.33',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
17 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
18 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
19 of 56 build
!!! '='net-print/cups-1.3.4-r3',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
20 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
21 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
22 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
23 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
24 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
25 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
26 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
27 of 56 build
!!! '='virtual/jre-1.6.0',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
28 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
29 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
30 of 56 build
!!! '='net-fs/samba-3.0.28',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
31 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
32 of 56 build
!!! '='media-libs/alsa-lib-1.0.15',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
33 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
34 of 56 build
!!! '='dev-java/sun-jdk-1.6.0.03',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
35 of 56 build
!!! '=',' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)
these failed to build
'media-gfx/graphviz-2.12',
',
'virtual/jdk-1.6.0',
',
'app-doc/doxygen-1.5.4',
',
',
',
'sys-apps/dbus-1.0.2-r2',
',
'virtual/ghostscript-0',
',
'app-text/ghostscript-gpl-8.61-r1',
',
'dev-lang/swig-1.3.33',
',
',
'net-print/cups-1.3.4-r3',
',
',
',
',
',
',
',
'virtual/jre-1.6.0',
',
',
'net-fs/samba-3.0.28',
',
'media-libs/alsa-lib-1.0.15',
',
'dev-java/sun-jdk-1.6.0.03',
',
these remain to build




Code: Select all
function gcc_config(){
# The eselect added 7-7-06 A varition of mcquires gcc-config
if [ "$tc" != "no" ] ; then
if echo "$1" | grep "gcc-[0-9].*" ; then
# Adding maguire's gcc_config setup here
gcc_current=""
gcc_new_version_number=""
gcc_for_gcc_config=""
gcc_current_no_dot=""
gcc_version_number_no_dot=""
###############################################################
# Let games begin
###############################################################
#10-14-07 switched to CHOST usage so that i686, x86_64 and whaterver else are picked up.
#10-15-07 added test for "config" or "config-"${CHOST}"
if [[ -e "/etc/env.d/gcc/config" ]] ;then
gcc_current=$(sed 's/^.*\([0-9]\.[0-9]\.[0-9]\)/\1/' /etc/env.d/gcc/config)
elif [ -e "/etc/env.d/gcc/config-"${CHOST}"" ] ; then
gcc_current=$(sed 's/^.*\([0-9]\.[0-9]\.[0-9]\)/\1/' /etc/env.d/gcc/config-"${CHOST}")
fi
# $1 is the "gcc-version" that the function build-count, passes to function gcc_config
gcc_new_version_number=$( echo "$1" |sed 's/^.*\([0-9]\.[0-9]\.[0-9]\).*/\1/')
## echo "${gcc_new_version_number} TEST TEST TesT CHOST"
# For selecting the highest version gcc
if echo "$1" | grep -Eq "gcc-[0-9].*" ; then
# stripping out the dots 4.1.1 ==> 411
gcc_current_no_dot=$(echo ${gcc_current} | sed 's/\.//g')
gcc_version_number_no_dot=$(echo ${gcc_new_version_number} | sed 's/\.//g')
# Now finding which no_dot is larger
if [ "${gcc_current_no_dot}" -eq "${gcc_version_number_no_dot}" ] ; then
high_gcc="${gcc_new_version_number}"
elif [ "${gcc_current_no_dot}" -lt "${gcc_version_number_no_dot}" ] ; then
high_gcc="${gcc_new_version_number}"
else
high_gcc="${gcc_current}"
fi
gcc_for_gcc_config="${CHOST}-${high_gcc}"
Code: Select all
if [[ -e "/etc/env.d/gcc/config" ]] ;then
gcc_current=$(sed 's/^.*\([0-9]\.[0-9]\.[0-9]\)/\1/' /etc/env.d/gcc/config)
elif [ -e "/etc/env.d/gcc/config-"${CHOST}"" ] ; then
gcc_current=$(sed 's/^.*\([0-9]\.[0-9]\.[0-9]\)/\1/' /etc/env.d/gcc/config-"${CHOST}")
fiCode: Select all
# ls /etc/env.d/gcc/ -al
total 25
drwxr-xr-x 2 root root 368 Jan 1 17:18 .
drwxr-xr-x 4 root root 672 Jan 1 17:30 ..
lrwxrwxrwx 1 root root 23 Jan 1 17:18 .NATIVE -> i686-pc-linux-gnu-3.4.6
-rw-r--r-- 1 root root 32 Jan 1 17:18 config-i686-pc-linux-gnu
-rw-r--r-- 1 root root 235 Nov 16 14:21 i686-pc-linux-gnu-3.4.6
-rw-r--r-- 1 root root 396 Nov 16 14:21 i686-pc-linux-gnu-3.4.6-hardenednopie
-rw-r--r-- 1 root root 399 Nov 16 14:21 i686-pc-linux-gnu-3.4.6-hardenednopiessp
-rw-r--r-- 1 root root 396 Nov 16 14:21 i686-pc-linux-gnu-3.4.6-hardenednossp
-rw-r--r-- 1 root root 390 Nov 16 14:21 i686-pc-linux-gnu-3.4.6-vanillaCode: Select all
# cat /etc/env.d/gcc/config-i686-pc-linux-gnu
CURRENT=i686-pc-linux-gnu-3.4.6
hielvc wrote:If you all could post " emwrap.sh -V " and your portage version. curmudgeon when you ran emerge did you have circular dependencies?
Code: Select all
$ ./emwrap.sh-r4 -V
emwrap.sh Version-4.0.8 with gcc-config-r4
A wrapper for emerge so you can break emerges into chunks, TC, system, world
or world - system
Mon Oct 15 21:41:56 PDT 2007
$ equery list sys-apps/portage
[ Searching for package 'portage' in 'sys-apps' among: ]
* installed packages
[I--] [ ] sys-apps/portage-2.1.3.19 (0)
I'll show you mine if you'll show me yourshielvc wrote:(...) If you all could post " emwrap.sh -V " and your portage version. (...)
Code: Select all
emwrap.sh Version-4.0.8 with gcc-config
A wrapper for emerge so you can break emerges into chunks, TC, system, world
or world - system Wed Nov 22 19:37:40 PST 2006Code: Select all
[ Searching for package 'portage' in 'sys-apps' among: ]
* installed packages
[I--] [ ~] sys-apps/portage-2.1.4 (0)I see the circular dependency problem myself with both 4.0.8 from Dec 2006 and this version (in this case it was easy enough to break the circle)../emwrap.sh-r4 -V
emwrap.sh Version-4.0.8 with gcc-config-r4
A wrapper for emerge so you can break emerges into chunks, TC, system, world
or world - system
Mon Oct 15 21:41:56 PDT 2007

Code: Select all
Running emwrap.sh 4.0.8 with gcc-config-r4 Mon Oct 15 21:41:56 PDT 2007
If emwrap.sh is run and it detects a "failed' or "build" file
then it will offer to build them. You can ignor this by not doing
anything and what you wanted todo will start after automaticlly.
work_dir is
[ebuild R ] dev-util/codeblocks-9999-r18
You have packages blocking each other. To fix run emerge
and take care of the blockage
Code: Select all
mraz scripts # diff emwrap_2.sh emwrap_3.sh
681c681
< if grep "blocks" wrld.lst ; then
---
> if grep -v '\[ebuild' wrld.lst && grep "blocks" wrld.lst ; then
689c689
< elif grep "masked" wrld.lst ; then
---
> elif grep -v '\[ebuild' wrld.lst && grep "masked" wrld.lst ; then
Code: Select all
/root/scripts/emwrap.sh -set
Code: Select all
BEFORE selecting new GCC:
[1] i686-pc-linux-gnu-3.4.4
[2] i686-pc-linux-gnu-3.4.4-hardened
[3] i686-pc-linux-gnu-3.4.4-hardenednopie
[4] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[5] i686-pc-linux-gnu-3.4.4-hardenednossp
[6] i686-pc-linux-gnu-4.1.2 *
**********************************************************************
I'm going to execute: # gcc-config i686-pc-linux-gnu-
**********************************************************************
Kill me NOW, or forever hold your peace!
(sleeping for 15 seconds...)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
(continuing...)
* gcc-config: Could not locate 'i686-pc-linux-gnu-' in '/etc/env.d/gcc/' !
ERROR: : gcc-config i686-pc-linux-gnu- failed!
Code: Select all
caxton sysadmin # gcc-config -l
[1] i686-pc-linux-gnu-3.4.4
[2] i686-pc-linux-gnu-3.4.4-hardened
[3] i686-pc-linux-gnu-3.4.4-hardenednopie
[4] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[5] i686-pc-linux-gnu-3.4.4-hardenednossp
[6] i686-pc-linux-gnu-4.1.2 *Code: Select all
caxton sysadmin # ls -l /etc/env.d/gcc/
total 28
-rw-r--r-- 1 root root 32 2008-02-21 20:18 config-i686-pc-linux-gnu
-rw-r--r-- 1 root root 292 2005-12-03 02:11 i686-pc-linux-gnu-3.4.4
-rw-r--r-- 1 root root 356 2005-12-03 02:11 i686-pc-linux-gnu-3.4.4-hardened
-rw-r--r-- 1 root root 361 2005-12-03 02:11 i686-pc-linux-gnu-3.4.4-hardenednopie
-rw-r--r-- 1 root root 364 2005-12-03 02:11 i686-pc-linux-gnu-3.4.4-hardenednopiessp
-rw-r--r-- 1 root root 361 2005-12-03 02:11 i686-pc-linux-gnu-3.4.4-hardenednossp
-rw-r--r-- 1 root root 235 2008-02-21 20:17 i686-pc-linux-gnu-4.1.2Code: Select all
caxton sysadmin # cat /etc/env.d/gcc/config-i686-pc-linux-gnu
CURRENT=i686-pc-linux-gnu-4.1.2
(...)carpman wrote:hello, i am getting an error when updating tool chain:
Code: Select all
emwrap.sh -Sb
gcc-config -L
emwrap.sh -W
Code: Select all
emerge -f e2fsprogs e2fsprogs-libs
emerge -C ss com_err e2fsprogs
emerge e2fsprogs e2fsprogs-libsCode: Select all
[ebuild R ] kde-base/kblocks-4.2.0
You have packages blocking each other. To fix run emerge
and take care of the blockage
Is this normal or something will need to be changed in the script? If so, where exactly?INSTALL /nfs1/var/tmp/portage/portage/dev-java/java-gnome-4.0.13/image//usr/share/java-gnome-4.0/lib/gtk-4.0.jar
JAR /nfs1/var/tmp/portage/portage/dev-java/java-gnome-4.0.13/image//usr/share/java-gnome-4.0/lib/gtk-4.0.jar
SYMLINK /nfs1/var/tmp/portage/portage/dev-java/java-gnome-4.0.13/image//usr/share/java-gnome-4.0/lib/gtk.jar -> gtk-4.0.jar
INSTALL /nfs1/var/tmp/portage/portage/dev-java/java-gnome-4.0.13/image//usr/lib64/java-gnome-4.0/libgtkjni-4.0.13.so
>>> Completed installing java-gnome-4.0.13 into /nfs1/var/tmp/portage/portage/dev-java/java-gnome-4.0.13/image/
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/lib64/java-gnome-4.0/libgtkjni-4.0.13.so
>>> Installing (1 of 1) dev-java/java-gnome-4.0.13
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
grep: wrld.lst: No such file or directory
grep: wrld.lst: No such file or directory
grep: wrld.lst: No such file or directory
grep: wrld.lst: No such file or directory
grep: wrld.lst: No such file or directory
ToolChain updates found
no
======================================================
grep: wrld.lst: No such file or directory
grep: wrld.lst: No such file or directory
grep: wrld.lst: No such file or directory
grep: wrld.lst: No such file or directory
grep: wrld.lst: No such file or directory
awk: cmd. line:1: fatal: cannot open file `wrld.lst' for reading (No such file or directory)
0 build to emerge
these failed to build
media-libs/schroedinger-1.0.7-r1
Code: Select all
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.28-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 09 Sep 2009 14:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python: 2.5.4-r3, 2.6.2-r1
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org http://prometheus.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
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="/nfs1/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 aspell berkdb bzip2 cli cracklib crypt cups dbus dri gdbm gnome gpm gstreamer gtk hal iconv isdnlog jpeg ldap mmx mudflap multilib ncurses nls nptl nptlonly nsplugin openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl svg sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTSCode: Select all
This is my emwrap script : http://pastebin.ca/1560108