NetBSD Problem Report #52325

From www@NetBSD.org  Fri Jun 23 15:18:26 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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8CD717A179
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 23 Jun 2017 15:18:26 +0000 (UTC)
Message-Id: <20170623151825.A373E7A28E@mollari.NetBSD.org>
Date: Fri, 23 Jun 2017 15:18:25 +0000 (UTC)
From: dwim15@ymp.us
Reply-To: dwim15@ymp.us
To: gnats-bugs@NetBSD.org
Subject: lsof for Sparc64 needed for 7.1
X-Send-Pr-Version: www-1.0

>Number:         52325
>Category:       pkg
>Synopsis:       lsof for Sparc64 needed for 7.1
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 23 15:20:00 +0000 2017
>Last-Modified:  Tue Feb 20 07:50:00 +0000 2018
>Originator:     Chris Krumme
>Release:        7.1
>Organization:
YMP
>Environment:
PKG_PATH=ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/sparc64/7.1/All
>Description:
lsof has a dependency on osabi, so requires a close version match.

The package needs to be rebuilt/packaged for 7.1.
>How-To-Repeat:
sudo -E pkg_add -v lsof
>Fix:
Rebuild, and possibly test :-)

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-sparc64-maintainer->pkg-manager
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Fri, 23 Jun 2017 15:27:13 +0000
Responsible-Changed-Why:
Either this is a misunderstanding, or if a rebuild is really needed it
would be needed for all architectures.


From: ckrumme <ckrumme@ymp.us>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52325 (lsof for Sparc64 needed for 7.1)
Date: Fri, 23 Jun 2017 10:31:41 -0500

 Hello Martin,

 If this is true I did not include enough information in the issue, and 
 do not see a quick way to modify it.

 Here is the output I get:

 sudo -E pkg_add -v lsof
 pkg_add: Warning: package `lsof-4.87nb2' was built for a platform:
 pkg_add: NetBSD/sparc64 7.0 (pkg) vs. NetBSD/sparc64 7.1 (this host)
 pkg_add: Warning: package `osabi-NetBSD-7.0' was built for a platform:
 pkg_add: NetBSD/sparc64 7.0 (pkg) vs. NetBSD/sparc64 7.1 (this host)
 Running install with PRE-INSTALL for osabi-NetBSD-7.0.
 The Operating System version (7.1) does not match 7.0
 pkg_add: install script returned error status
 pkg_add: Can't install dependency osabi-NetBSD-7.0
 pkg_add: 1 package addition failed


 Thanks

 Chris


 On 06/23/2017 10:27 AM, martin@NetBSD.org wrote:
 > Synopsis: lsof for Sparc64 needed for 7.1
 >
 > Responsible-Changed-From-To: port-sparc64-maintainer->pkg-manager
 > Responsible-Changed-By: martin@NetBSD.org
 > Responsible-Changed-When: Fri, 23 Jun 2017 15:27:13 +0000
 > Responsible-Changed-Why:
 > Either this is a misunderstanding, or if a rebuild is really needed it
 > would be needed for all architectures.
 >
 >
 >

From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52325: lsof for Sparc64 needed for 7.1
Date: Sat, 24 Jun 2017 13:46:38 +0000

 One thing that we can do, is put together a pbulk list of all the
 OSVERSION_SPECIFIC packages and so you'd only need to build 50 packages
 actually on 7.1, and the rest can be from 7.0.

 Whether it is used still depends on someone making use of the list.

From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52325: lsof for Sparc64 needed for 7.1
Date: Sat, 24 Jun 2017 21:13:39 +0000

 Seem reasonable?

 Index: bulk-osversion/DESCR
 ===================================================================
 RCS file: bulk-osversion/DESCR
 diff -N bulk-osversion/DESCR
 --- /dev/null   1 Jan 1970 00:00:00 -0000
 +++ bulk-osversion/DESCR        24 Jun 2017 21:11:44 -0000
 @@ -0,0 +1,3 @@
 +This package contains a number of packages that depend on a specific
 +operating system version, which rely on interfaces which aren't
 +backwards compatible like interacting with kernel memory directly.
 Index: bulk-osversion/Makefile
 ===================================================================
 RCS file: bulk-osversion/Makefile
 diff -N bulk-osversion/Makefile
 --- /dev/null   1 Jan 1970 00:00:00 -0000
 +++ bulk-osversion/Makefile     24 Jun 2017 21:11:44 -0000
 @@ -0,0 +1,25 @@
 +# $NetBSD: Makefile,v 1.19 2016/07/09 06:38:34 wiz Exp $
 +
 +DISTNAME=      bulk-osversion-20170624
 +CATEGORIES=    meta-pkgs
 +MASTER_SITES=  # empty
 +DISTFILES=     # empty
 +
 +MAINTAINER=    pkgsrc-users@NetBSD.org
 +COMMENT=       Meta-package for OS version specific packages
 +
 +META_PACKAGE=  yes
 +
 +# List of packages obtained with:
 +# find /usr/pkgsrc/ -maxdepth 3 -exec grep -l OSVERSION_SPECIFIC {} +
 +
 +BUILD_DEPENDS+=        hbench-[0-9]*:../../benchmarks/hbench
 +BUILD_DEPENDS+=        p5-perl-headers-[0-9]*:../../devel/p5-perl-headers
 +BUILD_DEPENDS+=        STk-[0-9]*:../../lang/STk
 +BUILD_DEPENDS+=        net-snmp-[0-9]*:../../net/net-snmp
 +#BUILD_DEPENDS+=       oidentd-[0-9]*:../../net/oidentd
 +BUILD_DEPENDS+=        libgtop-[0-9]*:../../sysutils/libgtop
 +BUILD_DEPENDS+=        lsof-[0-9]*:../../sysutils/lsof
 +BUILD_DEPENDS+=        pftop-[0-9]*:../../sysutils/pftop
 +
 +.include "../../mk/bsd.pkg.mk"

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52325: lsof for Sparc64 needed for 7.1
Date: Tue, 20 Feb 2018 07:49:27 +0000

 On Sat, Jun 24, 2017 at 09:15:00PM +0000, coypu@sdf.org wrote:
  >  Seem reasonable?
  >  
  >  --- /dev/null   1 Jan 1970 00:00:00 -0000
  >  +++ bulk-osversion/DESCR        24 Jun 2017 21:11:44 -0000
  >  --- /dev/null   1 Jan 1970 00:00:00 -0000
  >  +++ bulk-osversion/Makefile     24 Jun 2017 21:11:44 -0000

 We should have had something like that a long time ago...

  >  +#BUILD_DEPENDS+=       oidentd-[0-9]*:../../net/oidentd

 why comment this one out?

 -- 
 David A. Holland
 dholland@netbsd.org

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