iproute2.spec

Mateusz Kamiński matipl w ds.pg.gda.pl
Śro, 16 Mar 2005, 12:44:03 CET


Dnia 16.03.05 o godzinie 12:26 +0100, użytkownik Mateusz Kamiński napisał(a):

>> setup -q -n %{name}-2.6.9-%{sdate}

własnie widzę, że poprawny:/ ściągany jest plik: iproute2-2.6.10-050209.tar.gz
a w nim katalog: iproute2-2.6.9-050209
jakaś dziwna polityka...

Pozatym chyba patch %{name}-rates-1024-fix.patch już jest nie potrzebny, 
bo poprawili w kodzie i wprowadzili zupełnie inną politykę (jest tablica z 
prędkościami)

Ale i tak nadal mi się nie buduje :/
./builder --without doc iproute2.spec
...
make[1]: Entering directory 
`/temp2/PLD/rpm/BUILD/iproute2-2.6.9-050209/tc'
...
  -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o tc_util.o 
tc_util.c
tc_util.c: In function `print_tm':
tc_util.c:426: warning: int format, different type arg (arg 3)
tc_util.c:428: warning: int format, different type arg (arg 3)
tc_util.c:430: warning: int format, different type arg (arg 3)
...
i686-pld-linux-gcc -D_GNU_SOURCE -O2 -march=i686 -DCONFIG_CLS_U32_PERF=1 
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT 
-DCONFIG_GACT_PROB   -c -o f_u32.o f_u32.c
f_u32.c: In function `parse_mark':
f_u32.c:599: error: storage size of `mark' isn't known
f_u32.c:599: warning: unused variable `mark'
f_u32.c: In function `u32_print_opt':
f_u32.c:1012: error: dereferencing pointer to incomplete type
f_u32.c:1016: error: dereferencing pointer to incomplete type
f_u32.c:1016: error: dereferencing pointer to incomplete type
f_u32.c:1016: error: dereferencing pointer to incomplete type
...
+ install -d /tmp/iproute2-2.6.10-root-matipl/sbin 
/tmp/iproute2-2.6.10-root-matipl/etc/iproute2 
/tmp/iproute2-2.6.10-root-matipl/usr/share/man/man8 
/tmp/iproute2-2.6.10-root-matipl/usr/lib 
/tmp/iproute2-2.6.10-root-matipl/usr/include
+ install ip/ip ip/rtmon ip/routel tc/tc misc/ifstat misc/lnstat 
misc/nstat misc/rtacct misc/ss /tmp/iproute2-2.6.10-root-matipl/sbin
install: cannot stat `tc/tc': No such file or directory
błąd: Błędny status wyjścia z /tmp/rpm-tmp.40621 (%install)

Pozatym tego error-a i warning-a nie powinno chyba być.

-- 
Mateusz 'matipl' Kamiński


Więcej informacji o liście dyskusyjnej pld-devel-pl