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

Apache fails to build #193

Open
kkmzero opened this issue Jan 10, 2025 · 4 comments
Open

Apache fails to build #193

kkmzero opened this issue Jan 10, 2025 · 4 comments

Comments

@kkmzero
Copy link
Contributor

kkmzero commented Jan 10, 2025

[35;1m19:07:03 Building 9-network/apache (2.4.62) ~4m:38s�[0m
pkgprefix: package bdb is not present
pkgprefix: package bdb is not present
  Building in src.apache.250110.190703.24143�[0m
  Creating backup of old package data.�[0m
  Writing output to $root/var/adm/logs/9-apache.out�[0m
�[31;1m!�[0m Making all in srclib
�[31;1m!�[0m Making all in os
�[31;1m!�[0m Making all in unix
�[31;1m!�[0m /usr/share/build-1/libtool --silent --mode=compile gcc  -g -O2 -Wall      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/src/t2-src/src.apache.250110.1 ..
�[31;1m!�[0m /usr/share/build-1/libtool --silent --mode=link gcc  -g -O2 -Wall      -L/srv/t2/build/x86-64-24.12-generic-x86-64-nocona-cross-linuxlib64 -L/srv/t2/build ..
�[31;1m!�[0m /usr/share/build-1/libtool: x86_64-t2-linux-gnu-ar: inaccessible or not found
�[31;1m!�[0m Due to previous errors, no 9-apache.log file!
�[31;1m!�[0m (Try enabling xtrace in the config to track an error inside the build system.)
  �[31;1m+00:00:18 Aborted building network/apache�[0m
 /usr/share/build-1/libtool: x86_64-t2-linux-gnu-ar: inaccessible or not found
@foxdrodd
Copy link
Contributor

Could you try rebuilding apr t2 install -f apr and then apache again, not sure yet, why it happens in the first place.

@rxrbln
Copy link
Owner

rxrbln commented Jan 11, 2025

maybe cross build related? libtool?

@kkmzero
Copy link
Contributor Author

kkmzero commented Jan 11, 2025

Could you try rebuilding apr t2 install -f apr and then apache again, not sure yet, why it happens in the first place.

This solved it for some reason, I have no idea why it wouldn't build the first time. Thank you both for your replies and for helping me to solve this issue.

@kkmzero kkmzero closed this as completed Jan 11, 2025
@rxrbln rxrbln reopened this Jan 11, 2025
@rxrbln
Copy link
Owner

rxrbln commented Jan 11, 2025

Most likely some file does include residual base ISO cross compiled information that do not work for native builds. I had seen this before and we should fix the pkg cross build (libtoo or apr-*) to not leak cross compile details.

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

No branches or pull requests

3 participants