-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[libvpx] Build error on arm64-linux. Dependency on the diff utility via absolute path. #44284
Comments
I'm not able to repro on x64-linux. |
@Mengna-Li here's how to reproduce on x64-linux. I was using Linux Mint Xia, but I think it does not really matter.
cp /usr/bin/diff ~/real-diff/diff
#!/bin/bash
# This script prints some text into stderr and exits
echo "Error raiser V1.0" >&2
echo "Consult your brain, should you have any questions." >&2
exit 1
sudo ln ./my-script.sh /urs/bin/diff --force
# Trace back through the comment to see that
# we put the original diff bin into ~/real-diff
export PATH=$HOME/real-diff:$PATH
mkdir ~/my-app && cd ~/my-app
vcpkg new --name my-app --version 1.0
vcpkg add port libvpx
vcpkg install The outcome Here's the log I got:
/home/smooth-e/fun/vcpkg/buildtrees/libvpx/configure-x64-linux-rel-out.log:
/home/smooth-e/fun/vcpkg/buildtrees/libvpx/configure-x64-linux-rel-err.log:
|
Hello! I am working on building the rustdesk remote desktop client for the Aurora OS. The build environment is the Scratchbox2 instance running an aarch64 target with a relatively small rpm-based distro. The problem is that the
diff
command in this target resolves into calling the BusyBox multicall binary, which has no--version
flag. Here is the output ofdiff
:As you can see from the log files way below, the port build complains that there is no diff utility installed and the error log shows the message above. Strangely, even if I replace the diff binary at
/usr/bin
of the sb2 target, calling either/usr/bin/diff
or justdiff
still calls the multicall bin, and not the replacement (GNU diffutils from OenSUSE Leap for ARM, for example). However, if I put the same Suse binary intoproject/diff/
for example, and then add it to the$PATH
, callingdiff
will resolve into calling the normal diff utility. But, even with the path variable set, doingvcpkg install
results into the error described below.Exact command ran:
vcpkg install --triplet arm64-linux-release --x-install-root="$VCPKG_ROOT/installed"
You can read more about Aurora OS and their build system here:
https://developer.auroraos.ru/
Autogenerated report
Package: libvpx:[email protected]
Host Environment
vcpkg-scripts version: 3002390 2025-03-07 (2 days ago)
To Reproduce
vcpkg install
Failure logs
/home/smooth-e/aurora-apps/aurora-rustdesk/vcpkg/buildtrees/libvpx/configure-arm64-linux-rel-out.log
/home/smooth-e/aurora-apps/aurora-rustdesk/vcpkg/buildtrees/libvpx/configure-arm64-linux-rel-err.log
Additional context
vcpkg.json
The text was updated successfully, but these errors were encountered: