-
Notifications
You must be signed in to change notification settings - Fork 6.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
[fontconfig:x64-linux] build failure #18342
Comments
@Conan42, could you install gperf via 'sudo apt -y install gperf' and try again? |
Hello, thank you for responding. I did gperf, but still the same problem. |
No other ideas? Why do I have the impression that this utility does nothing? just wasting time. After C ++ programmers can criticize Java. But the Java eco system manages dependencies much better. |
So vcpkg still reports "Could not find gperf" but you verified that |
mich@Ticonderoga:~$ gperf --version |
I repeat a test : mich@Ticonderoga:
Call Stack (most recent call first): Error: Building package fontconfig:x64-linux failed with: BUILD_FAILED Additionally, attach any relevant sections from the log files above. we can see that there are no more messages on gperf |
Indeed, so "still the same problem" isn't the case.
From this error message, I would suggest to install the package which provides But it may be more convenient to shortcut the installing of individual packages by simply installing |
in the file autoconf-x64-linux-err.log: autoreconf: Entering directory `.' |
@Conan42, could you try above suggestion? |
Well, I know nothing. I am exceeding. I installed Fontconfig on a 21.04 ubuntu and it will walk, and I do not know how, but I have other problem. I thought a utility like VCPKG could help me. To want to program in C ++ that this merit ... |
My goal is to install OpenSceneGraph and Osgearth and I do not come there. I risk falling. I wanted to adapt my "Harpoon for Android" project in C ++ for all systems. |
@Conan42, sorry for the confuse, I think you can reference https://github.com/microsoft/vcpkg/blob/master/scripts/azure-pipelines/linux/provision-image.sh#L9 to install the required package on linux platform directly, these also applied to our ci testing, so it should work when you install the project again. |
@Conan42, do you try above suggestions? |
No other suggestion. Thanks for your help. But it's expenses how to install Ubuntu. I have abandoned VCPKG for manual installations or facilities with APT-Get. The learning curve is very long in C ++. As I say before, C ++ this merit. For the moment it's a failure. I would stay there once. I'm going on something else with Javafx and Worldwind. |
@Conan42, thanks for your response. |
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install osg
Failure logs
mich@mich-desktop:~/vcpkg$ ./vcpkg install osg
Computing installation plan...
The following packages will be built and installed:
osg[core]:x64-linux -> 3.6.5#7
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-linux...
Could not locate cached archive: /home/mich/.cache/vcpkg/archives/06/065eeeac15d2934c6404aafb684e4d3273dc59de.zip
Could not locate cached archive: /home/mich/.cache/vcpkg/archives/e6/e6ad0498947f0c096d5556c8f5fe4ec0f43d5331.zip
Starting package 1/2: fontconfig:x64-linux
Building package fontconfig[core]:x64-linux...
-- Using /home/mich/vcpkg/downloads/fontconfig-fontconfig-844d8709a1f3ecab45015b24b72dd775c13b2421.tar.gz
-- Cleaning sources at /home/mich/vcpkg/buildtrees/fontconfig/src/75c13b2421-12bdc6f9c0.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/mich/vcpkg/downloads/fontconfig-fontconfig-844d8709a1f3ecab45015b24b72dd775c13b2421.tar.gz
-- Applying patch remove_tests.patch
-- Applying patch build.patch
-- Applying patch build2.patch
-- Applying patch disable-install-data.patch
-- Applying patch macos_arm_fccache.patch
-- Using source at /home/mich/vcpkg/buildtrees/fontconfig/src/75c13b2421-12bdc6f9c0.clean
CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:535 (message):
Could not find gperf. Please install it via your package manager.
Call Stack (most recent call first):
ports/fontconfig/portfile.cmake:22 (vcpkg_find_acquire_program)
scripts/ports.cmake:139 (include)
Error: Building package fontconfig:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
./vcpkg update
, thensubmit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: fontconfig:x64-linux
Vcpkg version: 2021-05-05-unknownhash
Additional context
Hello,
As I often say. To develop in C ++ it has to be earned. I have read your excellent utility vcpkg to install the OpenSceneGraph and osgEarth libraries. But I got an error message installing a fontconfig: x64-linux dependency. If anyone can fix this I would be very grateful. Thank you in advance.
Regards,
Michel Guenin
The text was updated successfully, but these errors were encountered: