NetBSD Problem Report #49909

From www@NetBSD.org  Sun May 17 12:48:06 2015
Return-Path: <www@NetBSD.org>
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" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D54A8A65F0
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 17 May 2015 12:48:05 +0000 (UTC)
Message-Id: <20150517124804.97B86A660F@mollari.NetBSD.org>
Date: Sun, 17 May 2015 12:48:04 +0000 (UTC)
From: bsiegert@NetBSD.org
Reply-To: bsiegert@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: Build failure for devel/gcloud-golang-metadata on NetBSD
X-Send-Pr-Version: www-1.0

>Number:         49909
>Category:       pkg
>Synopsis:       Build failure for devel/gcloud-golang-metadata on NetBSD
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bsiegert
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 17 12:50:00 +0000 2015
>Closed-Date:    Sat Jul 25 14:26:15 +0000 2015
>Last-Modified:  Sun Dec 27 14:45:01 +0000 2015
>Originator:     Benny Siegert
>Release:        NetBSD 7.99.9/x86_64
>Organization:
The NetBSD Foundation
>Environment:
>Description:
See also http://bulktracker.appspot.com/pkg/ag1zfmJ1bGt0cmFja2VyciILEgVidWlsZBiAgICA8NSfCQwLEgNwa2cYgICAgIC5uQkM

=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for gcloud-golang-metadata-20150310
env GOPATH=/scratch/net/gcloud-golang-metadata/work:/usr/pkg/gopkg go install -v google.golang.org/cloud/compute/metadata
can't load package: package google.golang.org/cloud/compute/metadata: cannot find package "google.golang.org/cloud/compute/metadata" in any of:
	/usr/pkg/go/src/google.golang.org/cloud/compute/metadata (from $GOROOT)
	/scratch/net/gcloud-golang-metadata/work/src/google.golang.org/cloud/compute/metadata (from $GOPATH)
	/usr/pkg/gopkg/src/google.golang.org/cloud/compute/metadata
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/net/gcloud-golang-metadata
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/gcloud-golang-metadata
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 17 May 2015 12:52:53 +0000
Responsible-Changed-Why:
My own package.


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49909 CVS commit: pkgsrc/net/gcloud-golang-metadata
Date: Sat, 25 Jul 2015 14:23:58 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sat Jul 25 14:23:58 UTC 2015

 Modified Files:
 	pkgsrc/net/gcloud-golang-metadata: Makefile

 Log Message:
 Fix build on NetBSD, PR pkg/49909.

 It turns out that [^a]* matches all files not beginning with a on Darwin
 and all files beginning with a on NetBSD. Work around this by crafting
 a for loop with a case expression.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/gcloud-golang-metadata/Makefile

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

State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 25 Jul 2015 14:26:15 +0000
State-Changed-Why:
Fixed.


From: "Matthias Scheler" <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49909 CVS commit: [pkgsrc-2015Q2] pkgsrc/net/gcloud-golang-metadata
Date: Sun, 26 Jul 2015 19:53:23 +0000

 Module Name:	pkgsrc
 Committed By:	tron
 Date:		Sun Jul 26 19:53:23 UTC 2015

 Modified Files:
 	pkgsrc/net/gcloud-golang-metadata [pkgsrc-2015Q2]: Makefile

 Log Message:
 Pullup ticket #4781 - requested by bsiegert
 net/gcloud-golang-metadata: build fix

 Revisions pulled up:
 - net/gcloud-golang-metadata/Makefile                           1.2

 ---
    Module Name:    pkgsrc
    Committed By:   bsiegert
    Date:           Sat Jul 25 14:23:58 UTC 2015

    Modified Files:
            pkgsrc/net/gcloud-golang-metadata: Makefile

    Log Message:
    Fix build on NetBSD, PR pkg/49909.

    It turns out that [^a]* matches all files not beginning with a on Darwin
    and all files beginning with a on NetBSD. Work around this by crafting
    a for loop with a case expression.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.1.2.1 pkgsrc/net/gcloud-golang-metadata/Makefile

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

From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49909 CVS commit: pkgsrc/net/gcloud-golang-metadata
Date: Sun, 27 Dec 2015 14:43:39 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sun Dec 27 14:43:39 UTC 2015

 Modified Files:
 	pkgsrc/net/gcloud-golang-metadata: Makefile

 Log Message:
 Repair the broken shellcode from the fix for PR pkg/49909.
 What was I thinking?

 ok wiz@


 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/gcloud-golang-metadata/Makefile

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

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