NetBSD Problem Report #45254

From martin@duskware.de  Sun Aug 14 23:56:29 2011
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 5FF2563BE67
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 14 Aug 2011 23:56:29 +0000 (UTC)
Message-Id: <20110814235629.5FF2563BE67@www.NetBSD.org>
Date: Sun, 14 Aug 2011 23:56:29 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: gnu tar broken by half baked *at extensions
X-Send-Pr-Version: 3.95

>Number:         45254
>Category:       kern
>Synopsis:       gnu tar broken by half baked *at extensions
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    dholland
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 15 00:00:00 +0000 2011
>Closed-Date:    Mon Jun 21 02:52:25 +0000 2021
>Last-Modified:  Mon Jun 21 02:52:25 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 5.99.55
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 5.99.55 NetBSD 5.99.55 (NIGHT-OWL) #41: Sun Aug 14 12:38:13 CEST 2011 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

Compiling gnu tar from pkgsrc on current creates a broken binary.
It fails for example during gmplayer installation.

It is invoked as:
/usr/bin/bzcat /usr/pkgsrc/distfiles/mplayer/AlienMind-1.2.tar.bz2 | /usr/pkg/bin/gtar xCmf /usr/pkgobj/multimedia/gmplayer/work/.destdir/usr/pkg/share/mplayer/Skin -

Ktrace/kdump says:

 19422      1 gtar     CALL  openat(0xffd19553,0x7f7ff7b020c0,0x608004,0)
 19422      1 gtar     RET   openat -1 errno 78 Function not implemented

and this causes it to exit.

>How-To-Repeat:
Rebuild gnu tar, then try to rebuild gmplayer.

>Fix:
Remove all of openat() untill it is fully supported?

>Release-Note:

>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: kern/45254: gnu tar broken by half baked *at extensions
Date: Mon, 15 Aug 2011 10:30:22 +1000

 > >Fix:
 > Remove all of openat() untill it is fully supported?

 IMO, we should make it non-visible by default until it's fully supported.


 .mrg.

Responsible-Changed-From-To: kern-bug-people->dholland
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Wed, 13 Nov 2019 18:31:44 +0000
Responsible-Changed-Why:
Might be fixed, what do you think?


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 21 Jun 2021 02:52:25 +0000
State-Changed-Why:
this hasn't been an issue for a long time


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.