Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Can't compile libgd on my device #22038

Open
Cigydd opened this issue Oct 31, 2024 · 3 comments
Open

[Bug]: Can't compile libgd on my device #22038

Cigydd opened this issue Oct 31, 2024 · 3 comments
Labels
bug report Something is not working properly untriaged

Comments

@Cigydd
Copy link

Cigydd commented Oct 31, 2024

Problem description

Trying to build the rhythmbox player lead me to a libgd compilation problem.
Shrunk to a libgd compilation issue.

build.log

What steps will reproduce the bug?

  1. Clone the termux packages repository
  2. Run the ./build-package.sh libgd script on your mobile device
  3. Watch the output

What is the expected behavior?

libgd should compile

System information

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=1035
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://nl.mirror.flokinet.net/termux/termux-main stable main
# x11-repo (sources.list.d/x11.list)
deb https://nl.mirror.flokinet.net/termux/termux-x11 x11 main
Updatable packages:
mesa/stable 24.2.5 aarch64 [upgradable from: 24.0.8-1]
svt-av1/stable 2.3.0 aarch64 [upgradable from: 2.2.1]
termux-tools version:
1.44.2
Android version:
14
Kernel build information:
Linux localhost 4.14.190-perf-28693687-abA525FXXU8FXH1 #1 SMP PREEMPT Tue Aug 6 16:11:25 +07 2024 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-A525F
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.window versionCode:15
com.termux.widget versionCode:13
com.termux.api versionCode:51
com.termux.tasker versionCode:6
com.termux.styling versionCode:31
@Cigydd Cigydd added bug report Something is not working properly untriaged labels Oct 31, 2024
@Biswa96
Copy link
Member

Biswa96 commented Oct 31, 2024

Could you try adding the following function in libgd/build.sh file?

termux_step_pre_configure() {
        autoreconf -fi
}

@Cigydd
Copy link
Author

Cigydd commented Oct 31, 2024

Well, we got a bit further...
build.log
Edit: unfortunately, this build ended even earlier while compiling glib. Did a git pull before. Shouldn't have done this...

@Cigydd
Copy link
Author

Cigydd commented Nov 1, 2024

git checkout fba6c5e7b12bf8d943fe9de4af1f199d2635325e         
./build-package.sh -f libgd 2>&1 | tee ~/storage/downloads/build.log

build.log
... Success!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly untriaged
Projects
None yet
Development

No branches or pull requests

2 participants