On Saturday 28 January 2006 14:21, a tiny voice compelled Ernie Schroder to 
write:
> emerge strace fails with the following errors:
> (updating a couple of packages since I first got these errors was
> successful)
>
> resource.c:478: error: `Q_SETUSE' undeclared here (not in a function)
> resource.c:478: error: initializer element is not constant
> resource.c:478: error: (near initialization for `quotacmds[4].val')
> resource.c:478: error: initializer element is not constant
> resource.c:478: error: (near initialization for `quotacmds[4]')
> resource.c:479: error: initializer element is not constant
> resource.c:479: error: (near initialization for `quotacmds[5]')
> resource.c:480: error: `Q_SETQLIM' undeclared here (not in a function)
> resource.c:480: error: initializer element is not constant
> resource.c:480: error: (near initialization for `quotacmds[6].val')
> resource.c:480: error: initializer element is not constant
> resource.c:480: error: (near initialization for `quotacmds[6]')
> resource.c:481: error: `Q_GETSTATS' undeclared here (not in a function)
> resource.c:481: error: initializer element is not constant
> resource.c:481: error: (near initialization for `quotacmds[7].val')
> resource.c:481: error: initializer element is not constant
> resource.c:481: error: (near initialization for `quotacmds[7]')
> resource.c:482: error: `Q_RSQUASH' undeclared here (not in a function)
> resource.c:482: error: initializer element is not constant
> resource.c:482: error: (near initialization for `quotacmds[8].val')
> resource.c:482: error: initializer element is not constant
> resource.c:482: error: (near initialization for `quotacmds[8]')
> resource.c:483: error: initializer element is not constant
> resource.c:483: error: (near initialization for `quotacmds[9]')
> resource.c:484: error: initializer element is not constant
> resource.c:484: error: (near initialization for `quotacmds[10]')
> resource.c:485: error: initializer element is not constant
> resource.c:485: error: (near initialization for `quotacmds[11]')
> resource.c:486: error: initializer element is not constant
> resource.c:486: error: (near initialization for `quotacmds[12]')
> resource.c:487: error: initializer element is not constant
> resource.c:487: error: (near initialization for `quotacmds[13]')
> resource.c:488: error: initializer element is not constant
> resource.c:488: error: (near initialization for `quotacmds[14]')
> resource.c:489: error: initializer element is not constant
> resource.c:489: error: (near initialization for `quotacmds[15]')
> resource.c:490: error: initializer element is not constant
> resource.c:490: error: (near initialization for `quotacmds[16]')
> resource.c:491: error: initializer element is not constant
> resource.c:491: error: (near initialization for `quotacmds[17]')
> resource.c:492: error: initializer element is not constant
> resource.c:492: error: (near initialization for `quotacmds[18]')
> resource.c:493: error: initializer element is not constant
> resource.c:493: error: (near initialization for `quotacmds[19]')
> resource.c:494: error: initializer element is not constant
> resource.c:494: error: (near initialization for `quotacmds[20]')
> resource.c:495: error: initializer element is not constant
> resource.c:495: error: (near initialization for `quotacmds[21]')
> resource.c:496: error: initializer element is not constant
> resource.c:496: error: (near initialization for `quotacmds[22]')
> resource.c:497: error: initializer element is not constant
> resource.c:497: error: (near initialization for `quotacmds[23]')
> resource.c: In function `sys_quotactl':
> resource.c:538: warning: unsigned int format, different type arg (arg 2)
> resource.c:539: warning: unsigned int format, different type arg (arg 2)
> resource.c:540: error: structure has no member named `dqb_curblocks'
> resource.c:541: warning: unsigned int format, different type arg (arg 2)
> resource.c:542: warning: unsigned int format, different type arg (arg 2)
> resource.c:543: warning: unsigned int format, different type arg (arg 2)
> resource.c:544: warning: long unsigned int format, different type arg (arg
> 2) resource.c:545: warning: long unsigned int format, different type arg
> (arg 2) make[1]: *** [resource.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory
> `/var/tmp/portage/strace-4.5.11/work/strace-4.5.11' make: *** [all] Error 2
>
> !!! ERROR: dev-util/strace-4.5.11 failed.
> !!! Function src_compile, Line 566, Exitcode 2
> !!! emake failed
> !!! If you need support, post the topmost build error, NOT this status
> message.
>
>
> emerge --info
> Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.6-r2,
> 2.6.15-gentoo-r12.6.14-r-4_new i686)
> =================================================================
> System uname: 2.6.15-gentoo-r12.6.14-r-4_new i686 AMD Athlon(tm) XP 2400+
> Gentoo Base System version 1.6.14
> dev-lang/python:     2.4.2
> sys-apps/sandbox:    1.2.12
> sys-devel/autoconf:  2.13, 2.59-r6
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
> sys-devel/binutils:  2.16.1
> sys-devel/libtool:   1.5.22
> virtual/os-headers:  2.6.11-r2
> ACCEPT_KEYWORDS="x86"
> AUTOCLEAN="yes"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-march=athlon-xp -O3 -pipe"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
> /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
> /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
> CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
> /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig distlocks sandbox sfperms strict"
> GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo";
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.us.gentoo.org/gentoo-portage/"
> USE="x86 3dnow X aalib acl acpiapm adabas aim alsa apm arts audiofile avi
> bitmap-fonts bzip2 cdr crypt cups curl dga directfb dvd emboss encode esd
> ethereal exif expat fam fbcon ffmpeg flac flash foomaticdb fortran gd gdbm
> ggi gif gimpprint glut gmp gphoto gpm gstreamer gtk gtk2 idn imagemagick
> imap imlib ipv6 java jikes jpeg kde lcms ldap leim libg++ libwww lua mad
> maildir mbox mikmod mmx mng motif mp3 mpeg ncurses nls nptl nptlonly oav
> ogg oggvorbis openal opengl oss pam pcre pdflib perl pic png python qt
> quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tetex
> tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms
> xv xvid zeo zlib userland_GNU kernel_linux elibc_glibc"
> Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
>
> --
> Regards, Ernie


It seemed that most errors refered to functions of sys-fs/quota. I emerged 
that but emerge of strace-4.5.11 fails as above.

strace-4.5.14, however built successfully.
-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list

Reply via email to