Bug 237 - Проблематичные патчи к исходникам XFree86-4.1.0.1
Summary: Проблематичные патчи к исходникам XFree86-4.1.0.1
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: XFree86 (show other bugs)
Version: unstable
Hardware: all Linux
: P4 minor
Assignee: Nobody's working on this, feel free to take it
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-20 09:36 MSK by raVen
Modified: 2009-05-10 09:31 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raVen 2001-12-20 09:36:11 MSK
$ rpm --rebuild XFree86-4.1.0.1-alt4.src.rpm

cd ./config/pswrap && make pswrap
make[1]: Entering directory `/usr/src/RPM/BUILD/XFree86-4.1.0.1/xc/config/pswrap\'
gcc -pipe -Wall -O2 -fexpensive-optimizations -march=athlon -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs     -I../.. -I../../exports/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   -DXENVIRONMENT    -c -o main.o main.c
main.c:43:21: X11/Xos.h: No such file or directory
In file included from main.c:51:
pswpriv.h:136: warning: redundant redeclaration of `ifile\' in same scope
pswpriv.h:135: warning: previous declaration of `ifile\'
pswpriv.h:147: warning: redundant redeclaration of `errorCount\' in same scope
pswpriv.h:144: warning: previous declaration of `errorCount\'
main.c: In function `ScanArgs\':
main.c:98: warning: implicit declaration of function `rindex\'
main.c:98: warning: assignment makes pointer from integer without a cast
main.c:128: warning: assignment makes pointer from integer without a cast
main.c:129: warning: implicit declaration of function `strcpy\'
main.c:132: warning: value computed is not used
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/XFree86-4.1.0.1/xc/config/pswrap\'make: *** [World] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/XFree86-4.1.0.1/xc\'
Неверный код возврата из /var/tmp/rpm-tmp.12563 (%build)

---

---
Помогло поправить spec-файл - убрать наложение двух патчей: XFree86-4.0.99.3-parallelmake.patch и XFree86-4.0.99.900-parallelmake.patch

Comment 1 Bug Reporter 2002-02-05 13:12:58 MSK
Для сборки XFree86 в системе должен быть установлен пакет XFree86-devel
Comment 2 Bug Reporter 2002-02-05 13:12:58 MSK
Для сборки XFree86 в системе должен быть установлен пакет XFree86-devel