NetBSD Problem Report #46179

From www@NetBSD.org  Mon Mar 12 09:24:04 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 7242863BA17
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 Mar 2012 09:24:04 +0000 (UTC)
Message-Id: <20120312092403.DB1E663B8C0@www.NetBSD.org>
Date: Mon, 12 Mar 2012 09:24:03 +0000 (UTC)
From: slitvinov@gmail.com
Reply-To: slitvinov@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [LINUX] math/octave fails to install because of MACHINE_GNU_PLATFORM in PLIST
X-Send-Pr-Version: www-1.0

>Number:         46179
>Category:       pkg
>Synopsis:       [LINUX] math/octave fails to install because of MACHINE_GNU_PLATFORM in PLIST
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    adam
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 12 09:25:00 +0000 2012
>Last-Modified:  Mon Mar 12 09:44:01 +0000 2012
>Originator:     Litvinov Sergey
>Release:        Ubuntu LInux
>Organization:
>Environment:
Linux vital303-laptop 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:49:42 UTC 2012 i686 i686 i386 GNU/Linux
>Description:
math/octave fails to install with errors like this
pkg_create: can't stat `/media/sda7/src/pkgsrc/math/octave/work/.destdir/home/vital303/netbsd/lib/octave/3.4.3/oct/i386-debian-linux/PKG_ADD'

I have
bmake show-var VARNAME=MACHINE_GNU_PLATFORM
i386-debian-linux

But the package uses canonized name
i386-debian-linux-gnu
>How-To-Repeat:
bmake install
in
math/octave
on Ubuntu Linux
>Fix:
I added
MACHINE_GNU_PLATFORM=	i386-debian-linux-gnu
to mk.conf

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 12 Mar 2012 09:44:01 +0000
Responsible-Changed-Why:
Over to maintainer


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