Gentoo Archives: gentoo-dev

From: Vitaly Ivanov <im@×××.ru>
To: gentoo-dev@l.g.o
Cc: Mike Frysinger <vapier@g.o>
Subject: Re: [gentoo-dev] wrong RDEPEND?
Date: Thu, 24 Feb 2005 11:59:27
Message-Id: 421DC191.1050409@rle.ru
1 Mike Frysinger wrote:
2 > On Friday 18 February 2005 08:11 am, Vitaly Ivanov wrote:
3 >
4 >>Should any package RDEPENDed on 'virtual/os-headers'?
5 >>Is it bug?
6 >
7 > probably ...
8 >
9 > linux-utils ive fixed myself
10 > -mike
11
12 I have tried to emerge sys-apps/util-linux-2.12q to alternative root by
13 mkdir -p /tmp/test_root
14 ROOT=/tmp/test_root emerge sys-apps/util-linux
15 without emerge system before
16 and it fails to emerge
17
18 =====
19 i686-pc-linux-gnu-gcc -O2 -pipe -c -o addpart.o addpart.c
20 In file included from addpart.c:6:
21 /usr/include/linux/blkpg.h:36: error: variable or field `__user'
22 declared void
23 /usr/include/linux/blkpg.h:36: error: parse error before '*' token
24 addpart.c: In function `main':
25 addpart.c:11: error: storage size of 'a' isn't known
26 make: *** [addpart.o] Error 1
27
28 !!! ERROR: sys-apps/util-linux-2.12q failed.
29 !!! Function src_compile, Line 105, Exitcode 2
30 !!! make partx failed
31 !!! If you need support, post the topmost build error, NOT this status
32 message.
33 =====
34
35 then I tried to emerge linux26-headers before emerge sys-apps/util-linux
36 ROOT=/tmp/test_root emerge linux26-headers
37 ROOT=/tmp/test_root emerge sys-apps/util-linux
38 and emerge sys-apps/util-linux was successful
39
40 I'm confused...
41 sys-apps/util-linux need RDEPEND virtual/os-headers
42 or some patch for partx
43
44 --
45 Vitaly Ivanov
46 email: va@××××.ru
47 icq uin: 15918498
48 --
49 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] wrong RDEPEND? Alin Nastac <mrness@g.o>