[MacPorts] #18748: doxygen build phase conflicts with libwww (was: new doxygen port fails to link)

MacPorts noreply at macports.org
Sat Apr 11 08:30:21 PDT 2009


#18748: doxygen build phase conflicts with libwww
--------------------------------+-------------------------------------------
 Reporter:  brett@…             |       Owner:  css@…           
     Type:  defect              |      Status:  assigned        
 Priority:  Normal              |   Milestone:  Port Bugs       
Component:  ports               |     Version:  1.7.0           
 Keywords:                      |        Port:  doxygen         
--------------------------------+-------------------------------------------
Description changed by css@…:

Old description:

> {{{
> udo port install doxygen
> --->  Fetching doxygen
> --->  Attempting to fetch doxygen-1.5.8.src.tar.gz from
> http://distfiles.macports.org/doxygen
> --->  Verifying checksum(s) for doxygen
> --->  Extracting doxygen
> --->  Configuring doxygen
> --->  Building doxygen
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8"
> && make all " returned error 2
> Command output: ar cq ../lib/libdoxygen.a ../objects/ce_lex.o
> ../objects/ce_parse.o ../objects/classdef.o ../objects/classlist.o
> ../objects/cmdmapper.o ../objects/code.o ../objects/commentcnv.o
> ../objects/commentscan.o ../objects/cppvalue.o ../objects/debug.o
> ../objects/defgen.o ../objects/declinfo.o ../objects/defargs.o
> ../objects/define.o ../objects/definition.o ../objects/diagram.o
> ../objects/dirdef.o ../objects/docparser.o ../objects/docsets.o
> ../objects/doctokenizer.o ../objects/dot.o ../objects/doxygen.o
> ../objects/entry.o ../objects/filedef.o ../objects/filename.o
> ../objects/formula.o ../objects/ftvhelp.o ../objects/fortrancode.o
> ../objects/fortranscanner.o ../objects/groupdef.o ../objects/htags.o
> ../objects/htmldocvisitor.o ../objects/htmlgen.o ../objects/htmlhelp.o
> ../objects/indexlog.o ../objects/image.o ../objects/index.o
> ../objects/instdox.o ../objects/language.o ../objects/latexdocvisitor.o
> ../objects/latexgen.o ../objects/layout.o ../objects/logos.o
> ../objects/mandocvisitor.o ../objects/mangen.o ../objects/marshal.o
> ../objects/memberdef.o ../objects/membergroup.o ../objects/memberlist.o
> ../objects/membername.o ../objects/message.o ../objects/msc.o
> ../objects/namespacedef.o ../objects/objcache.o ../objects/outputgen.o
> ../objects/outputlist.o ../objects/pagedef.o ../objects/perlmodgen.o
> ../objects/pngenc.o ../objects/pre.o ../objects/pycode.o
> ../objects/pyscanner.o ../objects/qhp.o ../objects/qhpxmlwriter.o
> ../objects/reflist.o ../objects/rtfdocvisitor.o ../objects/rtfgen.o
> ../objects/rtfstyle.o ../objects/scanner.o ../objects/searchindex.o
> ../objects/store.o ../objects/tagreader.o ../objects/textdocvisitor.o
> ../objects/translator.o ../objects/util.o ../objects/version.o
> ../objects/vhdlcode.o ../objects/vhdldocgen.o ../objects/vhdlscanner.o
> ../objects/xmldocvisitor.o ../objects/xmlgen.o
> ranlib ../lib/libdoxygen.a
> gmake[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/src'
> /opt/local/bin/gmake -f Makefile.doxygen    PERL=/opt/local/bin/perl all
> gmake[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/src'
> /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -Wall -W
> -O2 -I../qtools -I../libpng -I../libmd5 -I. -o ../objects/main.o main.cpp
> /usr/bin/g++-4.0 -L/opt/local/lib -Wl,-search_paths_first -o
> ../bin/doxygen ../objects/main.o  -L../lib -ldoxygen -ldoxycfg -lqtools
> -lpng -lmd5 -liconv
> Undefined symbols:
>   "_MD5SigToString", referenced from:
>       MemberDef::setAnchor(char const*)in libdoxygen.a(memberdef.o)
>       convertNameToFile(char const*, bool)in libdoxygen.a(util.o)
>       Definition::_docsAlreadyAdded(QString const&)  in
> libdoxygen.a(definition.o)
>       DirDef::getOutputFileBase() const in libdoxygen.a(dirdef.o)
>       computeMd5Signature(DotNode*, DotNode::GraphType,
> GraphOutputFormat, bool, bool, bool, QCString&)in libdoxygen.a(dot.o)
>       DotGfxHierarchyTable::writeGraph(QTextStream&, char const*) constin
> libdoxygen.a(dot.o)
>   "_MD5Buffer", referenced from:
>       MemberDef::setAnchor(char const*)in libdoxygen.a(memberdef.o)
>       convertNameToFile(char const*, bool)in libdoxygen.a(util.o)
>       convertNameToFile(char const*, bool)in libdoxygen.a(util.o)
>       Definition::_docsAlreadyAdded(QString const&)  in
> libdoxygen.a(definition.o)
>       DirDef::getOutputFileBase() const in libdoxygen.a(dirdef.o)
>       computeMd5Signature(DotNode*, DotNode::GraphType,
> GraphOutputFormat, bool, bool, bool, QCString&)in libdoxygen.a(dot.o)
>       DotGfxHierarchyTable::writeGraph(QTextStream&, char const*) constin
> libdoxygen.a(dot.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> gmake[2]: *** [../bin/doxygen] Error 1
> gmake[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/src'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/src'
> make: *** [all] Error 2
>
> Error: Status 1 encountered during processing.
> }}}

New description:

 {{{
 udo port install doxygen
 --->  Fetching doxygen
 --->  Attempting to fetch doxygen-1.5.8.src.tar.gz from
 http://distfiles.macports.org/doxygen
 --->  Verifying checksum(s) for doxygen
 --->  Extracting doxygen
 --->  Configuring doxygen
 --->  Building doxygen
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8"
 && make all " returned error 2
 Command output: ar cq ../lib/libdoxygen.a ../objects/ce_lex.o
 ../objects/ce_parse.o ../objects/classdef.o ../objects/classlist.o
 ../objects/cmdmapper.o ../objects/code.o ../objects/commentcnv.o
 ../objects/commentscan.o ../objects/cppvalue.o ../objects/debug.o
 ../objects/defgen.o ../objects/declinfo.o ../objects/defargs.o
 ../objects/define.o ../objects/definition.o ../objects/diagram.o
 ../objects/dirdef.o ../objects/docparser.o ../objects/docsets.o
 ../objects/doctokenizer.o ../objects/dot.o ../objects/doxygen.o
 ../objects/entry.o ../objects/filedef.o ../objects/filename.o
 ../objects/formula.o ../objects/ftvhelp.o ../objects/fortrancode.o
 ../objects/fortranscanner.o ../objects/groupdef.o ../objects/htags.o
 ../objects/htmldocvisitor.o ../objects/htmlgen.o ../objects/htmlhelp.o
 ../objects/indexlog.o ../objects/image.o ../objects/index.o
 ../objects/instdox.o ../objects/language.o ../objects/latexdocvisitor.o
 ../objects/latexgen.o ../objects/layout.o ../objects/logos.o
 ../objects/mandocvisitor.o ../objects/mangen.o ../objects/marshal.o
 ../objects/memberdef.o ../objects/membergroup.o ../objects/memberlist.o
 ../objects/membername.o ../objects/message.o ../objects/msc.o
 ../objects/namespacedef.o ../objects/objcache.o ../objects/outputgen.o
 ../objects/outputlist.o ../objects/pagedef.o ../objects/perlmodgen.o
 ../objects/pngenc.o ../objects/pre.o ../objects/pycode.o
 ../objects/pyscanner.o ../objects/qhp.o ../objects/qhpxmlwriter.o
 ../objects/reflist.o ../objects/rtfdocvisitor.o ../objects/rtfgen.o
 ../objects/rtfstyle.o ../objects/scanner.o ../objects/searchindex.o
 ../objects/store.o ../objects/tagreader.o ../objects/textdocvisitor.o
 ../objects/translator.o ../objects/util.o ../objects/version.o
 ../objects/vhdlcode.o ../objects/vhdldocgen.o ../objects/vhdlscanner.o
 ../objects/xmldocvisitor.o ../objects/xmlgen.o
 ranlib ../lib/libdoxygen.a
 gmake[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/src'
 /opt/local/bin/gmake -f Makefile.doxygen    PERL=/opt/local/bin/perl all
 gmake[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/src'
 /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -Wall -W
 -O2 -I../qtools -I../libpng -I../libmd5 -I. -o ../objects/main.o main.cpp
 /usr/bin/g++-4.0 -L/opt/local/lib -Wl,-search_paths_first -o
 ../bin/doxygen ../objects/main.o  -L../lib -ldoxygen -ldoxycfg -lqtools
 -lpng -lmd5 -liconv
 Undefined symbols:
   "_MD5SigToString", referenced from:
       MemberDef::setAnchor(char const*)in libdoxygen.a(memberdef.o)
       convertNameToFile(char const*, bool)in libdoxygen.a(util.o)
       Definition::_docsAlreadyAdded(QString const&)  in
 libdoxygen.a(definition.o)
       DirDef::getOutputFileBase() const in libdoxygen.a(dirdef.o)
       computeMd5Signature(DotNode*, DotNode::GraphType, GraphOutputFormat,
 bool, bool, bool, QCString&)in libdoxygen.a(dot.o)
       DotGfxHierarchyTable::writeGraph(QTextStream&, char const*) constin
 libdoxygen.a(dot.o)
   "_MD5Buffer", referenced from:
       MemberDef::setAnchor(char const*)in libdoxygen.a(memberdef.o)
       convertNameToFile(char const*, bool)in libdoxygen.a(util.o)
       convertNameToFile(char const*, bool)in libdoxygen.a(util.o)
       Definition::_docsAlreadyAdded(QString const&)  in
 libdoxygen.a(definition.o)
       DirDef::getOutputFileBase() const in libdoxygen.a(dirdef.o)
       computeMd5Signature(DotNode*, DotNode::GraphType, GraphOutputFormat,
 bool, bool, bool, QCString&)in libdoxygen.a(dot.o)
       DotGfxHierarchyTable::writeGraph(QTextStream&, char const*) constin
 libdoxygen.a(dot.o)
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 gmake[2]: *** [../bin/doxygen] Error 1
 gmake[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/src'
 gmake[1]: *** [all] Error 2
 gmake[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/src'
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 }}}

 The above error results from the presence of libwww. A pre-build hook
 should present an error indicating the user should deactivate the libwww
 port prior to building and installing doxygen. It's fine to activate
 libwww after building and installing the doxygen port.

--

-- 
Ticket URL: <http://trac.macports.org/ticket/18748#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list