ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Denis Smirnov <mithraen@freesource.info>
Cc: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Fwd: mithraen-installer-busybox-1.10.1-alt2: Sisyphus/i586 test rebuild failed [2]
Date: Thu, 26 Nov 2009 12:57:54 +0200
Message-ID: <cc557aab0911260257m5bbae330y5e85e7755b6be310@mail.gmail.com> (raw)
In-Reply-To: <cc557aab0911232345o4010cbaat8e330d145916c44d@mail.gmail.com>

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 */

      reply	other threads:[~2009-11-26 10:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24  1:37 ` Denis Smirnov
2009-11-24  7:45   ` Kirill A. Shutemov
2009-11-26 10:57     ` Kirill A. Shutemov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc557aab0911260257m5bbae330y5e85e7755b6be310@mail.gmail.com \
    --to=kirill@shutemov.name \
    --cc=devel@lists.altlinux.org \
    --cc=mithraen@freesource.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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