NetBSD Problem Report #50935

From www@NetBSD.org  Thu Mar 10 19:45:07 2016
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 0E82C7A13C
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 10 Mar 2016 19:45:07 +0000 (UTC)
Message-Id: <20160310194505.63BD07ACC0@mollari.NetBSD.org>
Date: Thu, 10 Mar 2016 19:45:05 +0000 (UTC)
From: bruce.lilly@gmail.com
Reply-To: bruce.lilly@gmail.com
To: gnats-bugs@NetBSD.org
Subject: pkgsrc math/dieharder fails to build
X-Send-Pr-Version: www-1.0

>Number:         50935
>Category:       pkg
>Synopsis:       pkgsrc math/dieharder fails to build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 10 19:50:00 +0000 2016
>Closed-Date:    Tue Aug 16 20:22:53 +0000 2016
>Last-Modified:  Tue Aug 16 20:22:53 +0000 2016
>Originator:     Bruce Lilly
>Release:        pkgsrc math/dieharder (v. 3.31.1nb1)
>Organization:
>Environment:
7.0_STABLE NetBSD 7.0_STABLE amd64 x86_64 Intel 686-class NetBSD
>Description:
package build fails.
possibly due to malformed patches:

[...]
===> Patching for dieharder-3.31.1
=> Applying pkgsrc patches for dieharder-3.31.1
**************************************
Ignoring patch file /usr/pkgsrc/math/dieharder/patches/patch-aa: no checksum found
**************************************
**************************************
Ignoring patch file /usr/pkgsrc/math/dieharder/patches/patch-ac: no checksum found
**************************************
**************************************
Ignoring patch file /usr/pkgsrc/math/dieharder/patches/patch-ad: no checksum found
**************************************
[...]
dieharder-add_ui_rngs.o:(.data+0x1a8): undefined reference to `rgb_operm'
dieharder-add_ui_tests.o:(.data+0x1a8): undefined reference to `rgb_operm'
dieharder-choose_rng.o:(.data+0x1a8): undefined reference to `rgb_operm'
dieharder-dieharder.o:(.data+0x1a8): undefined reference to `rgb_operm'
dieharder-dieharder_exit.o:(.data+0x1a8): undefined reference to `rgb_operm'
dieharder-help.o:(.data+0x1a8): more undefined references to `rgb_operm' follow
collect2: ld returned 1 exit status
Makefile:379: recipe for target 'dieharder' failed
make[1]: *** [dieharder] Error 1
make[1]: Leaving directory '/usr/pkgsrc/math/dieharder/work/dieharder-3.31.1/dieharder'
Makefile:855: recipe for target 'dieharder.time' failed
gmake: *** [dieharder.time] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /usr/pkgsrc/math/dieharder
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/math/dieharder
>How-To-Repeat:
cd /usr/pkgsrc && cvs update -dP
cd math/dieharder && bmake clean && bmake 2>&1 | tee bmakelog
>Fix:

>Release-Note:

>Audit-Trail:
From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org,
 gnats-admin@netbsd.org,
 pkgsrc-bugs@netbsd.org
Subject: Re: pkg/50935: pkgsrc math/dieharder fails to build
Date: Sat, 12 Mar 2016 18:09:03 +0100

 > **************************************
 > Ignoring patch file /usr/pkgsrc/math/dieharder/patches/patch-aa: no =
 checksum found
 > **************************************
 > **************************************
 > Ignoring patch file /usr/pkgsrc/math/dieharder/patches/patch-ac: no =
 checksum found
 > **************************************
 > **************************************
 > Ignoring patch file /usr/pkgsrc/math/dieharder/patches/patch-ad: no =
 checksum found
 > **************************************

 These patches are no longer part of the package; they were removed as =
 part of the update to 3.31.1. You should delete the files (or do a =
 =E2=80=9Ecvs up=E2=80=9C, which should remove them).

 =E2=80=94Benny.

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 16 Aug 2016 19:32:46 +0000
State-Changed-Why:
Probably only a stale pkgsrc tree. package otherwise builds fine.
changing state so that we will close this PR in a few months if you
don't mention other issues.


From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/50935 (pkgsrc math/dieharder fails to build)
Date: Tue, 16 Aug 2016 19:34:38 +0000

 I can build this just fine on NetBSD-current now.
 Let me know if you still have issues, otherwise, we'll close it on
 feedback timeout.
 It seemed like a stale tree anyway.

From: Bruce Lilly <bruce.lilly@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/50935 (pkgsrc math/dieharder fails to build)
Date: Tue, 16 Aug 2016 16:15:26 -0400

 Builds OK now, Tpkgsrc-2016Q1 on NetBSD 7.0 amd64 using gcc 4.8.4 (nb2
 20150115) and with gcc 5.3.0.

State-Changed-From-To: feedback->closed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Tue, 16 Aug 2016 20:22:53 +0000
State-Changed-Why:
Confirmed fixed (probably it was due a stale WRKDIR).

Thank you Bruce for the PR and the feedback!


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