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

Building parallel/mpi-ch results in:

mpe2tmp.o: In function `dummy_subroutine':
check_callstack.c:(.text+0x11): undefined reference to `backtrace'
 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.


as above


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