ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Pavlov Konstantin <thresh@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] bacula-2.2.5-alt2: i586 rebuild failed
Date: Sun, 4 Nov 2007 03:27:24 +0300
Message-ID: <20071104002724.GC31730@cryo.net.ru> (raw)
In-Reply-To: <20071102090530.GB7957@localhost.localdomain>

[-- 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 --]

  parent reply	other threads:[~2007-11-04  0:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02  6:37 ` 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 [this message]
2007-11-04  2:40             ` Dmitry V. Levin
2007-11-04 10:27             ` Sergey Vlasov
2007-11-04 12:28               ` Pavlov Konstantin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071104002724.GC31730@cryo.net.ru \
    --to=thresh@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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