Skip to content

Bug: (root/nexttrace) DNS resolution fails on Termux because the package recipe does not apply the Android build fix #29042

@tsosunchia

Description

@tsosunchia

Problem description

This issue is about the Termux package recipe for nexttrace, not a generic third-party software issue.

I am the owner of NextTrace(https://github.com/nxtrace/NTrace-core & https://github.com/nxtrace/NTrace-dev). We recently fixed Android DNS resolution issues on our side by adjusting the Android build configuration: enabling CGO for Android builds and using the Android NDK toolchain.

Reference:
nxtrace/NTrace-dev@ecec769

However, the current Termux recipe for nexttrace still appears to be built with the older generic Go build path. Since Termux builds nexttrace from source in termux-packages, the Android-specific upstream build fix also needs to be reflected in the package recipe here.

As a result, the nexttrace package distributed by Termux still shows DNS resolution failures on Android/Termux when resolving hostnames.

The current recipe I am referring to is:
https://github.com/termux/termux-packages/blob/master/root-packages/nexttrace/build.sh

What steps will reproduce the bug?

  1. Install the package from Termux:
    pkg install root-repo
    pkg install nexttrace
  2. Run nexttrace example.com
  3. Observe that hostname resolution fails on Termux.

What is the expected behavior?

nexttrace example.com should resolve the hostname normally on Termux.

The Termux package should be built with the same Android-specific fix that already resolves this DNS issue upstream, instead of continuing to use the old build configuration.

System information

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportSomething is not working properlygoogle-playPlease file report at https://github.com/termux-play-store/termux-issues/issues

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions