-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
gdbm fails to build #1098
Comments
Wasn't this fixed by your merge 66644f2 ? |
Yeah, it's fixed. Since nobody has complained yet, I'll close this. Thank you. |
This problem still occurs for me using CC's final SDK and looking at gdbm's Makefile the patch mentioned two comments ago is applied. Make log: make[4]: Entering directory '/home/jos/sdk/sdk.06/build_dir/target-mips_34kc_uClibc-0.9.33.2/gdbm-1.11' |
Looks like the gettext-version fixup is not working properly in CC SDK. gettext's autopoint seems to include a hard-coded path at compile-time to staging_dir/host, which points to /home/buildbot in the binary download archive. Do you get a message like this while building?
If so, a quick hacky workaround would be to edit [BUILD_DIR]/staging_dir/host/bin/autopoint's prefix variable to point to your real staging_dir/host directory. Do you have any insights on this @jow- ? I've posted a full build log here: https://gist.github.com/Naoir/a49d89f5486b941b751d . CC final SDK ar71xx. |
Yes, that's similar to the errors I see and your workaround works. Thanks so far! |
FWIW, in my test trees I've set the prefix now as |
Confirmed, having
in autopoint fixes building with the CC SDK. |
fixed in openwrt/openwrt@ac2d3bc |
make[4]: Entering directory
/home/buildbot/slave-local/ar71xx_generic/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/gdbm-1.11' make all-recursive make[5]: Entering directory
/home/buildbot/slave-local/ar71xx_generic/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/gdbm-1.11'Making all in po
make[6]: Entering directory
/home/buildbot/slave-local/ar71xx_generic/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/gdbm-1.11/po' *** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.18 but the autoconf macros are from gettext version 0.19 make[6]: *** [check-macro-version] Error 1 make[6]: Leaving directory
/home/buildbot/slave-local/ar71xx_generic/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/gdbm-1.11/po'make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
/home/buildbot/slave-local/ar71xx_generic/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/gdbm-1.11' make[4]: *** [all] Error 2 make[4]: Leaving directory
/home/buildbot/slave-local/ar71xx_generic/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/gdbm-1.11'make[3]: *** [/home/buildbot/slave-local/ar71xx_generic/build/build_dir/target-mips_34kc_uClibc-0.9.33.2/gdbm-1.11/.built] Error 2
The text was updated successfully, but these errors were encountered: