ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  @ 2007-11-02  6:37 ` Vitaly Kuznetsov
  2007-11-02  6:47   ` Slava Semushin
  2007-11-02  6:55   ` Slava Semushin
  0 siblings, 2 replies; 12+ messages in thread
From: Vitaly Kuznetsov @ 2007-11-02  6:37 UTC (permalink / raw)
  To: devel

QA Team Robot пишет:
> Package: bacula-2.2.5-alt2
> Packager: Vitaly Kuznetsov <vitty@altlinux>
> Build Statistics:
> 	9 time(s) (last time: Thu Oct 25 2007) by Vitaly Kuznetsov <vitty@altlinux>
> 	2 time(s) (last time: Mon Sep 10 2007) by Pavlov Konstantin <thresh@altlinux>
> 	1 time(s) (last time: Mon Apr 16 2007) by Michail Yakushin <silicium@altlinux>
> 	1 time(s) (last time: Sun Sep 02 2007) by Alexey Shabalin <shaba@altlinux>
> Status: i586 rebuild failed.
> Please investigate.
> 
> Why:
> 
attribs.c: In function 'void encode_stat(char*, FF_PKT*, int)':
attribs.c:211: error: 'struct stat' has no member named 'st_flags'
attribs.c: In function 'int decode_stat(char*, stat*, int32_t*)':
attribs.c:306: error: 'struct stat' has no member named 'st_flags'
attribs.c:306: error: 'struct stat' has no member named 'st_flags'
attribs.c:308: error: 'struct stat' has no member named 'st_flags'
attribs.c: In function 'bool set_attributes(JCR*, ATTR*, BFILE*)':
attribs.c:480: error: 'struct stat' has no member named 'st_flags'
attribs.c:480: error: 'chflags' was not declared in this scope
make[1]: *** [attribs.o] Error 1

Это как-то связано с обновлением glibc-devel? Как лечить?


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-02  6:37 ` [devel] bacula-2.2.5-alt2: i586 rebuild failed Vitaly Kuznetsov
@ 2007-11-02  6:47   ` Slava Semushin
  2007-11-02  6:56     ` Vitaly Kuznetsov
  2007-11-02  6:55   ` Slava Semushin
  1 sibling, 1 reply; 12+ messages in thread
From: Slava Semushin @ 2007-11-02  6:47 UTC (permalink / raw)
  To: ALT Linux Team development discussions

2007/11/2, Vitaly Kuznetsov <vitty / altlinux.ru>:
[...]
> attribs.c: In function 'void encode_stat(char*, FF_PKT*, int)':
> attribs.c:211: error: 'struct stat' has no member named 'st_flags'
> attribs.c: In function 'int decode_stat(char*, stat*, int32_t*)':
> attribs.c:306: error: 'struct stat' has no member named 'st_flags'
> attribs.c:306: error: 'struct stat' has no member named 'st_flags'
> attribs.c:308: error: 'struct stat' has no member named 'st_flags'
> attribs.c: In function 'bool set_attributes(JCR*, ATTR*, BFILE*)':
> attribs.c:480: error: 'struct stat' has no member named 'st_flags'
> attribs.c:480: error: 'chflags' was not declared in this scope
> make[1]: *** [attribs.o] Error 1
[...]

Это у вас как-то неправильно проверки сработали и в результате под
Линуксом пытается компилироваться код для *BSD. Поля st_flags под
Линуксом нет, равно как и ф-ции chflags() для манипулирования этим
полем. Смотрите в код и выясняйте почему так произошло.


-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-02  6:37 ` [devel] bacula-2.2.5-alt2: i586 rebuild failed Vitaly Kuznetsov
  2007-11-02  6:47   ` Slava Semushin
@ 2007-11-02  6:55   ` Slava Semushin
  2007-11-02  7:01     ` Vitaly Kuznetsov
  1 sibling, 1 reply; 12+ messages in thread
From: Slava Semushin @ 2007-11-02  6:55 UTC (permalink / raw)
  To: ALT Linux Team development discussions

2007/11/2, Vitaly Kuznetsov <vitty / altlinux.ru>:
[...]
> attribs.c: In function 'void encode_stat(char*, FF_PKT*, int)':
> attribs.c:211: error: 'struct stat' has no member named 'st_flags'

209 #ifdef HAVE_CHFLAGS
210    /* FreeBSD function */
211    p += to_base64((int64_t)statp->st_flags, p);  /* output st_flags */
212 #else
213    p += to_base64((int64_t)0, p);     /* output place holder */
214 #endif

> attribs.c: In function 'int decode_stat(char*, stat*, int32_t*)':
> attribs.c:306: error: 'struct stat' has no member named 'st_flags'
> attribs.c:306: error: 'struct stat' has no member named 'st_flags'
> attribs.c:308: error: 'struct stat' has no member named 'st_flags'

 305 #ifdef HAVE_CHFLAGS
306       plug(statp->st_flags, val);
307    } else {
308       statp->st_flags  = 0;
309 #endif

> attribs.c: In function 'bool set_attributes(JCR*, ATTR*, BFILE*)':
> attribs.c:480: error: 'struct stat' has no member named 'st_flags'
> attribs.c:480: error: 'chflags' was not declared in this scope

 472 #ifdef HAVE_CHFLAGS
473       /*
474        * FreeBSD user flags
475        *
476        * Note, this should really be done before the utime() above,
477        *  but if the immutable bit is set, it will make the utimes()
478        *  fail.
479        */
480       if (chflags(attr->ofname, attr->statp.st_flags) < 0 && my_uid == 0) {
481          berrno be;
482          Jmsg2(jcr, M_ERROR, 0, _("Unable to set file flags %s: ERR=%s\n"),
483             attr->ofname, be.bstrerror());
484          ok = false;
485       }
486 #endif

Надо разобраться почему ваш код собирается с -DHAVE_CHFLAGS

[...]

-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-02  6:47   ` Slava Semushin
@ 2007-11-02  6:56     ` Vitaly Kuznetsov
  0 siblings, 0 replies; 12+ messages in thread
From: Vitaly Kuznetsov @ 2007-11-02  6:56 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Slava Semushin пишет:
> 2007/11/2, Vitaly Kuznetsov <vitty / altlinux.ru>:
> [...]
>> attribs.c: In function 'void encode_stat(char*, FF_PKT*, int)':
>> attribs.c:211: error: 'struct stat' has no member named 'st_flags'
>> attribs.c: In function 'int decode_stat(char*, stat*, int32_t*)':
>> attribs.c:306: error: 'struct stat' has no member named 'st_flags'
>> attribs.c:306: error: 'struct stat' has no member named 'st_flags'
>> attribs.c:308: error: 'struct stat' has no member named 'st_flags'
>> attribs.c: In function 'bool set_attributes(JCR*, ATTR*, BFILE*)':
>> attribs.c:480: error: 'struct stat' has no member named 'st_flags'
>> attribs.c:480: error: 'chflags' was not declared in this scope
>> make[1]: *** [attribs.o] Error 1
> [...]
> 
> Это у вас как-то неправильно проверки сработали и в результате под
> Линуксом пытается компилироваться код для *BSD. Поля st_flags под
> Линуксом нет, равно как и ф-ции chflags() для манипулирования этим
> полем. Смотрите в код и выясняйте почему так произошло.
> 

Мне интересно, что такого случилось что со вчера пакет перестал
собираться. Попробую разобраться почему собирает не так, как надо.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-02  6:55   ` Slava Semushin
@ 2007-11-02  7:01     ` Vitaly Kuznetsov
  2007-11-02  8:56       ` Slava Semushin
  0 siblings, 1 reply; 12+ messages in thread
From: Vitaly Kuznetsov @ 2007-11-02  7:01 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Slava Semushin пишет:
> 2007/11/2, Vitaly Kuznetsov <vitty / altlinux.ru>:
> [...]
>> attribs.c: In function 'void encode_stat(char*, FF_PKT*, int)':
>> attribs.c:211: error: 'struct stat' has no member named 'st_flags'
> 
> 209 #ifdef HAVE_CHFLAGS
> 210    /* FreeBSD function */
> 211    p += to_base64((int64_t)statp->st_flags, p);  /* output st_flags */
> 212 #else
> 213    p += to_base64((int64_t)0, p);     /* output place holder */
> 214 #endif
> 
>> attribs.c: In function 'int decode_stat(char*, stat*, int32_t*)':
>> attribs.c:306: error: 'struct stat' has no member named 'st_flags'
>> attribs.c:306: error: 'struct stat' has no member named 'st_flags'
>> attribs.c:308: error: 'struct stat' has no member named 'st_flags'
> 
>  305 #ifdef HAVE_CHFLAGS
> 306       plug(statp->st_flags, val);
> 307    } else {
> 308       statp->st_flags  = 0;
> 309 #endif
> 
>> attribs.c: In function 'bool set_attributes(JCR*, ATTR*, BFILE*)':
>> attribs.c:480: error: 'struct stat' has no member named 'st_flags'
>> attribs.c:480: error: 'chflags' was not declared in this scope
> 
>  472 #ifdef HAVE_CHFLAGS
> 473       /*
> 474        * FreeBSD user flags
> 475        *
> 476        * Note, this should really be done before the utime() above,
> 477        *  but if the immutable bit is set, it will make the utimes()
> 478        *  fail.
> 479        */
> 480       if (chflags(attr->ofname, attr->statp.st_flags) < 0 && my_uid == 0) {
> 481          berrno be;
> 482          Jmsg2(jcr, M_ERROR, 0, _("Unable to set file flags %s: ERR=%s\n"),
> 483             attr->ofname, be.bstrerror());
> 484          ok = false;
> 485       }
> 486 #endif
> 
> Надо разобраться почему ваш код собирается с -DHAVE_CHFLAGS
> 
> [...]
> 
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. Соответственно считается, что она есть. Я конечно
сейчас оторву, но интересно таки что у нас изменилось.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-02  7:01     ` Vitaly Kuznetsov
@ 2007-11-02  8:56       ` Slava Semushin
  2007-11-02  9:05         ` Kirill A. Shutemov
  0 siblings, 1 reply; 12+ messages in thread
From: Slava Semushin @ 2007-11-02  8:56 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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 в котором avm@ что-то мутил с
какими-то stubs. Впрочем, вроде бы в git ldv@ это зафикшено в новом
autoconf_2.5

Вывод: вы непричем. Ждите новой версии autoconf при которой всё снова
будет собираться нормально.


-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-02  8:56       ` Slava Semushin
@ 2007-11-02  9:05         ` Kirill A. Shutemov
  2007-11-02 10:35           ` Dmitry V. Levin
  2007-11-04  0:27           ` Pavlov Konstantin
  0 siblings, 2 replies; 12+ messages in thread
From: Kirill A. Shutemov @ 2007-11-02  9:05 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]

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. Сейчас посмотрю.

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + Velesys LLC, http://www.velesys.com/
 + ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-02  9:05         ` Kirill A. Shutemov
@ 2007-11-02 10:35           ` Dmitry V. Levin
  2007-11-04  0:27           ` Pavlov Konstantin
  1 sibling, 0 replies; 12+ messages in thread
From: Dmitry V. Levin @ 2007-11-02 10:35 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]

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. Сейчас посмотрю.

Не надо, Слава определил правильно.
Если пакет во время сборки использует autoconf или autoreconf, то ничего
предпринимать не надо.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-02  9:05         ` Kirill A. Shutemov
  2007-11-02 10:35           ` Dmitry V. Levin
@ 2007-11-04  0:27           ` Pavlov Konstantin
  2007-11-04  2:40             ` Dmitry V. Levin
  2007-11-04 10:27             ` Sergey Vlasov
  1 sibling, 2 replies; 12+ messages in thread
From: Pavlov Konstantin @ 2007-11-04  0:27 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 6519 bytes --]

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@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-04  0:27           ` Pavlov Konstantin
@ 2007-11-04  2:40             ` Dmitry V. Levin
  2007-11-04 10:27             ` Sergey Vlasov
  1 sibling, 0 replies; 12+ messages in thread
From: Dmitry V. Levin @ 2007-11-04  2:40 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

On Sun, Nov 04, 2007 at 03:27:24AM +0300, Pavlov Konstantin wrote:
[...]
> У меня 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)

#include <errno.h>


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-04  0:27           ` Pavlov Konstantin
  2007-11-04  2:40             ` Dmitry V. Levin
@ 2007-11-04 10:27             ` Sergey Vlasov
  2007-11-04 12:28               ` Pavlov Konstantin
  1 sibling, 1 reply; 12+ messages in thread
From: Sergey Vlasov @ 2007-11-04 10:27 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

On Sun, Nov 04, 2007 at 03:27:24AM +0300, Pavlov Konstantin wrote:
> При 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
[...]

Исправлено в glibc-kernheaders/2.6.18-alt2:

+%pre
+if [ -L %_includedir/linux-default/include/asm ]; then
+	rm -f %_includedir/linux-default/include/asm
+fi

В старых пакетах был симлинк с именем asm, в новых на этом месте
находится каталог - rpm не в состоянии выполнить такое обновление без
дополнительных костылей.  Тестирование пересборкой в hasher такие
проблемы не отлавливает.

При необходимости отката на старую версию теперь потребуется
предварительно выполнить

	rm -rf /usr/include/linux-default/include/asm

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
  2007-11-04 10:27             ` Sergey Vlasov
@ 2007-11-04 12:28               ` Pavlov Konstantin
  0 siblings, 0 replies; 12+ messages in thread
From: Pavlov Konstantin @ 2007-11-04 12:28 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

On Sun, Nov 04, 2007 at 01:27:52PM +0300, Sergey Vlasov wrote:
> On Sun, Nov 04, 2007 at 03:27:24AM +0300, Pavlov Konstantin wrote:
> > При 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
> [...]
> 
> Исправлено в glibc-kernheaders/2.6.18-alt2:
> 
> +%pre
> +if [ -L %_includedir/linux-default/include/asm ]; then
> +	rm -f %_includedir/linux-default/include/asm
> +fi
> 
> В старых пакетах был симлинк с именем asm, в новых на этом месте
> находится каталог - rpm не в состоянии выполнить такое обновление без
> дополнительных костылей.  Тестирование пересборкой в hasher такие
> проблемы не отлавливает.
> 
> При необходимости отката на старую версию теперь потребуется
> предварительно выполнить
> 
> 	rm -rf /usr/include/linux-default/include/asm

Да, спасибо, это помогло.

-- 
> может быть стоит сделать hasher'у свою версию cpio ? ;-)
Нет. Так все сразу узнают в чем проблема, а если hasher будет работать,
то другие пользователи cpio могут наловить глюков...
		-- ns in devel@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-11-04 12:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-02  6:37 ` [devel] bacula-2.2.5-alt2: i586 rebuild failed Vitaly Kuznetsov
2007-11-02  6:47   ` Slava Semushin
2007-11-02  6:56     ` Vitaly Kuznetsov
2007-11-02  6:55   ` Slava Semushin
2007-11-02  7:01     ` Vitaly Kuznetsov
2007-11-02  8:56       ` Slava Semushin
2007-11-02  9:05         ` Kirill A. Shutemov
2007-11-02 10:35           ` Dmitry V. Levin
2007-11-04  0:27           ` Pavlov Konstantin
2007-11-04  2:40             ` Dmitry V. Levin
2007-11-04 10:27             ` Sergey Vlasov
2007-11-04 12:28               ` Pavlov Konstantin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git