NetBSD Problem Report #45771

From www@NetBSD.org  Mon Jan  2 18:32:20 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id A7A1263C2B0
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  2 Jan 2012 18:32:19 +0000 (UTC)
Message-Id: <20120102183218.E785B63B954@www.NetBSD.org>
Date: Mon,  2 Jan 2012 18:32:18 +0000 (UTC)
From: pda@freeshell.org
Reply-To: pda@freeshell.org
To: gnats-bugs@NetBSD.org
Subject: gcc44-4.4.6nb1 in pkgsrc 11q-3 not building on HP-UX 11.31 itanium
X-Send-Pr-Version: www-1.0

>Number:         45771
>Category:       pkg
>Synopsis:       gcc44-4.4.6nb1 in pkgsrc 11q-3 not building on HP-UX 11.31 itanium
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    hpux-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 02 18:35:00 +0000 2012
>Last-Modified:  Thu Apr 26 13:52:25 +0000 2012
>Originator:     Paul Ackersviller
>Release:        Just pkgsrc 11q-3
>Organization:
>Environment:
HP-UX tdcndv01 B.11.31 U ia64 1579589996 unlimited-user license

>Description:
Following is the bmake output, it stops with a prompt for input. I suspect that's just an after-effect of the tar files failing just above, which I'm guessing is caused by the wrong tar program being used.

===> Extracting for gcc44-4.4.6nb1
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
directory checksum error
===> Patching for gcc44-4.4.6nb1
=> Applying pkgsrc patches for gcc44-4.4.6nb1
File to patch:

>How-To-Repeat:
bmake -C lang/gcc44
>Fix:
Use the netbsd tar program somehow, but it's already on the front of my PATH -- is there some make macro for it?

>Release-Note:

>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/45771: gcc44-4.4.6nb1 in pkgsrc 11q-3 not building on HP-UX
 11.31 itanium
Date: Tue, 3 Jan 2012 01:09:20 +0100

 On Mon, Jan 02, 2012 at 06:35:00PM +0000, pda@freeshell.org wrote:
 > ===> Extracting for gcc44-4.4.6nb1
 > tar: ././@LongLink - cannot create

 Try TOOLS_PLATFORM.tar= in mk.conf, i.e. setting it to empty.

 Joerg

From: pda@freeshell.org
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/45771: gcc44-4.4.6nb1 in pkgsrc 11q-3 not building on HP-UX
 11.31 itanium
Date: Thu, 5 Jan 2012 20:12:56 +0000

 On Tue, Jan 03, 2012 at 12:10:05AM +0000, Joerg Sonnenberger wrote:
 > The following reply was made to PR pkg/45771; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/45771: gcc44-4.4.6nb1 in pkgsrc 11q-3 not building on HP-UX
 >  11.31 itanium
 > Date: Tue, 3 Jan 2012 01:09:20 +0100
 > 
 >  On Mon, Jan 02, 2012 at 06:35:00PM +0000, pda@freeshell.org wrote:
 >  > ===> Extracting for gcc44-4.4.6nb1
 >  > tar: ././@LongLink - cannot create
 >  
 >  Try TOOLS_PLATFORM.tar= in mk.conf, i.e. setting it to empty.

 Thanks, that does get me past that error... any reason that macro couldn't
 be defaulted automatically for the platform?

 For what it's worth, the gcc build still fails later on in binutils, but
 of course that's a different issue.  From what I've seen before, gcc
 generally works better on hpux without using nu binutils anyway.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/45771: gcc44-4.4.6nb1 in pkgsrc 11q-3 not building on HP-UX
 11.31 itanium
Date: Fri, 06 Jan 2012 22:09:40 +0900

 On Fri, 06 Jan 2012 05:15:04 +0900, <pda@freeshell.org> wrote:

 >  >  On Mon, Jan 02, 2012 at 06:35:00PM +0000, pda@freeshell.org wrote:
 >  >  > ===> Extracting for gcc44-4.4.6nb1
 >  >  > tar: ././@LongLink - cannot create
 >  >
 >  >  Try TOOLS_PLATFORM.tar= in mk.conf, i.e. setting it to empty.
 > Thanks, that does get me past that error... any reason that macro couldn't
 >  be defaulted automatically for the platform?

 It is defined in pkgsrc/mk/tools/tools.HPUX.mk.

 "././@LongLink" means that this archive is GNU tar archive format (with its long filename extension),
 and tar on HP-UX 11.31 does not support it.

 In tools.SunOS.mk, TOOLS_PLATFORM.tar will not be defined if gtar is not found.
 tools.HPUX.mk may also be changed.

 -- 
 OBATA Akio / obache@NetBSD.org

Responsible-Changed-From-To: pkg-manager->hpux-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 26 Apr 2012 13:52:25 +0000
Responsible-Changed-Why:
problem on HP-UX


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.