Need help to fix port [Was Re: FreeBSD ports that you maintain which are currently marked broken]

George Hartzell hartzell at kestrel.alerce.com
Wed Oct 12 10:04:16 PDT 2005


Fernan Aguero writes:
 > Hi!
 > 
 > I'm the maintainer of biology/treeviewx which has been
 > broken for some time on FreeBSD-5.x.
 > 
 > I'm still using FreeBSD-4.x so I haven't got the means to
 > test/fix the port (this will change in the future but so far
 > I have postponed the migration to 5.x, due to lack of time.
 > Seems like now I should wait for 6.0 :) 
 > 
 > I'm asking for help from someone with access to a FreeBSD 5
 > box to either work with me in diagnosing the problem and
 > fixing it or, just providing me with a log of a build
 > session so I can send it to the original developer. 
 > 
 > As mentioned below, it is quite probable that the issue is
 > minor and due to the use of a newer gcc, but we should test
 > this.
 > 
 > Thanks in advance,
 > 
 > Fernan
 > [...]

I've taken a look at it, and it seems to be a C++/templates thing,
which is out of my comfort zone.

I build on 5.4-STABE from June 9.

Here's the last thing that it said.....  cur, root, and stk are
protected members of the NodeIterator template class defined earlier
in that same file.

Hope this helps.

g.

c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"tv\" -DVERSION=\"0.5\"  -I. -I. -Igport     -O -pipe -Wno-deprecated -I/usr/X11R6/include/wx/gtk2-2.4 -I/usr/X11R6/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DUSE_WXWINDOWS -c -o treedrawer.o `test -f 'treedrawer.cpp' || echo './'`treedrawer.cpp
In file included from treedrawer.h:47,
                 from treedrawer.cpp:27:
nodeiterator.h: In member function `virtual N* PreorderIterator<N>::begin()':
nodeiterator.h:133: error: `cur' undeclared (first use this function)
nodeiterator.h:133: error: (Each undeclared identifier is reported only once for each function it appears in.)
nodeiterator.h:133: error: `root' undeclared (first use this function)
nodeiterator.h: In member function `virtual N* PreorderIterator<N>::next()':
nodeiterator.h:139: error: `cur' undeclared (first use this function)
nodeiterator.h:141: error: `stk' undeclared (first use this function)
treedrawer.cpp: In member function `virtual void PhylogramDrawer::CalcCoordinates()':
treedrawer.cpp:420: error: `fabs' is not a member of `std'
gmake[1]: *** [treedrawer.o] Error 1
gmake[1]: Leaving directory `/usr/ports/biology/treeviewx/work/tv-0.5/TreeLib'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/biology/treeviewx.
(bioperl)[9:50am]treeviewx>>xemacs &
[1] 9275



More information about the freebsd-ports mailing list