pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46959: parallel/mpi-ch does not build on netbsd-current



>Number:         46959
>Category:       pkg
>Synopsis:       parallel/mpi-ch does not build on netbsd-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 15 21:40:01 +0000 2012
>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.



Home | Main Index | Thread Index | Old Index