Gentoo Archives: gentoo-user

From: Ernie Schroder <schroder@×××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge strace fails
Date: Sun, 29 Jan 2006 16:40:17
Message-Id: 200601291132.26386.schroder@ntplx.net
In Reply to: [gentoo-user] emerge strace fails by Ernie Schroder
1 On Saturday 28 January 2006 14:21, a tiny voice compelled Ernie Schroder to
2 write:
3 > emerge strace fails with the following errors:
4 > (updating a couple of packages since I first got these errors was
5 > successful)
6 >
7 > resource.c:478: error: `Q_SETUSE' undeclared here (not in a function)
8 > resource.c:478: error: initializer element is not constant
9 > resource.c:478: error: (near initialization for `quotacmds[4].val')
10 > resource.c:478: error: initializer element is not constant
11 > resource.c:478: error: (near initialization for `quotacmds[4]')
12 > resource.c:479: error: initializer element is not constant
13 > resource.c:479: error: (near initialization for `quotacmds[5]')
14 > resource.c:480: error: `Q_SETQLIM' undeclared here (not in a function)
15 > resource.c:480: error: initializer element is not constant
16 > resource.c:480: error: (near initialization for `quotacmds[6].val')
17 > resource.c:480: error: initializer element is not constant
18 > resource.c:480: error: (near initialization for `quotacmds[6]')
19 > resource.c:481: error: `Q_GETSTATS' undeclared here (not in a function)
20 > resource.c:481: error: initializer element is not constant
21 > resource.c:481: error: (near initialization for `quotacmds[7].val')
22 > resource.c:481: error: initializer element is not constant
23 > resource.c:481: error: (near initialization for `quotacmds[7]')
24 > resource.c:482: error: `Q_RSQUASH' undeclared here (not in a function)
25 > resource.c:482: error: initializer element is not constant
26 > resource.c:482: error: (near initialization for `quotacmds[8].val')
27 > resource.c:482: error: initializer element is not constant
28 > resource.c:482: error: (near initialization for `quotacmds[8]')
29 > resource.c:483: error: initializer element is not constant
30 > resource.c:483: error: (near initialization for `quotacmds[9]')
31 > resource.c:484: error: initializer element is not constant
32 > resource.c:484: error: (near initialization for `quotacmds[10]')
33 > resource.c:485: error: initializer element is not constant
34 > resource.c:485: error: (near initialization for `quotacmds[11]')
35 > resource.c:486: error: initializer element is not constant
36 > resource.c:486: error: (near initialization for `quotacmds[12]')
37 > resource.c:487: error: initializer element is not constant
38 > resource.c:487: error: (near initialization for `quotacmds[13]')
39 > resource.c:488: error: initializer element is not constant
40 > resource.c:488: error: (near initialization for `quotacmds[14]')
41 > resource.c:489: error: initializer element is not constant
42 > resource.c:489: error: (near initialization for `quotacmds[15]')
43 > resource.c:490: error: initializer element is not constant
44 > resource.c:490: error: (near initialization for `quotacmds[16]')
45 > resource.c:491: error: initializer element is not constant
46 > resource.c:491: error: (near initialization for `quotacmds[17]')
47 > resource.c:492: error: initializer element is not constant
48 > resource.c:492: error: (near initialization for `quotacmds[18]')
49 > resource.c:493: error: initializer element is not constant
50 > resource.c:493: error: (near initialization for `quotacmds[19]')
51 > resource.c:494: error: initializer element is not constant
52 > resource.c:494: error: (near initialization for `quotacmds[20]')
53 > resource.c:495: error: initializer element is not constant
54 > resource.c:495: error: (near initialization for `quotacmds[21]')
55 > resource.c:496: error: initializer element is not constant
56 > resource.c:496: error: (near initialization for `quotacmds[22]')
57 > resource.c:497: error: initializer element is not constant
58 > resource.c:497: error: (near initialization for `quotacmds[23]')
59 > resource.c: In function `sys_quotactl':
60 > resource.c:538: warning: unsigned int format, different type arg (arg 2)
61 > resource.c:539: warning: unsigned int format, different type arg (arg 2)
62 > resource.c:540: error: structure has no member named `dqb_curblocks'
63 > resource.c:541: warning: unsigned int format, different type arg (arg 2)
64 > resource.c:542: warning: unsigned int format, different type arg (arg 2)
65 > resource.c:543: warning: unsigned int format, different type arg (arg 2)
66 > resource.c:544: warning: long unsigned int format, different type arg (arg
67 > 2) resource.c:545: warning: long unsigned int format, different type arg
68 > (arg 2) make[1]: *** [resource.o] Error 1
69 > make[1]: *** Waiting for unfinished jobs....
70 > make[1]: Leaving directory
71 > `/var/tmp/portage/strace-4.5.11/work/strace-4.5.11' make: *** [all] Error 2
72 >
73 > !!! ERROR: dev-util/strace-4.5.11 failed.
74 > !!! Function src_compile, Line 566, Exitcode 2
75 > !!! emake failed
76 > !!! If you need support, post the topmost build error, NOT this status
77 > message.
78 >
79 >
80 > emerge --info
81 > Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.6-r2,
82 > 2.6.15-gentoo-r12.6.14-r-4_new i686)
83 > =================================================================
84 > System uname: 2.6.15-gentoo-r12.6.14-r-4_new i686 AMD Athlon(tm) XP 2400+
85 > Gentoo Base System version 1.6.14
86 > dev-lang/python: 2.4.2
87 > sys-apps/sandbox: 1.2.12
88 > sys-devel/autoconf: 2.13, 2.59-r6
89 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
90 > sys-devel/binutils: 2.16.1
91 > sys-devel/libtool: 1.5.22
92 > virtual/os-headers: 2.6.11-r2
93 > ACCEPT_KEYWORDS="x86"
94 > AUTOCLEAN="yes"
95 > CBUILD="i686-pc-linux-gnu"
96 > CFLAGS="-march=athlon-xp -O3 -pipe"
97 > CHOST="i686-pc-linux-gnu"
98 > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
99 > /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
100 > /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
101 > CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
102 > /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe"
103 > DISTDIR="/usr/portage/distfiles"
104 > FEATURES="autoconfig distlocks sandbox sfperms strict"
105 > GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
106 > MAKEOPTS="-j2"
107 > PKGDIR="/usr/portage/packages"
108 > PORTAGE_TMPDIR="/var/tmp"
109 > PORTDIR="/usr/portage"
110 > SYNC="rsync://rsync.us.gentoo.org/gentoo-portage/"
111 > USE="x86 3dnow X aalib acl acpiapm adabas aim alsa apm arts audiofile avi
112 > bitmap-fonts bzip2 cdr crypt cups curl dga directfb dvd emboss encode esd
113 > ethereal exif expat fam fbcon ffmpeg flac flash foomaticdb fortran gd gdbm
114 > ggi gif gimpprint glut gmp gphoto gpm gstreamer gtk gtk2 idn imagemagick
115 > imap imlib ipv6 java jikes jpeg kde lcms ldap leim libg++ libwww lua mad
116 > maildir mbox mikmod mmx mng motif mp3 mpeg ncurses nls nptl nptlonly oav
117 > ogg oggvorbis openal opengl oss pam pcre pdflib perl pic png python qt
118 > quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tetex
119 > tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms
120 > xv xvid zeo zlib userland_GNU kernel_linux elibc_glibc"
121 > Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
122 >
123 > --
124 > Regards, Ernie
125
126
127 It seemed that most errors refered to functions of sys-fs/quota. I emerged
128 that but emerge of strace-4.5.11 fails as above.
129
130 strace-4.5.14, however built successfully.
131 --
132 Regards, Ernie
133 --
134 gentoo-user@g.o mailing list