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

glibc: Autoconf compilation error #12631

Closed
1 task done
zokl opened this issue May 17, 2023 · 1 comment · Fixed by #12644
Closed
1 task done

glibc: Autoconf compilation error #12631

zokl opened this issue May 17, 2023 · 1 comment · Fixed by #12644
Labels
bug issue report with a confirmed bug

Comments

@zokl
Copy link

zokl commented May 17, 2023

Describe the bug

Compilation of OpenWRT 22.03 GLIBC version - master ends with following error:

ime: toolchain/kernel-headers/compile#0.03#0.02#0.06
make[3]: Entering directory '/mnt/data/ftester/ethershaper_ng/toolchain/glibc/headers'
[ -f /mnt/data/ftester/ethershaper_ng/build_dir/toolchain-x86_64_gcc-12.3.0_glibc/glibc-2.37/.autoconf ] || { cd /mnt/data/ftester/ethershaper_ng/build_dir/toolchain-x86_64_gcc-12.3.0_glibc/glibc-2.37/; autoconf --force && touch /mnt/data/ftester/ethershaper_ng/build_dir/toolchain-x86_64_gcc-12.3.0_glibc/glibc-2.37/.autoconf; }
aclocal.m4:6: error: Exactly version 2.69 of Autoconf is required but you have 2.71
aclocal.m4:6: the top level
autom4te: error: /mnt/data/ftester/ethershaper_ng/staging_dir/host/bin/m4 failed with exit status: 63
make[3]: *** [Makefile:29: /mnt/data/ftester/ethershaper_ng/build_dir/toolchain-x86_64_gcc-12.3.0_glibc/glibc-2.37-headers/.configured] Error 63
make[3]: Leaving directory '/mnt/data/ftester/ethershaper_ng/toolchain/glibc/headers'
time: toolchain/glibc/headers/compile#0.18#0.08#0.27
    ERROR: toolchain/glibc/headers failed to build.
make[2]: *** [toolchain/Makefile:93: toolchain/glibc/headers/compile] Error 1
make[2]: Leaving directory '/mnt/data/ftester/ethershaper_ng'
make[1]: *** [toolchain/Makefile:89: /mnt/data/ftester/ethershaper_ng/staging_dir/toolchain-x86_64_gcc-12.3.0_glibc/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory '/mnt/data/ftester/ethershaper_ng'
make: *** [/mnt/data/ftester/ethershaper_ng/include/toplevel.mk:231: world] Error 2

The propblem is in file aclocal.m4 where is Aclocal version 2.69 defined. Openwrt has Aclocal on version 2.71

OpenWrt version

OpenWRT 22.03 - master branch

OpenWrt target/subtarget

x86_64

Device

PCEngines APU platform

Image kind

Self-built image

Steps to reproduce

Compilation image based on GLIBC.

Actual behaviour

No response

Expected behaviour

No response

Additional info

No response

Diffconfig

No response

Terms

  • I am reporting an issue for OpenWrt, not an unsupported fork.
@zokl zokl added the bug issue report with a confirmed bug label May 17, 2023
@zokl
Copy link
Author

zokl commented May 17, 2023

Hi @PolynomialDivision @ynezz do you know how to resolve this issue?

Vladdrako pushed a commit to Vladdrako/openwrt that referenced this issue May 24, 2023
The glibc build was failing with this error message:
  aclocal.m4:6: error: Exactly version 2.69 of Autoconf is required but you have 2.71
  aclocal.m4:6: the top level

The autoconf run on glibc is not needed, just remove it.

Fixes: openwrt#12631
Fixes: 030447b ("tools/autoconf: bump to 2.71")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue report with a confirmed bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant