Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2014 02:27:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192958] New: building devel/doxygen fails with HTMLDOCS enabled
Message-ID:  <bug-192958-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192958

            Bug ID: 192958
           Summary: building devel/doxygen fails with HTMLDOCS enabled
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: Normal
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: turutani@scphys.kyoto-u.ac.jp

building devel/doxygen with HTMLDOCS and/or PDFDOCS fails.

How-To-Repeat:
% make
    ===>  License GPLv2 accepted by the user
    ===>  Found saved configuration for doxygen-1.8.7_1,1
    ===>   doxygen-1.8.7_1,1 depends on file: /usr/local/sbin/pkg - found
    ===> Fetching all distfiles required by doxygen-1.8.7_1,1 for building
    ===>  Extracting for doxygen-1.8.7_1,1
    => SHA256 Checksum OK for doxygen-1.8.7.src.tar.gz.
    ===>  Patching for doxygen-1.8.7_1,1
    ===>  Applying FreeBSD patches for doxygen-1.8.7_1,1
    ===>   doxygen-1.8.7_1,1 depends on executable: tmake - found
    ===>   doxygen-1.8.7_1,1 depends on file: /usr/local/bin/flex - found
    ===>   doxygen-1.8.7_1,1 depends on executable: dot - found
    ===>   doxygen-1.8.7_1,1 depends on file:
/usr/local/share/texmf-dist/README - found
    ===>   doxygen-1.8.7_1,1 depends on file:
/usr/local/share/texmf-var/web2c/tex/tex.fmt - found
    ===>   doxygen-1.8.7_1,1 depends on executable: aleph - found
    ===>   doxygen-1.8.7_1,1 depends on executable: dvipdfmx - found
    ===>   doxygen-1.8.7_1,1 depends on executable: dvips - found
    ===>   doxygen-1.8.7_1,1 depends on executable: jadetex - found
    ===>   doxygen-1.8.7_1,1 depends on executable: luatex - found
    ===>   doxygen-1.8.7_1,1 depends on executable: ptex - found
    ===>   doxygen-1.8.7_1,1 depends on package: texlive-infra>=0 - found
    ===>   doxygen-1.8.7_1,1 depends on executable: tlmgr - found
    ===>   doxygen-1.8.7_1,1 depends on executable: weave - found
    ===>   doxygen-1.8.7_1,1 depends on executable: xdvi - found
    ===>   doxygen-1.8.7_1,1 depends on executable: xetex - found
    ===>   doxygen-1.8.7_1,1 depends on executable: xmltex - found
    ===>   doxygen-1.8.7_1,1 depends on executable: bison - found
    ===>   doxygen-1.8.7_1,1 depends on executable: gmake - found
    ===>   doxygen-1.8.7_1,1 depends on file: /usr/local/bin/python2.7 - found
    ===>   doxygen-1.8.7_1,1 depends on executable: python2 - found
    ===>   doxygen-1.8.7_1,1 depends on file: /usr/local/bin/perl5.16.3 - found
    ===>   doxygen-1.8.7_1,1 depends on executable: gs - found
    ===>   doxygen-1.8.7_1,1 depends on shared library: libpng15.so - found
(/usr/local/lib/libpng15.so.15) - found (/usr/local/lib/libpng15.so.15)
    ===>   doxygen-1.8.7_1,1 depends on shared library: libkpathsea.so - found
(/usr/local/lib/libkpathsea.so.6.2.0) - found
(/usr/local/lib/libkpathsea.so.6.2.0)
    ===>   doxygen-1.8.7_1,1 depends on shared library: libptexenc.so - found
(/usr/local/lib/libptexenc.so.1.3.2) - found
(/usr/local/lib/libptexenc.so.1.3.2)
    ===>   doxygen-1.8.7_1,1 depends on shared library: libiconv.so.3 - found
(/usr/local/lib/libiconv.so.3) - found (/usr/local/lib/libiconv.so.3)
    ===>  Configuring for doxygen-1.8.7_1,1
      Autodetected platform freebsd-g++...
      Checking for GNU make tool... using gmake
      Checking for GNU install tool... using install
      Checking for dot (part of GraphViz)... using /usr/local/bin/dot
      Checking for python... using /usr/local/bin/python2
      Checking for perl... using /usr/local/bin/perl
      Checking for flex... using /usr/local/bin/flex
      Checking for bison... using /usr/local/bin/bison
      Generating generated_src/doxygen/version.cpp and VERSION...
      Created doxygen.spec file, for rpm generation.
      Created Makefile from Makefile.in...
      Created qtools/Makefile from qtools/Makefile.in...
      Created src/Makefile from src/Makefile.in...
      Created examples/Makefile from examples/Makefile.in...
      Created doc/Makefile from doc/Makefile.in...
      Created addon/doxywizard/Makefile from addon/doxywizard/Makefile.in...
      Created addon/doxmlparser/src/Makefile from
addon/doxmlparser/src/Makefile.in...
      Created addon/doxmlparser/test/Makefile from
addon/doxmlparser/test/Makefile.in...
      Created addon/doxmlparser/examples/metrics/Makefile from
addon/doxmlparser/examples/metrics/Makefile.in...
      Created addon/doxyapp/Makefile from addon/doxyapp/Makefile.in...
      Created addon/doxysearch/Makefile from addon/doxysearch/Makefile.in...
      Created qtools/qtools.pro from qtools/qtools.pro.in...
      Created src/libdoxygen.pro from src/libdoxygen.pro.in...
      Created src/libdoxycfg.pro from src/libdoxycfg.pro.in...
      Created src/doxygen.pro from src/doxygen.pro.in...
      Created addon/doxywizard/doxywizard.pro from
addon/doxywizard/doxywizard.pro.in...
      Created addon/doxmlparser/src/doxmlparser.pro from
addon/doxmlparser/src/doxmlparser.pro.in...
      Created addon/doxmlparser/test/xmlparse.pro from
addon/doxmlparser/test/xmlparse.pro.in...
      Created addon/doxmlparser/examples/metrics/metrics.pro from
addon/doxmlparser/examples/metrics/metrics.pro.in...
      Created addon/doxyapp/doxyapp.pro from addon/doxyapp/doxyapp.pro.in...
      Created addon/doxysearch/doxysearch.pro from
addon/doxysearch/doxysearch.pro.in...
      Created addon/doxysearch/doxyindexer.pro from
addon/doxysearch/doxyindexer.pro.in...
      Generating generated_src/doxygen/lang_cfg.h...
      Generating generated_src/doxygen/settings.h...
      Finished
    ===>  Building for doxygen-1.8.7_1,1
    gmake -C examples
    gmake[1]: Entering directory
`/usr/ports/devel/doxygen/work/doxygen-1.8.7/examples'
    "/usr/ports/devel/doxygen/work/doxygen-1.8.7/bin/doxygen" class.cfg
    "/usr/ports/devel/doxygen/work/doxygen-1.8.7/bin/doxygen" define.cfg
    /usr/ports/devel/doxygen/work/doxygen-1.8.7/bin/doxygen: not found
    gmake[1]: *** [class/html/index.html] Error 127
    gmake[1]: *** Waiting for unfinished
jobs..../usr/ports/devel/doxygen/work/doxygen-1.8.7/bin/doxygen: not found

    gmake[1]: *** [define/html/index.html] Error 127
    gmake[1]: Leaving directory
`/usr/ports/devel/doxygen/work/doxygen-1.8.7/examples'
    gmake: *** [docs] Error 2
    ===> Compilation failed unexpectedly.
    Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
    the maintainer.
    *** Error code 1

    Stop in /usr/ports/devel/doxygen.
    *** Error code 1

    Stop in /usr/ports/devel/doxygen.

Fix:
here is a patch.


--- Makefile.orig    2014-08-23 02:10:20.000000000 +0900
+++ Makefile    2014-08-24 11:17:53.000000000 +0900
@@ -26,6 +26,7 @@
 CONFIGURE_ARGS=    --prefix ${PREFIX} --perl ${PERL} --make ${MAKE_CMD} \
         --install "${INSTALL}" --flex ${LOCALBASE}/bin/flex
 REINPLACE_ARGS=    -i ''
+MAKE_JOBS_UNSAFE=    yes

 EXTRACT_AFTER_ARGS=    --exclude '*/libmd5' \
             --exclude '*/libpng' \
@@ -51,7 +52,7 @@
 QT4_CONFIGURE_ON=    --with-doxywizard
 QT4_PLIST_FILES=    bin/doxywizard

-HTMLDOCS_ALL_TARGET=    docs
+HTMLDOCS_ALL_TARGET=    all docs
 HTMLDOCS_BUILD_DEPENDS=    dot:${PORTSDIR}/graphics/graphviz

 PDFDOCS_ALL_TARGET=    pdf

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192958-13>