Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165917 - sys-fs/raidtools-1.00.3-r6 fails to build
Summary: sys-fs/raidtools-1.00.3-r6 fails to build
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 14:45 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2007-02-11 09:37 UTC (History)
1 user (show)

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


Attachments
emerge --info (ei,10.40 KB, text/plain)
2007-02-08 14:47 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-08 14:45:41 UTC
root@moon_gen:/# emerge -DavN raidtools

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-fs/raidtools-1.00.3-r6  0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

>>> Emerging (1 of 1) sys-fs/raidtools-1.00.3-r6 to /
 * raidtools-1.00.3.tar.gz MD5 ;-) ...                                    [ ok ]
 * raidtools-1.00.3.tar.gz RMD160 ;-) ...                                 [ ok ]
 * raidtools-1.00.3.tar.gz SHA1 ;-) ...                                   [ ok ]
 * raidtools-1.00.3.tar.gz SHA256 ;-) ...                                 [ ok ]
 * raidtools-1.00.3.tar.gz size ;-) ...                                   [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking raidtools-1.00.3.tar.gz ;-) ...                               [ ok ]
>>> Unpacking source...
>>> Unpacking raidtools-1.00.3.tar.gz to /var/tmp/portage/sys-fs/raidtools-1.00.3-r6/work
 * Applying raidtools-1.00.3-gcc33.patch ...                              [ ok ]
 * Applying raidtools-1.00.3-2.6.Headers.patch ...                        [ ok ]
 * Applying raidtools-1.00.3-mkraid.patch ...                             [ ok ]
 * Applying raidtools-1.00.3-s390x.patch ...                              [ ok ]
 * Applying raidtools-1.00.3-raidstop.patch ...                           [ ok ]
 * Applying raidtools-1.00.3-PIC.patch ...                                [ ok ]
 * Applying raidtools-1.00.3-build.patch ...                              [ ok ]
 * Applying raidtools-1.00.3-quiet-raidstart.patch ...                    [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-fs/raidtools-1.00.3-r6/work/raidtools-1.00.3 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
i686-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raidstart.o raidstart.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o parser.o parser.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raidlib.o raidlib.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o version.o version.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raid_io.o raid_io.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o scsi.o scsi.c
raidstart.c: In function 'main':
raidstart.c:79: warning: pointer targets in passing argument 1 of 'usage' differ in signedness
raidstart.c:89: warning: pointer targets in passing argument 1 of 'usage' differ in signedness
raidstart.c:94: warning: pointer targets in passing argument 1 of 'usage' differ in signedness
raidstart.c:123: warning: pointer targets in passing argument 1 of 'usage' differ in signedness
raidstart.c:174: warning: pointer targets in passing argument 1 of 'usage' differ in signedness
raidstart.c:195: warning: pointer targets in passing argument 1 of 'usage' differ in signedness
raidstart.c:205: warning: pointer targets in passing argument 1 of 'usage' differ in signedness
raidstart.c:238: warning: pointer targets in passing argument 1 of 'usage' differ in signedness
i686-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o reconfiguration.o reconfiguration.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -Wall -DMD_VERSION=\""raidtools
-1.00.3"\" -c -o rrc_common.o rrc_common.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_raid0.o rrc_raid0.c
raid_io.c:96: error: expected declaration specifiers or '...' before '_llseek'
raid_io.c:96: error: expected declaration specifiers or '...' before 'fd'
raid_io.c:96: error: expected declaration specifiers or '...' before 'offset_high'
raid_io.c:97: error: expected declaration specifiers or '...' before 'offset_low'
raid_io.c:97: error: expected declaration specifiers or '...' before 'result'
raid_io.c:98: error: expected declaration specifiers or '...' before 'origin'
raid_io.c:101: warning: return type defaults to 'int'
raid_io.c: In function '_syscall5':
raid_io.c:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
raid_io.c:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
raid_io.c:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
raid_io.c:267: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
raid_io.c:361: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
raid_io.c:519: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
raid_io.c:96: error: parameter name omitted
raid_io.c:96: error: parameter name omitted
raid_io.c:96: error: parameter name omitted
raid_io.c:97: error: parameter name omitted
raid_io.c:97: error: parameter name omitted
raid_io.c:98: error: parameter name omitted
raid_io.c:540: error: expected '{' at end of input
make: *** [raid_io.o] Error 1
make: *** Waiting for unfinished jobs....
scsi.c: In function 'scsi_get_serial_number_page':
scsi.c:434: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness

!!! ERROR: sys-fs/raidtools-1.00.3-r6 failed.
Call stack:
  ebuild.sh, line 1613:   Called dyn_compile
  ebuild.sh, line 970:   Called qa_call 'src_compile'
  environment, line 3302:   Called src_compile
  ebuild.sh, line 644:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/sys-fs:raidtools-1.00.3-r6:20070208-144142.log'.

root@moon_gen:/#
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-08 14:47:38 UTC
Created attachment 109517 [details]
emerge --info
Comment 2 Marco 2007-02-11 05:51:47 UTC
I can confirm this bug.
Just upgraded my system and lost raidtools.
Unfortunately mdadm cannot seem to recognize older raids which were created without superblocks, unless the raid is already mounted which for now makes the deprecated raidtools an essential tool.
Much thanks if anyone can decipher this bug, much important data would be saved.
Comment 3 Marco 2007-02-11 07:53:19 UTC
I want to correct my last comment.

mdadm can build the old arrays.  You need to use the -B --build flag.  So there is no use for raidtools.   The linux-raid mailing list says it has been obsolete for at least a few years.
Comment 4 SpanKY gentoo-dev 2007-02-11 09:37:25 UTC
we know

package has been masked and will be punted; people should use mdadm