[devel] bacula-2.2.5-alt2: i586 rebuild failed
Pavlov Konstantin
=?iso-8859-1?q?thresh_=CE=C1_altlinux=2Eru?=
Вс Ноя 4 03:27:24 MSK 2007
On Fri, Nov 02, 2007 at 11:05:31AM +0200, Kirill A. Shutemov wrote:
> On [Fri, 02.11.2007 14:56], Slava Semushin wrote:
> > 2007/11/2, Vitaly Kuznetsov <vitty / altlinux.ru>:
> > [...]
> > > configure:27794: checking for chflags
> > > configure:27851: gcc -o conftest -g -O2 -Wall conftest.c -ldl >&5
> > > /usr/src/tmp/ccA223YL.o: In function `main':
> > > /usr/src/RPM/BUILD/bacula-2.2.5/conftest.c:153: warning: warning:
> > > chflags is not implemented and will always fail
> > > configure:27857: $? = 0
> > >
> > > warning, а не error. Соответственно считается, что она есть. Я конечно
> > > сейчас оторву, но интересно таки что у нас изменилось.
> >
> > Ничего не отрывайте!
> >
> > У меня сейчас так (на тестовом примере):
> >
> > configure:2724: gcc -o conftest -g -O2 conftest.c >&5
> > conftest.c:14: error: '__builtin_chflags' undeclared here (not in a function)
> > conftest.c:16: warning: initialization makes pointer from integer without a cast
> > conftest.c:16: error: initializer element is not constant
> > configure:2731: $? = 1
> >
> > Это с glibc-devel-2.5-alt4
>
> Скорее glibc-kernheaders. Сейчас посмотрю.
У меня trunk vlc перестал собираться:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX
-I../../include -I../../include -Wall -Wextra -Wno-unused-parameter
-Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align
-Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT srtp.lo
-MD -MP -MF .deps/srtp.Tpo -c srtp.c -fPIC -DPIC -o .libs/srtp.o
srtp.c: In function 'gcry_pthread_mutex_init':
srtp.c:48: error: 'ENOMEM' undeclared (first use in this function)
srtp.c:48: error: (Each undeclared identifier is reported only once
srtp.c:48: error: for each function it appears in.)
srtp.c: In function 'srtp_setkey':
srtp.c:379: error: 'EINVAL' undeclared (first use in this function)
srtp.c:380: warning: control reaches end of non-void function
srtp.c: In function 'srtp_crypt':
srtp.c:487: error: 'EINVAL' undeclared (first use in this function)
srtp.c:527: error: 'EACCES' undeclared (first use in this function)
srtp.c: In function 'srtp_send':
srtp.c:572: error: 'ENOSPC' undeclared (first use in this function)
srtp.c: In function 'srtp_recv':
srtp.c:618: error: 'EINVAL' undeclared (first use in this function)
srtp.c:665: error: 'EACCES' undeclared (first use in this function)
srtp.c: In function 'srtcp_crypt':
srtp.c:716: error: 'EINVAL' undeclared (first use in this function)
srtp.c:740: error: 'EACCES' undeclared (first use in this function)
srtp.c: In function 'srtcp_send':
srtp.c:776: error: 'ENOSPC' undeclared (first use in this function)
srtp.c: In function 'srtcp_recv':
srtp.c:817: error: 'EINVAL' undeclared (first use in this function)
srtp.c:822: error: 'EACCES' undeclared (first use in this function)
make[2]: *** [srtp.lo] Ошибка 1
make[2]: Leaving directory `/home/thresh/projects/vlc/trunk/libs/srtp'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/thresh/projects/vlc/trunk'
make: *** [all] Ошибка 2
Откат на glibc-kernheaders=2.6.17-alt7 проблему решает.
При rpm -V glibc-kernheaders версии 2.6.18-alt1:
....L... /usr/include/linux-default/include/asm
S.5....T /usr/include/linux-default/include/asm-x86_64/a.out.h
S.5....T /usr/include/linux-default/include/asm-x86_64/auxvec.h
S.5....T /usr/include/linux-default/include/asm-x86_64/boot.h
S.5....T /usr/include/linux-default/include/asm-x86_64/bootsetup.h
S.5....T /usr/include/linux-default/include/asm-x86_64/byteorder.h
S.5....T /usr/include/linux-default/include/asm-x86_64/cpufeature.h
S.5....T /usr/include/linux-default/include/asm-x86_64/debugreg.h
S.5....T /usr/include/linux-default/include/asm-x86_64/elf.h
S.5....T /usr/include/linux-default/include/asm-x86_64/errno.h
S.5....T /usr/include/linux-default/include/asm-x86_64/fcntl.h
S.5....T /usr/include/linux-default/include/asm-x86_64/ioctl.h
S.5....T /usr/include/linux-default/include/asm-x86_64/ioctls.h
S.5....T /usr/include/linux-default/include/asm-x86_64/ipcbuf.h
S.5....T /usr/include/linux-default/include/asm-x86_64/ldt.h
S.5....T /usr/include/linux-default/include/asm-x86_64/mce.h
S.5....T /usr/include/linux-default/include/asm-x86_64/mman.h
S.5....T /usr/include/linux-default/include/asm-x86_64/msgbuf.h
S.5....T /usr/include/linux-default/include/asm-x86_64/msr.h
S.5....T /usr/include/linux-default/include/asm-x86_64/mtrr.h
S.5....T /usr/include/linux-default/include/asm-x86_64/page.h
S.5....T /usr/include/linux-default/include/asm-x86_64/param.h
S.5....T /usr/include/linux-default/include/asm-x86_64/poll.h
S.5....T /usr/include/linux-default/include/asm-x86_64/posix_types.h
S.5....T /usr/include/linux-default/include/asm-x86_64/prctl.h
S.5....T /usr/include/linux-default/include/asm-x86_64/ptrace.h
S.5....T /usr/include/linux-default/include/asm-x86_64/resource.h
S.5....T /usr/include/linux-default/include/asm-x86_64/sembuf.h
S.5....T /usr/include/linux-default/include/asm-x86_64/setup.h
S.5....T /usr/include/linux-default/include/asm-x86_64/shmbuf.h
S.5....T /usr/include/linux-default/include/asm-x86_64/shmparam.h
S.5....T /usr/include/linux-default/include/asm-x86_64/sigcontext.h
S.5....T /usr/include/linux-default/include/asm-x86_64/sigcontext32.h
S.5....T /usr/include/linux-default/include/asm-x86_64/siginfo.h
S.5....T /usr/include/linux-default/include/asm-x86_64/signal.h
S.5....T /usr/include/linux-default/include/asm-x86_64/socket.h
S.5....T /usr/include/linux-default/include/asm-x86_64/sockios.h
S.5....T /usr/include/linux-default/include/asm-x86_64/stat.h
S.5....T /usr/include/linux-default/include/asm-x86_64/statfs.h
S.5....T /usr/include/linux-default/include/asm-x86_64/termbits.h
S.5....T /usr/include/linux-default/include/asm-x86_64/termios.h
S.5....T /usr/include/linux-default/include/asm-x86_64/types.h
S.5....T /usr/include/linux-default/include/asm-x86_64/ucontext.h
S.5....T /usr/include/linux-default/include/asm-x86_64/unaligned.h
S.5....T /usr/include/linux-default/include/asm-x86_64/unistd.h
S.5....T /usr/include/linux-default/include/asm-x86_64/user.h
S.5....T /usr/include/linux-default/include/asm-x86_64/vsyscall.h
S.5....T /usr/include/linux-default/include/asm-x86_64/vsyscall32.h
--
Hold помогает как палатка против лавины.
-- slava in devel@
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип : application/pgp-signature
Размер : 189 байтов
Описание: Digital signature
Url : <http://lists.altlinux.org/pipermail/devel/attachments/20071104/2c9642d6/attachment-0002.bin>
Подробная информация о списке рассылки Devel