NetBSD Problem Report #50137

From kre@munnari.OZ.AU  Sat Aug  8 11:08:49 2015
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(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 A7374A654F
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  8 Aug 2015 11:08:49 +0000 (UTC)
Message-Id: <201508081100.t78B0Qud007733@perseus.noi.kre.to>
Date: Sat, 8 Aug 2015 18:00:26 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: lang/gcc49 distinfo lost ecj-4.5.jar during last update (to 1.7)
X-Send-Pr-Version: 3.95

>Number:         50137
>Category:       pkg
>Synopsis:       lang/gcc49 distinfo lost ecj-4.5.jar during last update (to 1.7)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    martin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 08 11:10:07 +0000 2015
>Closed-Date:    Sun May 01 04:53:42 +0000 2016
>Last-Modified:  Sun May 01 04:53:42 +0000 2016
>Originator:     Robert Elz
>Release:        NetBSD --- pkgsrc current (HEAD) 2015-08-08
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD perseus.noi.kre.to 6.99.17 NetBSD 6.99.17 (GENERIC) #1: Fri Feb 22 22:09:50 ICT 2013 kre@jade.coe.psu.ac.th:/usr/obj/current/i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	The recent update to the distinfo of lang/gcc49 (to add checksums for
	some new patches) lost the info for ecj-4.5.jar - the distfile needed
	when the gcc-java option is included.   Since that option is default
	true on everything except SunOS and Dragonfly (I believe) that is
	a problem.

>How-To-Repeat:
	"make checksum" on any NetBSD (or Linux or FreeBSD) host with
	no specific options set for gcc49

	This is also observable from ...

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/gcc49/distinfo.diff?r1=1.6&r2=1.7&only_with_tag=MAIN&f=h

>Fix:
	"make distinfo" in an appropriate environment to restore
	the missing lines

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->martin
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 08 Aug 2015 11:43:12 +0000
Responsible-Changed-Why:
Over to committer.


From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/50137 (lang/gcc49 distinfo lost ecj-4.5.jar during last update (to 1.7))
Date: Sat, 8 Aug 2015 14:08:01 +0200

 IMHO this is a pkgsrc infrastructure bug.
 I have gcc-java option turned off locally, but this should not interfere
 with "make distinfo".

 Martin

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50137 CVS commit: pkgsrc/lang/gcc49
Date: Sat, 8 Aug 2015 12:17:33 +0000

 Module Name:	pkgsrc
 Committed By:	martin
 Date:		Sat Aug  8 12:17:33 UTC 2015

 Modified Files:
 	pkgsrc/lang/gcc49: distinfo

 Log Message:
 PR pkg/50137: restore distinfo accidently lost in previous commit


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/gcc49/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/50137 (lang/gcc49 distinfo lost ecj-4.5.jar during last update (to 1.7))
Date: Sat, 08 Aug 2015 20:14:01 +0700

     Date:        Sat,  8 Aug 2015 12:10:06 +0000 (UTC)
     From:        Martin Husemann <martin@duskware.de>
     Message-ID:  <20150808121006.9D67BA6554@mollari.NetBSD.org>

   |  IMHO this is a pkgsrc infrastructure bug.

 I don't disagree .. I have long wanted to be able to manipulate *all*
 distfiles - regardless of arch/os/options/... and "make distinfo" should
 really act that way, everything needs to be included, regardless.

 But I'd like to "make checksum-all" or something and have it test that
 all of the distfiles I have are correct, not just the ones suitable for
 the arch/os/options I happen to be running on.

 Unfortunately, this kind of thing is probably not really easy the way
 that pkgsrc is structured.

 kre

 ps: thanks for the quick fix.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 01 May 2016 04:53:42 +0000
State-Changed-Why:
the immediate issue here is fixed -- if anyone has any bright ideas about
how to effectively keep these problems from recurring, please post on
tech-pkg.


>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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.