Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Prefix:Bash wont compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 942
Location: /home/muhsin

PostPosted: Tue Aug 14, 2012 1:11 pm    Post subject: Gentoo Prefix:Bash wont compile Reply with quote

Have stuck on this for a while now, please help.

Quote:
gcc -m64 -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/sh -Wl,-search_paths_first -L/Users/omar/Gentoo/usr/lib -L/Users/omar/Gentoo/lib -L/Users/omar/Gentoo/tmp/usr/lib -march=nocona -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins -lglob -lsh -ltilde -liconv -ldl
Undefined symbols for architecture x86_64:
"_enable_hostname_completion", referenced from:
_shopt_enable_hostname_completion in libbuiltins.a(shopt.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [bash] Error 1
emake failed
* ERROR: app-shells/bash-4.2_p29 failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2371: Called die
* The specific snippet of code:
* emake || die;
*
* If you need support, post the output of 'emerge --info =app-shells/bash-4.2_p29',
* the complete build log and the output of 'emerge -pqv =app-shells/bash-4.2_p29'.
* The complete build log is located at '/Users/omar/Gentoo/var/tmp/portage/app-shells/bash-4.2_p29/temp/build.log'.
* The ebuild environment file is located at '/Users/omar/Gentoo/var/tmp/portage/app-shells/bash-4.2_p29/temp/environment'.
* Working directory: '/Users/omar/Gentoo/var/tmp/portage/app-shells/bash-4.2_p29/work/bash-4.2'
* S: '/Users/omar/Gentoo/var/tmp/portage/app-shells/bash-4.2_p29/work/bash-4.2'

>>> Failed to emerge app-shells/bash-4.2_p29, Log file:

>>> '/Users/omar/Gentoo/var/tmp/portage/app-shells/bash-4.2_p29/temp/build.log'

* Messages for package app-shells/bash-4.2_p29:

* ERROR: app-shells/bash-4.2_p29 failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2371: Called die
* The specific snippet of code:
* emake || die;
*
* If you need support, post the output of 'emerge --info =app-shells/bash-4.2_p29',
* the complete build log and the output of 'emerge -pqv =app-shells/bash-4.2_p29'.
* The complete build log is located at '/Users/omar/Gentoo/var/tmp/portage/app-shells/bash-4.2_p29/temp/build.log'.
* The ebuild environment file is located at '/Users/omar/Gentoo/var/tmp/portage/app-shells/bash-4.2_p29/temp/environment'.
* Working directory: '/Users/omar/Gentoo/var/tmp/portage/app-shells/bash-4.2_p29/work/bash-4.2'
* S: '/Users/omar/Gentoo/var/tmp/portage/app-shells/bash-4.2_p29/work/bash-4.2'


My installation die on this same position in the compile, google cant generate useful posts either

Thanks
_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 942
Location: /home/muhsin

PostPosted: Tue Aug 14, 2012 1:28 pm    Post subject: emerge --info =app-shells/bash-4.2_p29 Reply with quote

Code:
Portage 2.2.01.20430-prefix (prefix/darwin/macos/10.7/x64, gcc-4.2.1, unavailable, 11.4.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-11.4.0-x86_64-i386-64bit
Timestamp of tree: Sat, 30 Jun 2012 21:54:07 +0000
Repositories: gentoo_prefix
Installed sets:
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin11"
CFLAGS="-march=nocona"
CHOST="x86_64-apple-darwin11"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CPPFLAGS="-I/Users/omar/Gentoo/usr/include -I/Users/omar/Gentoo/tmp/usr/include"
CXXFLAGS=""
DISTDIR="/Users/omar/Gentoo/usr/portage/distfiles"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="nl_NL.utf-8"
LDFLAGS="-Wl,-search_paths_first -L/Users/omar/Gentoo/usr/lib -L/Users/omar/Gentoo/lib -L/Users/omar/Gentoo/tmp/usr/lib"
PKGDIR="/Users/omar/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/omar/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/omar/Gentoo/var/tmp"
PORTDIR="/Users/omar/Gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua bootstrap coreaudio cracklib cxx modules ncurses objc objc++ prefix x64-macos zlib" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
kortec
n00b
n00b


Joined: 20 Dec 2004
Posts: 68

PostPosted: Tue Aug 21, 2012 6:22 am    Post subject: Reply with quote

I'm having this trouble too, following http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml in Code Listing 1.7. No idea what's up, though.
Back to top
View user's profile Send private message
_Seth_
Guru
Guru


Joined: 15 Sep 2004
Posts: 537
Location: encore paumé dans un labo ;)

PostPosted: Tue Oct 16, 2012 7:08 am    Post subject: Reply with quote

I had the same problem. From this post, it seems that using only a previous release of bash do the trick. Type
Code:
emerge --nodeps --oneshot =bash-4.0_p38

instead of
Quote:
emerge --nodeps --oneshot bash

_________________
no tears to cry, no feelings left
the species has amused itself to death
amused itself to death
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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