lilo.spec na i686

Piotr Skwarna piotr.skwarna at wp.pl
Sat Feb 26 16:24:40 CET 2005


Najnowsza wersja speca wyklada sie z nastepujacym bledem na 3 roznych 
maszynach. Z tego co sie dowiedzialem na #pld buduje sie poprawnie na 
athlonie.
-------------- next part --------------
Wykonywanie(%prep): /bin/sh -e /var/tmp/rpm-tmp.88982
+ umask 022
+ cd /home/users/spider/rpm/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/users/spider/rpm/BUILD
+ rm -rf lilo-22.6.1
+ /bin/gzip -dc /home/users/spider/rpm/SOURCES/lilo-22.6.1.src.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd lilo-22.6.1
+ /bin/id -u
+ [ 500 = 0 ]
+ true .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo Patch #0 (lilo-makefile.patch):
Patch #0 (lilo-makefile.patch):
+ patch -p1 -s
+ < /home/users/spider/rpm/SOURCES/lilo-makefile.patch 
+ echo Patch #1 (lilo-nobash.patch):
Patch #1 (lilo-nobash.patch):
+ patch -p1 -s
+ < /home/users/spider/rpm/SOURCES/lilo-nobash.patch 
+ echo Patch #2 (lilo-ioctls.patch):
Patch #2 (lilo-ioctls.patch):
+ patch -p1 -s
+ < /home/users/spider/rpm/SOURCES/lilo-ioctls.patch 
+ echo Patch #3 (lilo-cc.patch):
Patch #3 (lilo-cc.patch):
+ patch -p1 -s
+ < /home/users/spider/rpm/SOURCES/lilo-cc.patch 
+ echo Patch #4 (lilo-doc-fallback.patch):
Patch #4 (lilo-doc-fallback.patch):
+ patch -p1 -s
+ < /home/users/spider/rpm/SOURCES/lilo-doc-fallback.patch 
+ echo Patch #5 (lilo-pagesize.patch):
Patch #5 (lilo-pagesize.patch):
+ patch -p1 -s
+ < /home/users/spider/rpm/SOURCES/lilo-pagesize.patch 
+ echo Patch #6 (lilo-dmraid.patch):
Patch #6 (lilo-dmraid.patch):
+ patch -p1 -s
+ < /home/users/spider/rpm/SOURCES/lilo-dmraid.patch 
+ exit 0
Wykonywanie(%build): /bin/sh -e /var/tmp/rpm-tmp.47947
+ umask 022
+ cd /home/users/spider/rpm/BUILD
+ cd lilo-22.6.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ /usr/bin/make CC=i686-pld-linux-gcc OPT=-O2 -march=i686 LDFLAGS=
i686-pld-linux-gcc -O2 -march=i686 -Wall -g `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` -DLILO=0x8171ec98 `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DSHS_MAIN -o version common.c
echo "#define CFLAGS \"" -O2 -march=i686 -Wall -g `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` -DLILO=0x8171ec98 `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` "\"" >flags.i
grep -v "0x" <Makefile >_TmP_
for i in boot.c bsect.c cfg.c common.c device.c edit.c geometry.c identify.c lilo.c map.c partition.c probe.c raid.c shs2.c temp.c bdata.h bitmap.h boot.h bsect.h cfg.h common.h config.h device.h edit.h geometry.h identify.h lilo.h loader.h map.h md-int.h partition.h probe.h raid.h shs2.h temp.h version.h vesainfo.h ; do cat $i >>_TmP_ ; done
echo "#define CSOURCE " `./version _TmP_` >>flags.i
rm -f _TmP_
i686-pld-linux-gcc -c -O2 -march=i686 -Wall -g `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` -DLILO=0x8171ec98 `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` lilo.c
i686-pld-linux-gcc -c -O2 -march=i686 -Wall -g `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` -DLILO=0x8171ec98 `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` raid.c
i686-pld-linux-gcc -c -O2 -march=i686 -Wall -g `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` -DLILO=0x8171ec98 `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` map.c
i686-pld-linux-gcc -c -O2 -march=i686 -Wall -g `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` -DLILO=0x8171ec98 `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` geometry.c
geometry.c:31:26: libdevmapper.h: No such file or directory
geometry.c:71: error: parse error before "uint64_t"
geometry.c:71: warning: no semicolon at end of struct or union
geometry.c:73: error: parse error before '}' token
geometry.c:73: warning: type defaults to `int' in declaration of `DM_TARGET'
geometry.c:73: warning: data definition has no type or storage class
geometry.c: In function `geo_get':
geometry.c:831: error: `uint64_t' undeclared (first use in this function)
geometry.c:831: error: (Each undeclared identifier is reported only once
geometry.c:831: error: for each function it appears in.)
geometry.c:831: error: parse error before "start"
geometry.c:937: warning: implicit declaration of function `dm_task_create'
geometry.c:937: error: `DM_DEVICE_LIST' undeclared (first use in this function)
geometry.c:937: warning: assignment makes pointer from integer without a cast
geometry.c:940: warning: implicit declaration of function `dm_task_run'
geometry.c:941: warning: implicit declaration of function `dm_task_destroy'
geometry.c:945: warning: implicit declaration of function `dm_task_get_names'
geometry.c:945: warning: assignment makes pointer from integer without a cast
geometry.c:950: error: dereferencing pointer to incomplete type
geometry.c:959: error: parse error before "length"
geometry.c:963: error: dereferencing pointer to incomplete type
geometry.c:964: error: dereferencing pointer to incomplete type
geometry.c:966: error: `DM_DEVICE_TABLE' undeclared (first use in this function)
geometry.c:966: warning: assignment makes pointer from integer without a cast
geometry.c:969: warning: implicit declaration of function `dm_task_set_name'
geometry.c:969: error: dereferencing pointer to incomplete type
geometry.c:971: error: dereferencing pointer to incomplete type
geometry.c:980: warning: implicit declaration of function `dm_get_next_target'
geometry.c:980: error: `start' undeclared (first use in this function)
geometry.c:980: error: `length' undeclared (first use in this function)
geometry.c:985: error: dereferencing pointer to incomplete type
geometry.c:986: error: dereferencing pointer to incomplete type
geometry.c:989: error: parse error before "PRIu64"
geometry.c:989: error: `PRIu64' undeclared (first use in this function)
geometry.c:989: warning: left-hand operand of comma expression has no effect
geometry.c:989: warning: left-hand operand of comma expression has no effect
geometry.c:989: warning: left-hand operand of comma expression has no effect
geometry.c:989: error: parse error before ')' token
geometry.c:997: error: parse error before "if"
geometry.c:823: warning: unused variable `walk'
geometry.c:824: warning: unused variable `inherited'
geometry.c:824: warning: unused variable `keep_cyls'
geometry.c: At top level:
geometry.c:1001: error: parse error before "while"
geometry.c:1004: warning: type defaults to `int' in declaration of `names'
geometry.c:1004: error: `begin' undeclared here (not in a function)
geometry.c:1004: warning: data definition has no type or storage class
geometry.c:1005: warning: type defaults to `int' in declaration of `next'
geometry.c:1005: warning: data definition has no type or storage class
geometry.c:1006: warning: type defaults to `int' in declaration of `found'
geometry.c:1006: warning: data definition has no type or storage class
geometry.c:1007: error: parse error before "do"
geometry.c:1010: error: parse error before "dontgive"
geometry.c:1010: warning: type defaults to `int' in declaration of `dontgive'
geometry.c:1010: warning: data definition has no type or storage class
geometry.c:1012: warning: type defaults to `int' in declaration of `names'
geometry.c:1012: error: redefinition of `names'
geometry.c:1004: error: `names' previously defined here
geometry.c:1012: warning: initialization makes integer from pointer without a cast
geometry.c:1012: error: initializer element is not constant
geometry.c:1012: warning: data definition has no type or storage class
geometry.c:1013: error: parse error before "if"
geometry.c:1022: error: parse error before string constant
geometry.c:1022: warning: type defaults to `int' in declaration of `die'
geometry.c:1022: error: conflicting types for `die'
common.h:394: error: previous declaration of `die'
geometry.c:1022: warning: data definition has no type or storage class
geometry.c:1027: error: parse error before string constant
geometry.c:1027: warning: type defaults to `int' in declaration of `die'
geometry.c:1027: warning: data definition has no type or storage class
geometry.c:1031: error: parse error before '(' token
geometry.c:1032: warning: type defaults to `int' in declaration of `dm_task_destroy'
geometry.c:1032: warning: parameter names (without types) in function declaration
geometry.c:1032: warning: data definition has no type or storage class
geometry.c:1033: error: parse error before '}' token
geometry.c:1037: error: parse error before string constant
geometry.c:1037: warning: type defaults to `int' in declaration of `die'
geometry.c:1037: warning: data definition has no type or storage class
geometry.c:1041: warning: type defaults to `int' in declaration of `dm_task_destroy'
geometry.c:1041: warning: parameter names (without types) in function declaration
geometry.c:1041: warning: data definition has no type or storage class
geometry.c:1043: error: parse error before '->' token
geometry.c:1060: warning: type defaults to `int' in declaration of `walk'
geometry.c:1060: warning: data definition has no type or storage class
geometry.c:1060: warning: type defaults to `int' in declaration of `walk'
geometry.c:1060: error: invalid type argument of `->'
geometry.c:1060: error: parse error before ')' token
geometry.c:1062: warning: type defaults to `int' in declaration of `inherited'
geometry.c:1062: error: initializer element is not constant
geometry.c:1062: warning: data definition has no type or storage class
geometry.c:1066: error: parse error before "if"
geometry.c:1067: warning: type defaults to `int' in declaration of `walk'
geometry.c:1067: warning: data definition has no type or storage class
geometry.c:1067: warning: type defaults to `int' in declaration of `walk'
geometry.c:1067: error: redefinition of `walk'
geometry.c:1060: error: `walk' previously defined here
geometry.c:1067: error: invalid type argument of `->'
geometry.c:1067: error: parse error before ')' token
geometry.c:1081: warning: type defaults to `int' in declaration of `keep_cyls'
geometry.c:1081: error: invalid type argument of `->'
geometry.c:1081: error: invalid type argument of `->'
geometry.c:1082: error: invalid type argument of `->'
geometry.c:1082: error: invalid type argument of `->'
geometry.c:1082: warning: data definition has no type or storage class
geometry.c:1089: error: parse error before "if"
geometry.c:1141: error: parse error before string constant
geometry.c:1142: warning: type defaults to `int' in declaration of `printf'
geometry.c:1142: warning: conflicting types for built-in function `printf'
geometry.c:1142: warning: data definition has no type or storage class
make: *** [geometry.o] Error 1
błąd: Błędny status wyjścia z /var/tmp/rpm-tmp.47947 (%build)


Błędy budowania RPM-a:
    Błędny status wyjścia z /var/tmp/rpm-tmp.47947 (%build)
   17.04s real    13.77s user     1.25s system


More information about the pld-devel-pl mailing list