Bug 1288

Summary: doxygen fails to build on Ubuntu 11.10
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: documentationAssignee: Tom Henderson <tomh>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: Linux   

Description Tommaso Pecorella 2011-11-07 20:26:34 UTC
"fresh" ns-3-dev, if I do the doxygen, I get the following.

pecos@pecos-VirtualBox:~/workspace/ns-3-dev$ ./waf doxygen
Waf: Entering directory `/home/pecos/workspace/ns-3-dev/build'
Waf: Leaving directory `/home/pecos/workspace/ns-3-dev/build'
assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::TcpSocketFactory not found", file=../src/core/model/type-id.cc, line=388

Plus the two files "doc/introspected-doxygen.h" and "doc/ns3-object.txt" are respectively empty and missing.
hence, I guess it's the print-introspected-doxygen program failing miserably. Dunno why tho, as on MacOSX all works flawlessly.

Tommaso
Comment 1 Tom Henderson 2011-11-07 22:33:51 UTC
(In reply to comment #0)
> "fresh" ns-3-dev, if I do the doxygen, I get the following.
> 
> pecos@pecos-VirtualBox:~/workspace/ns-3-dev$ ./waf doxygen
> Waf: Entering directory `/home/pecos/workspace/ns-3-dev/build'
> Waf: Leaving directory `/home/pecos/workspace/ns-3-dev/build'
> assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName:
> ns3::TcpSocketFactory not found", file=../src/core/model/type-id.cc, line=388
> 
> Plus the two files "doc/introspected-doxygen.h" and "doc/ns3-object.txt" are
> respectively empty and missing.
> hence, I guess it's the print-introspected-doxygen program failing miserably.
> Dunno why tho, as on MacOSX all works flawlessly.
> 

Yes, this is a failure in print-introspected-doxygen (I couldn't reproduce on 11.04 but could on 11.10).

No ideas yet.  Perhaps print-introspected-doxygen should be added to our test suite (once fixed).
Comment 2 Tommaso Pecorella 2011-11-17 13:31:24 UTC
It seems that changeset 7593 fixed this (among other things). Should we close it ?

Cheers,

Tommaso
Comment 3 Tom Henderson 2011-11-18 00:34:31 UTC
fixed by patch to bug 1292