Bug 71637 - devel/motor - build failure while compiling motordebugger.cc
Summary: devel/motor - build failure while compiling motordebugger.cc
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: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-12 06:20 UTC by freebsd
Modified: 2004-10-12 11:51 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2004-09-12 06:20:20 UTC
Build of devel/motor fails...

  c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kkstrtext -I../../kkconsui/include     -I../../kksystr/include -I../../intl     -I../../src/ui/ncurses -I../../src/debugger     -I../../src/executor -I../../src/project     -I../../src -I../../parser/include     -I../../src/ui -I../../src/configuration     -I../../src/tagbrowser  -I/misc/local/include  -O -pipe -g -march=pentiumpro -fmemoize-lookups -fsave-memoized -c watch.cc
  c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kkstrtext -I../../kkconsui/include     -I../../kksystr/include -I../../intl     -I../../src/ui/ncurses -I../../src/debugger     -I../../src/executor -I../../src/project     -I../../src -I../../parser/include     -I../../src/ui -I../../src/configuration     -I../../src/tagbrowser  -I/misc/local/include  -O -pipe -g -march=pentiumpro -fmemoize-lookups -fsave-memoized -c motordebugger.cc
  motordebugger.cc: In method `bool motor::motordebugger::getfreeterm()':
  motordebugger.cc:84: `auto_ptr' undeclared (first use this function)
  motordebugger.cc:84: (Each undeclared identifier is reported only once
  motordebugger.cc:84: for each function it appears in.)
  motordebugger.cc:84: syntax error before `>'
  motordebugger.cc:85: `rlbuf' undeclared (first use this function)
  gmake[3]: *** [motordebugger.o] Error 1
  gmake[3]: Leaving directory `/work/ports/misc/ports/devel/motor/work/motor-3.3.0/src/debugger'
  gmake[2]: *** [all-recursive] Error 1
  gmake[2]: Leaving directory `/work/ports/misc/ports/devel/motor/work/motor-3.3.0/src'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory `/work/ports/misc/ports/devel/motor/work/motor-3.3.0'
  gmake: *** [all-recursive-am] Error 2
  *** Error code 2

How-To-Repeat: 
  cd $PORTSDIR/devel/motor && make build
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-09-12 21:34:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer.
Comment 2 frans 2004-09-28 22:35:08 UTC
auto_ptr<> is declared in the C++ stl header 'memory'. Adding

#include <memory>

to motor-3.3.0/src/debugger/motordebugger.cc - after the failure occurs
and the sources are unpacked - allows the compilation to proceed, and
finish.


(FreeBSD 4.10-STABLE #3)
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2004-10-12 11:51:30 UTC
State Changed
From-To: open->closed

Patch committed, thanks!