Date: Mon, 19 Oct 2009 21:23:58 GMT From: "Alexander V. Chernikov" <melifaro@ipfw.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/139776: [patch] net/asterisk16 does not build with devel/libexecinfo installed Message-ID: <200910192123.n9JLNw7t063305@www.freebsd.org> Resent-Message-ID: <200910192130.n9JLU0Rd003227@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139776 >Category: ports >Synopsis: [patch] net/asterisk16 does not build with devel/libexecinfo installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 19 21:30:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexander V. Chernikov >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD ws.ipfw.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Oct 10 13:46:00 MSD 2009 root@ws.ipfw.ru:/var/ports_tmp/usj/obj/usr/src/sys/WS amd64 >Description: gmake[2]: Leaving directory `/usr/ports/net/asterisk16/work/asterisk-1.6.0.15/main/editline' cc -o asterisk -Wl,--export-dynamic abstract_jb.o acl.o adsistub.o aescrypt.o aeskey.o aestab.o alaw.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autoservice.o callerid.o cdr.o channel.o chanvars.o cli.o config.o cryptostub.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o frame.o fskmodem.o global_datastores.o hashtab.o http.o image.o indications.o io.o jitterbuf.o loader.o logger.o manager.o md5.o netsock.o pbx.o plc.o poll.o privacy.o rtp.o say.o sched.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o tcptls.o tdd.o term.o threadstorage.o translate.o udptl.o ulaw.o utils.o version.o editline/libedit.a buildinfo.o -lssl -lcrypto -lexecinfo -ltermcap -lm -pthread -lcrypto /usr/bin/ld: cannot find -lexecinfo gmake[1]: *** [asterisk] Error 1 gmake[1]: Leaving directory `/usr/ports/net/asterisk16/work/asterisk-1.6.0.15/main' gmake: *** [main] Error 2 *** Error code 1 Stop in /usr/ports/net/asterisk16. *** Error code 1 >How-To-Repeat: make -C /usr/ports/devel/libexecinfo clean install clean ; make -C /usr/ports/net/asterisk16 clean install >Fix: Apply an attached patch Patch attached with submission follows: --- Makefile.orig 2009-10-20 00:57:44.000000000 +0400 +++ Makefile 2009-10-20 01:22:04.000000000 +0400 @@ -53,6 +53,7 @@ GSM "Enable GSM codec" on \ CURL "Enable CURL support" on \ ILBC "Enable iLBC codec" off \ + BACKTRACE "Enable backtrace support" off # CODEC_PATCH "Apply codec negotiation patch" off \ # MISC_PATCHES "Apply additional patches" off @@ -75,6 +76,13 @@ h323_r.1:${PORTSDIR}/net/openh323 .endif +.if defined(WITH_BACKTRACE) +CONFIGURE_ARGS+= --with-execinfo=${LOCALBASE} +LIB_DEPENDS+= execinfo.1:${PORTSDIR}/devel/libexecinfo +.else +CONFIGURE_ARGS+= --without-execinfo +.endif + .if !defined(WITH_ZAPTEL) PLIST_SUB+= WITH_ZAPTEL="@comment " CONFIGURE_ARGS+= --without-zaptel >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910192123.n9JLNw7t063305>