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

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


On Tue, Sep 16, 2008 at 01:22:21PM +0300, Kirill A. Shutemov wrote:
> On Tue, Sep 16, 2008 at 12:57:05AM +0400, QA Team Robot wrote:
> > 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.
> 
> > 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.

По результатам общения с upstream, выяснилось, что приложения должны использовать
<sys/inotify.h>, вместо <linux/inotify.h>. 

В glibc-kernheaders-2.6.27-alt3 этот хидер экспортироваться не будет.
Также перестанет экспортироваться <linux/ext2_fs.h>. Вместо него следует
использовать <ext2fs/ext2_fs.h>.

-- 
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/40bb2683/attachment-0002.bin>


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