View previous topic :: View next topic |
Author |
Message |
snowman007 n00b
Joined: 03 Jul 2006 Posts: 12
|
Posted: Thu Jul 06, 2006 7:59 pm Post subject: Strange error with mips-headers on ~x86 during bootstrap |
|
|
On running scripts/bootstrap.sh I get this error:
Code: | emerge: there are no ebuilds to satisfy ">=sys-kernel/mips-headers->=2.6.16".
(dependency required by "sys-libs/glibc-2.4-r3" [ebuild])
|
Part of my /etc/make.conf:
Code: |
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j2"
|
Taking a look into bootstrap.sh I found that code:
Code: |
for opt in ${ORIGUSE} ; do
case "${opt}" in
nls)
USE_NLS=1
ALLOWED_USE="${ALLOWED_USE} nls"
;;
nptl)
export MYARCH=$(portageq envvar ARCH)
if [[ "${MYARCH}" != "mips" ]] ; then
if [[ -z $(portageq best_visible / '>=sys-kernel/linux-headers-2.6.0') ]] ; then
eerror "You need to have >=sys-kernel/linux-headers-2.6.0 unmasked!"
eerror "Please edit the latest >=sys-kernel/linux-headers-2.6.0 package,"
eerror "and add your ARCH to KEYWORDS or change your make.profile link"
eerror "to a profile which does not have 2.6 headers masked."
echo
cleanup 1
fi
else
if [[ -z $(portageq best_visible / '>=sys-kernel/mips-headers-2.6.0') ]] ; then
eerror "You need to have >=sys-kernel/mips-headers-2.6.0 unmasked!"
eerror "Please edit the latest >=sys-kernel/mips-headers-2.6.0 package,"
eerror "and add your ARCH to KEYWORDS or change your make.profile link"
eerror "to a profile which does not have 2.6 headers masked."
echo
cleanup 1
fi
fi
USE_NPTL=1
;;
nptlonly)
USE_NPTLONLY=1
;;
multilib)
ALLOWED_USE="${ALLOWED_USE} multilib"
;;
userlocales)
ALLOWED_USE="${ALLOWED_USE} userlocales"
;;
esac
done
|
I can't understand why, having no mips arch, I need those mips-headers??!! |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Thu Jul 06, 2006 9:50 pm Post subject: |
|
|
Hi.
What profile are you using? Look at ls -l /etc/make.profile. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
snowman007 n00b
Joined: 03 Jul 2006 Posts: 12
|
Posted: Thu Jul 06, 2006 10:24 pm Post subject: |
|
|
jmbsvicetto wrote: | Hi.
What profile are you using? Look at ls -l /etc/make.profile. |
Hi, the profile is the default by stage1-2006.0:
/etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2006.0 |
|
Back to top |
|
|
snowman007 n00b
Joined: 03 Jul 2006 Posts: 12
|
Posted: Fri Jul 07, 2006 6:23 pm Post subject: |
|
|
That occurs after bootstrap completes portage-2.1.1_pre2-r4 build, since that I get this strange mips dependency. But disabling nptl in USE this error disappears. |
|
Back to top |
|
|
snowman007 n00b
Joined: 03 Jul 2006 Posts: 12
|
Posted: Sat Jul 08, 2006 3:02 pm Post subject: So what's wrong with my installation |
|
|
Okay, I've made another attempt to bootstrap system.
I removed nptl and nptlonly from the USE variable, and run bootstrap in a newly unpacked stage-1 environment.
Everything was okay until bootstrapping reached glibc-2.4:
Code: |
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking glibc-2.4.tar.bz2 ;-)
>>> checking glibc-ports-2.4.tar.bz2 ;-)
>>> checking glibc-libidn-2.4.tar.bz2 ;-)
>>> checking glibc-2.4-patches-1.17.tar.bz2 ;-)
>>> checking glibc-linuxthreads-20060605.tar.bz2 ;-)
>>> checking glibc-powerpc-cpu-addon-v0.01.tgz ;-)
* glibc-2.4 is nptl-only!
!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
ebuild.sh, line 1561: Called dyn_setup
ebuild.sh, line 668: Called pkg_setup
glibc-2.4-r3.ebuild, line 1079: Called die
!!! please add USE='nptl nptlonly' to make.conf
|
Great, I switch 'nptl nptlonly' on and run bootstrap again, which leads me in a minute to the problem described in my first post to this topic.
Well now I switched on nptlonly flag and resumed bootstrapping (leaving nptl flag off).
Now I get (nptlonly on):
Code: |
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long double... yes
checking size of long double... 12
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... yes
checking for C cleanup handling... yes
running configure fragment for sysdeps/pthread
running configure fragment for sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... 2.0.10 or later
/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4/sysdeps/unix/sysv/linux/configure: line 154: >=2 * 65536 + 6 * 256 + 16: syntax error: operand expected (error token is ">=2 * 65536 + 6 * 256 + 16")
!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
ebuild.sh, line 1545: Called dyn_compile
ebuild.sh, line 940: Called src_compile
glibc-2.4-r3.ebuild, line 1179: Called toolchain-glibc_src_compile
glibc-2.4-r3.ebuild, line 251: Called glibc_do_configure 'nptl'
glibc-2.4-r3.ebuild, line 941: Called die
!!! failed to configure glibc
|
Could anybody here on Earth help with this, please? |
|
Back to top |
|
|
Skorgu n00b
Joined: 10 Sep 2003 Posts: 39
|
Posted: Wed Aug 09, 2006 1:45 am Post subject: |
|
|
Dunno if you're still having this problem, but I solved it here by emerging linux-headers "=2.6.16" _________________ "I paid for four wheels, make 'em all drive" |
|
Back to top |
|
|
|