NetBSD Problem Report #46959

From dholland@netbsd.org  Sat Sep 15 21:36:42 2012
Return-Path: <dholland@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id AC3E163BA3B
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 15 Sep 2012 21:36:42 +0000 (UTC)
Message-Id: <20120915213642.98AAF14A141@mail.netbsd.org>
Date: Sat, 15 Sep 2012 21:36:42 +0000 (UTC)
From: dholland@netbsd.org
Reply-To: dholland@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: parallel/mpi-ch does not build on netbsd-current
X-Send-Pr-Version: 3.95

>Number:         46959
>Category:       pkg
>Synopsis:       parallel/mpi-ch does not build on netbsd-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    asau
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 15 21:40:01 +0000 2012
>Closed-Date:    Sun Mar 24 21:20:47 +0000 2013
>Last-Modified:  Sun Mar 24 21:20:47 +0000 2013
>Originator:     David A. Holland
>Release:        NetBSD 6.99.11 (20120906)
>Organization:
>Environment:
System: NetBSD macaran 6.99.11 NetBSD 6.99.11 (MACARAN) #13: Thu Sep  6 20:22:11 EDT 2012  root@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
>Description:

Building parallel/mpi-ch results in:

mpe2tmp.o: In function `dummy_subroutine':
check_callstack.c:(.text+0x11): undefined reference to `backtrace'
/home/pkgbulk/c/obj/parallel/mpi-ch/work/mpich2-1.4.1p1/src/mpe2/lib/libmpe_nompi.a(iterator.no): In function `MPE_CallStack_iteratorInit':
iterator.c:(.text+0x34): undefined reference to `backtrace_symbols_fd'
*** Error code 1

This is because it finds <execinfo.h> but doesn't notice or check that
you need -lexecinfo to use it.

I fixed the makefile so it no longer keeps going after the failure.

>How-To-Repeat:

as above

>Fix:

In src/mpe2/src/callstack, and also src/mpe2/src/logging, add autoconf
glop to check for -lexecinfo, and hack the makefiles to use it.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->asau
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sun, 16 Sep 2012 00:34:11 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 24 Mar 2013 21:20:47 +0000
State-Changed-Why:
fixed by joerg on 20130226


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