ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] setserial-1:2.17-alt1: Sisyphus/i586 test rebuild failed
  @ 2010-03-28 19:57 ` Michael Shigorin
  2010-03-28 20:26   ` Kirill A. Shutemov
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Shigorin @ 2010-03-28 19:57 UTC (permalink / raw)
  To: devel

On Sun, Mar 28, 2010 at 01:44:58AM +0300, ALT beekeeper wrote:
> Package: setserial-1:2.17-alt1

> make: Entering directory `/usr/src/RPM/BUILD/setserial-2.17'
> gcc -pipe -Wall -O2 -march=i586 -mtune=i686 -DHAVE_ASM_IOCTLS_H=1  -I. setserial.c -o setserial
> setserial.c:44: warning: missing braces around initializer
> setserial.c:44: warning: (near initialization for 'serial_type_tbl[0]')
> setserial.c:92: warning: missing braces around initializer
> setserial.c:92: warning: (near initialization for 'flag_type_tbl[0]')
> setserial.c: In function 'print_multiport':
> setserial.c:206: warning: implicit declaration of function 'ioctl'
> setserial.c: In function 'get_multiport':
> setserial.c:249: warning: implicit declaration of function 'exit'
> setserial.c:249: warning: incompatible implicit declaration of built-in function 'exit'
> setserial.c: In function 'set_multiport':
> setserial.c:271: warning: incompatible implicit declaration of built-in function 'exit'
> setserial.c:281: warning: incompatible implicit declaration of built-in function 'exit'
> setserial.c:338: warning: incompatible implicit declaration of built-in function 'exit'
> setserial.c:342: warning: incompatible implicit declaration of built-in function 'exit'
> setserial.c: In function 'print_hayesesp':
> setserial.c:362: error: storage size of 'esp' isn't known

Это новые glibc-kernheaders?
И в любом разе -- что делать?
PS: отдам setserial.

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


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

* Re: [devel] setserial-1:2.17-alt1: Sisyphus/i586 test rebuild failed
  2010-03-28 19:57 ` [devel] setserial-1:2.17-alt1: Sisyphus/i586 test rebuild failed Michael Shigorin
@ 2010-03-28 20:26   ` Kirill A. Shutemov
  2010-03-28 21:19     ` Michael Shigorin
  0 siblings, 1 reply; 4+ messages in thread
From: Kirill A. Shutemov @ 2010-03-28 20:26 UTC (permalink / raw)
  To: ALT Linux Team development discussions

2010/3/28 Michael Shigorin <mike@osdn.org.ua>:
> On Sun, Mar 28, 2010 at 01:44:58AM +0300, ALT beekeeper wrote:
>> Package: setserial-1:2.17-alt1
>
>> make: Entering directory `/usr/src/RPM/BUILD/setserial-2.17'
>> gcc -pipe -Wall -O2 -march=i586 -mtune=i686 -DHAVE_ASM_IOCTLS_H=1  -I. setserial.c -o setserial
>> setserial.c:44: warning: missing braces around initializer
>> setserial.c:44: warning: (near initialization for 'serial_type_tbl[0]')
>> setserial.c:92: warning: missing braces around initializer
>> setserial.c:92: warning: (near initialization for 'flag_type_tbl[0]')
>> setserial.c: In function 'print_multiport':
>> setserial.c:206: warning: implicit declaration of function 'ioctl'
>> setserial.c: In function 'get_multiport':
>> setserial.c:249: warning: implicit declaration of function 'exit'
>> setserial.c:249: warning: incompatible implicit declaration of built-in function 'exit'
>> setserial.c: In function 'set_multiport':
>> setserial.c:271: warning: incompatible implicit declaration of built-in function 'exit'
>> setserial.c:281: warning: incompatible implicit declaration of built-in function 'exit'
>> setserial.c:338: warning: incompatible implicit declaration of built-in function 'exit'
>> setserial.c:342: warning: incompatible implicit declaration of built-in function 'exit'
>> setserial.c: In function 'print_hayesesp':
>> setserial.c:362: error: storage size of 'esp' isn't known
>
> Это новые glibc-kernheaders?
> И в любом разе -- что делать?

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f53a2ade0bb9f2a81f473e6469155172a96b7c38

HAYES ESP выкинули из ядра. Из setserial его тоже нужно выкинуть.

> PS: отдам setserial.
>
> --
>  ---- WBR, Michael Shigorin <mike@altlinux.ru>
>  ------ Linux.Kiev http://www.linux.kiev.ua/
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel


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

* Re: [devel] setserial-1:2.17-alt1: Sisyphus/i586 test rebuild failed
  2010-03-28 20:26   ` Kirill A. Shutemov
@ 2010-03-28 21:19     ` Michael Shigorin
  2010-03-29  4:39       ` Kirill A. Shutemov
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Shigorin @ 2010-03-28 21:19 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Sun, Mar 28, 2010 at 11:26:39PM +0300, Kirill A. Shutemov wrote:
> >> Package: setserial-1:2.17-alt1

Там ещё было:
checking for linux/hayesesp.h... no

> >> make: Entering directory `/usr/src/RPM/BUILD/setserial-2.17'
> >> gcc -pipe -Wall -O2 -march=i586 -mtune=i686 -DHAVE_ASM_IOCTLS_H=1  -I. setserial.c -o setserial
[...]
> >> setserial.c: In function 'print_hayesesp':
> >> setserial.c:362: error: storage size of 'esp' isn't known
> > Это новые glibc-kernheaders?  И в любом разе -- что делать?
> HAYES ESP выкинули из ядра. Из setserial его тоже нужно выкинуть.

Спасибо.  Ммм... configure всё правильно сделало, но в спеке
было прибито гвоздями: -DHAVE_LINUX_HAYESESP_H=1.  Убрал.

Оказывается, не совсем выкинули:

$ fgrep -r TIOCGHAYESESP /usr/include/
/usr/include/linux-default/include/asm-generic/ioctls.h: * TIOCGHAYESESP on others
/usr/include/linux-default/include/asm-generic/ioctls.h:# define TIOCGHAYESESP  0x545E  /* Get Hayes ESP configuration */
/usr/include/asm-generic/ioctls.h: * TIOCGHAYESESP on others
/usr/include/asm-generic/ioctls.h:# define TIOCGHAYESESP        0x545E  /* Get Hayes ESP configuration */
fgrep: /usr/include/asm-i386: No such file or directory
fgrep: /usr/include/asm-x86_64: No such file or directory
$ rpm -qf /usr/include/asm-generic/ioctls.h
glibc-kernheaders-2.6.33-alt1

Вешать, апстриму писать?

Пока всунул #undef TIOCGHAYESESP, если хедера нет.

> > PS: отдам setserial.

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


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

* Re: [devel] setserial-1:2.17-alt1: Sisyphus/i586 test rebuild failed
  2010-03-28 21:19     ` Michael Shigorin
@ 2010-03-29  4:39       ` Kirill A. Shutemov
  0 siblings, 0 replies; 4+ messages in thread
From: Kirill A. Shutemov @ 2010-03-29  4:39 UTC (permalink / raw)
  To: ALT Linux Team development discussions

2010/3/29 Michael Shigorin <mike@osdn.org.ua>:
> On Sun, Mar 28, 2010 at 11:26:39PM +0300, Kirill A. Shutemov wrote:
>> >> Package: setserial-1:2.17-alt1
>
> Там ещё было:
> checking for linux/hayesesp.h... no
>
>> >> make: Entering directory `/usr/src/RPM/BUILD/setserial-2.17'
>> >> gcc -pipe -Wall -O2 -march=i586 -mtune=i686 -DHAVE_ASM_IOCTLS_H=1  -I. setserial.c -o setserial
> [...]
>> >> setserial.c: In function 'print_hayesesp':
>> >> setserial.c:362: error: storage size of 'esp' isn't known
>> > Это новые glibc-kernheaders?  И в любом разе -- что делать?
>> HAYES ESP выкинули из ядра. Из setserial его тоже нужно выкинуть.
>
> Спасибо.  Ммм... configure всё правильно сделало, но в спеке
> было прибито гвоздями: -DHAVE_LINUX_HAYESESP_H=1.  Убрал.
>
> Оказывается, не совсем выкинули:
>
> $ fgrep -r TIOCGHAYESESP /usr/include/
> /usr/include/linux-default/include/asm-generic/ioctls.h: * TIOCGHAYESESP on others
> /usr/include/linux-default/include/asm-generic/ioctls.h:# define TIOCGHAYESESP  0x545E  /* Get Hayes ESP configuration */
> /usr/include/asm-generic/ioctls.h: * TIOCGHAYESESP on others
> /usr/include/asm-generic/ioctls.h:# define TIOCGHAYESESP        0x545E  /* Get Hayes ESP configuration */
> fgrep: /usr/include/asm-i386: No such file or directory
> fgrep: /usr/include/asm-x86_64: No such file or directory
> $ rpm -qf /usr/include/asm-generic/ioctls.h
> glibc-kernheaders-2.6.33-alt1
>
> Вешать, апстриму писать?

Я не уверен, принято ли выкидывать эти макросы при выкидывании
соответствующего кода. Но багу апстриму можешь повесить.

> Пока всунул #undef TIOCGHAYESESP, если хедера нет.
>
>> > PS: отдам setserial.
>
> --
>  ---- WBR, Michael Shigorin <mike@altlinux.ru>
>  ------ Linux.Kiev http://www.linux.kiev.ua/
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel

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

end of thread, other threads:[~2010-03-29  4:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-28 19:57 ` [devel] setserial-1:2.17-alt1: Sisyphus/i586 test rebuild failed Michael Shigorin
2010-03-28 20:26   ` Kirill A. Shutemov
2010-03-28 21:19     ` Michael Shigorin
2010-03-29  4:39       ` Kirill A. Shutemov

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