Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24033 - raidtools-1.00.3 fails to compile with gcc-3.3
Summary: raidtools-1.00.3 fails to compile with gcc-3.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-07 00:16 UTC by Dirk-Jan Heijs
Modified: 2003-07-07 19:14 UTC (History)
0 users

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


Attachments
raidtools-1.00.3-r2.ebuild (raidtools-1.00.3-r2.ebuild,952 bytes, text/plain)
2003-07-07 00:19 UTC, Dirk-Jan Heijs
Details
raidtools-1.00.3-r2.ebuild (raidtools-1.00.3-r2.ebuild,952 bytes, text/plain)
2003-07-07 00:20 UTC, Dirk-Jan Heijs
Details
RedHat's gcc-3.3 patch (raidtools-1.00.3-gcc33.patch,2.97 KB, patch)
2003-07-07 00:21 UTC, Dirk-Jan Heijs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk-Jan Heijs 2003-07-07 00:16:41 UTC
When I try to emerge raidtools, I get the following error: see below

Reproducible: Always
Steps to Reproduce:
1. emerge gcc-3.3
2. emerge raidtools
3.

Actual Results:  
mkraid.c:174:1: missing terminating " character
mkraid.c: In function `main':
mkraid.c:175: error: parse error before "WARNING"
mkraid.c:178:66: missing terminating ' character
mkraid.c:178:66: warning: character constant too long for its type
mkraid.c:184:46: missing terminating ' character
mkraid.c:184:46: warning: character constant too long for its type
mkraid.c:193:15: missing terminating ' character
mkraid.c:193:15: warning: character constant too long for its type
mkraid.c:199:1: missing terminating " character
make: *** [mkraid.o] Error 1
make: *** Waiting for unfinished jobs....
 
!!! ERROR: sys-apps/raidtools-1.00.3-r1 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)

Expected Results:  
>>> Merging sys-apps/raidtools-1.00.3-r2 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/raidtools-1.00.3-r2/
>>> /usr/share/doc/raidtools-1.00.3-r2/reconf.notes.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/README.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/retry.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/summary.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/config/
>>> /usr/share/doc/raidtools-1.00.3-r2/config/raid1.conf.sample.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/config/raid5.conf.sample.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/config/raid0.conf.sample.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/config/raid4.conf.sample.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/config/raidtab.sample.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/config/multipath.conf.sample.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/Software-RAID.HOWTO.txt.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/raidreconf-HOWTO.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/newraidtab.gz
>>> /usr/share/doc/raidtools-1.00.3-r2/oldraidtab.gz
--- /usr/share/man/
--- /usr/share/man/man5/
>>> /usr/share/man/man5/raidtab.5.gz
--- /usr/share/man/man8/
>>> /usr/share/man/man8/raidrun.8.gz
>>> /usr/share/man/man8/raid0run.8.gz
>>> /usr/share/man/man8/raidadd.8.gz
>>> /usr/share/man/man8/mkraid.8.gz
>>> /usr/share/man/man8/raidreconf.8.gz
>>> /usr/share/man/man8/lsraid.8.gz
>>> /usr/share/man/man8/raidstart.8.gz
>>> /usr/share/man/man8/ckraid.8.gz
>>> /usr/share/man/man8/raidstop.8.gz
--- /sbin/
>>> /sbin/raidreconf
>>> /sbin/arytst
>>> /sbin/detect_multipath
>>> /sbin/lsraid
>>> /sbin/mkraid
>>> /sbin/raidstart
>>> /sbin/raidhotadd -> raidstart
>>> /sbin/raidhotremove -> raidstart
>>> /sbin/raid0run -> mkraid
>>> /sbin/raidstop -> raidstart
>>> /sbin/raidsetfaulty -> raidstart

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r2)
=================================================================
System uname: 2.5.74-mm1 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
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="/usr/local/portage"
USE="x86 3dnow apm avi crypt encode gif jpeg libg++ mikmod mpeg ncurses nls
pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline
tcltk java sdl tcpd pam libwww ssl perl python esd imlib oggvorbis opengl
mozilla mmx sse X gtk2 gtk gnome -ximian tetex alsa oss -gpm -qt -arts -kde
motif -svga -cups dvd"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop
-falign-functions=4 -O3 -pipe"
CXXFLAGS="-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387 -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop
-falign-functions=4 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j6"
AUTOCLEAN="yes"
SYNC="rsync://heijs/gentoo-portage/"
FEATURES="sandbox ccache"
Comment 1 Dirk-Jan Heijs 2003-07-07 00:19:52 UTC
Created attachment 14215 [details]
raidtools-1.00.3-r2.ebuild

New ebuild for raidtools-1.00.3 to fix the compilation error with gcc-3.3 using
a RedHat's patch
Comment 2 Dirk-Jan Heijs 2003-07-07 00:20:15 UTC
Created attachment 14216 [details]
raidtools-1.00.3-r2.ebuild

New ebuild for raidtools-1.00.3 to fix the compilation error with gcc-3.3 using
a RedHat's patch
Comment 3 Dirk-Jan Heijs 2003-07-07 00:21:20 UTC
Created attachment 14217 [details, diff]
RedHat's gcc-3.3 patch
Comment 4 Dirk-Jan Heijs 2003-07-07 00:21:55 UTC
Sorry for the double post. I seem to get a bad (400?) statement?
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2003-07-07 19:14:14 UTC
Applied, thanks for the patch!