* Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed @ 2008-10-26 11:01 ` Valery V. Inozemtsev 2008-10-26 17:53 ` Dmitry V. Levin 0 siblings, 1 reply; 10+ messages in thread From: Valery V. Inozemtsev @ 2008-10-26 11:01 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 574 bytes --] On Sunday 26 October 2008 00:05:10 QA Team Robot wrote: > Package: xconsole-1.0.3-alt2 [...] > make[1]: Entering directory `/usr/src/RPM/BUILD/xconsole-1.0.3' > i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -Wall -O2 -march=i586 > -mtune=i686 -c xconsole.c xconsole.c:185:45: error: sys/stropts.h: No such > file or directory xconsole.c: In function 'get_pty': > xconsole.c:838: warning: implicit declaration of function 'openpty' че то я юмора не понял. что у нас еще пропало из glibc-devel? -- Valery V. Inozemtsev [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed 2008-10-26 11:01 ` [devel] xconsole-1.0.3-alt2: i586 rebuild failed Valery V. Inozemtsev @ 2008-10-26 17:53 ` Dmitry V. Levin 2008-10-27 22:39 ` Dmitry V. Levin 0 siblings, 1 reply; 10+ messages in thread From: Dmitry V. Levin @ 2008-10-26 17:53 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 770 bytes --] On Sun, Oct 26, 2008 at 02:01:44PM +0300, Valery V. Inozemtsev wrote: > On Sunday 26 October 2008 00:05:10 QA Team Robot wrote: > > Package: xconsole-1.0.3-alt2 > [...] > > make[1]: Entering directory `/usr/src/RPM/BUILD/xconsole-1.0.3' > > i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -Wall -O2 -march=i586 > > -mtune=i686 -c xconsole.c xconsole.c:185:45: error: sys/stropts.h: No such > > file or directory xconsole.c: In function 'get_pty': > > xconsole.c:838: warning: implicit declaration of function 'openpty' > > че то я юмора не понял. что у нас еще пропало из glibc-devel? Это (выключение _XOPEN_STREAMS) redhat specific change: https://bugzilla.redhat.com/show_bug.cgi?id=436349 Какие будут предложения, что с этим делать? -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed 2008-10-26 17:53 ` Dmitry V. Levin @ 2008-10-27 22:39 ` Dmitry V. Levin 2008-10-28 7:54 ` Valery V. Inozemtsev 0 siblings, 1 reply; 10+ messages in thread From: Dmitry V. Levin @ 2008-10-27 22:39 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 919 bytes --] On Sun, Oct 26, 2008 at 08:53:51PM +0300, Dmitry V. Levin wrote: > On Sun, Oct 26, 2008 at 02:01:44PM +0300, Valery V. Inozemtsev wrote: > > On Sunday 26 October 2008 00:05:10 QA Team Robot wrote: > > > Package: xconsole-1.0.3-alt2 > > [...] > > > make[1]: Entering directory `/usr/src/RPM/BUILD/xconsole-1.0.3' > > > i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -Wall -O2 -march=i586 > > > -mtune=i686 -c xconsole.c xconsole.c:185:45: error: sys/stropts.h: No such > > > file or directory xconsole.c: In function 'get_pty': > > > xconsole.c:838: warning: implicit declaration of function 'openpty' > > > > че то я юмора не понял. что у нас еще пропало из glibc-devel? > > Это (выключение _XOPEN_STREAMS) redhat specific change: > https://bugzilla.redhat.com/show_bug.cgi?id=436349 > > Какие будут предложения, что с этим делать? Думаю что это изменение в glibc лучше откатить. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed 2008-10-27 22:39 ` Dmitry V. Levin @ 2008-10-28 7:54 ` Valery V. Inozemtsev 2008-10-28 10:06 ` Dmitry V. Levin 0 siblings, 1 reply; 10+ messages in thread From: Valery V. Inozemtsev @ 2008-10-28 7:54 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1183 bytes --] On Tuesday 28 October 2008 01:39:19 Dmitry V. Levin wrote: > On Sun, Oct 26, 2008 at 08:53:51PM +0300, Dmitry V. Levin wrote: > > On Sun, Oct 26, 2008 at 02:01:44PM +0300, Valery V. Inozemtsev wrote: > > > On Sunday 26 October 2008 00:05:10 QA Team Robot wrote: > > > > Package: xconsole-1.0.3-alt2 > > > > > > [...] > > > > > > > make[1]: Entering directory `/usr/src/RPM/BUILD/xconsole-1.0.3' > > > > i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -Wall -O2 > > > > -march=i586 -mtune=i686 -c xconsole.c xconsole.c:185:45: error: > > > > sys/stropts.h: No such file or directory xconsole.c: In function > > > > 'get_pty': > > > > xconsole.c:838: warning: implicit declaration of function 'openpty' > > > > > > че то я юмора не понял. что у нас еще пропало из glibc-devel? > > > > Это (выключение _XOPEN_STREAMS) redhat specific change: > > https://bugzilla.redhat.com/show_bug.cgi?id=436349 > > > > Какие будут предложения, что с этим делать? > > Думаю что это изменение в glibc лучше откатить. кто то еще пострадал? -- Valery V. Inozemtsev [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed 2008-10-28 7:54 ` Valery V. Inozemtsev @ 2008-10-28 10:06 ` Dmitry V. Levin 2008-10-28 10:58 ` Valery V. Inozemtsev 2008-11-08 11:36 ` Alexey I. Froloff 0 siblings, 2 replies; 10+ messages in thread From: Dmitry V. Levin @ 2008-10-28 10:06 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1667 bytes --] On Tue, Oct 28, 2008 at 10:54:15AM +0300, Valery V. Inozemtsev wrote: > On Tuesday 28 October 2008 01:39:19 Dmitry V. Levin wrote: > > On Sun, Oct 26, 2008 at 08:53:51PM +0300, Dmitry V. Levin wrote: > > > On Sun, Oct 26, 2008 at 02:01:44PM +0300, Valery V. Inozemtsev wrote: > > > > On Sunday 26 October 2008 00:05:10 QA Team Robot wrote: > > > > > Package: xconsole-1.0.3-alt2 > > > > > > > > [...] > > > > > > > > > make[1]: Entering directory `/usr/src/RPM/BUILD/xconsole-1.0.3' > > > > > i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -Wall -O2 > > > > > -march=i586 -mtune=i686 -c xconsole.c xconsole.c:185:45: error: > > > > > sys/stropts.h: No such file or directory xconsole.c: In function > > > > > 'get_pty': > > > > > xconsole.c:838: warning: implicit declaration of function 'openpty' > > > > > > > > че то я юмора не понял. что у нас еще пропало из glibc-devel? > > > > > > Это (выключение _XOPEN_STREAMS) redhat specific change: > > > https://bugzilla.redhat.com/show_bug.cgi?id=436349 > > > > > > Какие будут предложения, что с этим делать? > > > > Думаю что это изменение в glibc лучше откатить. > > кто то еще пострадал? Предположительно, все держатели псевдотерминалов, не имеющие проверок sys/stropts.h в configure: aterm-1.0.1-alt3 fuse-zfs-0.5.0-alt1 gftp-2.0.18stable-alt4.1 ipmitool-1.8.9-alt3.1 jtag-0.6-alt1 lomoco-1.0-alt3 rxvt-unicode-9.02-alt1 screen-4.0.3-alt3 userpasswd-0.2.9-alt1 xconsole-1.0.3-alt2 zsh-1:4.3.6-alt2 C одной стороны, _XOPEN_STREAMS действительно в ядре нет (давно?). С другой стороны, столько пакетов сломалось зря. Не знаю наверняка, какой выбор лучше. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed 2008-10-28 10:06 ` Dmitry V. Levin @ 2008-10-28 10:58 ` Valery V. Inozemtsev 2008-11-08 11:36 ` Alexey I. Froloff 1 sibling, 0 replies; 10+ messages in thread From: Valery V. Inozemtsev @ 2008-10-28 10:58 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 2190 bytes --] On Tuesday 28 October 2008 13:06:55 Dmitry V. Levin wrote: > On Tue, Oct 28, 2008 at 10:54:15AM +0300, Valery V. Inozemtsev wrote: > > On Tuesday 28 October 2008 01:39:19 Dmitry V. Levin wrote: > > > On Sun, Oct 26, 2008 at 08:53:51PM +0300, Dmitry V. Levin wrote: > > > > On Sun, Oct 26, 2008 at 02:01:44PM +0300, Valery V. Inozemtsev wrote: > > > > > On Sunday 26 October 2008 00:05:10 QA Team Robot wrote: > > > > > > Package: xconsole-1.0.3-alt2 > > > > > > > > > > [...] > > > > > > > > > > > make[1]: Entering directory `/usr/src/RPM/BUILD/xconsole-1.0.3' > > > > > > i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -pipe -Wall -O2 > > > > > > -march=i586 -mtune=i686 -c xconsole.c xconsole.c:185:45: error: > > > > > > sys/stropts.h: No such file or directory xconsole.c: In function > > > > > > 'get_pty': > > > > > > xconsole.c:838: warning: implicit declaration of function > > > > > > 'openpty' > > > > > > > > > > че то я юмора не понял. что у нас еще пропало из glibc-devel? > > > > > > > > Это (выключение _XOPEN_STREAMS) redhat specific change: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=436349 > > > > > > > > Какие будут предложения, что с этим делать? > > > > > > Думаю что это изменение в glibc лучше откатить. > > > > кто то еще пострадал? > > Предположительно, все держатели псевдотерминалов, не имеющие проверок > sys/stropts.h в configure: > aterm-1.0.1-alt3 > fuse-zfs-0.5.0-alt1 > gftp-2.0.18stable-alt4.1 > ipmitool-1.8.9-alt3.1 > jtag-0.6-alt1 > lomoco-1.0-alt3 > rxvt-unicode-9.02-alt1 > screen-4.0.3-alt3 > userpasswd-0.2.9-alt1 > xconsole-1.0.3-alt2 > zsh-1:4.3.6-alt2 > > C одной стороны, _XOPEN_STREAMS действительно в ядре нет (давно?). > С другой стороны, столько пакетов сломалось зря. > Не знаю наверняка, какой выбор лучше. смотря какая там проверка на openpty. а вообще есть pty.h -- Valery V. Inozemtsev [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed 2008-10-28 10:06 ` Dmitry V. Levin 2008-10-28 10:58 ` Valery V. Inozemtsev @ 2008-11-08 11:36 ` Alexey I. Froloff 2008-11-08 11:47 ` Dmitry V. Levin 1 sibling, 1 reply; 10+ messages in thread From: Alexey I. Froloff @ 2008-11-08 11:36 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1082 bytes --] * Dmitry V. Levin <ldv@> [081028 13:22]: > > кто то еще пострадал? > Предположительно, все держатели псевдотерминалов, не имеющие проверок > sys/stropts.h в configure: ... > C одной стороны, _XOPEN_STREAMS действительно в ядре нет (давно?). > С другой стороны, столько пакетов сломалось зря. Ну а как чинить такой код? #if defined (__svr4__) || defined (__lnx21__) # include <sys/resource.h> /* for struct rlimit */ # include <sys/stropts.h> /* for I_PUSH */ # define _NEW_TTY_CTRL /* to get proper defines in <termios.h> */ #endif ... #if defined (__svr4__) || defined (__lnx21__) /* * Push STREAMS modules: * ptem: pseudo-terminal hardware emulation module. * ldterm: standard terminal line discipline. * ttcompat: V7, 4BSD and XENIX STREAMS compatibility module. */ ioctl(fd, I_PUSH, "ptem"); ioctl(fd, I_PUSH, "ldterm"); ioctl(fd, I_PUSH, "ttcompat"); #else /* __svr4__ */ ... Через sed -e '/sys\/stropts.h/d;', как тут советовали, ничего не получится. Выдрать с корнем эти куски? -- Regards, Sir Raorn. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed 2008-11-08 11:36 ` Alexey I. Froloff @ 2008-11-08 11:47 ` Dmitry V. Levin 2008-11-08 12:38 ` Alexey I. Froloff 0 siblings, 1 reply; 10+ messages in thread From: Dmitry V. Levin @ 2008-11-08 11:47 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 583 bytes --] On Sat, Nov 08, 2008 at 02:36:23PM +0300, Alexey I. Froloff wrote: > * Dmitry V. Levin <ldv@> [081028 13:22]: > > > кто то еще пострадал? > > Предположительно, все держатели псевдотерминалов, не имеющие проверок > > sys/stropts.h в configure: > ... > > C одной стороны, _XOPEN_STREAMS действительно в ядре нет (давно?). > > С другой стороны, столько пакетов сломалось зря. > Ну а как чинить такой код? Если есть configure, то проверить наличие sys/stropts.h и выключать код по HAVE_SYS_STROPTS_H Если нет configure, то выключать код по #ifndef __linux__ -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed 2008-11-08 11:47 ` Dmitry V. Levin @ 2008-11-08 12:38 ` Alexey I. Froloff 2008-11-08 12:46 ` Dmitry V. Levin 0 siblings, 1 reply; 10+ messages in thread From: Alexey I. Froloff @ 2008-11-08 12:38 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1.1: Type: text/plain, Size: 374 bytes --] * Dmitry V. Levin <ldv@> [081108 14:48]: > Если есть configure, то проверить наличие sys/stropts.h и выключать код по > HAVE_SYS_STROPTS_H > Если нет configure, то выключать код по > #ifndef __linux__ Родил нечто (в аттаче, может кому пригодится). Я правильно понимаю, что ioctl(fd, I_PUSH, "foobar"); у нас всё равно ничего не делали? -- Regards, Sir Raorn. [-- Attachment #1.2: aterm-STREAMS.patch --] [-- Type: text/plain, Size: 1345 bytes --] diff --git a/aterm/autoconf/configure.in b/aterm/autoconf/configure.in index a798111..5290532 100644 --- a/aterm/autoconf/configure.in +++ b/aterm/autoconf/configure.in @@ -418,6 +418,7 @@ AC_CHECK_HEADERS( \ sys/ioctl.h \ sys/select.h \ sys/sockio.h \ + sys/stropts.h \ sys/time.h \ ) diff --git a/aterm/src/command.c b/aterm/src/command.c index 70b3cbe..cc9b3a7 100644 --- a/aterm/src/command.c +++ b/aterm/src/command.c @@ -97,7 +97,9 @@ static const char rcsid[] = "$Id: command.c,v 1.24 2006/06/26 18:01:20 sasha Exp #if defined (__svr4__) || defined (__lnx21__) # include <sys/resource.h> /* for struct rlimit */ -# include <sys/stropts.h> /* for I_PUSH */ +# ifdef HAVE_SYS_STROPTS_H +# include <sys/stropts.h> /* for I_PUSH */ +# endif # define _NEW_TTY_CTRL /* to get proper defines in <termios.h> */ #endif @@ -683,6 +685,7 @@ get_tty(void) exit(EXIT_FAILURE); } #if defined (__svr4__) || defined (__lnx21__) +# ifdef HAVE_SYS_STROPTS_H /* * Push STREAMS modules: * ptem: pseudo-terminal hardware emulation module. @@ -692,6 +695,7 @@ get_tty(void) ioctl(fd, I_PUSH, "ptem"); ioctl(fd, I_PUSH, "ldterm"); ioctl(fd, I_PUSH, "ttcompat"); +# endif #else /* __svr4__ */ { /* change ownership of tty to real uid and real group */ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [devel] xconsole-1.0.3-alt2: i586 rebuild failed 2008-11-08 12:38 ` Alexey I. Froloff @ 2008-11-08 12:46 ` Dmitry V. Levin 0 siblings, 0 replies; 10+ messages in thread From: Dmitry V. Levin @ 2008-11-08 12:46 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 601 bytes --] On Sat, Nov 08, 2008 at 03:38:24PM +0300, Alexey I. Froloff wrote: > * Dmitry V. Levin <ldv@> [081108 14:48]: > > Если есть configure, то проверить наличие sys/stropts.h и выключать код по > > HAVE_SYS_STROPTS_H > > Если нет configure, то выключать код по > > #ifndef __linux__ > Родил нечто (в аттаче, может кому пригодится). Этот патч можно апстримить. Ещё несколько пакетов осталось, некоторые из них используют configure. > Я правильно > понимаю, что ioctl(fd, I_PUSH, "foobar"); у нас всё равно ничего > не делали? Этот ioctl делал, делает и будет делать EINVAL. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-11-08 12:46 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-10-26 11:01 ` [devel] xconsole-1.0.3-alt2: i586 rebuild failed Valery V. Inozemtsev 2008-10-26 17:53 ` Dmitry V. Levin 2008-10-27 22:39 ` Dmitry V. Levin 2008-10-28 7:54 ` Valery V. Inozemtsev 2008-10-28 10:06 ` Dmitry V. Levin 2008-10-28 10:58 ` Valery V. Inozemtsev 2008-11-08 11:36 ` Alexey I. Froloff 2008-11-08 11:47 ` Dmitry V. Levin 2008-11-08 12:38 ` Alexey I. Froloff 2008-11-08 12:46 ` Dmitry V. Levin
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