NetBSD Problem Report #52448

From www@NetBSD.org  Tue Aug  1 00:01:32 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C3BB57A16F
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  1 Aug 2017 00:01:31 +0000 (UTC)
Message-Id: <20170801000130.CE7067A269@mollari.NetBSD.org>
Date: Tue,  1 Aug 2017 00:01:30 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: MKBSDTAR=yes
X-Send-Pr-Version: www-1.0

>Number:         52448
>Category:       bin
>Synopsis:       MKBSDTAR=yes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 01 00:05:00 +0000 2017
>Closed-Date:    Wed Jul 24 11:06:33 +0000 2019
>Last-Modified:  Wed Jul 24 11:06:33 +0000 2019
>Originator:     coypu
>Release:        NetBSD 8.99.1
>Organization:
>Environment:
NetBSD loggy 8.99.1 NetBSD 8.99.1 (GENERIC) #82: Thu Jun 22 15:45:33 IDT 2017  fly@loggy:/home/fly/obj/sys/arch/amd64/compile/GENERIC amd64

>Description:
octave-forge failed to work:

octave:1> pkg install -forge signal
bundles of packages are not allowed
error: called from
    install at line 146 column 5
    pkg at line 394 column 9

Fetches:
https://sourceforge.net/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/signal-1.3.2.tar.gz/download?use_mirror=netix&download=

unpacking with netbsd tar:
tar: File extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.

directory contains PaxHeaders.4544 a subdirectory with contents.

package fails octave's sanity checks:

        if (length (dirlist) > 3)
          error ("bundles of packages are not allowed");
        endif

adding bsdtar (from pkgsrc) ahead of netbsd tar in PATH worked.

this looks obvious now, but octave doesn't provide any more output even in verbose mode, the line numbers it mentions are wrong, and it doesn't save temporaries.

why ship a broken tar when we have a working one in base?
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 24 Jul 2019 11:06:33 +0000
State-Changed-Why:
Changed by roy, hurray.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.