Bug 156993 - lang/v8 missing dependency to devel/libexecinfo
Summary: lang/v8 missing dependency to devel/libexecinfo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 04:10 UTC by L Campbell
Modified: 2011-05-13 04:40 UTC (History)
0 users

See Also:


Attachments
file.diff (306 bytes, patch)
2011-05-13 04:10 UTC, L Campbell
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description L Campbell 2011-05-13 04:10:10 UTC
Attempting to compile lang/v8 without devel/libexec info gives the following compile error:

g++ -o obj/release/platform-freebsd.o -c -Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -fno-rtti -fno-exceptions -fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -DV8_TARGET_ARCH_X64 -DV8_FAST_TLS -DENABLE_DEBUGGER_SUPPORT -DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -Isrc -I/usr/local/include -Isrc src/platform-freebsd.cc
src/platform-freebsd.cc:46:56: error: execinfo.h: No such file or directory
src/platform-freebsd.cc: In static member function 'static int v8::internal::OS::StackWalk(v8::internal::Vector<v8::internal::OS::StackFrame>)':
src/platform-freebsd.cc:325: error: 'backtrace' was not declared in this scope
src/platform-freebsd.cc:327: error: 'backtrace_symbols' was not declared in this scope
scons: *** [obj/release/platform-freebsd.o] Error 1
scons: building terminated because of errors.
*** Error code 2

Which indicates a missing dependency on libexecinfo.

Fix: Add devel/libexecinfo as a build dependency:

--- Makefile.orig	2011-05-12 15:48:01.000000000 -0500
+++ Makefile	2011-05-12 15:57:47.000000000 -0500
@@ -22,6 +22,8 @@
 		SNAPSHOT "Enable snapshots" Off \
 		SHARED "Build shared library" Off
 
+BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/devel/libexecinfo
+
 .include <bsd.port.options.mk>
 
 SCONS_ARGS=

Patch attached with submission follows:
How-To-Repeat: # On a clean system
cd /usr/ports/lang/v8 && make BATCH=yes install clean
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-13 04:10:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vanilla

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-05-13 04:32:53 UTC
vanilla     2011-05-13 03:32:44 UTC

  FreeBSD ports repository

  Modified files:
    lang/v8              Makefile 
  Log:
  add missing depends to devel/libexecinfo.
  
  PR:             ports/156993
  Submitted by:   L Campbell <lcampbell at ironclad.mobi>
  
  Revision  Changes    Path
  1.2       +2 -0      ports/lang/v8/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Vanilla I. Shu freebsd_committer freebsd_triage 2011-05-13 04:33:03 UTC
State Changed
From-To: open->closed

Committed, thanks.