NetBSD Problem Report #39786
From www@NetBSD.org Wed Oct 22 13:18:59 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 0F59563BAC6
for <gnats-bugs@gnats.netbsd.org>; Wed, 22 Oct 2008 13:18:59 +0000 (UTC)
Message-Id: <20081022131858.D059563B93C@narn.NetBSD.org>
Date: Wed, 22 Oct 2008 13:18:58 +0000 (UTC)
From: andy.shevchenko@gmail.com
Reply-To: andy.shevchenko@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Cross compiling under Ubuntu is still broken
X-Send-Pr-Version: www-1.0
>Number: 39786
>Category: bin
>Synopsis: Cross compiling under Ubuntu is still broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 22 13:20:01 +0000 2008
>Closed-Date: Sun Nov 16 17:30:41 +0000 2008
>Last-Modified: Sun Nov 16 17:30:41 +0000 2008
>Originator: Andy Shevchenko
>Release: -current
>Organization:
Teleca Finland Oy
>Environment:
Linux XXX 2.6.22-15-generic #1 SMP Wed Aug 20 15:47:07 UTC 2008 x86_64 GNU/Linux
>Description:
The current Ubuntu shell (version 3.2.13(1), version 3.2.25(1), ...) has some bug. Due to this the impossible to build /bin/sh in cross-compiling mode on at least Ubuntu 7.04 and 7.10.
The problem was also discussed a few months ago, but it still isn't resolved in proper way.
http://mail-index.netbsd.org/current-users/2008/02/27/msg001136.html
>How-To-Repeat:
>Fix:
There is a solution to fix issue.
http://mail-index.netbsd.org/tech-userlevel/2008/10/22/msg001349.html
>Release-Note:
>Audit-Trail:
From: Alan Barrett <apb@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39786 CVS commit: src/bin/sh
Date: Thu, 23 Oct 2008 20:21:57 +0000 (UTC)
Module Name: src
Committed By: apb
Date: Thu Oct 23 20:21:57 UTC 2008
Modified Files:
src/bin/sh: mkinit.sh
Log Message:
Don't try to remove trailing newlines from shell variables via
constructs like ${var%$nl}. Apparently this allows the Ubuntu Linux
/bin/sh (dash) to be used as a host shell during the build.
Patch from PR 39786 by Andy Shevchenko.
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/bin/sh/mkinit.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 16 Nov 2008 09:41:16 +0000
State-Changed-Why:
Is this fixed now?
From: "Andy Shevchenko" <andy.shevchenko@gmail.com>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, dholland@netbsd.org
Subject: Re: bin/39786 (Cross compiling under Ubuntu is still broken)
Date: Sun, 16 Nov 2008 12:33:51 +0200
On Sun, Nov 16, 2008 at 11:41 AM, <dholland@netbsd.org> wrote:
> Synopsis: Cross compiling under Ubuntu is still broken
>
> State-Changed-From-To: open->feedback
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Sun, 16 Nov 2008 09:41:16 +0000
> State-Changed-Why:
> Is this fixed now?
It works for me (tm).
--
With Best Regards,
Andy Shevchenko
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 16 Nov 2008 17:30:41 +0000
State-Changed-Why:
Confirmed fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.