Gentoo Archives: gentoo-user

From: Dale <dalek@××××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerge sys-apps/util-linux-2.12r-r4 fails
Date: Thu, 04 Jan 2007 18:49:32
Message-Id: 459D49E2.7010904@exceedtech.net
1 Hi,
2
3 I recently moved my OS around a lot and was doing a emerge -e world to
4 make sure everything was going to be sane. I ran into this problem
5 though. This is the error I get when it fails:
6
7 > i686-pc-linux-gnu-gcc -c -march=athlon-xp -O2
8 > -momit-leaf-frame-pointer -fno-ident -pipe -I../lib -Wall
9 > -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -DDISABLE_NLS
10 > -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
11 > -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
12 > -DLOCALEDIR=\"/usr/share/locale\" -march=athlon-xp -O2
13 > -momit-leaf-frame-pointer -fno-ident -pipe -fno-omit-frame-pointer
14 > fdisk.c -o fdisk.o
15 > i686-pc-linux-gnu-gcc -c -march=athlon-xp -O2
16 > -momit-leaf-frame-pointer -fno-ident -pipe -I../lib -Wall
17 > -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -DDISABLE_NLS
18 > -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
19 > -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
20 > -DLOCALEDIR=\"/usr/share/locale\" -march=athlon-xp -O2
21 > -momit-leaf-frame-pointer -fno-ident -pipe -fno-omit-frame-pointer
22 > llseek.c -o llseek.o
23 > In file included from fdisk.c:25:
24 > fdisk.h:85: warning: type qualifiers ignored on function return type
25 > fdisk.c: In function 'get_partition_table_geometry':
26 > fdisk.c:810: warning: pointer targets in initialization differ in
27 > signedness
28 > fdisk.c: In function 'get_boot':
29 > fdisk.c:948: warning: pointer targets in passing argument 1 of
30 > 'valid_part_table_flag' differ in signedness
31 > fdisk.c:958: warning: pointer targets in passing argument 1 of
32 > 'valid_part_table_flag' differ in signedness
33 > fdisk.c:1002: warning: pointer targets in passing argument 1 of
34 > 'valid_part_table_flag' differ in signedness
35 > fdisk.c: At top level:
36 > fdisk.c:1256: warning: type qualifiers ignored on function return type
37 > i686-pc-linux-gnu-gcc -c -march=athlon-xp -O2
38 > -momit-leaf-frame-pointer -fno-ident -pipe -I../lib -Wall
39 > -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -DDISABLE_NLS
40 > -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
41 > -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
42 > -DLOCALEDIR=\"/usr/share/locale\" -march=athlon-xp -O2
43 > -momit-leaf-frame-pointer -fno-ident -pipe -fno-omit-frame-pointer
44 > disksize.c -o disksize.o
45 > llseek.c:34: error: expected declaration specifiers or '...' before
46 > '_llseek'
47 > llseek.c:34: error: expected declaration specifiers or '...' before 'fd'
48 > llseek.c:34: error: expected declaration specifiers or '...' before
49 > 'offset_high'
50 > llseek.c:35: error: expected declaration specifiers or '...' before
51 > 'offset_low'
52 > llseek.c:35: error: expected declaration specifiers or '...' before
53 > 'result'
54 > llseek.c:36: error: expected declaration specifiers or '...' before
55 > 'origin'
56 > llseek.c:50: warning: return type defaults to 'int'
57 > llseek.c: In function '_syscall5':
58 > llseek.c:52: error: expected '=', ',', ';', 'asm' or '__attribute__'
59 > before '{' token
60 > llseek.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__'
61 > before '{' token
62 > llseek.c:34: error: parameter name omitted
63 > llseek.c:34: error: parameter name omitted
64 > llseek.c:34: error: parameter name omitted
65 > llseek.c:35: error: parameter name omitted
66 > llseek.c:35: error: parameter name omitted
67 > llseek.c:36: error: parameter name omitted
68 > llseek.c:93: error: expected '{' at end of input
69 > make[1]: *** [llseek.o] Error 1
70 > make[1]: *** Waiting for unfinished jobs....
71 > make[1]: Leaving directory
72 > `/var/tmp/portage/util-linux-2.12r-r4/work/util-linux-2.12r/fdisk'
73 > make: *** [all] Error 1
74 >
75 > !!! ERROR: sys-apps/util-linux-2.12r-r4 failed.
76 > Call stack:
77 > ebuild.sh, line 1546: Called dyn_compile
78 > ebuild.sh, line 937: Called src_compile
79 > util-linux-2.12r-r4.ebuild, line 141: Called die
80 >
81 > !!! emake failed
82 > !!! If you need support, post the topmost build error, and the call
83 > stack if relevant.
84 >
85 > ERROR: Emerge failed return code 1!
86 > root@smoker / #
87
88 I went back a little ways to make sure I got it all but this may be the key:
89
90 > llseek.c:93: error: expected '{' at end of input
91
92 Anybody know how to fix this?
93
94 Thanks for the help.
95
96 Dale
97
98 :-) :-) :-)
99
100
101 --
102 www.myspace.com/dalek1967
103
104 --
105 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] emerge sys-apps/util-linux-2.12r-r4 fails Benno Schulenberg <benno.schulenberg@×××××.com>
Re: [gentoo-user] emerge sys-apps/util-linux-2.12r-r4 fails Peter Alfredsen <peteralf@×××××××.dk>