[devel] Пострадавшие от новых glibc-kernheaders (874)

Kirill A. Shutemov =?iso-8859-1?q?kirill_=CE=C1_shutemov=2Ename?=
Вт Сен 16 14:22:24 MSD 2008


On Tue, Sep 16, 2008 at 12:57:05AM +0400, QA Team Robot wrote:

> avahi-0.6.23-alt1
> 	from caps.c:29:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	make[2]: Leaving directory `/usr/src/RPM/BUILD/avahi-0.6.23/avahi-daemon'

Это баг libcap. В upstream исправлен. 

http://git.kernel.org/?p=libs/libcap/libcap.git;a=commitdiff;h=ea4e5f8e08bf8af459378dac24d42fdbbcdb2e73#patch7

> callweaver-1.2-alt1.svn5072.1.1
> 	from callweaver.c:87:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	callweaver.c: In function 'cw_rl_read_char':

см. коммент к avahi.

> coldsync-3.0-alt5.pre4
> 	from dummy.c:20:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	In file included from ../coldsync.h:25,

см. коммент к avahi.

> ddcprobe-2.0.3-alt1
> 	i10_v86.c: In function 'setup_vm86':
> 	i10_v86.c:104: error: 'VIF_MASK' undeclared (first use in this function)
> 	i10_v86.c:104: error: (Each undeclared identifier is reported only once
> 	i10_v86.c:104: error: for each function it appears in.)
> 	i10_v86.c:104: error: 'VIP_MASK' undeclared (first use in this function)
> 	i10_v86.c: In function 'vm86_GP_fault':
> 	--
> 	i10_v86.c:471: warning: dereferencing type-punned pointer will break strict-aliasing rules
> 	i10_v86.c:474: error: 'VIF_MASK' undeclared (first use in this function)
> 	i10_v86.c:475: error: 'IF_MASK' undeclared (first use in this function)
> 	i10_v86.c:486: error: 'TF_MASK' undeclared (first use in this function)
> 	i10_v86.c:486: error: 'NT_MASK' undeclared (first use in this function)
> 	make[1]: *** [i10_v86.o] Error 1

Вместо этих define'ов нужно использовать соответствующие из
asm/processor-flags.h.

Например, вместо VIF_MASK нужно использовать X86_EFLAGS_VIF.

> dhcp-1:3.0.7-alt1
> 	from droproot.c:9:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	make[2]: Leaving directory `/usr/src/RPM/BUILD/dhcp-3.0.7/work.linux-2.2/common'

см. коммент к avahi.

> givertcap-1.0-alt4.1
> 	+ g++ -pipe -Wall -O2 -march=i586 -mtune=i686 givertcap.c -o givertcap -lcap
> 	/usr/include/linux/capability.h:73: error: '__le32' does not name a type
> 	/usr/include/linux/capability.h:75: error: '__le32' does not name a type
> 	/usr/include/linux/capability.h:76: error: '__le32' does not name a type

см. коммент к avahi.

> google-perftools-0.97-alt1
> 	gcc -DHAVE_CONFIG_H -I. -I. -I./src -I./src -g -O2 -MT linuxthreads.lo -MD -MP -MF
> 	.deps/linuxthreads.Tpo -c src/base/linuxthreads.c  -fPIC -DPIC -o .libs/linuxthreads.o
> 	src/base/linuxthreads.c:52:26: error: linux/dirent.h: No such file or directory
> 	make: Leaving directory `/usr/src/RPM/BUILD/google-perftools-0.97'

linux/dirent.h больше не экспортируется в userspace. Вмето него нужно
использовать просто dirent.h

> guvcview-0.9.2-alt1
> 	In file included from guvcview.c:54:
> 	v4l2uvc.h:102: error: nested redefinition of 'enum v4l2_exposure_auto_type'
> 	v4l2uvc.h:102: error: redeclaration of 'enum v4l2_exposure_auto_type'
> 	v4l2uvc.h:103: error: redeclaration of enumerator 'V4L2_EXPOSURE_MANUAL'
> 	/usr/include/linux/videodev2.h:1062: error: previous definition of 'V4L2_EXPOSURE_MANUAL'
> 	was here
> 	v4l2uvc.h:104: error: redeclaration of enumerator 'V4L2_EXPOSURE_AUTO'
> 	/usr/include/linux/videodev2.h:1061: error: previous definition of 'V4L2_EXPOSURE_AUTO'
> 	was here
> 	v4l2uvc.h:105: error: redeclaration of enumerator 'V4L2_EXPOSURE_SHUTTER_PRIORITY'
> 	/usr/include/linux/videodev2.h:1063: error: previous definition of
> 	'V4L2_EXPOSURE_SHUTTER_PRIORITY' was here
> 	v4l2uvc.h:107: error: redeclaration of enumerator 'V4L2_EXPOSURE_APERTURE_PRIORITY'
> 	/usr/include/linux/videodev2.h:1065: error: previous definition of
> 	'V4L2_EXPOSURE_APERTURE_PRIORITY' was here

Эти difine'ы теперь предоставляются linux/videodev2.h. Таскать с собой их
больше не нужно.

> haproxy-1.3.12-alt1
> 	from src/fd.c:18:
> 	/usr/include/linux/netfilter.h:45: error: field 'in' has incomplete type
> 	/usr/include/linux/netfilter.h:46: error: field 'in6' has incomplete type
> 	make: *** [src/fd.o] Error 1

netinet/in.h должен быть включён до linux/netfilter.h

> hwinfo-13.57-alt2
> 	i10_v86.c: In function 'setup_vm86':
> 	i10_v86.c:104: error: 'VIF_MASK' undeclared (first use in this function)
> 	i10_v86.c:104: error: (Each undeclared identifier is reported only once
> 	i10_v86.c:104: error: for each function it appears in.)
> 	i10_v86.c:104: error: 'VIP_MASK' undeclared (first use in this function)
> 	i10_v86.c: In function 'run_bios_int':
> 	i10_v86.c:474: error: 'VIF_MASK' undeclared (first use in this function)
> 	i10_v86.c:475: error: 'IF_MASK' undeclared (first use in this function)
> 	i10_v86.c:486: error: 'TF_MASK' undeclared (first use in this function)
> 	i10_v86.c:486: error: 'NT_MASK' undeclared (first use in this function)
> 	make[3]: Leaving directory `/usr/src/RPM/BUILD/hwinfo-13.57/src/int10'

см. коммент к ddcprobe

> ipcad-3.7.3-alt2
> 	loop-ipq.c: In function 'process_ipq':
> 	loop-ipq.c:106: error: 'NF_ACCEPT' undeclared (first use in this function)
> 	loop-ipq.c:106: error: (Each undeclared identifier is reported only once
> 	loop-ipq.c:106: error: for each function it appears in.)
> 	make: Leaving directory `/usr/src/RPM/BUILD/ipcad-3.7.3'

--- configure.in.orig   2008-09-16 13:11:13 +0400
+++ configure.in        2008-09-16 13:14:57 +0400
@@ -162,7 +162,10 @@
 #include <linux/socket.h>
 #endif])
 AC_CHECK_HEADERS(linux/netfilter.h,,,
-[#ifdef HAVE_LINUX_SOCKET_H
+[#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_LINUX_SOCKET_H
 #include <linux/socket.h>
 #endif])

> jackit-0.102.9-alt0.svn.r987
> 	from jackd.c:49:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	jackd.c: In function 'do_nothing_handler':

см. коммент к avahi.

> kdelibs-3.5.10-alt1
> 	/bin/sh ../../libtool --silent --tag=CXX   --mode=compile i586-alt-linux-g++
> 	-DHAVE_CONFIG_H -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs
> 	-I../.. -I./.. -I../../kdecore/network -I./../kssl -I../kssl -I./../../interfaces
> 	-I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore
> 	-I../../kdecore/network -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile
> 	-I../.. -I/usr/lib/qt3/include/ -I/usr/include	 -I/usr/include -I/usr/include/krb5
> 	-D_LARGEFILE64_SOURCE -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi
> 	-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
> 	-DNDEBUG -DNO_DEBUG -O2 -pipe -Wall -Os -march=i586 -mtune=i686 -DNEED_BZ2_PREFIX
> 	-DAVAHI_API_0_6 -I/usr/include/linux-libc-headers/include -Wformat-security
> 	-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> 	-fvisibility=hidden -fvisibility-inlines-hidden  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> 	-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION	-MT libksycoca_la.all_cpp.lo -MD -MP -MF
> 	.deps/libksycoca_la.all_cpp.Tpo -c -o libksycoca_la.all_cpp.lo libksycoca_la.all_cpp.cpp
> 	/usr/include/asm-generic/fcntl.h:117: error: redefinition of 'struct flock'
> 	/usr/include/bits/fcntl.h:142: error: previous definition of 'struct flock'
> 	/usr/include/asm-generic/fcntl.h:140: error: redefinition of 'struct flock64'
> 	/usr/include/bits/fcntl.h:157: error: previous definition of 'struct flock64'
> 	kdirwatch.cpp: In static member function 'static void
> 	KDirWatchPrivate::dnotify_handler(int, siginfo_t*, void*)':

Исправлю в следующем релизе glibc-kernheaders.

> kdepim-1:3.5.10-alt1
> 	/bin/sh ../libtool --silent --tag=CXX	--mode=compile i586-alt-linux-g++
> 	-DHAVE_CONFIG_H -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkdepim
> 	-I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib
> 	-I../certmanager/lib -I../certmanager/lib/ui -I../indexlib -I../ktnef -I../korganizer
> 	-I..  -I../libkdepim -I/usr/lib/qt3/include/ -I.   -DQT_THREAD_SUPPORT	-D_REENTRANT
> 	-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> 	-D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG
> 	-O2 -pipe -Wall -Os -march=i586 -mtune=i686 -Wformat-security -Wmissing-format-attribute
> 	-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
> 	-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT editorwatcher.lo
> 	-MD -MP -MF .deps/editorwatcher.Tpo -c -o editorwatcher.lo editorwatcher.cpp
> 	/usr/include/asm-generic/fcntl.h:117: error: redefinition of 'struct flock'
> 	/usr/include/bits/fcntl.h:142: error: previous definition of 'struct flock'
> 	/usr/include/asm-generic/fcntl.h:140: error: redefinition of 'struct flock64'
> 	/usr/include/bits/fcntl.h:157: error: previous definition of 'struct flock64'
> 	make[3]: *** [editorwatcher.lo] Error 1

Исправлю в следующем релизе glibc-kernheaders.

> l7-filter-0.4-alt2
> 	g++ -O2 -c l7-conntrack.cpp
> 	/usr/include/linux/netfilter.h:45: error: field 'in' has incomplete type
> 	/usr/include/linux/netfilter.h:46: error: field 'in6' has incomplete type
> 	l7-conntrack.cpp: In function 'int sprintf_conntrack_key(char*, nfct_conntrack*,
> 	unsigned int)':

netinet/in.h должен быть включён до linux/netfilter.h

> libcap-1:1.10-alt16
> 	from _makenames.c:12:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	make[1]: Leaving directory `/usr/src/RPM/BUILD/libcap-1.10/libcap'

см. коммент к avahi.

> libx86-1.1-alt2
> 	lrmi.c: In function 'set_regs':
> 	lrmi.c:191: error: 'IF_MASK' undeclared (first use in this function)
> 	lrmi.c:191: error: (Each undeclared identifier is reported only once
> 	lrmi.c:191: error: for each function it appears in.)
> 	lrmi.c:191: error: 'IOPL_MASK' undeclared (first use in this function)
> 	lrmi.c: In function 'run_vm86':
> 	lrmi.c:613: error: 'VIF_MASK' undeclared (first use in this function)
> 	lrmi.c:613: error: 'TF_MASK' undeclared (first use in this function)
> 	lrmi.c: In function 'LRMI_int':
> 	lrmi.c:840: error: 'IF_MASK' undeclared (first use in this function)
> 	lrmi.c:840: error: 'IOPL_MASK' undeclared (first use in this function)
> 	make[1]: Leaving directory `/usr/src/RPM/BUILD/libx86-1.1'

см. коммент к ddcprobe

> lphdisk-0.9.1-alt5
> 	lrmi.c: In function 'set_regs':
> 	lrmi.c:307: error: 'IF_MASK' undeclared (first use in this function)
> 	lrmi.c:307: error: (Each undeclared identifier is reported only once
> 	lrmi.c:307: error: for each function it appears in.)
> 	lrmi.c:307: error: 'IOPL_MASK' undeclared (first use in this function)
> 	lrmi.c: In function 'run_vm86':
> 	lrmi.c:786: error: 'VIF_MASK' undeclared (first use in this function)
> 	lrmi.c:786: error: 'TF_MASK' undeclared (first use in this function)
> 	lrmi.c: In function 'LRMI_int':
> 	lrmi.c:875: error: 'IF_MASK' undeclared (first use in this function)
> 	lrmi.c:875: error: 'IOPL_MASK' undeclared (first use in this function)
> 	make[1]: *** [lrmi.o] Error 1make[1]: Leaving directory
> 	`/usr/src/RPM/BUILD/lphdisk-0.9.1/lrmi-0.6m'

см. коммент к ddcprobe

> lrmi-0.10-alt2
> 	lrmi.c: In function 'set_regs':
> 	lrmi.c:400: error: 'IF_MASK' undeclared (first use in this function)
> 	lrmi.c:400: error: (Each undeclared identifier is reported only once
> 	lrmi.c:400: error: for each function it appears in.)
> 	lrmi.c:400: error: 'IOPL_MASK' undeclared (first use in this function)
> 	lrmi.c: In function 'run_vm86':
> 	lrmi.c:825: error: 'VIF_MASK' undeclared (first use in this function)
> 	lrmi.c:825: error: 'TF_MASK' undeclared (first use in this function)
> 	lrmi.c: In function 'LRMI_int':
> 	lrmi.c:1052: error: 'IF_MASK' undeclared (first use in this function)
> 	lrmi.c:1052: error: 'IOPL_MASK' undeclared (first use in this function)
> 	make: Leaving directory `/usr/src/RPM/BUILD/lrmi-0.10'

см. коммент к ddcprobe

> ltp-20071130-alt1
> 	cc -Wall  -I../../include -g -Wall -I../../../../include -Wall	  getdents01.c
> 	-L../../../../lib -lltp -o getdents01
> 	getdents01.c:64:26: error: linux/dirent.h: No such file or directory
> 	getdents01.c: In function 'main':
> 	getdents01.c:118: error: invalid application of 'sizeof' to incomplete type 'struct dirent'
> 	getdents01.c:127: error: invalid application of 'sizeof' to incomplete type 'struct dirent'
> 	make[4]: Leaving directory
> 	`/usr/src/RPM/BUILD/ltp-full-20071130/testcases/kernel/syscalls/getdents'

linux/dirent.h больше не экспортируется в userspace. Вмето него нужно
использовать просто dirent.h

> nmap-20020501:4.65-alt1.1
> 	make: Entering directory `/usr/src/RPM/BUILD/nmap-4.65'
> 	Makefile:278: makefile.dep: No such file or directoryi586-alt-linux-g++ -MM
> 	-Inbase -Insock/include main.cc nmap.cc targets.cc tcpip.cc nmap_error.cc utils.cc
> 	idle_scan.cc osscan.cc osscan2.cc output.cc scan_engine.cc timing.cc charpool.cc
> 	services.cc protocols.cc nmap_rpc.cc portlist.cc NmapOps.cc TargetGroup.cc Target.cc
> 	FingerPrintResults.cc service_scan.cc NmapOutputTable.cc MACLookup.cc nmap_tty.cc
> 	nmap_dns.cc traceroute.cc portreasons.cc droppriv.cc   > makefile.dep
> 	make: Leaving directory `/usr/src/RPM/BUILD/nmap-4.65'
> 	--
> 	i586-alt-linux-g++ -c -Inbase -Insock/include -DNOLUA -pipe -Wall -O2 -march=i586
> 	-mtune=i686 -Wall  -fno-strict-aliasing   -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\"
> 	-DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i586-alt-linux-gnu\"
> 	-DNMAPDATADIR=\"/usr/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/lib/nmap\" droppriv.cc -o
> 	droppriv.o
> 	/usr/include/linux/capability.h:73: error: '__le32' does not name a type
> 	/usr/include/linux/capability.h:75: error: '__le32' does not name a type
> 	/usr/include/linux/capability.h:76: error: '__le32' does not name a type
> 	make[1]: Leaving directory `/usr/src/RPM/BUILD/nmap-4.65'

см. коммент к avahi.

> ntp-4.2.4-alt3.p4
> 	from ntpd.c:115:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	ntpd.c: In function 'ntpdmain':

см. коммент к avahi.

> opendchub-0.7.15-alt1
> 	from main.c:62:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	main.c: In function 'set_default_vars':

см. коммент к avahi.

> osec-1.2.0-alt1
> 	from privs.c:11:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	make[2]: Leaving directory `/usr/src/RPM/BUILD/osec-1.2.0/src'

см. коммент к avahi.

> perl-1:5.8.8-alt21
> 	/usr/src/tmp/BO6QpZJ76L.c: In function 'main':
> 	/usr/src/tmp/BO6QpZJ76L.c:296: error: '__NR_timerfd' undeclared (first use in this
> 	function)
> 	/usr/src/tmp/BO6QpZJ76L.c:296: error: (Each undeclared identifier is reported only once
> 	/usr/src/tmp/BO6QpZJ76L.c:296: error: for each function it appears in.)
> 	make[1]: Leaving directory `/usr/src/RPM/BUILD/perl-5.8.8+MAINT34301/ext/ph'

Исправится после пересборки glibc с новыми glibc-kernheaders.

> pinentry-0.7.5-alt1
> 	from secmem.c:32:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	make[2]: *** [secmem.o] Error 1

см. коммент к avahi.

> pinot-0.85-alt1.1
> 	i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I../Utils -I../Tokenize
> 	-I../Tokenize/filters -I../SQL -I../Collect -I../Index -I../Search -DUSE_CURL -DUSE_SSL
> 	-I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2
> 	-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0
> 	-I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> 	-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gmime-2.0
> 	-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0
> 	-I/usr/lib/sigc++-2.0/include -DHAVE_LINUX_INOTIFY -pipe -Wall -O2 -march=i586 -mtune=i686
> 	-DNDEBUG -c INotifyMonitor.cpp	-fPIC -DPIC -o .libs/libMonitor_la-INotifyMonitor.o
> 	/usr/include/asm-generic/fcntl.h:120: error: 'off_t' does not name a type
> 	/usr/include/asm-generic/fcntl.h:121: error: 'off_t' does not name a type
> 	/usr/include/asm-generic/fcntl.h:122: error: 'pid_t' does not name a type
> 	/usr/include/asm-generic/fcntl.h:143: error: 'loff_t' does not name a type
> 	/usr/include/asm-generic/fcntl.h:144: error: 'loff_t' does not name a type
> 	/usr/include/asm-generic/fcntl.h:145: error: 'pid_t' does not name a type
> 	make[2]: Leaving directory `/usr/src/RPM/BUILD/pinot-0.85/Monitor'


Исправлю в следующем релизе glibc-kernheaders.

> pulseaudio-0.9.11-alt1
> 	from pulsecore/core-util.c:57:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	pulsecore/core-util.c: In function 'pa_make_secure_dir':

см. коммент к avahi.

> pure-ftpd-1.0.19-alt1.1
> 	from caps.c:10:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	make[2]: Leaving directory `/usr/src/RPM/BUILD/pure-ftpd-1.0.19/src'

см. коммент к avahi.

> qemu-0.9.1-alt5
> 	gcc -I. -I.. -I/usr/src/RPM/BUILD/qemu-0.9.1-alt5/target-arm
> 	-I/usr/src/RPM/BUILD/qemu-0.9.1-alt5 -MMD -MT syscall.o -MP
> 	-DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> 	-I/usr/src/RPM/BUILD/qemu-0.9.1-alt5/tcg -I/usr/src/RPM/BUILD/qemu-0.9.1-alt5/tcg/i386
> 	-I/usr/src/RPM/BUILD/qemu-0.9.1-alt5/fpu -I/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user
> 	-I/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/arm -Wall
> 	-Wundef -O2 -g -fno-strict-aliasing  -m32 -c -o syscall.o
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:70:26: warning: linux/dirent.h:
> 	No such file or directory
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:205: warning: "struct dirent"
> 	declared inside parameter list
> 	--
> 	In file included from /usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:2080:
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/ioctls.h:301: error: invalid application of
> 	`sizeof' to incomplete type `({anonymous})'
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/ioctls.h:302: error: invalid application of
> 	`sizeof' to incomplete type `({anonymous})'
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c: In function `do_syscall':
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:4917: warning: passing arg 2 of
> 	`sys_getdents' from incompatible pointer type
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:4924: error: dereferencing
> 	pointer to incomplete type
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:4927: error: dereferencing
> 	pointer to incomplete type
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:4928: error: dereferencing
> 	pointer to incomplete type
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:4929: error: dereferencing
> 	pointer to incomplete type
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:4945: warning: passing arg 2 of
> 	`sys_getdents64' from incompatible pointer type
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:4952: error: dereferencing
> 	pointer to incomplete type
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:4955: error: dereferencing
> 	pointer to incomplete type
> 	/usr/src/RPM/BUILD/qemu-0.9.1-alt5/linux-user/syscall.c:4956: error: dereferencing
> 	pointer to incomplete type

Уже исправил.

> read-edid-1.4.1-alt1
> 	lrmi.c: In function 'set_regs':
> 	lrmi.c:305: error: 'IF_MASK' undeclared (first use in this function)
> 	lrmi.c:305: error: (Each undeclared identifier is reported only once
> 	lrmi.c:305: error: for each function it appears in.)
> 	lrmi.c:305: error: 'IOPL_MASK' undeclared (first use in this function)
> 	lrmi.c: In function 'run_vm86':
> 	lrmi.c:784: error: 'VIF_MASK' undeclared (first use in this function)
> 	lrmi.c:784: error: 'TF_MASK' undeclared (first use in this function)
> 	lrmi.c: In function 'LRMI_int':
> 	lrmi.c:873: error: 'IF_MASK' undeclared (first use in this function)
> 	lrmi.c:873: error: 'IOPL_MASK' undeclared (first use in this function)
> 	make: *** [lrmi.o] Error 1

см. коммент к ddcprobe

> samba-3.0.31-alt1
> 	from client/smbmount.c:25:
> 	/usr/include/linux/time.h:9: error: redefinition of 'struct timespec'
> 	/usr/include/linux/time.h:15: error: redefinition of 'struct timeval'
> 	/usr/include/linux/time.h:20: error: redefinition of 'struct timezone'
> 	/usr/include/linux/time.h:42: error: redefinition of 'struct itimerspec'
> 	/usr/include/linux/time.h:47: error: redefinition of 'struct itimerval'
> 	client/smbmount.c: In function 'daemonize':

Исправлю в следующем релизе glibc-kernheaders.

> slocate-1:0.2.14-alt1
> 	from updatedb.c:30:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	make: Leaving directory `/usr/src/RPM/BUILD/slocate-0.2.14'

см. коммент к avahi.

> svgalib-1.9.25-alt1
> 	../src/lrmi.9.c: In function 'set_regs':
> 	../src/lrmi.9.c:376: error: 'IF_MASK' undeclared (first use in this function)
> 	../src/lrmi.9.c:376: error: (Each undeclared identifier is reported only once
> 	../src/lrmi.9.c:376: error: for each function it appears in.)
> 	../src/lrmi.9.c:376: error: 'IOPL_MASK' undeclared (first use in this function)
> 	../src/lrmi.9.c: In function 'run_vm86':
> 	../src/lrmi.9.c:792: error: 'VIF_MASK' undeclared (first use in this function)
> 	../src/lrmi.9.c:792: error: 'TF_MASK' undeclared (first use in this function)
> 	../src/lrmi.9.c: In function 'LRMI_int':
> 	../src/lrmi.9.c:1019: error: 'IF_MASK' undeclared (first use in this function)
> 	../src/lrmi.9.c:1019: error: 'IOPL_MASK' undeclared (first use in this function)
> 	make[1]: Leaving directory `/usr/src/RPM/BUILD/svgalib-1.9.25/sharedlib'
> 	--
> 	make[1]: Leaving directory `/usr/src/RPM/BUILD/svgalib-1.9.25/sharedlib'
> 	/usr/bin/ld: cannot find -lvga
> 	collect2: ld returned 1 exit status
> 	--
> 	gcc -Wall -Wstrict-prototypes -pipe -Wall -O2 -march=i586 -mtune=i686 -I../include
> 	-L../sharedlib -L../sharedlib -o restorefont restorefont.o -lvga -lm
> 	/usr/bin/ld: cannot find -lvga
> 	collect2: ld returned 1 exit status

см. коммент к ddcprobe

> tcptraceroute-1.5-alt5
> 	from droppriv.c:12:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	make[1]: *** [droppriv.o] Error 1

см. коммент к avahi.

> vaio-tools-0.0.1-alt8
> 	lrmi.c: In function 'set_regs':
> 	lrmi.c:305: error: 'IF_MASK' undeclared (first use in this function)
> 	lrmi.c:305: error: (Each undeclared identifier is reported only once
> 	lrmi.c:305: error: for each function it appears in.)
> 	lrmi.c:305: error: 'IOPL_MASK' undeclared (first use in this function)
> 	lrmi.c: In function 'run_vm86':
> 	lrmi.c:784: error: 'VIF_MASK' undeclared (first use in this function)
> 	lrmi.c:784: error: 'TF_MASK' undeclared (first use in this function)
> 	lrmi.c: In function 'LRMI_int':
> 	lrmi.c:873: error: 'IF_MASK' undeclared (first use in this function)
> 	lrmi.c:873: error: 'IOPL_MASK' undeclared (first use in this function)
> 	make[1]: Leaving directory `/usr/src/RPM/BUILD/vaio-tools-0.0.1/atitvout/lrmi-0.6'

см. коммент к ddcprobe

> vdr-1.4.7-alt1
> 	g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_LIRC
> 	-DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE
> 	-DVIDEODIR=\"/var/lib/vdr/video\" -DPLUGINDIR=\"./PLUGINS/lib\"  -I/usr/include/freetype2
> 	-I/usr/include/linux/include/linux/dvb/include -I/usr/include/freetype2 vdr.c
> 	/usr/include/linux/capability.h:73: error: '__le32' does not name a type
> 	/usr/include/linux/capability.h:75: error: '__le32' does not name a type
> 	/usr/include/linux/capability.h:76: error: '__le32' does not name a type
> 	vdr.c: In function 'int main(int, char**)':

см. коммент к avahi.

> vsftpd-2.0.6-alt1
> 	from sysdeputil.c:157:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	make: Leaving directory `/usr/src/RPM/BUILD/vsftpd-2.0.6'

см. коммент к avahi.

> wireshark-1.0.3-alt1
> 	from version_info.c:83:
> 	/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before
> 	'__le32'
> 	make[2]: Leaving directory `/usr/src/RPM/BUILD/wireshark-1.0.3'

см. коммент к avahi.


Если кого-то незаслуженно забыл -- говорите, не стесняйтесь. :)
-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + ALT Linux Team, http://www.altlinux.com/
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 197 байтов
Описание: Digital signature
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20080916/09d7f18a/attachment-0002.bin>


Подробная информация о списке рассылки Devel