Re: devel/android-tools: android-tools-35.0.2 configure_error

Tatsuki Makino <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <SI2PR01MB5036A1E55B8597FBDCA66FCDFA232@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
The issue with devel/android-tools configuration has been resolved, but regarding the problem with the build, I have started looking into it.

On 2026/04/15 8:42, Tatsuki Makino wrote:
> That was not resolved with a single correction.
> 
> In file included from /wrkdirs/usr/ports/devel/android-tools/work/android-tools-35.0.2/vendor/adb/client/incremental_utils.cpp:25:
> /wrkdirs/usr/ports/devel/android-tools/work/android-tools-35.0.2/vendor/libziparchive/include/ziparchive/zip_writer.h:22:10: fatal error: 'gtest/gtest_prod.h' file not found
>     22 | #include <gtest/gtest_prod.h>
>        |          ^~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> 
Regarding this part, it is necessary to depend on devel/googletest.
However, since there don’t appear to be any runtime dependencies like linking with a library, it should be sufficient to just add it to BUILD_DEPENDS.

In addition, the following errors appear in stage-qa for each linked library.

Error: /usr/local/bin/adb is linked to /usr/local/lib/libabsl_log_internal_check_op.so.2501.0.0 from devel/abseil but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libabsl_log_internal_check_op.so:devel/abseil

It seems good to use the most basic libabsl_base.so.2501.0.0 so that devel/abseil is added to libdepends.
LIB_DEPENDS= libabsl_base.so.2501.0.0:devel/abseil

Regards.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.