1 |
I'm trying to bootstrap prefix on a RHEL5 amd64 box and I'm getting |
2 |
stuck emerging openssh. |
3 |
|
4 |
I'm getting many linking errors such as: |
5 |
|
6 |
openbsd-compat//libopenbsd-compat.a(port-tun.o): In function `recv': |
7 |
port-tun.c:(.text+0x8b0): multiple definition of `recv' |
8 |
ssh.o:ssh.c:(.text+0x2bf0): first defined here |
9 |
collect2: ld returned 1 exit status |
10 |
make: *** [ssh] Error 1 |
11 |
* ERROR: net-misc/openssh-5.5_p1-r2 failed: |
12 |
* (no error message) |
13 |
* |
14 |
* Call stack: |
15 |
* ebuild.sh, line 53: Called call-ebuildshell 'src_compile' |
16 |
* environment, line 648: Called src_compile |
17 |
* environment, line 3505: Called die |
18 |
* The specific snippet of code: |
19 |
* emake || die |
20 |
|
21 |
I assume that the problem is some incompatibility between gcc-4.4.5 and |
22 |
openssh-5.5_p1-r2 from the prefix with kernel 2.6.18 and glibc-2.5-49 |
23 |
from the host. There doesn't seem to be an ebuild for linux-headers |
24 |
2.6.18, and I assume that trying to emerge uclibc or glibc would be a |
25 |
very bad idea. |
26 |
|
27 |
Any ideas on how to get openssh to emerge? |
28 |
|
29 |
Regards |
30 |
|
31 |
Jeff |
32 |
|
33 |
$ emerge --info =net-misc/openssh-5.5_p1-r2 |
34 |
Portage 2.2.01.15553-prefix (prefix/linux/amd64, gcc-4.4.5, unavailable, |
35 |
2.6.18-194.3.1.el5 x86_64) |
36 |
================================================================= |
37 |
System Settings |
38 |
================================================================= |
39 |
System uname: Linux-2.6.18-194.3.1.el5 |
40 |
Timestamp of tree: Thu, 21 Oct 2010 21:41:20 +0000 |
41 |
app-shells/bash: 4.1_p7 |
42 |
dev-lang/python: 2.6.5-r2 |
43 |
sys-devel/autoconf: 2.65-r1 |
44 |
sys-devel/automake: 1.11.1 |
45 |
sys-devel/binutils: 2.20.51.0.10 |
46 |
sys-devel/gcc: 4.2.4-r01.2, 4.4.5 |
47 |
sys-devel/gcc-config: 1.4.1-r00.2 |
48 |
sys-devel/libtool: 2.2.10 |
49 |
sys-devel/make: 3.81-r2 |
50 |
virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) |
51 |
ACCEPT_KEYWORDS="~amd64-linux" |
52 |
ACCEPT_LICENSE="* -@EULA" |
53 |
CBUILD="x86_64-pc-linux-gnu" |
54 |
CFLAGS="-O2 -pipe" |
55 |
CHOST="x86_64-pc-linux-gnu" |
56 |
CONFIG_PROTECT="/etc" |
57 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf |
58 |
/etc/terminfo" |
59 |
CPPFLAGS="-I/home/jeff/rhel5-amd64-linux/usr/include" |
60 |
CXXFLAGS="-O2 -pipe" |
61 |
DISTDIR="/home/jeff/rhel5-amd64-linux/usr/portage/distfiles" |
62 |
FEATURES="assume-digests collision-protect distlocks fixlafiles |
63 |
fixpackages parallel-fetch preserve-libs protect-owned sfperms strict |
64 |
unknown-features-warn unmerge-logs unmerge-orphans userfetch" |
65 |
GENTOO_MIRRORS="http://distfiles.gentoo.org" |
66 |
LANG="en_US.UTF-8" |
67 |
LDFLAGS="-L/home/jeff/rhel5-amd64-linux/usr/lib |
68 |
-R/home/jeff/rhel5-amd64-linux/usr/lib |
69 |
-L/home/jeff/rhel5-amd64-linux/lib -R/home/jeff/rhel5-amd64-linux/lib" |
70 |
PKGDIR="/home/jeff/rhel5-amd64-linux/usr/portage/packages" |
71 |
PORTAGE_CONFIGROOT="/home/jeff/rhel5-amd64-linux/" |
72 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
73 |
--compress --force --whole-file --delete --stats --timeout=180 |
74 |
--exclude=/distfiles --exclude=/local --exclude=/packages" |
75 |
PORTAGE_TMPDIR="/home/jeff/rhel5-amd64-linux/var/tmp" |
76 |
PORTDIR="/home/jeff/rhel5-amd64-linux/usr/portage" |
77 |
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" |
78 |
USE="amd64 bootstrap bzip2 cracklib crypt cxx dri iconv ipv6 mmx modules |
79 |
mudflap ncurses nptl nptlonly openmp perl pppd prefix readline sse sse2 |
80 |
sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp |
81 |
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 |
82 |
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx |
83 |
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare |
84 |
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter |
85 |
mmap_emul mulaw multi null plug rate route share shm softvol" |
86 |
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon |
87 |
authn_dbm authn_default authn_file authz_dbm authz_default |
88 |
authz_groupfile authz_host authz_owner authz_user autoindex cache cgi |
89 |
cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter |
90 |
file_cache filter headers include info log_config logio mem_cache mime |
91 |
mime_magic negotiation rewrite setenvif speling status unique_id userdir |
92 |
usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory |
93 |
rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm |
94 |
earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea |
95 |
ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf |
96 |
superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse |
97 |
evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 |
98 |
lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" |
99 |
RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel |
100 |
mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa |
101 |
via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 |
102 |
ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq |
103 |
steal rawnat logmark ipmark dhcpmac delude chaos account" |
104 |
Unset: CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, |
105 |
LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, |
106 |
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |