MacPorts
2018-06-20 22:01:10 UTC
#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
}}}
--------------------------+---------------------
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
Ticket URL: <https://trac.macports.org/ticket/56706>
MacPorts <https://www.macports.org/>
Ports system for macOS