LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 02-18-2014, 04:21 PM   #31
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405

That's a good start, however, since the breakage was somewhat important, I'd do this:

Code:
$ emerge -eva @system
Check the output and if there's nothing wrong go ahead. That should recompile the whole system set (it will take a while). The system set is the basic system, which is more-or-less what comes in the stage (but not exactly).

After that ends, if there's no problem, see this

Code:
gcc-config -l

See what compiler is set as system compiler (marked with an asterisk). If there's a newer one you might want to enable it. After that, if nothing fails (that'd surprise me greatly), do this to update your whole world, and ensure that everything is consistent

Code:
emerge -auDvN @world

Last edited by i92guboj; 02-18-2014 at 04:22 PM.
 
Old 02-18-2014, 04:28 PM   #32
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Original Poster
Rep: Reputation: 14
You were right - Too soon for claiming victory .

emerge -eva @system still fails.



Quote:
>>> Emerging (2 of 321) app-arch/bzip2-1.0.6-r3
* bzip2-1.0.6.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking bzip2-1.0.6.tar.gz to /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work
>>> Source unpacked in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work
>>> Preparing source in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6 ...
* Applying bzip2-1.0.4-makefile-CFLAGS.patch ... [ ok ]
* Applying bzip2-1.0.6-saneso.patch ... [ ok ]
* Applying bzip2-1.0.4-man-links.patch ... [ ok ]
* Applying bzip2-1.0.6-progress.patch ... [ ok ]
* Applying bzip2-1.0.3-no-test.patch ... [ ok ]
* Applying bzip2-1.0.4-POSIX-shell.patch ... [ ok ]
* Applying bzip2-1.0.6-mingw.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6 ...
make -j3 CC=i686-pc-linux-gnu-gcc AR=i686-pc-linux-gnu-ar RANLIB=i686-pc-linux-gnu-ranlib -f Makefile-libbz2_so all
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64 -c blocksort.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64 -c huffman.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64 -c crctable.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64 -c randtable.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64 -c compress.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64 -c decompress.c
blocksort.c: In function 'mainSort':
blocksort.c:347:6: warning: inlining failed in call to 'mainGtU.part.0': function not considered for inlining [-Winline]
blocksort.c:751:6: warning: called from here [-Winline]
blocksort.c:347:6: warning: inlining failed in call to 'mainGtU.part.0': call is unlikely and code size would grow [-Winline]
blocksort.c:751:6: warning: called from here [-Winline]
blocksort.c:347:6: warning: inlining failed in call to 'mainGtU.part.0': call is unlikely and code size would grow [-Winline]
blocksort.c:751:6: warning: called from here [-Winline]
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64 -c bzlib.c
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.6 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64 -o bzip2-shared bzip2.c libbz2.so.1.0.6
bzip2.c: In function 'testStream':
bzip2.c:612:37: warning: variable 'nread' set but not used [-Wunused-but-set-variable]
bzip2.c: In function 'compress':
bzip2.c:1225:44: error: 'errno' undeclared (first use in this function)
bzip2.c:1225:44: note: each undeclared identifier is reported only once for each function it appears in
bzip2.c: In function 'uncompress':
bzip2.c:1414:44: error: 'errno' undeclared (first use in this function)
bzip2.c: In function 'testf':
bzip2.c:1594:44: error: 'errno' undeclared (first use in this function)
bzip2.c: In function 'applySavedFileAttrToOutputFile':
bzip2.c:1128:4: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result]
make: *** [all] Error 1
emake failed
* ERROR: app-arch/bzip2-1.0.6-r3::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2114: Called bemake '-f' 'Makefile-libbz2_so' 'all'
* environment, line 374: Called die
* The specific snippet of code:
* emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" "$@" || die
*
* If you need support, post the output of `emerge --info '=app-arch/bzip2-1.0.6-r3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-arch/bzip2-1.0.6-r3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/environment'.
* Working directory: '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6'
* S: '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6'

>>> Failed to emerge app-arch/bzip2-1.0.6-r3, Log file:

>>> '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/build.log'

* Messages for package app-arch/bzip2-1.0.6-r3:

* ERROR: app-arch/bzip2-1.0.6-r3::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2114: Called bemake '-f' 'Makefile-libbz2_so' 'all'
* environment, line 374: Called die
* The specific snippet of code:
* emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" "$@" || die
*
* If you need support, post the output of `emerge --info '=app-arch/bzip2-1.0.6-r3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-arch/bzip2-1.0.6-r3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/environment'.
* Working directory: '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6'
* S: '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6'

* GNU info directory index is up-to-date.
 
Old 02-18-2014, 04:52 PM   #33
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I'll upload a bin package for binutils. It's one of these packages that won't work from another CHOST, so I am preparing one for i686. As soon as it's up I'll give you the link, then you can install like the others above.

That error might have something to do with binutils, we can't be sure though. But trying is for free.

By the way, once you install that, you can resume the last emerge operation by using "emerge --resume", as long as you didn't launch another emerge in the while.

You might also find useful to know that "emerge --resume --skipfirst" will skip the last package and continue from the next upwards.

ps. While I was writing it finished, so here you are:

http://www.jesgue.es/files/gentoo-x8...ls-2.23.2.tbz2
 
Old 02-19-2014, 03:47 AM   #34
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Original Poster
Rep: Reputation: 14
I emerged binutils without problems (thank you)

It seems however, the compilation fails with the same error as before.
Weird, 2 packages just emerged and it is bzip2 to crash.

Code:
Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-libs/pam-1.1.6-r2
openpty failed: 'out of pty devices'

>>> Emerging (1 of 321) virtual/libintl-0
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/virtual/libintl-0/work
>>> Compiling source in /var/tmp/portage/virtual/libintl-0/work ...
>>> Source compiled.
>>> Test phase [not enabled]: virtual/libintl-0

>>> Install libintl-0 into /var/tmp/portage/virtual/libintl-0/image/ category virtual
>>> Completed installing libintl-0 into /var/tmp/portage/virtual/libintl-0/image/


>>> Installing (1 of 321) virtual/libintl-0
 * checking 0 files for package collisions
>>> Merging virtual/libintl-0 to /
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
>>> virtual/libintl-0 merged.

>>> Emerging (2 of 321) app-arch/bzip2-1.0.6-r3
 * bzip2-1.0.6.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking bzip2-1.0.6.tar.gz to /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work
>>> Source unpacked in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work
>>> Preparing source in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6 ...
 * Applying bzip2-1.0.4-makefile-CFLAGS.patch ...                                                          [ ok ]
 * Applying bzip2-1.0.6-saneso.patch ...                                                                   [ ok ]
 * Applying bzip2-1.0.4-man-links.patch ...                                                                [ ok ]
 * Applying bzip2-1.0.6-progress.patch ...                                                                 [ ok ]
 * Applying bzip2-1.0.3-no-test.patch ...                                                                  [ ok ]
 * Applying bzip2-1.0.4-POSIX-shell.patch ...                                                              [ ok ]
 * Applying bzip2-1.0.6-mingw.patch ...                                                                    [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6 ...
make -j3 CC=i686-pc-linux-gnu-gcc AR=i686-pc-linux-gnu-ar RANLIB=i686-pc-linux-gnu-ranlib -f Makefile-libbz2_so all 
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c blocksort.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c huffman.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c crctable.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c randtable.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c compress.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c decompress.c
blocksort.c: In function 'mainSort':
blocksort.c:347:6: warning: inlining failed in call to 'mainGtU.part.0': function not considered for inlining [-Winline]
blocksort.c:751:6: warning: called from here [-Winline]
blocksort.c:347:6: warning: inlining failed in call to 'mainGtU.part.0': call is unlikely and code size would grow [-Winline]
blocksort.c:751:6: warning: called from here [-Winline]
blocksort.c:347:6: warning: inlining failed in call to 'mainGtU.part.0': call is unlikely and code size would grow [-Winline]
blocksort.c:751:6: warning: called from here [-Winline]
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c bzlib.c
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.6 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -o bzip2-shared bzip2.c libbz2.so.1.0.6
bzip2.c: In function 'testStream':
bzip2.c:612:37: warning: variable 'nread' set but not used [-Wunused-but-set-variable]
bzip2.c: In function 'compress':
bzip2.c:1225:44: error: 'errno' undeclared (first use in this function)
bzip2.c:1225:44: note: each undeclared identifier is reported only once for each function it appears in
bzip2.c: In function 'uncompress':
bzip2.c:1414:44: error: 'errno' undeclared (first use in this function)
bzip2.c: In function 'testf':
bzip2.c:1594:44: error: 'errno' undeclared (first use in this function)
bzip2.c: In function 'applySavedFileAttrToOutputFile':
bzip2.c:1128:4: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result]
make: *** [all] Error 1
emake failed
 * ERROR: app-arch/bzip2-1.0.6-r3::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2114:  Called bemake '-f' 'Makefile-libbz2_so' 'all'
 *   environment, line  374:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" "$@" || die
 * 
 * If you need support, post the output of `emerge --info '=app-arch/bzip2-1.0.6-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-arch/bzip2-1.0.6-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6'
 * S: '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6'

>>> Failed to emerge app-arch/bzip2-1.0.6-r3, Log file:

>>>  '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/build.log'

 * Messages for package app-arch/bzip2-1.0.6-r3:

 * ERROR: app-arch/bzip2-1.0.6-r3::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2114:  Called bemake '-f' 'Makefile-libbz2_so' 'all'
 *   environment, line  374:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" "$@" || die
 * 
 * If you need support, post the output of `emerge --info '=app-arch/bzip2-1.0.6-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-arch/bzip2-1.0.6-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6'
 * S: '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
 
Old 02-19-2014, 03:50 AM   #35
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Can you paste the whole contents of /var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/build.log?
 
Old 02-19-2014, 03:57 AM   #36
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Original Poster
Rep: Reputation: 14
Sure. Sorry about not having it done before.

Code:
[32;01m * Package:    app-arch/bzip2-1.0.6-r3
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking bzip2-1.0.6.tar.gz to /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work
>>> Source unpacked in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work
>>> Preparing source in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6 ...
 * Applying bzip2-1.0.4-makefile-CFLAGS.patch ...
 [ ok ]
 * Applying bzip2-1.0.6-saneso.patch ...
 [ ok ]
 * Applying bzip2-1.0.4-man-links.patch ...
 [ ok ]
 * Applying bzip2-1.0.6-progress.patch ...
 [ ok ]
 * Applying bzip2-1.0.3-no-test.patch ...
 [ ok ]
 * Applying bzip2-1.0.4-POSIX-shell.patch ...
 [ ok ]
 * Applying bzip2-1.0.6-mingw.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6 ...
make -j3 CC=i686-pc-linux-gnu-gcc AR=i686-pc-linux-gnu-ar RANLIB=i686-pc-linux-gnu-ranlib -f Makefile-libbz2_so all 
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c blocksort.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c huffman.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c crctable.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c randtable.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c compress.c
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c decompress.c
blocksort.c: In function 'mainSort':
blocksort.c:347:6: warning: inlining failed in call to 'mainGtU.part.0': function not considered for inlining [-Winline]
blocksort.c:751:6: warning: called from here [-Winline]
blocksort.c:347:6: warning: inlining failed in call to 'mainGtU.part.0': call is unlikely and code size would grow [-Winline]
blocksort.c:751:6: warning: called from here [-Winline]
blocksort.c:347:6: warning: inlining failed in call to 'mainGtU.part.0': call is unlikely and code size would grow [-Winline]
blocksort.c:751:6: warning: called from here [-Winline]
i686-pc-linux-gnu-gcc -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -c bzlib.c
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.6 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O2 -march=native -pipe -fpic -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64  -o bzip2-shared bzip2.c libbz2.so.1.0.6
bzip2.c: In function 'testStream':
bzip2.c:612:37: warning: variable 'nread' set but not used [-Wunused-but-set-variable]
bzip2.c: In function 'compress':
bzip2.c:1225:44: error: 'errno' undeclared (first use in this function)
bzip2.c:1225:44: note: each undeclared identifier is reported only once for each function it appears in
bzip2.c: In function 'uncompress':
bzip2.c:1414:44: error: 'errno' undeclared (first use in this function)
bzip2.c: In function 'testf':
bzip2.c:1594:44: error: 'errno' undeclared (first use in this function)
bzip2.c: In function 'applySavedFileAttrToOutputFile':
bzip2.c:1128:4: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result]
make: *** [all] Error 1
emake failed
 * ERROR: app-arch/bzip2-1.0.6-r3::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2114:  Called bemake '-f' 'Makefile-libbz2_so' 'all'
 *   environment, line  374:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" "$@" || die
 * 
 * If you need support, post the output of `emerge --info '=app-arch/bzip2-1.0.6-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-arch/bzip2-1.0.6-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6'
 * S: '/var/tmp/portage/app-arch/bzip2-1.0.6-r3/work/bzip2-1.0.6'
 
Old 02-19-2014, 03:59 AM   #37
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
The output doesn't contain any extra info, but we had to try

Which gcc and glibc versions do you have installed? What does gcc-config -l say?
 
Old 02-19-2014, 04:09 AM   #38
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Original Poster
Rep: Reputation: 14
It shows the following:

Quote:
[1] i686-pc-linux-gnu-4.7.3 *
Are you suspecting gcc as a reason of the issue?

Last edited by fuorviato; 02-19-2014 at 04:10 AM.
 
Old 02-19-2014, 04:42 AM   #39
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
That's my same sys-devel/gcc version, so I uploaded a binary package.

If glibc is 2.17, then just pick those and install them. The sys-libs/glibc absolutely must match, so, if it's even slightly different, don't install my 2.17 package. Installing a different glibc from the stage is probably what started all of this, so be careful... Note that the "errno.h" file that appears mentioned in the bzip2 error is part of the standard glibc library, so it's very likely that the problem is due to mismatching components. If your glibc is some other version, you will need a binary package for that concrete version.

http://www.jesgue.es/files/gentoo-x8...-4.7.3-r1.tbz2
http://www.jesgue.es/files/gentoo-x8...libc-2.17.tbz2

After that, just to be sure, use "gcc-config -l" to check that that's the only compiler, and re-set it using "gcc-config 1". To be on the safe side do also this:

Code:
$ env-update
$ source /etc/profile
Then cross your fingers and try to emerge bzip2 again.

In case that doesn't work, just download this bzip2 binary, and install it. Then do the emerge -e world thing, and if bzip2 fails again just use --resume --skipfirst. Maybe you've just hit a rare bzip2 bug and the rest will compile ok.

ps. My packages are a bit big because I have debug symbols enabled. But don't worry, they won't slow down your system because the debug stuff is split from the binaries. Anyway, that will go away as soon as you are able to recompile them yourself.
 
Old 02-19-2014, 08:17 AM   #40
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Original Poster
Rep: Reputation: 14
I made it to install gcc. When to "libgc", it seems to be the same version. Right?

Quote:
emerge -pv glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ~] sys-kernel/linux-headers-3.13 0 kB
[ebuild R ] sys-libs/glibc-2.17:2.2 USE="-debug -gd (-hardened) (-multilib) -nscd -profile (-selinux) -suid -systemtap -vanilla" 10,807 kB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 10,807 kB
 
Old 02-19-2014, 08:55 AM   #41
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Right
 
Old 02-19-2014, 09:23 AM   #42
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Original Poster
Rep: Reputation: 14
Fails:

I'm not a programmer myself but it seems glibs complains abaou some main directories missing.
Maybe I should run
Quote:
emerge -Kva
from /root ?

Quote:
>>> Extracting info
[32;01m * [39;49;00mPackage: sys-libs/glibc-2.17
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mUSE:
[32;01m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox
>>> Extracting sys-libs/glibc-2.17
[32;01m*[39;49;00m checking 1693 files for package collisions
1000 files checked ...
>>> Merging sys-libs/glibc-2.17 to /
sed: can't read /home/tmp/portage/sys-libs/glibc-2.17/image//etc/host.conf: No such file or directory
[32;01m*[0m Defaulting /etc/host.conf:multi to on
/var/tmp/portage/sys-libs/glibc-2.17/temp/environment: line 2410: pushd: /home/tmp/portage/sys-libs/glibc-2.17/image//lib: No such file or directory
/var/tmp/portage/sys-libs/glibc-2.17/temp/environment: line 2418: ./ld-*.so: No such file or directory
[31;01m*[0m ERROR: sys-libs/glibc-2.17::gentoo failed (preinst phase):
[31;01m*[0m simple run test (/bin/date) failed
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 93: Called pkg_preinst
[31;01m*[0m environment, line 3111: Called eblit-run 'pkg_preinst'
[31;01m*[0m environment, line 982: Called eblit-glibc-pkg_preinst
[31;01m*[0m environment, line 796: Called glibc_sanity_check
[31;01m*[0m environment, line 2418: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m ./ld-*.so --library-path . ${x} > /dev/null || die "simple run test (${x}) failed";
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=sys-libs/glibc-2.17::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.17::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.17/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.17/temp/environment'.
[31;01m*[0m Working directory: '/'
[31;01m*[0m S: '/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
!!! FAILED preinst: 1

Last edited by fuorviato; 02-19-2014 at 09:25 AM.
 
Old 02-19-2014, 09:30 AM   #43
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Yes. Binary package usually don't include files under /etc for security reasons. I'll try to upload a new package soon. It'll take a bit because it's big and my upload speed is not so good.
 
Old 02-19-2014, 09:33 AM   #44
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Original Poster
Rep: Reputation: 14
Sure. Take your time
 
Old 02-19-2014, 09:38 AM   #45
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
It was faster this time.

The file is up now, you can use the same link above, I overwrote the old one.

After merging this, take one minute to run etc-update, and review your /etc/locale.gen and run "locale-gen" if needed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ImageMagick-6.8.6-10 does have a broken headers, or I'm wrong? yars Slackware 3 02-05-2014 06:38 PM
LXer: The broken dreams of a Linux system administrator LXer Syndicated Linux News 0 08-14-2011 06:00 PM
LXer: Linux Defenders: Obeying — Not Challenging — a Broken System LXer Syndicated Linux News 0 12-11-2008 09:20 PM
broken X headers in security patch from 2007-03-07? cab15625 Slackware 6 04-12-2007 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration