ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] shebang.req (Sisyphus-20080916 i586 beehive_status)
  @ 2008-09-16  8:03 ` Alexey Tourbin
  2008-09-16  9:53   ` [devel] q: wiki links? (was: shebang.req) Michael Shigorin
  2008-09-16 10:22 ` [devel] Пострадавшие от новых glibc-kernheaders (874) Kirill A. Shutemov
  1 sibling, 1 reply; 20+ messages in thread
From: Alexey Tourbin @ 2008-09-16  8:03 UTC (permalink / raw)
  To: devel

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

On Tue, Sep 16, 2008 at 12:57:05AM +0400, QA Team Robot wrote:
> gettext-lint-0.4-alt2
> 	shebang.req.files: executable script
> 	/usr/src/tmp/gettext-lint-buildroot/usr/share/gettext-lint/Glossary.py is not executable
> 	shebang.req: ERROR: /usr/src/tmp/gettext-lint-buildroot/usr/bin/POFileClean: trailing
> 	<CR> in interpreter: #!/usr/bin/python<CR>
> 	find-requires: ERROR: /usr/lib/rpm/shebang.req failed
> 	RPM build errors:
> 	error: /bin/sh failed
> 	error: Failed to find Requires
> 	File listed twice: /usr/share/gettext-lint

Я реализовал проверку на запускаемость скриптов: имя интерпретатора
не должно оканчиваться на <CR> (то есть '\r'), а при запуске через
/usr/bin/env интерпретатору нельзя передавать аргументы.  Проверка
выполняется только для исполняемых скриптов.

Попалось 3 или 4 пакета с настоящими ошибками (в /usr/bin лежат скрипты,
которые невозможно запустить естественным способом), пакет povray с
какими-то своими приватными скриптами, а также два питоновских пакета,
в которых *.py модули запакованы исполняемыми.

Для питоновских модулей достаточно сделать 'chmod -x .../*.py',
потому что питон нормально воспринимает модули с CRLF.

С другой стороны, /bin/sh не может выполнять скрипты с CRLF вообще (даже
если они загружаются через ".").  Такие скрипты надо конвертировать:

perl -pi -e 's/\r\n/\n/' *.sh

commit d0c2f92f051142e398f7f75a753b5a888fa520c9
Author: Alexey Tourbin <at@altlinux>
Date:   Sat Sep 13 11:08:31 2008 +0400

    shebang.req: validate argc and <CR>
    
    1) In Linux, execve(2) does not split shebang arguments, which implies
    that effectively only one argument can be passed to the interpreter.
    However, some interpreters, esp. perl, can do a magic here, which is
    to split its arguments.
    
    2) Neither /usr/bin/env can split arguments, and no magic is possible
    at all.
    
    3) Interpreter path (or name) must not end with <CR>, otherwise execve
    (resp. /usr/bin/env) is deemed to fail.  However, some interpreters,
    esp. perl, can strip trailing <CR> in its command line options.

diff --git a/scripts/shebang.req.in b/scripts/shebang.req.in
index 4b59a66..ce14f29 100755
--- a/scripts/shebang.req.in
+++ b/scripts/shebang.req.in
@@ -1,4 +1,14 @@
 #!/bin/sh -efu
+#
+# Make dependencies for for the first line in scripts.
+# http://en.wikipedia.org/wiki/Shebang_(Unix)
+#
+# Copyright (C) 2007, 2008  Alexey Tourbin <at@altlinux.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
 
 . @RPMCONFIGDIR@/functions
 . @RPMCONFIGDIR@/find-package
@@ -9,11 +19,50 @@ ShebangReq()
 	line=$(sed -n '1s|^#![[:space:]]*/|/|p;q' "$f")
 	[ -n "$line" ] || return 0
 	set -- $line
+
+	CR=$'\r'
+	line="#!$(echo "$line" |sed -e "s/$CR/<CR>/g")"
+
+	CheckInterp()
+	{
+		case "$1" in
+			*"$CR") ;;
+			*) return 0 ;;
+		esac
+		Fatal "$f: trailing <CR> in interpreter: $line"
+	}
+
+	CheckArgs()
+	{
+		case "$*" in
+			*"$CR") ;;
+			*) return 0 ;;
+		esac
+		Warning "$f: trailing <CR> in arguments: $line"
+	}
+
 	case "$#,$1" in
+		1,*)
+			CheckInterp "$1"
+			FindPackage "$f" "$1"
+			;;
 		2,/usr/bin/env)
-			FindPackage "$f" "$1" "$2" ;;
+			CheckInterp "$2"
+			FindPackage "$f" "$1" "$2"
+			;;
+		2,*)
+			CheckArgs "$2"
+			FindPackage "$f" "$1"
+			;;
+		*,/usr/bin/env)
+			CheckArgs "$*"
+			Fatal "$f: too many arguments: $line"
+			;;
 		*)
-			FindPackage "$f" "$1" ;;
+			CheckArgs "$*"
+			Warning "$f: too many arguments: $line"
+			FindPackage "$f" "$1"
+			;;
 	esac
 }
 

> gle-4.1.2-alt1.beta
> 	/bin/install -p -m 644 build/inittex.ini /usr/src/tmp/gle-buildroot/usr/share/gle/4.1.2
> 	/bin/install: cannot stat `build/inittex.ini': No such file or directory
> 	make: [pre_install] Error 1 (ignored)
> 	--
> 	find-requires: running scripts
> 	(files,lib,pam,perl,pkgconfig,pkgconfiglib,python,shebang,shell,static,symlinks)
> 	shebang.req: ERROR: /usr/src/tmp/gle-buildroot/usr/bin/bbox_gle: trailing <CR> in
> 	interpreter: #!/bin/sh<CR>
> 	find-requires: ERROR: /usr/lib/rpm/shebang.req failed
> 	RPM build errors:
> 	error: /bin/sh failed
> 	error: Failed to find Requires
> 	/bin/sh failed

> povray-3.6-alt2
> 	find-requires: running scripts
> 	(files,lib,pam,perl,pkgconfig,pkgconfiglib,python,shebang,shell,static,symlinks)
> 	shebang.req: ERROR: /usr/src/tmp/povray-buildroot/usr/share/povray-3.6/scripts/rerunpov.sh:
> 	trailing <CR> in interpreter: #!/bin/sh<CR>
> 	find-requires: ERROR: /usr/lib/rpm/shebang.req failed
> 	RPM build errors:
> 	error: /bin/sh failed
> 	error: Failed to find Requires
> 	/bin/sh failed

> python-module-OpenGL-2.0.2.01-alt2.1
> 	shebang.req.files: executable script
> 	/usr/src/tmp/python-module-OpenGL-buildroot/usr/lib/python2.5/site-packages/OpenGL/WGL/__init__.py
> 	is not executable
> 	shebang.req: ERROR:
> 	/usr/src/tmp/python-module-OpenGL-buildroot/usr/lib/python2.5/site-packages/OpenGL/Tk/__init__.py:
> 	trailing <CR> in interpreter: #!/usr/bin/env python<CR>
> 	find-requires: ERROR: /usr/lib/rpm/shebang.req failed
> 	RPM build errors:
> 	error: /bin/sh failed
> 	error: Failed to find Requires
> 	/bin/sh failed

> python-module-silvercity-0.9.7-alt1.1
> 	/usr/lib/rpm/python.req.py:
> 	/usr/src/tmp/python-module-silvercity-buildroot/usr/lib/python2.5/site-packages/SilverCity/__init__.py:
> 	line=10 IGNORE module=os
> 	shebang.req: ERROR:
> 	/usr/src/tmp/python-module-silvercity-buildroot/usr/bin/cgi-styler-form.py: trailing <CR>
> 	in interpreter: #!/usr/bin/env python<CR>
> 	find-requires: ERROR: /usr/lib/rpm/shebang.req failed
> 	RPM build errors:
> 	error: /bin/sh failed
> 	error: Failed to find Requires
> 	/bin/sh failed

> stardict-tools-2.4.8-alt1
> 	/usr/src/tmp/stardict-tools-buildroot/usr/bin/ncce2stardict.pl syntax OK
> 	shebang.req: ERROR: /usr/src/tmp/stardict-tools-buildroot/usr/bin/hanzim2dict.py:
> 	trailing <CR> in interpreter: #!/usr/bin/env python<CR>
> 	find-requires: ERROR: /usr/lib/rpm/shebang.req failed
> 	RPM build errors:
> 	error: /bin/sh failed
> 	error: Failed to find Requires
> 	/bin/sh failed

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

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

* [devel] q: wiki links? (was: shebang.req)
  2008-09-16  8:03 ` [devel] shebang.req (Sisyphus-20080916 i586 beehive_status) Alexey Tourbin
@ 2008-09-16  9:53   ` Michael Shigorin
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Shigorin @ 2008-09-16  9:53 UTC (permalink / raw)
  To: devel

On Tue, Sep 16, 2008 at 12:03:17PM +0400, Alexey Tourbin wrote:
> > gettext-lint-0.4-alt2
> > 	shebang.req.files: executable script
> > 	/usr/src/tmp/gettext-lint-buildroot/usr/share/gettext-lint/Glossary.py is not executable
> > 	shebang.req: ERROR: /usr/src/tmp/gettext-lint-buildroot/usr/bin/POFileClean: trailing
> > 	<CR> in interpreter: #!/usr/bin/python<CR>

> Для питоновских модулей достаточно сделать 'chmod -x .../*.py',
> потому что питон нормально воспринимает модули с CRLF.
> 
> С другой стороны, /bin/sh не может выполнять скрипты с CRLF вообще (даже
> если они загружаются через ".").  Такие скрипты надо конвертировать:
> 
> perl -pi -e 's/\r\n/\n/' *.sh

Может, завести на en.altlinux.org раздел для человековрубаемого
описания таких ситуаций и сразу давать на них ссылки?
(если будет принципиальное согласие на второе, постараюсь
поучаствовать в первом)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* [devel] Пострадавшие от новых glibc-kernheaders (874)
    2008-09-16  8:03 ` [devel] shebang.req (Sisyphus-20080916 i586 beehive_status) Alexey Tourbin
@ 2008-09-16 10:22 ` Kirill A. Shutemov
  2008-09-16 12:02   ` Dmitry V. Levin
                     ` (3 more replies)
  1 sibling, 4 replies; 20+ messages in thread
From: Kirill A. Shutemov @ 2008-09-16 10:22 UTC (permalink / raw)
  To: devel

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

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/

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

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 10:22 ` [devel] Пострадавшие от новых glibc-kernheaders (874) Kirill A. Shutemov
@ 2008-09-16 12:02   ` Dmitry V. Levin
  2008-09-16 12:09     ` Kirill A. Shutemov
  2008-09-16 13:16   ` Kirill A. Shutemov
                     ` (2 subsequent siblings)
  3 siblings, 1 reply; 20+ messages in thread
From: Dmitry V. Levin @ 2008-09-16 12:02 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Tue, Sep 16, 2008 at 01:22:24PM +0300, Kirill A. Shutemov wrote:
> 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

Ну, это совсем другой libcap.


-- 
ldv

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

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 12:02   ` Dmitry V. Levin
@ 2008-09-16 12:09     ` Kirill A. Shutemov
  2008-09-16 13:48       ` Dmitry Afanasov
  0 siblings, 1 reply; 20+ messages in thread
From: Kirill A. Shutemov @ 2008-09-16 12:09 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Tue, Sep 16, 2008 at 04:02:35PM +0400, Dmitry V. Levin wrote:
> On Tue, Sep 16, 2008 at 01:22:24PM +0300, Kirill A. Shutemov wrote:
> > 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
> 
> Ну, это совсем другой libcap.

Тогда нужно запатчить sys/capability.h так:

--- capability.h.orig   2008-09-16 15:06:28 +0300
+++ capability.h        2008-09-16 15:07:35 +0300
@@ -38,6 +38,7 @@
 
 #include <stdint.h>
 typedef uint32_t __u32;
+typedef __u32 __le32;
 
 #endif /* _LINUX_TYPES_H */

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

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

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 10:22 ` [devel] Пострадавшие от новых glibc-kernheaders (874) Kirill A. Shutemov
  2008-09-16 12:02   ` Dmitry V. Levin
@ 2008-09-16 13:16   ` Kirill A. Shutemov
  2008-09-16 14:53   ` Kirill A. Shutemov
  2008-09-16 20:42   ` [devel] Пострадавшие от новых glibc-kernheaders (874) Motsyo Gennadi aka Drool
  3 siblings, 0 replies; 20+ messages in thread
From: Kirill A. Shutemov @ 2008-09-16 13:16 UTC (permalink / raw)
  To: devel

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

glibc-kernheaders-2.6.27-alt2, собранный по мотивам разбора полётов, ушёл
в incoming.

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

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

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 12:09     ` Kirill A. Shutemov
@ 2008-09-16 13:48       ` Dmitry Afanasov
  2008-09-16 13:52         ` Kirill A. Shutemov
  0 siblings, 1 reply; 20+ messages in thread
From: Dmitry Afanasov @ 2008-09-16 13:48 UTC (permalink / raw)
  To: ALT Linux Team development discussions

2008/9/16, Kirill A. Shutemov <kirill@shutemov.name>:
> On Tue, Sep 16, 2008 at 04:02:35PM +0400, Dmitry V. Levin wrote:
>  > On Tue, Sep 16, 2008 at 01:22:24PM +0300, Kirill A. Shutemov wrote:
>  > > 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
>  >
>  > Ну, это совсем другой libcap.
>
>
> Тогда нужно запатчить sys/capability.h так:
>  +typedef __u32 __le32;
хмм, я чуток по другому менял. в iputils перед #include
<sys/capability.h> добавил #include <linux/types.h>. __le32 именно там
определен.

хотя я вообще-то ожидал, что __le32 по <sys/types.h> объявится, да он
чегой-то не захотел.
-- 
С уважением
Афанасов Дмитрий

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 13:48       ` Dmitry Afanasov
@ 2008-09-16 13:52         ` Kirill A. Shutemov
  2008-09-16 13:59           ` Dmitry Afanasov
  0 siblings, 1 reply; 20+ messages in thread
From: Kirill A. Shutemov @ 2008-09-16 13:52 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Tue, Sep 16, 2008 at 05:48:33PM +0400, Dmitry Afanasov wrote:
> 2008/9/16, Kirill A. Shutemov <kirill@shutemov.name>:
> > On Tue, Sep 16, 2008 at 04:02:35PM +0400, Dmitry V. Levin wrote:
> >  > On Tue, Sep 16, 2008 at 01:22:24PM +0300, Kirill A. Shutemov wrote:
> >  > > 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
> >  >
> >  > Ну, это совсем другой libcap.
> >
> >
> > Тогда нужно запатчить sys/capability.h так:
> >  +typedef __u32 __le32;
> хмм, я чуток по другому менял. в iputils перед #include
> <sys/capability.h> добавил #include <linux/types.h>. __le32 именно там
> определен.

Не нужно так делать. Это проблема libcap, пусть там её и решают.

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

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

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 13:52         ` Kirill A. Shutemov
@ 2008-09-16 13:59           ` Dmitry Afanasov
  0 siblings, 0 replies; 20+ messages in thread
From: Dmitry Afanasov @ 2008-09-16 13:59 UTC (permalink / raw)
  To: ALT Linux Team development discussions

2008/9/16, Kirill A. Shutemov <kirill@shutemov.name>:
>  > > Тогда нужно запатчить sys/capability.h так:
>  > >  +typedef __u32 __le32;
>  > хмм, я чуток по другому менял. в iputils перед #include
>  > <sys/capability.h> добавил #include <linux/types.h>. __le32 именно там
>  > определен.
> Не нужно так делать. Это проблема libcap, пусть там её и решают.
google мне не подсказал, что тут libcap виноват. обошелся чем было,
пока тут не сообщили.
как решат, ещё раз пересоберу iputils.

-- 
С уважением
Афанасов Дмитрий

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 10:22 ` [devel] Пострадавшие от новых glibc-kernheaders (874) Kirill A. Shutemov
  2008-09-16 12:02   ` Dmitry V. Levin
  2008-09-16 13:16   ` Kirill A. Shutemov
@ 2008-09-16 14:53   ` Kirill A. Shutemov
  2008-09-16 14:57     ` Хихин Руслан
  2008-10-23 17:23     ` [devel] glibc-kernheaders Dmitry V. Levin
  2008-09-16 20:42   ` [devel] Пострадавшие от новых glibc-kernheaders (874) Motsyo Gennadi aka Drool
  3 siblings, 2 replies; 20+ messages in thread
From: Kirill A. Shutemov @ 2008-09-16 14:53 UTC (permalink / raw)
  To: devel; +Cc: Eugene Ostapets, Sergey V Turchin

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

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/

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

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 14:53   ` Kirill A. Shutemov
@ 2008-09-16 14:57     ` Хихин Руслан
  2008-09-16 15:00       ` Kirill A. Shutemov
  2008-09-24 18:34       ` Michael Shigorin
  2008-10-23 17:23     ` [devel] glibc-kernheaders Dmitry V. Levin
  1 sibling, 2 replies; 20+ messages in thread
From: Хихин Руслан @ 2008-09-16 14:57 UTC (permalink / raw)
  To: devel

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

Здравствуйте Kirill A. Shutemov
  В сообщении от 16 сентября 2008 Kirill A. Shutemov написал(a):
 >
 > По результатам общения с upstream, выяснилось, что
 > приложения должны использовать <sys/inotify.h>, вместо
 > <linux/inotify.h>.
 >
 > В glibc-kernheaders-2.6.27-alt3 этот хидер экспортироваться
 > не будет. Также перестанет экспортироваться
 > <linux/ext2_fs.h>. Вместо него следует использовать
 > <ext2fs/ext2_fs.h>.
Хорошо-бы такие заметки где-нибудь отмечать на сайте, что-бы не 
ходить всем по одним и тем-же граблям.


-- 
С  уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 14:57     ` Хихин Руслан
@ 2008-09-16 15:00       ` Kirill A. Shutemov
  2008-09-16 15:24         ` Хихин Руслан
  2008-09-24 18:34       ` Michael Shigorin
  1 sibling, 1 reply; 20+ messages in thread
From: Kirill A. Shutemov @ 2008-09-16 15:00 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On Tue, Sep 16, 2008 at 06:57:19PM +0400, =?KOI8-R?Q?=E8=C9=C8=C9=CE_=F2=D5=D3=CC=C1=CE_ wrote:
> Здравствуйте Kirill A. Shutemov
>   В сообщении от 16 сентября 2008 Kirill A. Shutemov написал(a):
>  >
>  > По результатам общения с 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/

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

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 15:00       ` Kirill A. Shutemov
@ 2008-09-16 15:24         ` Хихин Руслан
  2008-09-16 16:09           ` Mikhail Gusarov
  0 siblings, 1 reply; 20+ messages in thread
From: Хихин Руслан @ 2008-09-16 15:24 UTC (permalink / raw)
  To: devel

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

Здравствуйте Kirill A. Shutemov
  В сообщении от 16 сентября 2008 Kirill A. Shutemov написал(a):
 > On Tue, Sep 16, 2008 at 06:57:19PM +0400, 
=?KOI8-R?Q?=E8=C9=C8=C9=CE_=F2=D5=D3=CC=C1=CE_ wrote:
 > > Здравствуйте Kirill A. Shutemov
 > >
 > >   В сообщении от 16 сентября 2008 Kirill A. Shutemov 
написал(a):
 > >  > По результатам общения с upstream, выяснилось, что
 > >  > приложения должны использовать <sys/inotify.h>, вместо
 > >  > <linux/inotify.h>.
 > >  >
 > >  > В glibc-kernheaders-2.6.27-alt3 этот хидер
 > >  > экспортироваться не будет. Также перестанет
 > >  > экспортироваться
 > >  > <linux/ext2_fs.h>. Вместо него следует использовать
 > >  > <ext2fs/ext2_fs.h>.
 > >
 > > Хорошо-бы такие заметки где-нибудь отмечать на сайте,
 > > что-бы не ходить всем по одним и тем-же граблям.
 >
 > Где именно? Я помечу.
Хотя-бы здесь :
http://freesource.info/wiki/AltLinux/Sisyphus/changes?v=our&
Но в свете изменений может и на 
http://www.altlinux.org/Sisyphus


-- 
С  уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 15:24         ` Хихин Руслан
@ 2008-09-16 16:09           ` Mikhail Gusarov
  0 siblings, 0 replies; 20+ messages in thread
From: Mikhail Gusarov @ 2008-09-16 16:09 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

Twas brillig at 19:24:13 16.09.2008 UTC+04 when ruslandh@gmail.com did gyre and gimble:

 ХР> Хотя-бы здесь :
 ХР> http://freesource.info/wiki/AltLinux/Sisyphus/changes?v=our&

Т.е здесь: http://www.altlinux.org/Changes

-- 

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

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 10:22 ` [devel] Пострадавшие от новых glibc-kernheaders (874) Kirill A. Shutemov
                     ` (2 preceding siblings ...)
  2008-09-16 14:53   ` Kirill A. Shutemov
@ 2008-09-16 20:42   ` Motsyo Gennadi aka Drool
  2008-09-16 20:46     ` Andrey Rahmatullin
  3 siblings, 1 reply; 20+ messages in thread
From: Motsyo Gennadi aka Drool @ 2008-09-16 20:42 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Kirill A. Shutemov пишет:
> Если кого-то незаслуженно забыл -- говорите, не стесняйтесь. :)

	qsvn и stargazer ?


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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 20:42   ` [devel] Пострадавшие от новых glibc-kernheaders (874) Motsyo Gennadi aka Drool
@ 2008-09-16 20:46     ` Andrey Rahmatullin
  2008-09-16 21:16       ` Motsyo Gennadi aka Drool
  0 siblings, 1 reply; 20+ messages in thread
From: Andrey Rahmatullin @ 2008-09-16 20:46 UTC (permalink / raw)
  To: devel

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

On Tue, Sep 16, 2008 at 11:42:04PM +0300, Motsyo Gennadi aka Drool wrote:
> > Если кого-то незаслуженно забыл -- говорите, не стесняйтесь. :)
> 	qsvn и stargazer ?
Они-то какое отношение к glibc-kernheaders имеют?

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

<raorn> наш jpegtran не корёжит exif, родной (или таки бсдшный?) - корёжит
<gvy> raorn, вешай багу :)

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

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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 20:46     ` Andrey Rahmatullin
@ 2008-09-16 21:16       ` Motsyo Gennadi aka Drool
  0 siblings, 0 replies; 20+ messages in thread
From: Motsyo Gennadi aka Drool @ 2008-09-16 21:16 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Andrey Rahmatullin пишет:
> On Tue, Sep 16, 2008 at 11:42:04PM +0300, Motsyo Gennadi aka Drool wrote:
>>> Если кого-то незаслуженно забыл -- говорите, не стесняйтесь. :)
>> 	qsvn и stargazer ?
> Они-то какое отношение к glibc-kernheaders имеют?

	Я еще не понял. Но сборка рухнула под сизифом. qsvn скорее всего не имеет.


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

* Re: [devel] Пострадавшие от новых glibc-kernheaders (874)
  2008-09-16 14:57     ` Хихин Руслан
  2008-09-16 15:00       ` Kirill A. Shutemov
@ 2008-09-24 18:34       ` Michael Shigorin
  1 sibling, 0 replies; 20+ messages in thread
From: Michael Shigorin @ 2008-09-24 18:34 UTC (permalink / raw)
  To: devel

On Tue, Sep 16, 2008 at 06:57:19PM +0400, Хихин Руслан wrote:
>  > По результатам общения с upstream, выяснилось, что
>  > приложения должны использовать <sys/inotify.h>, вместо
>  > <linux/inotify.h>.
>  >
>  > В glibc-kernheaders-2.6.27-alt3 этот хидер экспортироваться
>  > не будет. Также перестанет экспортироваться
>  > <linux/ext2_fs.h>. Вместо него следует использовать
>  > <ext2fs/ext2_fs.h>.
> Хорошо-бы такие заметки где-нибудь отмечать на сайте, что-бы не 
> ходить всем по одним и тем-же граблям.

Когда-то это "где-то" было http://wiki.sisyphus.ru/devel/changes,
а вот есть ли функциональный аналог на altlinux.org -- не знаю.

Эта заметка наблюдается на http://altlinux.org/Changes

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [devel] glibc-kernheaders
  2008-09-16 14:53   ` Kirill A. Shutemov
  2008-09-16 14:57     ` Хихин Руслан
@ 2008-10-23 17:23     ` Dmitry V. Levin
  2008-10-23 17:57       ` Kirill A. Shutemov
  1 sibling, 1 reply; 20+ messages in thread
From: Dmitry V. Levin @ 2008-10-23 17:23 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Tue, Sep 16, 2008 at 05:53:02PM +0300, Kirill A. Shutemov wrote:
[...]
> > Исправлю в следующем релизе glibc-kernheaders.
> 
> По результатам общения с upstream, выяснилось, что приложения должны использовать
> <sys/inotify.h>, вместо <linux/inotify.h>. 
> 
> В glibc-kernheaders-2.6.27-alt3 этот хидер экспортироваться не будет.
> Также перестанет экспортироваться <linux/ext2_fs.h>. Вместо него следует
> использовать <ext2fs/ext2_fs.h>.

В релизе 2.6.27 ничего существенного по сравнению с -rc6 по части
glibc-kernheaders не изменилось?


-- 
ldv

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

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

* Re: [devel] glibc-kernheaders
  2008-10-23 17:23     ` [devel] glibc-kernheaders Dmitry V. Levin
@ 2008-10-23 17:57       ` Kirill A. Shutemov
  0 siblings, 0 replies; 20+ messages in thread
From: Kirill A. Shutemov @ 2008-10-23 17:57 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Thu, Oct 23, 2008 at 09:23:25PM +0400, Dmitry V. Levin wrote:
> On Tue, Sep 16, 2008 at 05:53:02PM +0300, Kirill A. Shutemov wrote:
> [...]
> > > Исправлю в следующем релизе glibc-kernheaders.
> > 
> > По результатам общения с upstream, выяснилось, что приложения должны использовать
> > <sys/inotify.h>, вместо <linux/inotify.h>. 
> > 
> > В glibc-kernheaders-2.6.27-alt3 этот хидер экспортироваться не будет.
> > Также перестанет экспортироваться <linux/ext2_fs.h>. Вместо него следует
> > использовать <ext2fs/ext2_fs.h>.
> 
> В релизе 2.6.27 ничего существенного по сравнению с -rc6 по части
> glibc-kernheaders не изменилось?

Смержили один мой патч ;)

А если серьёзно, ничего особенно ценного не заметил, но объязательно
обновлю.

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

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

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

end of thread, other threads:[~2008-10-23 17:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-16  8:03 ` [devel] shebang.req (Sisyphus-20080916 i586 beehive_status) Alexey Tourbin
2008-09-16  9:53   ` [devel] q: wiki links? (was: shebang.req) Michael Shigorin
2008-09-16 10:22 ` [devel] Пострадавшие от новых glibc-kernheaders (874) Kirill A. Shutemov
2008-09-16 12:02   ` Dmitry V. Levin
2008-09-16 12:09     ` Kirill A. Shutemov
2008-09-16 13:48       ` Dmitry Afanasov
2008-09-16 13:52         ` Kirill A. Shutemov
2008-09-16 13:59           ` Dmitry Afanasov
2008-09-16 13:16   ` Kirill A. Shutemov
2008-09-16 14:53   ` Kirill A. Shutemov
2008-09-16 14:57     ` Хихин Руслан
2008-09-16 15:00       ` Kirill A. Shutemov
2008-09-16 15:24         ` Хихин Руслан
2008-09-16 16:09           ` Mikhail Gusarov
2008-09-24 18:34       ` Michael Shigorin
2008-10-23 17:23     ` [devel] glibc-kernheaders Dmitry V. Levin
2008-10-23 17:57       ` Kirill A. Shutemov
2008-09-16 20:42   ` [devel] Пострадавшие от новых glibc-kernheaders (874) Motsyo Gennadi aka Drool
2008-09-16 20:46     ` Andrey Rahmatullin
2008-09-16 21:16       ` Motsyo Gennadi aka Drool

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