Updating from raidtools 0.90-r2, the ebuild fails with the following: gcc -march=i586 -O3 -pipe -DMD_VERSION=\"raidtools-1.00.3\" -c -o raidstart.o raidstart.c gcc -march=i586 -O3 -pipe -DMD_VERSION=\"raidtools-1.00.3\" -c -o parser.o parser.c gcc -march=i586 -O3 -pipe -DMD_VERSION=\"raidtools-1.00.3\" -c -o raidlib.o raidlib.c gcc -march=i586 -O3 -pipe -DMD_VERSION=\"raidtools-1.00.3\" -c -o version.o version.c raidstart.c:25: popt.h: No such file or directory raidlib.c:26: popt.h: No such file or directory raidstart.c: In function `main': raidstart.c:44: `poptContext' undeclared (first use in this function) raidstart.c:44: (Each undeclared identifier is reported only once raidstart.c:44: for each function it appears in.) raidstart.c:44: parse error before `optCon' raidstart.c:46: elements of array `optionsTable' have incomplete type raidstart.c:47: warning: excess elements in struct initializer raidstart.c:47: warning: (near initialization for `optionsTable[0]') raidstart.c:47: warning: excess elements in struct initializer raidstart.c:47: warning: (near initialization for `optionsTable[0]') raidstart.c:47: warning: excess elements in struct initializer raidstart.c:47: warning: (near initialization for `optionsTable[0]') raidstart.c:47: warning: excess elements in struct initializer raidstart.c:47: warning: (near initialization for `optionsTable[0]') raidstart.c:47: warning: excess elements in struct initializer raidstart.c:47: warning: (near initialization for `optionsTable[0]') raidstart.c:48: warning: excess elements in struct initializer raidstart.c:48: warning: (near initialization for `optionsTable[1]') raidstart.c:48: warning: excess elements in struct initializer raidstart.c:48: warning: (near initialization for `optionsTable[1]') raidstart.c:48: `POPT_ARG_STRING' undeclared (first use in this function) raidstart.c:48: warning: excess elements in struct initializer raidstart.c:48: warning: (near initialization for `optionsTable[1]') raidstart.c:48: warning: excess elements in struct initializer raidstart.c:48: warning: (near initialization for `optionsTable[1]') raidstart.c:48: warning: excess elements in struct initializer raidstart.c:48: warning: (near initialization for `optionsTable[1]') raidstart.c:49: warning: excess elements in struct initializer raidstart.c:49: warning: (near initialization for `optionsTable[2]') raidstart.c:49: warning: excess elements in struct initializer raidstart.c:49: warning: (near initialization for `optionsTable[2]') raidstart.c:49: warning: excess elements in struct initializer raidstart.c:49: warning: (near initialization for `optionsTable[2]') raidstart.c:49: warning: excess elements in struct initializer raidstart.c:49: warning: (near initialization for `optionsTable[2]') raidstart.c:49: warning: excess elements in struct initializer raidstart.c:49: warning: (near initialization for `optionsTable[2]') raidstart.c:50: warning: excess elements in struct initializer raidstart.c:50: warning: (near initialization for `optionsTable[3]') raidstart.c:50: warning: excess elements in struct initializer raidstart.c:50: warning: (near initialization for `optionsTable[3]') raidstart.c:50: warning: excess elements in struct initializer raidstart.c:50: warning: (near initialization for `optionsTable[3]') raidstart.c:50: warning: excess elements in struct initializer raidstart.c:50: warning: (near initialization for `optionsTable[3]') raidstart.c:50: warning: excess elements in struct initializer raidstart.c:50: warning: (near initialization for `optionsTable[3]') raidstart.c:51: warning: excess elements in struct initializer raidstart.c:51: warning: (near initialization for `optionsTable[4]') raidstart.c:51: warning: excess elements in struct initializer raidstart.c:51: warning: (near initialization for `optionsTable[4]') raidstart.c:51: warning: excess elements in struct initializer raidstart.c:51: warning: (near initialization for `optionsTable[4]') raidstart.c:51: warning: excess elements in struct initializer raidstart.c:51: warning: (near initialization for `optionsTable[4]') raidstart.c:51: warning: excess elements in struct initializer raidstart.c:51: warning: (near initialization for `optionsTable[4]') raidstart.c:52: warning: excess elements in struct initializer raidstart.c:52: warning: (near initialization for `optionsTable[5]') raidstart.c:52: warning: excess elements in struct initializer raidstart.c:52: warning: (near initialization for `optionsTable[5]') raidstart.c:52: warning: excess elements in struct initializer raidstart.c:52: warning: (near initialization for `optionsTable[5]') raidstart.c:52: warning: excess elements in struct initializer raidstart.c:52: warning: (near initialization for `optionsTable[5]') raidstart.c:52: warning: excess elements in struct initializer raidstart.c:52: warning: (near initialization for `optionsTable[5]') raidstart.c:53: warning: excess elements in struct initializer raidstart.c:53: warning: (near initialization for `optionsTable[6]') raidstart.c:53: warning: excess elements in struct initializer raidstart.c:53: warning: (near initialization for `optionsTable[6]') raidstart.c:53: warning: excess elements in struct initializer raidstart.c:53: warning: (near initialization for `optionsTable[6]') raidstart.c:53: warning: excess elements in struct initializer raidstart.c:53: warning: (near initialization for `optionsTable[6]') raidstart.c:53: warning: excess elements in struct initializer raidstart.c:53: warning: (near initialization for `optionsTable[6]') raidstart.c:46: array size missing in `optionsTable' raidstart.c:46: storage size of `optionsTable' isn't known gcc -march=i586 -O3 -pipe -DMD_VERSION=\"raidtools-1.00.3\" -c -o raid_io.o raid_io.c raidstart.c:80: `optCon' undeclared (first use in this function) raidstart.c:84: `POPT_BADOPTION_NOALIAS' undeclared (first use in this function) make: *** [raidstart.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [raidlib.o] Error 1 !!! ERROR: sys-apps/raidtools-1.00.3-r1 failed. !!! Function src_compile, Line 17, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge raidtools -u 2. 3. Actual Results: ebuild failed Expected Results: emerged successfully Portage 2.0.48-r1 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8,2.2.5-r4) ================================================================= System uname: 2.4.20 i586 Pentium MMX GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm crypt cups encode gif imlib java jpeg libg++ libwww mikmod mmx mpeg ncurses pdflib quicktime sdl spell svga truetype xml2 xmms berkdb gdbm nls pam perl png python readline slang ssl tcpd -gpm -xv -3dnow -arts -lame -esd -oggvorbis -gnome -gtk -X -qt -kde -motif -opengl -avi" COMPILER="" CHOST="i586-pc-linux-gnu" CFLAGS="-march=i586 -O3 -pipe" CXXFLAGS="-march=i586 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://dark-lord.ihtruelsen.dyndns.org/gentoo-portage" FEATURES="sandbox ccache fixpackages"
what if you `emerge popt` and then `emerge raidtools` ?
That got it. I take it popt is a new dependency for the 1.0+ version of raidtools?
guess so ;) http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/sys-apps/raidtools/raidtools-1.00.3-r1.ebuild.diff?r1=1.3&r2=1.4