View previous topic :: View next topic |
Author |
Message |
vdebaere n00b
Joined: 31 Oct 2003 Posts: 12 Location: Bruges
|
Posted: Sat May 21, 2005 1:30 pm Post subject: bash build fails in emerge --emtpytree system [solved] |
|
|
During emerge --emptytree system, bash-2.05b-r9 failed to build. It raised an error while makeing in the readline directory. Stage 1 worked without any probs. When I tried to emerge bash allone, it failed on exact the same location, the readline dir. Out of curiousity, I emerged sys-libs/readline, and emerged bash. Then I went emerge --emptytree system again (this time with sys-libs/readline installed) Guess what: it worked... .
Now here's what I don't get: the ebuild file does not have readline in its IUSE var, neither does it have sys-libs/readline in its DEPEND var. The ebuild even says:
Code: |
# Always use the buildin readline, else if we update readline
# bash gets borked as readline is usually not binary compadible
# between minor versions.
#
# Martin Schlemmer <azarah@gentoo.org> (1 Sep 2002)
#use readline && myconf="--with-installed-readline"
|
I guess emerge bash could work or fail, but independent of the fact sys-libs/readline is installed, since the ebuild does not refer to it in any other way than stating it doesn't use it. Any idea why in this case, that does not appear to be true?
PS1: I have little or no experience in developing stuff other than java progs, so if this is a really stupid question, please don't shoot me...
PS2:
emerge --info:
Code: |
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 18:18:11)]
dev-lang/python: 2.3.4-r1
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: [Not Present]
sys-devel/automake: [Not Present]
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: [Not Present]
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://pandemonium.tiscali.de/pub/gentoo http:// mir.zyrianes.net/gentoo http://ftp-stud.fth-esslingen.de/pub/Mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups emboss encode foomaticdb fortran gdbm gif gpm gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
|
Last edited by vdebaere on Sat May 21, 2005 3:56 pm; edited 1 time in total |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Sat May 21, 2005 3:11 pm Post subject: |
|
|
Bash doesn't depend on readline - readline depends on bash.
Code: | emerge -pvet readline |
If you check the ebuild for readline you see the following:
Quote: | # We must be certain that we have a bash that is linked
# to its internal readline, else we may get problems.
|
Bash uses an internally linked readline library.
BTW, IUSE does what it indicates - it uses packages, it doesn't depend on them
Dependencies are indicated by the keyword DEPEND.
You did not specify the error emerge bash produced - that means my input stops here.
Apart from this, you seem to have a seriously b0rked system anyway: no sandbox, no autoconf/automake, and no libtool. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
vdebaere n00b
Joined: 31 Oct 2003 Posts: 12 Location: Bruges
|
Posted: Sat May 21, 2005 3:44 pm Post subject: |
|
|
adaptr wrote: | Bash doesn't depend on readline - readline depends on bash.
Code: | emerge -pvet readline |
If you check the ebuild for readline you see the following:
Quote: | # We must be certain that we have a bash that is linked
# to its internal readline, else we may get problems.
|
Bash uses an internally linked readline library.
|
That's the point exactly: it does not depend on readline, yet it fails to build on my system (being installed, currently progressing from stage1 to stage2, followed the book) when readline is not installed.
Quote: |
You did not specify the error emerge bash produced - that means my input stops here.
|
Well, make fails in the readline subdir, issueing the command just after:
It does not give any more information than make failed though... .[/code]
Quote: |
Apart from this, you seem to have a seriously b0rked system anyway: no sandbox, no autoconf/automake, and no libtool. |
Errh, I don't think so : just followed the book, like the other times I did this on different machines... . Once stage2 is finished, sandbox, autoconf/automake and libtool have been installed and show up in emerge --info.
Anyway: it works for now, so no problem, but I was just wondering... . Thanks for your answer! |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Sat May 21, 2005 3:54 pm Post subject: |
|
|
Stage 1 on 3, would be my first (and only) answer... _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Tue Aug 16, 2005 5:13 pm Post subject: |
|
|
adaptr wrote: | Stage 1 on 3, would be my first (and only) answer... |
That's not an answer, that's a cop-out!
I have the same problem with a stage 1 build. I've noticed that the hardened profile I am using has readline already activated, so I'm going to add:
app-shells/bash -readline
to my /etc/portage/package.use
I'll report back tomorrow |
|
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
|
|