extra/doxygen: Alpine package ported to QNX#164
Open
nnarayanamurthy wants to merge 1 commit into803from
Open
Conversation
taang-qnx
reviewed
Mar 10, 2026
Contributor
taang-qnx
left a comment
There was a problem hiding this comment.
This APKBUILD requires
- libc++-dev
- libiconv-dev
- qnx-io-sock-dev
- qnx-fs-gpt-dev
libc++-dev solves the following error
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:15 (project)
-- Configuring incomplete, errors occurred!
>>> ERROR: doxygen: build failed
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:73 (message):
The C++ compiler
"/usr/bin/c++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/var/home/qnx/aports/extra/doxygen/src/doxygen-1.16.1/build/CMakeFiles/CMakeScratch/TryCompile-b0yg3u'
FAILED: [code=1] cmTC_0588c
: && /usr/bin/c++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -Wl,--as-needed,-O1,--sort-common CMakeFiles/cmTC_0588c.dir/testCXXCompiler.cxx.o -o cmTC_0588c && :
/usr/bin/ld: cannot find -lc++: No such file or directory
c++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
libiconv-dev solves the following error:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:15 (project)
-- Configuring incomplete, errors occurred!
>>> ERROR: doxygen: build failed
qnx-io-sock-dev solves the following error:
[117/269] Building C object deps/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o
FAILED: [code=1] deps/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o
/usr/bin/cc -Os -fstack-clash-protection -Wformat -Werror=format-security -DSQLITE_OMIT_LOAD_EXTENSION=1 -Os -DNDEBUG -fvisibility=hidden -MD -MT deps/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o -MF deps/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o.d -o deps/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o -c /var/home/qnx/aports/extra/doxygen/src/doxygen-1.16.1/deps/sqlite3/sqlite3.c
cc: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
In file included from /var/home/qnx/aports/extra/doxygen/src/doxygen-1.16.1/deps/sqlite3/sqlite3.c:37263:
/usr/include/sys/ioctl.h:59:10: fatal error: 'sys/sockio.h' file not found
59 | #include <sys/sockio.h>
| ^~~~~~~~~~~~~~
1 error generated.
[118/269] Building CXX object libversion/CMakeFiles/doxygen_version.dir/__/generated_src/doxyversion.cpp.o
c++: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
[119/269] [FLEX][doctokenizer] Building scanner with flex 2.6.4
[120/269] [FLEX][fortranscanner] Building scanner with flex 2.6.4
ninja: build stopped: subcommand failed.
>>> ERROR: doxygen: build failed
qnx-fs-gpt-dev solves the following error:
[117/269] Building C object deps/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o
FAILED: [code=1] deps/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o
/usr/bin/cc -Os -fstack-clash-protection -Wformat -Werror=format-security -DSQLITE_OMIT_LOAD_EXTENSION=1 -Os -DNDEBUG -fvisibility=hidden -MD -MT deps/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o -MF deps/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o.d -o deps/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.o -c /var/home/qnx/aports/extra/doxygen/src/doxygen-1.16.1/deps/sqlite3/sqlite3.c
cc: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
In file included from /var/home/qnx/aports/extra/doxygen/src/doxygen-1.16.1/deps/sqlite3/sqlite3.c:41330:
/usr/include/sys/dcmd_blk.h:24:10: fatal error: 'gpt.h' file not found
24 | #include <gpt.h>
| ^~~~~~~
1 error generated.
[118/269] Building CXX object libversion/CMakeFiles/doxygen_version.dir/__/generated_src/doxyversion.cpp.o
c++: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
[119/269] [FLEX][doctokenizer] Building scanner with flex 2.6.4
[120/269] [FLEX][fortranscanner] Building scanner with flex 2.6.4
ninja: build stopped: subcommand failed.
>>> ERROR: doxygen: build failed
| arch="all" | ||
| license="GPL-2.0-or-later" | ||
| checkdepends="libxml2-utils" | ||
| makedepends="flex bison coreutils perl python3 cmake ninja qnx-fs-core-dev" |
Contributor
There was a problem hiding this comment.
Suggested change
| makedepends="flex bison coreutils perl python3 cmake ninja qnx-fs-core-dev" | |
| makedepends="flex bison coreutils perl python3 cmake ninja qnx-fs-core-dev libc++-dev libiconv-dev qnx-io-sock-dev qnx-fs-gpt-dev" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.