ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Fwd: mithraen-installer-busybox-1.10.1-alt2: Sisyphus/i586 test rebuild failed [2]
  @ 2009-11-24  1:37 ` Denis Smirnov
  2009-11-24  7:45   ` Kirill A. Shutemov
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Smirnov @ 2009-11-24  1:37 UTC (permalink / raw)
  To: ALT Devel discussion list

И как такое фиксить?


---------- Forwarded message ----------
From: QA Team Robot <qa@altlinux.org>
Date: Mon, Nov 23, 2009 at 11:52 PM
Subject: mithraen-installer-busybox-1.10.1-alt2: Sisyphus/i586 test
rebuild failed [2]
To: mithraen@altlinux.org
Cc: qa@altlinux.org

Package: mithraen-installer-busybox-1.10.1-alt2
Status: Sisyphus/i586 test rebuild failed

[skip]

iptunnel.c:(.text.print_tunnel+0x1eb): undefined reference to `__cpu_to_be16'
iptunnel.c:(.text.print_tunnel+0x1fe): undefined reference to `__cpu_to_be16'
iptunnel.c:(.text.print_tunnel+0x22e): undefined reference to `__cpu_to_be16'
iptunnel.c:(.text.print_tunnel+0x241): undefined reference to `__cpu_to_be16'
iptunnel.c:(.text.print_tunnel+0x26b): undefined reference to `__cpu_to_be16'
networking/libiproute/lib.a(iptunnel.o):iptunnel.c:(.text.print_tunnel+0x295):
more undefined references to `__cpu_to_be16' follow
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/mithraen-installer-busybox-1.10.1'
error: Bad exit status from /usr/src/tmp/rpm-tmp.9826 (%build)


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

* Re: [devel] Fwd: mithraen-installer-busybox-1.10.1-alt2: Sisyphus/i586 test rebuild failed [2]
  2009-11-24  1:37 ` [devel] Fwd: mithraen-installer-busybox-1.10.1-alt2: Sisyphus/i586 test rebuild failed [2] Denis Smirnov
@ 2009-11-24  7:45   ` Kirill A. Shutemov
  2009-11-26 10:57     ` Kirill A. Shutemov
  0 siblings, 1 reply; 3+ messages in thread
From: Kirill A. Shutemov @ 2009-11-24  7:45 UTC (permalink / raw)
  To: ALT Linux Team development discussions

2009/11/24 Denis Smirnov <mithraen@freesource.info>:
> И как такое фиксить?

Это регрессия в glibc-kernheaders. Постараюсь починить на этой неделе.

Если нужно починить быстро, воткните #include <asm/byteorder.h> перед
#include <linux/if_tunnel.h> в networking/libiproute/iptunnel.c

Регрессия вызвана коммитом f3a7c66b5 в ядре.

> ---------- Forwarded message ----------
> From: QA Team Robot <qa@altlinux.org>
> Date: Mon, Nov 23, 2009 at 11:52 PM
> Subject: mithraen-installer-busybox-1.10.1-alt2: Sisyphus/i586 test
> rebuild failed [2]
> To: mithraen@altlinux.org
> Cc: qa@altlinux.org
>
> Package: mithraen-installer-busybox-1.10.1-alt2
> Status: Sisyphus/i586 test rebuild failed
>
> [skip]
>
> iptunnel.c:(.text.print_tunnel+0x1eb): undefined reference to `__cpu_to_be16'
> iptunnel.c:(.text.print_tunnel+0x1fe): undefined reference to `__cpu_to_be16'
> iptunnel.c:(.text.print_tunnel+0x22e): undefined reference to `__cpu_to_be16'
> iptunnel.c:(.text.print_tunnel+0x241): undefined reference to `__cpu_to_be16'
> iptunnel.c:(.text.print_tunnel+0x26b): undefined reference to `__cpu_to_be16'
> networking/libiproute/lib.a(iptunnel.o):iptunnel.c:(.text.print_tunnel+0x295):
> more undefined references to `__cpu_to_be16' follow
> collect2: ld returned 1 exit status
> make: *** [busybox_unstripped] Error 1
> make: Leaving directory `/usr/src/RPM/BUILD/mithraen-installer-busybox-1.10.1'
> error: Bad exit status from /usr/src/tmp/rpm-tmp.9826 (%build)
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel


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

* Re: [devel] Fwd: mithraen-installer-busybox-1.10.1-alt2: Sisyphus/i586 test rebuild failed [2]
  2009-11-24  7:45   ` Kirill A. Shutemov
@ 2009-11-26 10:57     ` Kirill A. Shutemov
  0 siblings, 0 replies; 3+ messages in thread
From: Kirill A. Shutemov @ 2009-11-26 10:57 UTC (permalink / raw)
  To: Denis Smirnov; +Cc: ALT Linux Team development discussions

On Tue, Nov 24, 2009 at 9:45 AM, Kirill A. Shutemov
<kirill@shutemov.name> wrote:
> 2009/11/24 Denis Smirnov <mithraen@freesource.info>:
>> И как такое фиксить?
>
> Это регрессия в glibc-kernheaders. Постараюсь починить на этой неделе.
>
> Если нужно починить быстро, воткните #include <asm/byteorder.h> перед
> #include <linux/if_tunnel.h> в networking/libiproute/iptunnel.c
>
> Регрессия вызвана коммитом f3a7c66b5 в ядре.

Вообщем, посмотрел по-подробней. Это не регрессия. Просто костыль,
который стоял в iptunnel.c перестал работать.

Чинить так:
diff --git a/busybox/networking/libiproute/iptunnel.c
b/busybox/networking/libiproute/iptunnel.c
index ad909ff..a551c4d 100644
--- a/busybox/networking/libiproute/iptunnel.c
+++ b/busybox/networking/libiproute/iptunnel.c
@@ -18,9 +18,7 @@
 #include <net/if.h>
 #include <net/if_arp.h>
 #include <asm/types.h>
-#ifndef __constant_htons
-#define __constant_htons htons
-#endif
+#include <asm/byteorder.h>
 #include <linux/if_tunnel.h>

 #include "ip_common.h"  /* #include "libbb.h" is inside */

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

end of thread, other threads:[~2009-11-26 10:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24  1:37 ` [devel] Fwd: mithraen-installer-busybox-1.10.1-alt2: Sisyphus/i586 test rebuild failed [2] Denis Smirnov
2009-11-24  7:45   ` Kirill A. Shutemov
2009-11-26 10:57     ` 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