Emerge GCC fails from Sabayon-Distro overlay [Solved]

Anything that pertains to Portage

Moderator: Moderators

Emerge GCC fails from Sabayon-Distro overlay [Solved]

Postby BlackNoxis » Wed Dec 14, 2011 18:34

blacknoxis / # emerge gcc

Performing Global Updates:
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' #='/var/db update' @='/var/db move'
s='/var/db SLOT move' %='binary move' S='binary SLOT move'
p='update /etc/portage/package.*'
/var/lib/layman/sabayon-distro/profiles/updates/2Q-2009.
/var/lib/layman/sabayon-distro/profiles/updates/4Q-2010....
/var/lib/layman/sabayon-distro/profiles/updates/1Q-2011.
/var/lib/layman/sabayon-distro/profiles/updates/2Q-2011.............................................................................................................................................................................................................................................................
/var/lib/layman/sabayon-distro/profiles/updates/3Q-2011.


Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-devel/gcc-4.6.2 from sabayon-distro
>>> Failed to emerge sys-devel/gcc-4.6.2, Log file:
>>> '/var/tmp/portage/sys-devel/gcc-4.6.2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.65, 0.46, 0.50
* gcc-4.6.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Downloading 'http://distfiles.gentoo.org/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2'
--2011-12-14 19:27:30-- http://distfiles.gentoo.org/distfiles/g ... .0.tar.bz2
Resolving distfiles.gentoo.org... 64.50.236.52, 137.226.34.42, 140.211.166.134, ...
Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3019 (2.9K) [application/x-bzip2]
Saving to: “/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2”

0K .. 100% 177M=0s

2011-12-14 19:27:30 (177 MB/s) - “/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2” saved [3019/3019]

!!! Fetched file: gcc-4.6.2-uclibc-patches-1.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 3019
!!! Expected: 3027
Refetching... File renamed to '/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2._checksum_failure_.mzio1n'

>>> Downloading 'http://dev.gentoo.org/~vapier/dist/gcc-4.6.2-uclibc-patches-1.0.tar.bz2'
--2011-12-14 19:27:30-- http://dev.gentoo.org/~vapier/dist/gcc- ... .0.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-12-14 19:27:30 ERROR 404: Not Found.

>>> Downloading 'http://gentoo.osuosl.org/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2'
--2011-12-14 19:27:30-- http://gentoo.osuosl.org/distfiles/gcc- ... .0.tar.bz2
Resolving gentoo.osuosl.org... 64.50.233.100, 64.50.236.52
Connecting to gentoo.osuosl.org|64.50.233.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3019 (2.9K) [application/x-bzip2]
Saving to: “/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2”

0K .. 100% 174M=0s

2011-12-14 19:27:31 (174 MB/s) - “/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2” saved [3019/3019]

!!! Fetched file: gcc-4.6.2-uclibc-patches-1.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 3019
!!! Expected: 3027
Refetching... File renamed to '/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2._checksum_failure_.mzio1n'

>>> Downloading 'http://dev.gentoo.org/~dirtyepic/dist/gcc-4.6.2-uclibc-patches-1.0.tar.bz2'
--2011-12-14 19:27:31-- http://dev.gentoo.org/~dirtyepic/dist/g ... .0.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3019 (2.9K) [application/x-bzip2]
Saving to: “/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2”

0K .. 100% 210M=0s

2011-12-14 19:27:31 (210 MB/s) - “/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2” saved [3019/3019]

!!! Fetched file: gcc-4.6.2-uclibc-patches-1.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 3019
!!! Expected: 3027
Refetching... File renamed to '/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2._checksum_failure_.mzio1n'

>>> Downloading 'http://dev.gentoo.org/~zorry/patches/gcc/gcc-4.6.2-uclibc-patches-1.0.tar.bz2'
--2011-12-14 19:27:31-- http://dev.gentoo.org/~zorry/patches/gc ... .0.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-12-14 19:27:32 ERROR 404: Not Found.

>>> Downloading 'http://dev.gentoo.org/~halcy0n/patches/gcc-4.6.2-uclibc-patches-1.0.tar.bz2'
--2011-12-14 19:27:32-- http://dev.gentoo.org/~halcy0n/patches/ ... .0.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-12-14 19:27:32 ERROR 404: Not Found.

>>> Downloading 'http://gentoo.ussg.indiana.edu/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2'
--2011-12-14 19:27:32-- http://gentoo.ussg.indiana.edu/distfile ... .0.tar.bz2
Resolving gentoo.ussg.indiana.edu... 156.56.247.195
Connecting to gentoo.ussg.indiana.edu|156.56.247.195|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3019 (2.9K) [application/x-tar]
Saving to: “/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2”

0K .. 100% 20.4K=0.1s

2011-12-14 19:27:33 (20.4 KB/s) - “/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2” saved [3019/3019]

!!! Fetched file: gcc-4.6.2-uclibc-patches-1.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 3019
!!! Expected: 3027
Refetching... File renamed to '/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2._checksum_failure_.mzio1n'

>>> Downloading 'http://ftp.halifax.rwth-aachen.de/gentoo/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2'
--2011-12-14 19:27:33-- http://ftp.halifax.rwth-aachen.de/gento ... .0.tar.bz2
Resolving ftp.halifax.rwth-aachen.de... 137.226.34.42
Connecting to ftp.halifax.rwth-aachen.de|137.226.34.42|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3019 (2.9K) [application/octet-stream]
Saving to: “/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2”

0K .. 100% 107M=0s

2011-12-14 19:27:33 (107 MB/s) - “/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2” saved [3019/3019]

!!! Fetched file: gcc-4.6.2-uclibc-patches-1.0.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 3019
!!! Expected: 3027
Refetching... File renamed to '/usr/portage/distfiles/gcc-4.6.2-uclibc-patches-1.0.tar.bz2._checksum_failure_.mzio1n'

!!! Couldn't download 'gcc-4.6.2-uclibc-patches-1.0.tar.bz2'. Aborting.
* Fetch failed for 'sys-devel/gcc-4.6.2', Log file:
* '/var/tmp/portage/sys-devel/gcc-4.6.2/temp/build.log'

* Messages for package sys-devel/gcc-4.6.2:

* Fetch failed for 'sys-devel/gcc-4.6.2', Log file:
* '/var/tmp/portage/sys-devel/gcc-4.6.2/temp/build.log'

Emerge synced 3 times, layman-ed the sabayon-distro overlay also, it doesn't bring any success. I've downloaded manually that file from other mirrors/distfiles, the file still has 3019 bytes, even though sabayon-distro's gcc ebuild shows that it searches for the 3027 bytes one. The 'toolchain''s overlay works with the 3019 uclibc-patch with no error.
Last edited by BlackNoxis on Fri Feb 17, 2012 21:36, edited 1 time in total.
User avatar
BlackNoxis
Growing Hen
 
Posts: 110
Joined: Tue Oct 06, 2009 10:37
Location: Cluj-Napoca, Transylvania, Romania

Re: Emerge GCC fails from Sabayon-Distro overlay

Postby BlackNoxis » Wed Dec 14, 2011 19:10

Ok, found a solution, but still doesn't solve the updating problem.
http://ftp.heanet.ie/disk1/funtoo/distfiles/ this mirror has the right file but it's not in the priority portage mirrors, hope the other mirrors will update to this version. The Ireland's mirror has the two exact files that the other mirrors don't have with the same bytes gcc-4.6.2-piepatches-v0.4.5.tar.bz2 and gcc-4.6.2-uclibc-patches-1.0.tar.bz2.
The compilation continues and stops at this


>>> Source unpacked in /var/tmp/portage/sys-devel/gcc-4.6.2/work
>>> Preparing source in /var/tmp/portage/sys-devel/gcc-4.6.2/work/gcc-4.6.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-devel/gcc-4.6.2/work/gcc-4.6.2 ...
* econf: updating gcc-4.6.2/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating gcc-4.6.2/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating gcc-4.6.2/libjava/classpath/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating gcc-4.6.2/libjava/classpath/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating gcc-4.6.2/libjava/libltdl/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating gcc-4.6.2/libjava/libltdl/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/sys-devel/gcc-4.6.2/work/gcc-4.6.2':
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-devel/gcc-4.6.2/work/gcc-4.6.2/config.log
* ERROR: sys-devel/gcc-4.6.2 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 84: Called src_configure
* environment, line 4316: Called _eapi2_src_configure
* phase-helpers.sh, line 564: Called econf
* phase-helpers.sh, line 461: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =sys-devel/gcc-4.6.2',
* the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.6.2'.
* This ebuild is from an overlay named 'sabayon-distro': '/var/lib/layman/sabayon-distro/'
/var/tmp/portage/sys-devel/gcc-4.6.2/temp/environment: line 4939: pushd: /var/tmp/portage/sys-devel/gcc-4.6.2/work/build: No such file or directory
*
* Please include /var/tmp/portage/sys-devel/gcc-4.6.2/work/gcc-4.6.2/gcc-build-logs.tar.bz2 in your bug report
*
/var/tmp/portage/sys-devel/gcc-4.6.2/temp/environment: line 4944: popd: directory stack empty
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.6.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.6.2/temp/environment'.
* S: '/var/tmp/portage/sys-devel/gcc-4.6.2/work/gcc-4.6.2'

* Messages for package sys-devel/gcc-4.6.2:

*
* LTO support is still experimental and unstable.
* Any bugs resulting from the use of LTO will not be fixed.
*
* ERROR: sys-devel/gcc-4.6.2 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 84: Called src_configure
* environment, line 4316: Called _eapi2_src_configure
* phase-helpers.sh, line 564: Called econf
* phase-helpers.sh, line 461: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =sys-devel/gcc-4.6.2',
* the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.6.2'.
* This ebuild is from an overlay named 'sabayon-distro': '/var/lib/layman/sabayon-distro/'
*
* Please include /var/tmp/portage/sys-devel/gcc-4.6.2/work/gcc-4.6.2/gcc-build-logs.tar.bz2 in your bug report
*
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.6.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.6.2/temp/environment'.
* S: '/var/tmp/portage/sys-devel/gcc-4.6.2/work/gcc-4.6.2'
User avatar
BlackNoxis
Growing Hen
 
Posts: 110
Joined: Tue Oct 06, 2009 10:37
Location: Cluj-Napoca, Transylvania, Romania

Re: Emerge GCC fails from Sabayon-Distro overlay

Postby BlackNoxis » Wed Dec 14, 2011 19:51

DIST gcc-4.6.2-piepatches-v0.4.5.tar.bz2 14167 RMD160 64123a9ff8b3797c2acd01c63574c38e0cad683d SHA1 de6528ddd27b96d9255d31c5841fcf22bd7830ee SHA256 2ba43e31fbf7c05839774b6e9eb1b63fc228183d6c2464c54edd068dd3d2cea5
DIST gcc-4.6.2-uclibc-patches-1.0.tar.bz2 3027 RMD160 05c3d2e6f14d690a23d7ee2bf246f4763b0a7308 SHA1 d5f34472e4e4e3be981191c1c4123f8bf57b092d SHA256 fbabb35225451b9b3147eeccc36a1dc92ded627da0c0bc56e062b55816024ca5

Manifest file from sabayon-distro showing the two files with their size and

DIST gcc-4.6.2-piepatches-v0.5.0.tar.bz2 14397 RMD160 77bd51e94cf71b9582f0a1e9f01dec1a9c6eea68 SHA1 03fd5104eeef7f6e12b0cd86732593d082643ba7 SHA256 19bf8797bb9a999c3396613e28b0fda3bad80a0815ab30ea08bc1c98a8a51b71
DIST gcc-4.6.2-uclibc-patches-1.0.tar.bz2 3019 RMD160 7e991775c15d4126bd8d85aceb677c675559606f SHA1 0d316aaf94966cc52b1582282723a932ac065639 SHA256 25e902a6d2db7181394df5ad11fafaad064bf28a6ffebd889033f744613ac201

from a normal gentoo mirror/distfiles.
In other words, where are the 2 files which sabayon-distro proposes for using ?
User avatar
BlackNoxis
Growing Hen
 
Posts: 110
Joined: Tue Oct 06, 2009 10:37
Location: Cluj-Napoca, Transylvania, Romania

Re: Emerge GCC fails from Sabayon-Distro overlay

Postby BlackNoxis » Fri Feb 17, 2012 21:36

When the hell did I ... Nevermind. Long SOLVED ! Bleah :shock:
User avatar
BlackNoxis
Growing Hen
 
Posts: 110
Joined: Tue Oct 06, 2009 10:37
Location: Cluj-Napoca, Transylvania, Romania


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests