1 |
Hi list, |
2 |
|
3 |
First, i'm not an experienced user of gentoo, just started using it a |
4 |
couple of months ago, I come from freebsd world which i find it to be |
5 |
similar in many ways with the gentoo world. I have a really old server |
6 |
on which I performed emerge --sync and after I had to eselect profile |
7 |
set to hardened/linux/amd64. |
8 |
|
9 |
After this i wanted to: |
10 |
|
11 |
emerge -vp portage |
12 |
!!! CONFIG_PROTECT is empty |
13 |
These are the packages that would be merged, in order: |
14 |
|
15 |
Calculating dependencies... done! |
16 |
[ebuild N ] dev-libs/libffi-3.0.9 USE="-debug -static-libs -test" |
17 |
715 kB |
18 |
[ebuild U ] sys-devel/libtool-2.2.6b [1.5.26] USE="-test% -vanilla" |
19 |
722 kB |
20 |
[ebuild N ] virtual/libffi-0 0 kB |
21 |
[ebuild U ] app-admin/eselect-1.2.11 [1.0.12] USE="-bash-completion |
22 |
-doc" 156 kB |
23 |
[uninstall ] app-admin/eselect-news-20080320 |
24 |
[blocks b ] app-admin/eselect-news ("app-admin/eselect-news" is |
25 |
blocking app-admin/eselect-1.2.11) |
26 |
[ebuild N ] app-admin/eselect-python-20100321 6 kB |
27 |
[ebuild NS ] dev-lang/python-2.6.6-r1 [2.4.4-r13, 2.5.4-r2] |
28 |
USE="berkdb gdbm ncurses readline ssl threads (wide-unicode) xml -build |
29 |
-doc -examples -ipv6 -sqlite -tk -wininst" 0 kB |
30 |
[ebuild U ] sys-apps/portage-2.1.9.25 [2.1.6.13] USE="(ipc%*) -build |
31 |
-doc -epydoc -python3% (-selinux)" LINGUAS="-pl" 0 kB |
32 |
[blocks B ] >=dev-lang/python-2.6.6:2.6 |
33 |
(">=dev-lang/python-2.6.6:2.6" is blocking sys-apps/portage-2.1.6.13) |
34 |
[blocks B ] <sys-apps/portage-2.1.9 ("<sys-apps/portage-2.1.9" is |
35 |
blocking dev-lang/python-2.6.6-r1) |
36 |
|
37 |
Total: 7 packages (3 upgrades, 3 new, 1 in new slot, 1 uninstall), Size |
38 |
of downloads: 1,598 kB |
39 |
Conflict: 3 blocks (2 unsatisfied) |
40 |
|
41 |
* Error: The above package list contains packages which cannot be |
42 |
* installed at the same time on the same system. |
43 |
|
44 |
('ebuild', '/', 'dev-lang/python-2.6.6-r1', 'merge') pulled in by |
45 |
dev-lang/python:2.6 required by ('ebuild', '/', |
46 |
'sys-apps/portage-2.1.9.25', 'merge') |
47 |
|
48 |
|
49 |
For more information about Blocked Packages, please refer to the following |
50 |
section of the Gentoo Linux x86 Handbook (architecture is irrelevant): |
51 |
|
52 |
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked |
53 |
|
54 |
|
55 |
This is my emerge --info: |
56 |
!!! CONFIG_PROTECT is emptyPortage 2.1.6.13 (hardened/linux/amd64, |
57 |
gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-hardened-r9 x86_64) |
58 |
================================================================= |
59 |
System uname: |
60 |
Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Xeon-R-_CPU_E5520_@_2.27GHz-with-glibc2.2.5 |
61 |
Timestamp of tree: Mon, 31 Jan 2011 10:30:01 +0000 |
62 |
app-shells/bash: 3.2_p39 |
63 |
dev-lang/python: 2.4.4-r13, 2.5.4-r2 |
64 |
sys-apps/baselayout: 1.12.11.1 |
65 |
sys-apps/sandbox: 1.6-r2 |
66 |
sys-devel/autoconf: 2.13, 2.63 |
67 |
sys-devel/automake: 1.4_p6, 1.5, 1.10.2, 1.11.1 |
68 |
sys-devel/binutils: 2.18-r3 |
69 |
sys-devel/gcc: 4.1.2 |
70 |
sys-devel/gcc-config: 1.4.0-r4 |
71 |
sys-devel/libtool: 1.5.26 |
72 |
sys-devel/make: 3.81 |
73 |
virtual/os-headers: 2.6.23-r3 |
74 |
ACCEPT_KEYWORDS="amd64" |
75 |
CBUILD="x86_64-pc-linux-gnu" |
76 |
CFLAGS="-O3 -march=nocona -pipe" |
77 |
CHOST="x86_64-pc-linux-gnu" |
78 |
CONFIG_PROTECT="" |
79 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf |
80 |
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ |
81 |
/etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/terminfo |
82 |
/etc/udev/rules.d" |
83 |
CXXFLAGS="-O3 -march=nocona -pipe" |
84 |
DISTDIR="/usr/portage/distfiles" |
85 |
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox |
86 |
sfperms strict unmerge-orphans userfetch" |
87 |
GENTOO_MIRRORS="http://distfiles.gentoo.org |
88 |
http://distro.ibiblio.org/pub/linux/distributions/gentoo" |
89 |
LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
90 |
PKGDIR="/usr/portage/packages" |
91 |
PORTAGE_CONFIGROOT="/" |
92 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
93 |
--compress --force --whole-file --delete --stats --timeout=180 |
94 |
--exclude=/distfiles --exclude=/local --exclude=/packages" |
95 |
PORTAGE_TMPDIR="/var/tmp" |
96 |
PORTDIR="/usr/portage" |
97 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
98 |
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm |
99 |
hardened iconv justify mmx modules mudflap multilib ncurses nls nptl |
100 |
nptlonly openmp pam pcre perl pic pppd python readline session sse sse2 |
101 |
ssl sysfs tcpd urandom xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp |
102 |
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 |
103 |
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx |
104 |
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare |
105 |
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter |
106 |
mmap_emul mulaw multi null plug rate route share shm softvol" |
107 |
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon |
108 |
authn_dbm authn_default authn_file authz_dbm authz_default |
109 |
authz_groupfile authz_host authz_owner authz_user autoindex cache cgi |
110 |
cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter |
111 |
file_cache filter headers include info log_config logio mem_cache mime |
112 |
mime_magic negotiation rewrite setenvif speling status unique_id userdir |
113 |
usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory |
114 |
rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm |
115 |
earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea |
116 |
ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf |
117 |
superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse |
118 |
evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 |
119 |
lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" |
120 |
RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel |
121 |
mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa |
122 |
via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 |
123 |
ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq |
124 |
steal rawnat logmark ipmark dhcpmac delude chaos account" |
125 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, |
126 |
LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, |
127 |
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
128 |
|
129 |
I tried with --nodeps for both portage which complains about python |
130 |
version and doesn't want to install and for python itself i get: |
131 |
|
132 |
x86_64-pc-linux-gnu-gcc -pthread -Wl,-O1 -Wl,--as-needed -L. -Xlinker |
133 |
-export-dynamic -o python \ |
134 |
Modules/python.o \ |
135 |
-L. -lpython2.6 -lpthread -ldl -lutil -lm |
136 |
running build |
137 |
running build_ext |
138 |
error: /ffi.h: No such file or directory |
139 |
make: *** [sharedmods] Error 1 |
140 |
* |
141 |
* ERROR: dev-lang/python-2.6.6-r1 failed. |
142 |
* Call stack: |
143 |
* ebuild.sh, line 49: Called src_compile |
144 |
* environment, line 5556: Called _eapi2_src_compile |
145 |
* ebuild.sh, line 634: Called die |
146 |
* The specific snippet of code: |
147 |
* emake || die "emake failed" |
148 |
* The die message: |
149 |
* emake failed |
150 |
* |
151 |
* If you need support, post the topmost build error, and the call |
152 |
stack if relevant. |
153 |
* A complete build log is located at |
154 |
'/var/tmp/portage/dev-lang/python-2.6.6-r1/temp/build.log'. |
155 |
* The ebuild environment file is located at |
156 |
'/var/tmp/portage/dev-lang/python-2.6.6-r1/temp/environment'. |
157 |
* |
158 |
|
159 |
>>> Failed to emerge dev-lang/python-2.6.6-r1, Log file: |
160 |
|
161 |
>>> '/var/tmp/portage/dev-lang/python-2.6.6-r1/temp/build.log' |
162 |
|
163 |
* Messages for package dev-lang/python-2.6.6-r1: |
164 |
|
165 |
* "bsddb" module is out-of-date and no longer maintained inside |
166 |
dev-lang/python. It has |
167 |
* been additionally removed in Python 3. You should use external, |
168 |
still maintained "bsddb3" |
169 |
* module provided by dev-python/bsddb3 which supports both Python 2 |
170 |
and Python 3. |
171 |
* |
172 |
* ERROR: dev-lang/python-2.6.6-r1 failed. |
173 |
* Call stack: |
174 |
* ebuild.sh, line 49: Called src_compile |
175 |
* environment, line 5556: Called _eapi2_src_compile |
176 |
* ebuild.sh, line 634: Called die |
177 |
* The specific snippet of code: |
178 |
* emake || die "emake failed" |
179 |
* The die message: |
180 |
* emake failed |
181 |
* |
182 |
* If you need support, post the topmost build error, and the call |
183 |
stack if relevant. |
184 |
* A complete build log is located at |
185 |
'/var/tmp/portage/dev-lang/python-2.6.6-r1/temp/build.log'. |
186 |
* The ebuild environment file is located at |
187 |
'/var/tmp/portage/dev-lang/python-2.6.6-r1/temp/environment'. |
188 |
|
189 |
Is it possible to update this system? If yes please shed some light or |
190 |
point me in the right direction. |
191 |
|
192 |
Thank you, |
193 |
Andrei |