Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Jeffrey Ratcliffe <jeffrey.ratcliffe@...>
Subject: Error bootstrapping prefix on RHEL5 amd64
Date: Fri, 19 Nov 2010 11:09:27 +0100
I'm trying to bootstrap prefix on a RHEL5 amd64 box and I'm getting
stuck emerging openssh.

I'm getting many linking errors such as:

openbsd-compat//libopenbsd-compat.a(port-tun.o): In function `recv':
port-tun.c:(.text+0x8b0): multiple definition of `recv'
ssh.o:ssh.c:(.text+0x2bf0): first defined here
collect2: ld returned 1 exit status
make: *** [ssh] Error 1
 * ERROR: net-misc/openssh-5.5_p1-r2 failed:
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  53:  Called call-ebuildshell 'src_compile'
 *   environment, line 648:  Called src_compile
 *   environment, line 3505:  Called die
 * The specific snippet of code:
 *       emake || die

I assume that the problem is some incompatibility between gcc-4.4.5 and
openssh-5.5_p1-r2 from the prefix with kernel 2.6.18 and glibc-2.5-49
from the host. There doesn't seem to be an ebuild for linux-headers
2.6.18, and I assume that trying to emerge uclibc or glibc would be a
very bad idea.

Any ideas on how to get openssh to emerge?

Regards

Jeff

$ emerge --info =net-misc/openssh-5.5_p1-r2
Portage 2.2.01.15553-prefix (prefix/linux/amd64, gcc-4.4.5, unavailable,
2.6.18-194.3.1.el5 x86_64)
=================================================================
                       System Settings
=================================================================
System uname: Linux-2.6.18-194.3.1.el5
Timestamp of tree: Thu, 21 Oct 2010 21:41:20 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.51.0.10
sys-devel/gcc:       4.2.4-r01.2, 4.4.5
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
/etc/terminfo"
CPPFLAGS="-I/home/jeff/rhel5-amd64-linux/usr/include"
CXXFLAGS="-O2 -pipe"
DISTDIR="/home/jeff/rhel5-amd64-linux/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixlafiles
fixpackages parallel-fetch preserve-libs protect-owned sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-L/home/jeff/rhel5-amd64-linux/usr/lib
-R/home/jeff/rhel5-amd64-linux/usr/lib
-L/home/jeff/rhel5-amd64-linux/lib -R/home/jeff/rhel5-amd64-linux/lib"
PKGDIR="/home/jeff/rhel5-amd64-linux/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/jeff/rhel5-amd64-linux/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/jeff/rhel5-amd64-linux/var/tmp"
PORTDIR="/home/jeff/rhel5-amd64-linux/usr/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="amd64 bootstrap bzip2 cracklib crypt cxx dri iconv ipv6 mmx modules
mudflap ncurses nptl nptlonly openmp perl pppd prefix readline sse sse2
sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mmap_emul mulaw multi null plug rate route share shm softvol"
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" COLLECTD_PLUGINS="df interface irq load memory
rrdtool swap syslog" ELIBC="glibc" 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
evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2"
RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel
mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa
via vmware voodoo" 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, FFLAGS, INSTALL_MASK, LC_ALL,
LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Replies:
Re: Error bootstrapping prefix on RHEL5 amd64
-- Fabian Groffen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
export EPREFIX in startprefix script
Next by thread:
Re: Error bootstrapping prefix on RHEL5 amd64
Previous by date:
Re: External SVN for 9999
Next by date:
Re: Error bootstrapping prefix on RHEL5 amd64


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.