[erlang-questions] edoc broken in current master / R16A!

Nico Kruber nico.kruber@REDACTED
Wed Feb 13 15:34:33 CET 2013


I just tested it with your branch and it works and builds all docs 
successfully (including the modules in sub-directories)
(I found another issue while checking but will report it separately)

Thank you
Nico

On Tuesday 12 Feb 2013 18:33:57 Björn Gustavsson wrote:
> I amended the commit so that the filename:join/2 is not called
> if there is no "package" (sub directory):
> 
> https://github.com/bjorng/otp/commit/78b38983172b131ab6d995f95fc27d8bbf4efcb
> 6
> 
> Same branch name:
> 
> git fetch git://github.com/bjorng/otp.git bjorn/remove-packages/OTP-10348
> 
> On Tue, Feb 12, 2013 at 5:17 PM, Björn Gustavsson 
<bgustavsson@REDACTED>wrote:
> > The following patch seems to fix the problem:
> > 
> > git fetch git://github.com/bjorng/otp.git bjorn/remove-packages/OTP-10348
> > 
> > 
> > https://github.com/bjorng/otp/commit/e16a70c146b320e80332768bf471750753591
> > 987
> > 
> > Can you or someone familiar with scalaris verify that doc
> > build now works? (E.g. that *all* documentation is build.)
> > 
> > On Mon, Feb 4, 2013 at 5:34 PM, Nico Kruber <nico.kruber@REDACTED> wrote:
> >> On Wednesday 30 Jan 2013 15:35:41 you wrote:
> >> > On Wednesday 30 Jan 2013 15:34:26 you wrote:
> >> > > we regularly check that Scalaris builds on master and since the
> >> 
> >> checks of
> >> 
> >> > > 11 Jan 2013 6am CET, creating the documentation with edoc fails.
> >> > > We don't use packages, although we do put files into sub-folders -
> >> 
> >> anyway,
> >> 
> >> > > I guess a function_clause should not be returned to the user at any
> >> 
> >> point
> >> 
> >> > > (see below)
> >> > > 
> >> > > svn co http://scalaris.googlecode.com/svn/trunk/ scalaris
> >> > > cd scalaris
> >> > > make doc
> >> > > ------------------------------
> >> > > /home/buildbot/apps/erlang-dev/bin/erl -noshell -run edoc_run
> >> 
> >> application
> >> 
> >> > > "'scalaris'" \
> >> > > 
> >> > >     '"."' '[{def, {vsn, "0.5.0+svn"}}, no_packages, {preprocess,
> >> 
> >> true},
> >> 
> >> > > {includes, ["include", "contrib/yaws/include",
> >> > > "contrib/log4erl/include"]},
> >> > > {sort_functions, false}, {pretty_printer, erl_pp}, {macros,
> >> > > [{tid_not_builtin, true}, {with_export_type_support, true},
> >> > > {have_cthooks_support, true}, {have_callback_support, true}]}]'
> >> > > edoc: edoc terminated abnormally: {function_clause,
> >> > > 
> >> > >                                 [{edoc_lib,find_sources_3,
> >> > >                                 
> >> > >                                      [["random_bias.erl",[...]|...],
> >> > >                                      
> >> > >                                       "./src/rrepair",rrepair|...],
> >> > >                                      
> >> > >                                      [{file,...},{...}]},
> >>  
> >>  {edoc_lib,find_sources_2,5,[{...}|...]},
> >>  
> >>  {edoc_lib,'-find_sources_3/6-lc$^0/1-0-',
> >>  
> >> > >                                  5,
> >> > > 
> >> > > [...]},
> >> > > 
> >> > >                                  {edoc_lib,find_sources_2,5,...},
> >> > >                                  {edoc_lib,find_sources_1,...},
> >> > >                                  {edoc_lib,...},
> >> > >                                  {...}|...]}.
> >> > > 
> >> > > make: *** [.make-doc] Error 1
> >> > > ------------------------------
> >> > 
> >> > maybe this commit is related
> >> 
> >> https://github.com/erlang/otp/commit/beb660aa59a8d9cd7f65b8b91dc5dd9bc740
> >> 15e>> 
> >> > 0
> >> > 
> >> > Nico
> >> 
> >> I just tested with R16A and the problem is the same
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED
> >> http://erlang.org/mailman/listinfo/erlang-questions
> > 
> > --
> > Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list