Gentoo Archives: gentoo-user

From: Daniel D Jones <ddjones@××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cloned partition won't emerge some packages
Date: Sun, 09 Jan 2011 02:11:13
Message-Id: 201101082018.29390.ddjones@riddlemaster.org
In Reply to: [gentoo-user] Cloned partition won't emerge some packages by Mick
1 On Saturday, January 08, 2011 17:36:48 Mick wrote:
2 > I used:
3 >
4 > tar -X file.list -lcvSf - . | (cd /new_gentoo_partition; tar -xpvf - )
5 >
6 > to clone a gentoo / partition to another partition on the same disk (I
7 > want to run some tests from it).
8 >
9 > The file.list has this is in it:
10 >
11 > tmp/*
12 > proc/*
13 > sys/*
14 > dev/*
15 > etc/mtab
16 > usr/portage/distfiles/*
17 >
18 >
19 > However, I can't emerge some packages from it like gcc or subversion ...
20
21 Looks to me like this is your issue:
22
23 In file included from /usr/include/stdio.h:28,
24 from conftest.c:10:
25 /usr/include/features.h:347:25: error: sys/cdefs.h: No such file or directory
26
27 Do you have /usr/include/sys/cdefs.h on your system? If the file isn't there,
28 I'd copy it over and verify that all the other files which should be there are
29 present.
30
31 If the file is there, then gcc likely isn't looking in the right location for
32 include files. I'm not sure off the top of my head where that's configured on
33 Gentoo. On my system, there's no environmental variables set, so it's
34 probably done by some other means. I'm sure that if that's your issue,
35 someone here will chime in with the information.
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51 --
52 "You must believe in God in spite of what the clergy say." - Benjamin Jowett

Replies

Subject Author
Re: [gentoo-user] Cloned partition won't emerge some packages Mick <michaelkintzios@×××××.com>