View previous topic :: View next topic |
Author |
Message |
McTango n00b
Joined: 11 Dec 2004 Posts: 66 Location: Formosa - Argentina
|
Posted: Thu Feb 26, 2009 4:50 pm Post subject: [SOLVED] Compiler problem |
|
|
Hi People:
It´s me again...
Now, after a system cleanup (emerge --clean and emerge --depclean) my Ultra5 can´t compile anything.
Seems to be that the compiler is broken or something.
"emerge --clean" didn't unmerged anything, but "emerge --depclean" unmerged a lot of packages (i think they were orphans).
This is the list of unmerged packages: Code: | 1235639540: Started emerge on: Feb 26, 2009 07:12:20
1235639540: *** emerge depclean
1235639540: >>> depclean
1235639594: === Unmerging... (sys-kernel/gentoo-sources-2.6.23-r3)
1235639699: >>> unmerge success: sys-kernel/gentoo-sources-2.6.23-r3
1235639699: === Unmerging... (media-plugins/gst-plugins-vorbis-0.10.14)
1235639707: >>> unmerge success: media-plugins/gst-plugins-vorbis-0.10.14
1235639707: === Unmerging... (media-plugins/gst-plugins-ogg-0.10.14)
1235639714: >>> unmerge success: media-plugins/gst-plugins-ogg-0.10.14
1235639714: === Unmerging... (net-libs/gnutls-2.2.2)
1235639740: >>> unmerge success: net-libs/gnutls-2.2.2
1235639740: === Unmerging... (media-libs/imlib-1.9.15-r2)
1235639748: >>> unmerge success: media-libs/imlib-1.9.15-r2
1235639748: === Unmerging... (dev-python/pycrypto-2.0.1-r6)
1235639766: >>> unmerge success: dev-python/pycrypto-2.0.1-r6
1235639766: === Unmerging... (x11-libs/openmotif-2.3.0-r1)
1235639778: >>> unmerge success: x11-libs/openmotif-2.3.0-r1
1235639778: === Unmerging... (media-libs/t1lib-5.0.2-r1)
1235639786: >>> unmerge success: media-libs/t1lib-5.0.2-r1
1235639786: === Unmerging... (dev-util/unifdef-1.20)
1235639791: >>> unmerge success: dev-util/unifdef-1.20
1235639791: === Unmerging... (media-sound/lame-3.97-r1)
1235639800: >>> unmerge success: media-sound/lame-3.97-r1
1235639800: === Unmerging... (media-libs/libsdl-1.2.11-r2)
1235639810: >>> unmerge success: media-libs/libsdl-1.2.11-r2
1235639810: === Unmerging... (gnome-base/libglade-2.6.2)
1235639819: >>> unmerge success: gnome-base/libglade-2.6.2
1235639819: === Unmerging... (media-sound/vorbis-tools-1.2.0-r1)
1235639827: >>> unmerge success: media-sound/vorbis-tools-1.2.0-r1
1235639827: === Unmerging... (sys-devel/automake-1.6.3)
1235639836: >>> unmerge success: sys-devel/automake-1.6.3
1235639836: === Unmerging... (media-libs/imlib2-1.4.0)
1235639844: >>> unmerge success: media-libs/imlib2-1.4.0
1235639844: === Unmerging... (sys-apps/hdparm-8.9)
1235639850: >>> unmerge success: sys-apps/hdparm-8.9
1235639850: === Unmerging... (virtual/xft-7.0)
1235639855: >>> unmerge success: virtual/xft-7.0
1235639855: === Unmerging... (media-plugins/gst-plugins-mad-0.10.6)
1235639862: >>> unmerge success: media-plugins/gst-plugins-mad-0.10.6
1235639862: === Unmerging... (sys-devel/gcc-3.4.6-r2)
1235639894: >>> unmerge success: sys-devel/gcc-3.4.6-r2
1235639894: === Unmerging... (media-libs/libid3tag-0.15.1b)
1235639902: >>> unmerge success: media-libs/libid3tag-0.15.1b
1235639902: === Unmerging... (app-crypt/opencdk-0.6.6)
1235639907: >>> unmerge success: app-crypt/opencdk-0.6.6
1235639907: === Unmerging... (dev-libs/libtasn1-1.3)
1235639913: >>> unmerge success: dev-libs/libtasn1-1.3
1235639913: === Unmerging... (media-libs/libao-0.8.8)
1235639921: >>> unmerge success: media-libs/libao-0.8.8
1235639921: === Unmerging... (media-libs/gst-plugins-good-0.10.6)
1235639934: >>> unmerge success: media-libs/gst-plugins-good-0.10.6
1235639934: === Unmerging... (media-libs/giflib-4.1.6)
1235639942: >>> unmerge success: media-libs/giflib-4.1.6
1235639942: === Unmerging... (media-sound/esound-0.2.38-r1)
1235639951: >>> unmerge success: media-sound/esound-0.2.38-r1
1235639951: === Unmerging... (media-libs/gst-plugins-base-0.10.17)
1235639964: >>> unmerge success: media-libs/gst-plugins-base-0.10.17
1235639964: === Unmerging... (app-admin/eselect-esd-20060719)
1235639969: >>> unmerge success: app-admin/eselect-esd-20060719
1235639969: === Unmerging... (dev-libs/liboil-0.3.12)
1235639978: >>> unmerge success: dev-libs/liboil-0.3.12
1235639978: === Unmerging... (media-libs/audiofile-0.2.6-r3)
1235639986: >>> unmerge success: media-libs/audiofile-0.2.6-r3
1235639986: === Unmerging... (media-libs/gstreamer-0.10.17)
1235639993: >>> unmerge success: media-libs/gstreamer-0.10.17
1235639993: === Unmerging... (dev-libs/check-0.9.5)
1235640001: >>> unmerge success: dev-libs/check-0.9.5
1235640001: === Unmerging... (dev-python/python-fchksum-1.7.1)
1235640006: >>> unmerge success: dev-python/python-fchksum-1.7.1
1235640006: === Unmerging... (dev-lang/python-2.4.4-r9)
1235640025: >>> unmerge success: dev-lang/python-2.4.4-r9
1235640025: === Unmerging... (sys-libs/db-4.3.29-r2)
1235640036: >>> unmerge success: sys-libs/db-4.3.29-r2
1235640036: === Unmerging... (app-dicts/aspell-en-6.0.0)
1235640041: >>> unmerge success: app-dicts/aspell-en-6.0.0
1235640041: === Unmerging... (app-text/aspell-0.60.5)
1235640051: >>> unmerge success: app-text/aspell-0.60.5
1235640051: *** exiting successfully.
1235640075: *** terminating. |
As you can see, "emerge --depclean" unmerged my kernel sources 2.6.23-r3 too, so i had to put the ebuilds on a PORTAGE OVERLAY.
No problems at all at this point... i just masked >=gentoo-sources-2.6.24 to emerge again kernel sources 2.6.23-r3, and everything went ok.
After recover the kernel sources, i've unmerged dhcpcd-4.0.7, masked >=dhcpcd-4 and then tried to emerge the previous version of dhcpcd (3.2.3).
This was happened: Code: | # emerge dhcpcd
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-misc/dhcpcd-3.2.3
* dhcpcd-3.2.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking dhcpcd-3.2.3.tar.bz2 to /var/tmp/portage/net-misc/dhcpcd-3.2.3/work
* Disabling zeroconf support
* Disabling DUID support
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/dhcpcd-3.2.3/work/dhcpcd-3.2.3 ...
make -j2 CC=sparc-unknown-linux-gnu-gcc INFODIR=/var/lib/dhcpcd
echo "#define VERSION \"3.2.3\""> version.h
/bin/sh: ./.fork: No such file or directory
sed 's:@PREFIX@::g; s:@INFODIR@:/var/lib/dhcpcd:g' dhcpcd.8.in > dhcpcd.8
/bin/sh: ./.fork: No such file or directory
/bin/sh: ./.fork: No such file or directory
sparc-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc -pipe -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -std=c99 -pedantic -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 -Wmissing-declarations -Wno-missing-prototypes -Wwrite-strings -Wbad-function-cast -Wnested-externs -Wcomment -Winline -Wchar-subscripts -Wcast-align -Wno-format-nonliteral -Wdeclaration-after-statement -Wsequence-point -Wextra -DINFODIR=\"/var/lib/dhcpcd\" -DTHERE_IS_NO_FORK -DENABLE_OPENRC -c -o arp.o arp.c
/bin/sh: ./.fork: No such file or directory
gcc-config error: Could not run/locate "sparc-unknown-linux-gnu-gcc"
/bin/sh: ./.fork: No such file or directory
make: *** [arp.o] Error 1
*
* ERROR: net-misc/dhcpcd-3.2.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 744: Called die
* The specific snippet of code:
* emake CC="$(tc-getCC)" INFODIR=/var/lib/dhcpcd || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-3.2.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-3.2.3/temp/environment'.
*
>>> Failed to emerge net-misc/dhcpcd-3.2.3, Log file:
>>> '/var/tmp/portage/net-misc/dhcpcd-3.2.3/temp/build.log'
* Messages for package net-misc/dhcpcd-3.2.3:
* Disabling zeroconf support
* Disabling DUID support
*
* ERROR: net-misc/dhcpcd-3.2.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 744: Called die
* The specific snippet of code:
* emake CC="$(tc-getCC)" INFODIR=/var/lib/dhcpcd || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-3.2.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-3.2.3/temp/environment'.
*
#
|
"revdep-rebuild" didn't fix the problem, it detected a lot of libraries broken against gcc-3.2.6 and tried to re-emerge some packages again, but the same compile error stopped all updates (this time, the error was emerging sys-devel/gettext-0.17, the first package that "revdep-rebuild" tried to re-emerge).
This is the result of "emerge --info": Code: | Portage 2.1.6.4 (default/linux/sparc/2008.0, [unavailable], glibc-2.6.1-r0, 2.6.23-gentoo-r3 sparc64)
=================================================================
System uname: Linux-2.6.23-gentoo-r3-sparc64-sun4u-with-glibc2.0
Timestamp of tree: Wed, 11 Feb 2009 01:45:02 +0000
app-shells/bash: 3.2_p39
dev-lang/python: 2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bzip2 cli cracklib crypt cups dri fortran gcc64 gdbm gif gpm iconv isdnlog jpeg kde midi mp3 mudflap ncurses nls nptl nptlonly opengl openmp oss pam pcre perl pppd python qt3 qt4 readline reflection session sparc spl ssl symlink sysfs tcpd unicode xml xorg zlib" 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" USERLAND="GNU" VIDEO_CARDS="mach64"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Thanks. _________________ Charly Tango
Formosa - Argentina
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To emerge, or not to emerge: that is the question.
_________________
Last edited by McTango on Fri Feb 27, 2009 12:55 pm; edited 1 time in total |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Thu Feb 26, 2009 6:08 pm Post subject: |
|
|
I see depclean unmerged quite a few things I would have kept. You possibly had packages still dependent on older python versions, and maybe you were still using an older gcc profile. I'm not a portage expert, but there might be some steps required before using depclean that would keep things orderly. You can also run depclean with a -p flag (pretend) to see what would happen before actually doing it.
Does anyone think emerge -e world would help out McTango? _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
McTango n00b
Joined: 11 Dec 2004 Posts: 66 Location: Formosa - Argentina
|
Posted: Thu Feb 26, 2009 9:33 pm Post subject: |
|
|
Thanks for the answer, audiodef.
Anyway, nor "emerge -e system" or "emerge -e world" works.
Greetings. _________________ Charly Tango
Formosa - Argentina
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To emerge, or not to emerge: that is the question.
_________________ |
|
Back to top |
|
|
McTango n00b
Joined: 11 Dec 2004 Posts: 66 Location: Formosa - Argentina
|
Posted: Fri Feb 27, 2009 12:54 pm Post subject: [SOLVED] Compiler problem |
|
|
Ok... the problem is solved.
I followed "Gentoo GCC Upgrade Guide" (http://www.gentoo.org/doc/en/gcc-upgrading.xml) step by step (using "sparc-unknown-linux-gnu" like CHOST in /etc/make.conf) and everything went ok.
Then, i emerged DHCPCD with no problems at all, and now works ok.
Next step (to be safe that my system is in sane state), i will re-emerge system and world (emerge -eD system && emerge -eD world).
Thanks. _________________ Charly Tango
Formosa - Argentina
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To emerge, or not to emerge: that is the question.
_________________ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|