Skip to content

extra/doxygen: Alpine package ported to QNX#164

Open
nnarayanamurthy wants to merge 1 commit into803from
murthy/doxygen
Open

extra/doxygen: Alpine package ported to QNX#164
nnarayanamurthy wants to merge 1 commit into803from
murthy/doxygen

Conversation

@nnarayanamurthy
Copy link

No description provided.

Copy link
Contributor

@taang-qnx taang-qnx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants