8000 [libxcrypt] Build error on x64-linux · Issue #45681 · microsoft/vcpkg · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[libxcrypt] Build error on x64-linux #45681

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

Closed
JoergAtGithub opened this issue May 24, 2025 · 2 comments
Closed

[libxcrypt] Build error on x64-linux #45681

JoergAtGithub opened this issue May 24, 2025 · 2 comments

Comments

@JoergAtGithub
Copy link
Contributor

I build target triplet arm64-android on x64-linux host:

Installing 68/131 libxcrypt:x64-linux@4.4.38...
Building libxcrypt:x64-linux@4.4.38...
-- libxcrypt requires libltdl-dev from the system package manager (example: "sudo apt install libltdl-dev")
Downloading https://github.com/besser82/libxcrypt/archive/v4.4.38.tar.gz -> besser82-libxcrypt-v4.4.38.tar.gz
Successfully downloaded besser82-libxcrypt-v4.4.38.tar.gz
-- Extracting source /home/runner/mixxx-vcpkg/downloads/besser82-libxcrypt-v4.4.38.tar.gz
-- Using source at /home/runner/mixxx-vcpkg/buildtrees/libxcrypt/src/v4.4.38-9da89a5066.clean
-- Found external ninja('1.12.1').
-- Getting CMake variables for x64-linux
-- Generating configure for x64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: /usr/bin/bash -c "/usr/bin/autoreconf -vfi"
Working Directory: /home/runner/mixxx-vcpkg/buildtrees/libxcrypt/src/v4.4.38-9da89a5066.clean
Error code: 1
See logs for more information:
/home/runner/mixxx-vcpkg/buildtrees/libxcrypt/autoconf-x64-linux-out.log
/home/runner/mixxx-vcpkg/buildtrees/libxcrypt/autoconf-x64-linux-err.log
Call Stack (most recent call first):
vcpkg_installed/x64-linux/share/vcpkg-make/vcpkg_make.cmake:41 (vcpkg_execute_required_process)
vcpkg_installed/x64-linux/share/vcpkg-make/vcpkg_make.cmake:94 (vcpkg_run_shell)
vcpkg_installed/x64-linux/share/vcpkg-make/vcpkg_make_configure.cmake:66 (vcpkg_run_autoreconf)
ports/libxcrypt/portfile.cmake:18 (vcpkg_make_configure)
scripts/ports.cmake:206 (include)
error: building libxcrypt:x64-linux failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libxcrypt:x64-linux: 7.3 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libxcrypt
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[libxcrypt]+Build+error+on+x64-linux&body=Copy%20issue%20body%20from%20collapsed%20section%20%22issue_body.md%22%20in%20the%20ci%20log%20output
issue_body.md
Package: libxcrypt:x64-linux@4.4.38
Host Environment

  • Host: x64-linux
  • Compiler:
  • vcpkg-tool version: 2025-05-19-ece4c0f6b8fae9e94513d544c7aa753dd2c82337
    vcpkg-scripts version: beb8c02 2025-05-24 (32 minutes ago)
    To Reproduce
    vcpkg install --clean-after-build --recurse
    Failure logs
-- libxcrypt requires libltdl-dev from the system package manager (example: "sudo apt install libltdl-dev")
Downloading https://github.com/besser82/libxcrypt/archive/v4.4.38.tar.gz -> besser82-libxcrypt-v4.4.38.tar.gz
Successfully downloaded besser82-libxcrypt-v4.4.38.tar.gz
-- Extracting source /home/runner/mixxx-vcpkg/downloads/besser82-libxcrypt-v4.4.38.tar.gz
-- Using source at /home/runner/mixxx-vcpkg/buildtrees/libxcrypt/src/v4.4.38-9da89a5066.clean
-- Found external ninja('1.12.1').
-- Getting CMake variables for x64-linux
-- Generating configure for x64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /usr/bin/bash -c "/usr/bin/autoreconf -vfi"
    Working Directory: /home/runner/mixxx-vcpkg/buildtrees/libxcrypt/src/v4.4.38-9da89a5066.clean
    Error code: 1
    See logs for more information:
      /home/runner/mixxx-vcpkg/buildtrees/libxcrypt/autoconf-x64-linux-out.log
      /home/runner/mixxx-vcpkg/buildtrees/libxcrypt/autoconf-x64-linux-err.log
Call Stack (most recent call first):
  vcpkg_installed/x64-linux/share/vcpkg-make/vcpkg_make.cmake:41 (vcpkg_execute_required_process)
  vcpkg_installed/x64-linux/share/vcpkg-make/vcpkg_make.cmake:94 (vcpkg_run_shell)
  vcpkg_installed/x64-linux/share/vcpkg-make/vcpkg_make_configure.cmake:66 (vcpkg_run_autoreconf)
  ports/libxcrypt/portfile.cmake:18 (vcpkg_make_configure)
  scripts/ports.cmake:206 (include)
/home/runner/mixxx-vcpkg/buildtrees/libxcrypt/autoconf-x64-linux-out.log ``` libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux/m4-autogen'. libtoolize: copying file 'build-aux/m4-autogen/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'. libtoolize: copying file 'build-aux/m4/libtool.m4' libtoolize: copying file 'build-aux/m4/ltoptions.m4' libtoolize: copying file 'build-aux/m4/ltsugar.m4' libtoolize: copying file 'build-aux/m4/ltversion.m4' libtoolize: copying file 'build-aux/m4/lt~obsolete.m4' ```
/home/runner/mixxx-vcpkg/buildtrees/libxcrypt/autoconf-x64-linux-err.log ``` autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I build-aux/m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I build-aux/m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:56: error: possibly undefined macro: LT_SYS_SYMBOL_USCORE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: error: /usr/bin/autoconf failed with exit status: 1 ```
**Additional context**
vcpkg.json ``` { "name": "mixxx", "version": "2.5.0", "description": "Mixxx is free cross platform DJ software", "homepage": "https://mixxx.org/", "license": "GPL-2.0-or-later", "supports": "!uwp", "default-features": [ "qt6" ], "features": { "qt5": { "description": "Build with Qt 5", "dependencies": [ "qt5-base", "qt5-declarative", "qt5-script", "qt5-svg", "qt5-translations", "qtkeychain" ] }, "qt6": { "description": "Build with Qt 6", "dependencies": [ "qt5compat", { "name": "qtbase", "features": [ "shared-mime-info" ] }, "qtdeclarative", "qtsvg", "qttranslations", "qtkeychain-qt6" ] } }, "dependencies": [ "7zip", "ableton-link", "benchmark", "bit7z", "chromaprint", "fdk-aac", { "name": "ffmpeg", "features": [ "fedora-ffmpeg-free-safe", "ffmpeg" ], "platform": "!android" }, "fftw3", "grantlee", "gtest", "hidapi", { "name": "hss1394", "platform": "windows | osx" }, "libdjinterop", "libebur128", "libflac", { "name": "libid3tag", "platform": "!osx & !ios" }, "libkeyfinder", { "name": "libmad", "platform": "!osx & !ios" }, "liblo", "libmodplug", "libogg", "libopusenc", "libsndfile", "libusb", "libvorbis", "lilv", "mp3lame", "ms-gsl", "opus", "opusfile", { "name": "portaudio", "features": [ "asio" ], "platform": "!android" }, { "name": "portmidi", "platform": "!android" }, "protobuf", "pthreads", "rubberband", "soundtouch", "taglib", "wavpack" ] } ```
autoconf-x64-linux-out.log libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux/m4-autogen'. libtoolize: copying file 'build-aux/m4-autogen/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'. libtoolize: copying file 'build-aux/m4/libtool.m4' libtoolize: copying file 'build-aux/m4/ltoptions.m4' libtoolize: copying file 'build-aux/m4/ltsugar.m4' libtoolize: copying file 'build-aux/m4/ltversion.m4' libtoolize: copying file 'build-aux/m4/lt~obsolete.m4' autoconf-x64-linux-err.log autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I build-aux/m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I build-aux/m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:56: error: possibly undefined macro: LT_SYS_SYMBOL_USCORE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: error: /usr/bin/autoconf failed with exit status: 1 Completed submission of double-conversion:x64-linux@3.3.0#1 to 1 binary cache(s) in 35.5 ms
@greenozon
Copy link

did you run the suggested hint?

 libxcrypt requires libltdl-dev from the system package manager (example: "sudo apt install libltdl-dev")

@JoergAtGithub
Copy link
Contributor Author

Oh thanks, didn't noticed this line. I wonder why it's not listed in the dependency list at the beginning.
BTW: I switched to Windows as host system, there it runs without system packages.

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

2 participants
0