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

[osg] build failure on x64-linux #43343

Open
PerHac13 opened this issue Jan 18, 2025 · 6 comments
Open

[osg] build failure on x64-linux #43343

PerHac13 opened this issue Jan 18, 2025 · 6 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@PerHac13
Copy link

PerHac13 commented Jan 18, 2025

Operating system

Linux

Compiler

GCC

Steps to reproduce the behavior

` vcpkg install osg `

Failure logs

Detecting compiler hash for triplet x64-linux...
Compiler found: /usr/bin/c++
Restored 0 package(s) from /root/.cache/vcpkg/archives in 10.7 us. Use --debug to see more details.
Installing 1/1 osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:[email protected]#25...
Building osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:[email protected]#25...
-- Using cached openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz.
-- Cleaning sources at /opt/vcpkg/buildtrees/osg/src/raph-3.6.5-499ecaa6e1.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /opt/vcpkg/downloads/openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz
-- Applying patch link-libraries.patch
-- Applying patch collada.patch
-- Applying patch fix-sdl.patch
-- Applying patch fix-nvtt-squish.patch
-- Applying patch plugin-pdb-install.patch
-- Applying patch osgdb_zip_nozip.patch
-- Applying patch openexr3.patch
-- Applying patch unofficial-export.patch
-- Applying patch fix-min-max-macro.patch
-- Applying patch fix-error-c3861.patch
-- Using source at /opt/vcpkg/buildtrees/osg/src/raph-3.6.5-499ecaa6e1.clean
-- Found external ninja('1.12.1').
-- Configuring x64-linux
CMake Warning at installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:344 (message):
  The following variables are not used in CMakeLists.txt:

      CMAKE_DISABLE_FIND_PACKAGE_Boost
      CMAKE_REQUIRE_FIND_PACKAGE_Boost

  Please recheck them and remove the unnecessary options from the
  vcpkg_cmake_configure call.

  If these options should still be passed for whatever reason, please use the
  MAYBE_UNUSED_VARIABLES argument.
Call Stack (most recent call first):
  ports/osg/portfile.cmake:94 (vcpkg_cmake_configure)
  scripts/ports.cmake:196 (include)


-- Building x64-linux-dbg

Additional context

This is a duplication of
#38688
#38688 : the bug is on window machine
so to fix or overcome this in linux machine

i have tried

  • reinstalling the vcpkg
  • vcpkg upgrade
@PerHac13 PerHac13 added the category:port-bug The issue is with a library, which is something the port should already support label Jan 18, 2025
@MonicaLiu0311
Copy link
Contributor

monica@monica003:/mnt/vcpkg$ ./vcpkg version
vcpkg package management program version 2025-01-11-0f310537c75015100d200eb71b137f6376aad510

See LICENSE.txt for license information.

Sorry I didn't repro your issue. Did you install the latest version?

monica@monica003:/mnt/vcpkg$ ./vcpkg install osg --binarysource=clear
Computing installation plan...
The following packages will be built and installed:
    osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:[email protected]#25 -- /home/monica/.cache/vcpkg/registries/git-trees/c4fe8448842ded8e44e53c90f6a02b08a1582266
Detecting compiler hash for triplet x64-linux...
Compiler found: /usr/bin/c++
Installing 1/1 osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:[email protected]#25...
Building osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:[email protected]#25...
/home/monica/.cache/vcpkg/registries/git-trees/c4fe8448842ded8e44e53c90f6a02b08a1582266: info: installing overlay port from here
-- Using cached openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz.
-- Cleaning sources at /mnt/vcpkg/buildtrees/osg/src/raph-3.6.5-499ecaa6e1.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /mnt/vcpkg/downloads/openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz

......

Elapsed time to handle osg:x64-linux: 11 min
osg:x64-linux package ABI: 0812066b9885d49bdf5d23bfdc25763def99921f1f153490049bf499451c19bd
Total install time: 11 min
The package osg can be configured to use different OpenGL profiles via a custom triplet file.
Possible values are GLCORE, GL2, GL3, GLES1, GLES2, GLES3 and GLES2+GLES3.
The default value is GL2. If you want use other profiles, please add the following
code to a custom triplet file.
set(osg_OPENGL_PROFILE GL3)

@MonicaLiu0311 MonicaLiu0311 added requires:repro The issue is not currently repro-able and removed category:port-bug The issue is with a library, which is something the port should already support labels Jan 20, 2025
@MonicaLiu0311
Copy link
Contributor

Please run:

git clone https://github.com/microsoft/vcpkg.git master
./vcpkg remove osg --recurse
./vcpkg install osg

If there is still an error, please provide the complete error log.

@PerHac13
Copy link
Author

my version

vcpkg package management program version 2025-01-11-0f310537c75015100d200eb71b137f6376aad510

See LICENSE.txt for license information.

still error remain

Installing 1/1 osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:[email protected]#25...
Building osg[core,default-features,fontconfig,freetype,nvtt,openexr,plugins]:[email protected]#25...
-- Using cached openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz.
-- Cleaning sources at /opt/vcpkg/buildtrees/osg/src/raph-3.6.5-499ecaa6e1.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /opt/vcpkg/downloads/openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz
-- Applying patch link-libraries.patch
-- Applying patch collada.patch
-- Applying patch fix-sdl.patch
-- Applying patch fix-nvtt-squish.patch
-- Applying patch plugin-pdb-install.patch
-- Applying patch osgdb_zip_nozip.patch
-- Applying patch openexr3.patch
-- Applying patch unofficial-export.patch
-- Applying patch fix-min-max-macro.patch
-- Applying patch fix-error-c3861.patch
-- Using source at /opt/vcpkg/buildtrees/osg/src/raph-3.6.5-499ecaa6e1.clean
-- Found external ninja('1.12.1').
-- Configuring x64-linux
CMake Warning at installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:344 (message):
  The following variables are not used in CMakeLists.txt:

      CMAKE_DISABLE_FIND_PACKAGE_Boost
      CMAKE_REQUIRE_FIND_PACKAGE_Boost

  Please recheck them and remove the unnecessary options from the
  vcpkg_cmake_configure call.

  If these options should still be passed for whatever reason, please use the
  MAYBE_UNUSED_VARIABLES argument.
Call Stack (most recent call first):
  ports/osg/portfile.cmake:94 (vcpkg_cmake_configure)
  scripts/ports.cmake:196 (include)


-- Building x64-linux-dbg
-- Building x64-linux-rel

it not giving error just terminal is in progress/ waiting
for past 1hr :40 min

is there any specific error/log file you need

i am using ubuntu 24.10 is there any chance of os issue???

@PerHac13
Copy link
Author

vcpkg update                                      
Using local port versions. To update the local ports, use `git pull`.
No packages need updating.

@PerHac13
Copy link
Author

PerHac13 commented Jan 20, 2025

i have installed the vcpkg in /opt/

technically i was installing

sudo vcpkg install osgearth

osg is required dependency for osgearth
this is when i encounter the this issue

@MonicaLiu0311
Copy link
Contributor

Your problem is not the same as #38688 because you are stopped at building x64-linux-rel, while #38688 gives a specific error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants