Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23279 - raidtools 1.00.3-r1 fails to build
Summary: raidtools 1.00.3-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-22 10:23 UTC by Ian Truelsen
Modified: 2003-06-22 15:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Truelsen 2003-06-22 10:23:41 UTC
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"
Comment 1 SpanKY gentoo-dev 2003-06-22 14:37:31 UTC
what if you `emerge popt` and then `emerge raidtools` ? 
Comment 2 Ian Truelsen 2003-06-22 14:54:53 UTC
That got it. I take it popt is a new dependency for the 1.0+ version of raidtools?