Discussion:
[MacPorts] #56706: doxygen fails to build
MacPorts
2018-06-20 22:01:10 UTC
Permalink
#56706: doxygen fails to build
--------------------------+---------------------
Reporter: ShadSterling | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Keywords: | Port: doxygen
--------------------------+---------------------
This looks like the relevant part of `main.log`:
{{{
:info:build [ 42%] Building CXX object
src/CMakeFiles/_doxygen.dir/__/generated_src/pre.cpp.o
:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src
&& /usr/bin/clang++ -DYY_BUF_SIZE=262144 -DYY_READ_BUF_SIZE=262144
-I/opt/local/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/qtools
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/libmd5
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/vhdlparser
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/generated_src
-pipe -Os -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.13
-o CMakeFiles/_doxygen.dir/__/generated_src/pre.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/generated_src/pre.cpp
:info:build In file included from pre.l:47:
:info:build /opt/local/include/debug.h:1:1: error: expected unqualified-id
:info:build !
:info:build ^
:info:build pre.l:79:10: error: field has incomplete type 'BufStr'
:info:build BufStr fileBuf;
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/pre.h:21:7:
note: forward declaration of 'BufStr'
:info:build class BufStr;
:info:build ^
:info:build pre.l:1456:62: error: member access into incomplete type
'BufStr'
:info:build if (g_includeStack.isEmpty() || g_curlyCount>0)
g_outputBuf->addChar(c);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/pre.h:21:7:
note: forward declaration of 'BufStr'
:info:build class BufStr;
:info:build ^
:info:build pre.l:1461:62: error: member access into incomplete type
'BufStr'
:info:build if (g_includeStack.isEmpty() || g_curlyCount>0)
g_outputBuf->addArray(a,len);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/pre.h:21:7:
note: forward declaration of 'BufStr'
:info:build class BufStr;
:info:build ^
:info:build pre.l:1545:11: error: use of undeclared identifier 'Debug'
:info:build if (Debug::isFlagSet(Debug::Preprocessor))
:info:build ^
:info:build pre.l:1545:28: error: use of undeclared identifier 'Debug'
:info:build if (Debug::isFlagSet(Debug::Preprocessor))
:info:build ^
:info:build pre.l:1549:11: error: use of undeclared identifier 'Debug'
:info:build Debug::print(Debug::Preprocessor,0," ");
:info:build ^
:info:build pre.l:1549:24: error: use of undeclared identifier 'Debug'
:info:build Debug::print(Debug::Preprocessor,0," ");
:info:build ^
:info:build pre.l:1619:11: error: use of undeclared identifier 'Debug'
:info:build if (Debug::isFlagSet(Debug::Preprocessor))
:info:build ^
:info:build pre.l:1619:28: error: use of undeclared identifier 'Debug'
:info:build if (Debug::isFlagSet(Debug::Preprocessor))
:info:build ^
:info:build pre.l:1623:11: error: use of undeclared identifier 'Debug'
:info:build Debug::print(Debug::Preprocessor,0,"#include %s:
already included! skipping...\n",qPrint(incFileName));
:info:build ^
:info:build pre.l:1623:24: error: use of undeclared identifier 'Debug'
:info:build Debug::print(Debug::Preprocessor,0,"#include %s:
already included! skipping...\n",qPrint(incFileName));
:info:build ^
:info:build pre.l:1627:11: error: use of undeclared identifier 'Debug'
:info:build Debug::print(Debug::Preprocessor,0,"#include %s: not
found! skipping...\n",qPrint(incFileName));
:info:build ^
:info:build pre.l:1627:24: error: use of undeclared identifier 'Debug'
:info:build Debug::print(Debug::Preprocessor,0,"#include %s: not
found! skipping...\n",qPrint(incFileName));
:info:build ^
:info:build pre.l:1717:30: error: member access into incomplete type
'BufStr'
:info:build int bytesInBuf = g_inputBuf->curPos()-g_inputBufPos;
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/pre.h:21:7:
note: forward declaration of 'BufStr'
:info:build class BufStr;
:info:build ^
:info:build pre.l:1719:24: error: member access into incomplete type
'BufStr'
:info:build memcpy(buf,g_inputBuf->data()+g_inputBufPos,bytesToCopy);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/pre.h:21:7:
note: forward declaration of 'BufStr'
:info:build class BufStr;
:info:build ^
:info:build pre.l:3016:24: error: member access into incomplete type
'BufStr'
:info:build uint orgOffset=output.curPos();
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/pre.h:21:7:
note: forward declaration of 'BufStr'
:info:build class BufStr;
:info:build ^
:info:build pre.l:3200:7: error: use of undeclared identifier 'Debug'
:info:build if (Debug::isFlagSet(Debug::Preprocessor))
:info:build ^
:info:build pre.l:3200:24: error: use of undeclared identifier 'Debug'
:info:build if (Debug::isFlagSet(Debug::Preprocessor))
:info:build ^
:info:build fatal error: too many errors emitted, stopping now [-ferror-
limit=]
:info:build 20 errors generated.
:info:build make[2]: ***
[src/CMakeFiles/_doxygen.dir/__/generated_src/pre.cpp.o] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56706>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-06-20 22:01:26 UTC
Permalink
#56706: doxygen fails to build
---------------------------+--------------------
Reporter: ShadSterling | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Resolution: | Keywords:
Port: doxygen |
---------------------------+--------------------
Changes (by ShadSterling):

* Attachment "main.log" added.
--
Ticket URL: <https://trac.macports.org/ticket/56706>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-06-20 23:36:36 UTC
Permalink
#56706: doxygen @1.8.13 fails to build
---------------------------+----------------------
Reporter: ShadSterling | Owner: cssdev
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Resolution: | Keywords:
Port: doxygen |
---------------------------+----------------------
Changes (by jmroot):

* status: new => assigned
* owner: (none) => cssdev
* cc: css@
 (removed)
--
Ticket URL: <https://trac.macports.org/ticket/56706#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-06-20 23:47:15 UTC
Permalink
#56706: doxygen @1.8.13 fails to build
---------------------------+----------------------
Reporter: ShadSterling | Owner: cssdev
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Resolution: | Keywords:
Port: doxygen |
---------------------------+----------------------

Comment (by ryandesign):

What port installed the file /opt/local/include/debug.h? (`port provides
/opt/local/include/debug.h`)
--
Ticket URL: <https://trac.macports.org/ticket/56706#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-06-21 00:05:11 UTC
Permalink
#56706: doxygen @1.8.13 fails to build
---------------------------+----------------------
Reporter: ShadSterling | Owner: cssdev
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Resolution: | Keywords:
Port: doxygen |
---------------------------+----------------------

Comment (by ShadSterling):

{{{
/opt/local/include/debug.h is provided by: arpack
}}}

`arpack @3.6.0_0+accelerate+gfortran` is active (current version, default
variants)

Looks like arpack was installed as a dependency of `julia @0.6.2_1+gcc6`
(current version, default variants are `+gcc7`). I'm not sure why julia
isn't installed with default variants, I'd guess the default variant
changed after it was first installed.
--
Ticket URL: <https://trac.macports.org/ticket/56706#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-06-21 01:07:38 UTC
Permalink
#56706: doxygen @1.8.13 fails to build
---------------------------+----------------------
Reporter: ShadSterling | Owner: cssdev
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Resolution: | Keywords:
Port: doxygen |
---------------------------+----------------------

Comment (by ryandesign):

I can confirm the build failure of doxygen when arpack is installed.

The problem is of course as usual that doxygen puts the `-I` flags in the
wrong order. `-I/opt/local/include` appears before the flags for the
doxygen build directories; it should instead appear after.
--
Ticket URL: <https://trac.macports.org/ticket/56706#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-06-26 11:25:09 UTC
Permalink
#56706: doxygen @1.8.13 fails to build
---------------------------+----------------------
Reporter: ShadSterling | Owner: cssdev
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Resolution: | Keywords:
Port: doxygen |
---------------------------+----------------------

Comment (by isoboroff):

I also have a problem building this port. Here is the bit that fails
(definition.cpp, problems finding md5 stuff) in main.log...

:info:build cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src
&& /usr/bin/clang++ -DYY_BUF_SIZE=262144 -DYY_READ_BUF_SIZE=262144
-I/opt/local/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/qtools
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/libmd5
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/vhdlparser
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/generated_src
-pipe -Os -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.13
-o CMakeFiles/_doxygen.dir/definition.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/definition.cpp
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dirdef.cpp:92:3:
error: use of undeclared identifier 'MD5Buffer'
:info:build MD5Buffer((const unsigned char
*)anchor.data(),anchor.length(),md5_sig);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dirdef.cpp:93:3:
error: use of undeclared identifier 'MD5SigToString'
:info:build MD5SigToString(md5_sig,sigStr.rawData(),33);
:info:build ^
:info:build 2 errors generated.
:info:build make[2]: *** [src/CMakeFiles/_doxygen.dir/dirdef.cpp.o] Error
1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/definition.cpp:551:3:
error: use of undeclared identifier 'MD5Buffer'
:info:build MD5Buffer((const unsigned char
*)docStr.data(),docStr.length(),md5_sig);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/definition.cpp:552:3:
error: use of undeclared identifier 'MD5SigToString'
:info:build MD5SigToString(md5_sig,sigStr.rawData(),33);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dot.cpp:2276:3:
error: use of undeclared identifier 'MD5Buffer'
:info:build MD5Buffer((const unsigned char
*)theGraph.data(),theGraph.length(),md5_sig);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dot.cpp:2277:3:
error: use of undeclared identifier 'MD5SigToString'
:info:build MD5SigToString(md5_sig,sigStr.rawData(),33);
:info:build ^
:info:build 2 errors generated.
:info:build make[2]: *** [src/CMakeFiles/_doxygen.dir/definition.cpp.o]
Error 1
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dot.cpp:3044:3:
error: use of undeclared identifier 'MD5Buffer'
:info:build MD5Buffer((const unsigned char
*)buf.data(),buf.length(),md5_sig);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dot.cpp:3045:3:
error: use of undeclared identifier 'MD5SigToString'
:info:build MD5SigToString(md5_sig,sigStr.rawData(),33);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dot.cpp:3959:3:
error: use of undeclared identifier 'MD5Buffer'
:info:build MD5Buffer((const unsigned char
*)theGraph.data(),theGraph.length(),md5_sig);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dot.cpp:3960:3:
error: use of undeclared identifier 'MD5SigToString'
:info:build MD5SigToString(md5_sig,sigStr.rawData(),33);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dot.cpp:4104:3:
error: use of undeclared identifier 'MD5Buffer'
:info:build MD5Buffer((const unsigned char
*)theGraph.data(),theGraph.length(),md5_sig);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dot.cpp:4105:3:
error: use of undeclared identifier 'MD5SigToString'
:info:build MD5SigToString(md5_sig,sigStr.rawData(),33);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dot.cpp:4512:3:
error: use of undeclared identifier 'MD5Buffer'
:info:build MD5Buffer((const unsigned char
*)theGraph.data(),theGraph.length(),md5_sig);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13/src/dot.cpp:4513:3:
error: use of undeclared identifier 'MD5SigToString'
:info:build MD5SigToString(md5_sig,sigStr.rawData(),33);
:info:build ^
:info:build 10 errors generated.
:info:build make[2]: *** [src/CMakeFiles/_doxygen.dir/dot.cpp.o] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13'
:info:build make[1]: *** [src/CMakeFiles/_doxygen.dir/all] Error 2
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.13"
&& /usr/bin/make -j4 -w all VERBOSE=ON
:info:build Exit code: 2
:error:build Failed to build doxygen: command execution failed
:debug:build Error code: CHILDSTATUS 16409 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/main.log
for details.
--
Ticket URL: <https://trac.macports.org/ticket/56706#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-07 13:49:31 UTC
Permalink
#56706: doxygen @1.8.13 fails to build when arpack is installed
---------------------------+----------------------
Reporter: ShadSterling | Owner: cssdev
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Resolution: | Keywords:
Port: doxygen |
---------------------------+----------------------
--
Ticket URL: <https://trac.macports.org/ticket/56706#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...