Farama-Foundation/stable-retro

Cannot build from source to use integration UI

s123-afk opened this issue · 2 comments

git clone https://github.com/Farama-Foundation/stable-retro.git
cd stable-retro
pip3 install -e .

after I tried the above command, this is the error message:

(stanley) stanley@MSI:~/gymRetro/stable-retro$ pip install -e .
Obtaining file:///home/stanley/gymRetro/stable-retro
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: gymnasium>=0.27.1 in /home/stanley/miniconda3/envs/stanley/lib/python3.10/site-packages (from stable-retro==0.9.3) (0.29.1)
Requirement already satisfied: pyglet==1.*,>=1.3.2 in /home/stanley/miniconda3/envs/stanley/lib/python3.10/site-packages (from stable-retro==0.9.3) (1.5.28)
Requirement already satisfied: farama-notifications>=0.0.1 in /home/stanley/miniconda3/envs/stanley/lib/python3.10/site-packages (from stable-retro==0.9.3) (0.0.4)
Requirement already satisfied: numpy>=1.21.0 in /home/stanley/miniconda3/envs/stanley/lib/python3.10/site-packages (from gymnasium>=0.27.1->stable-retro==0.9.3) (1.26.3)
Requirement already satisfied: cloudpickle>=1.2.0 in /home/stanley/miniconda3/envs/stanley/lib/python3.10/site-packages (from gymnasium>=0.27.1->stable-retro==0.9.3) (3.0.0)
Requirement already satisfied: typing-extensions>=4.3.0 in /home/stanley/miniconda3/envs/stanley/lib/python3.10/site-packages (from gymnasium>=0.27.1->stable-retro==0.9.3) (4.9.0)
Building wheels for collected packages: stable-retro
Building editable for stable-retro (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building editable for stable-retro (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [399 lines of output]
running editable_wheel
creating /tmp/pip-wheel-7_4ullp0/.tmp-ier8au9m/stable_retro.egg-info
writing /tmp/pip-wheel-7_4ullp0/.tmp-ier8au9m/stable_retro.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-wheel-7_4ullp0/.tmp-ier8au9m/stable_retro.egg-info/dependency_links.txt
writing requirements to /tmp/pip-wheel-7_4ullp0/.tmp-ier8au9m/stable_retro.egg-info/requires.txt
writing top-level names to /tmp/pip-wheel-7_4ullp0/.tmp-ier8au9m/stable_retro.egg-info/top_level.txt
writing manifest file '/tmp/pip-wheel-7_4ullp0/.tmp-ier8au9m/stable_retro.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-wheel-7_4ullp0/.tmp-ier8au9m/stable_retro.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '.dylib' found anywhere in distribution
warning: no previously-included files matching '
-version' found under directory 'retro/cores'
adding license file 'LICENSE'
adding license file 'LICENSES.md'
writing manifest file '/tmp/pip-wheel-7_4ullp0/.tmp-ier8au9m/stable_retro.egg-info/SOURCES.txt'
creating '/tmp/pip-wheel-7_4ullp0/.tmp-ier8au9m/stable_retro-0.9.3.dist-info'
creating /tmp/pip-wheel-7_4ullp0/.tmp-ier8au9m/stable_retro-0.9.3.dist-info/WHEEL
running build_py
running build_ext
CMake Warning:
Ignoring empty string ("") provided on the command line.

  CMake Warning:
    Ignoring empty string ("") provided on the command line.
  
  
  CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
  CMake Deprecation Warning at third-party/capnproto/c++/CMakeLists.txt:2 (cmake_minimum_required):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Warning at CMakeLists.txt:306 (message):
    Could not find CapnProto, disabling search save/load
  
  
  CMake Deprecation Warning at third-party/libzip/CMakeLists.txt:5 (CMAKE_MINIMUM_REQUIRED):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Deprecation Warning at third-party/gtest/googlemock/CMakeLists.txt:46 (cmake_minimum_required):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Deprecation Warning at third-party/gtest/googletest/CMakeLists.txt:53 (cmake_minimum_required):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.
  
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.
  
  
  CMake Warning (dev) at third-party/gtest/googletest/cmake/internal_utils.cmake:213 (find_package):
    Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
    are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
    the cmake_policy command to set the policy and suppress this warning.
  
  Call Stack (most recent call first):
    third-party/gtest/googletest/CMakeLists.txt:65 (include)
  This warning is for project developers.  Use -Wno-dev to suppress it.
  
  -- Configuring done (5.1s)
  CMake Warning at CMakeLists.txt:361 (add_library):
    Cannot generate a safe linker search path for target retro because files in
    some directories may conflict with libraries in implicit directories:
  
      link library [libz.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at CMakeLists.txt:361 (add_library):
    Cannot generate a safe runtime search path for target retro because files
    in some directories may conflict with libraries in implicit directories:
  
      runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe linker search path for target test-data because
    files in some directories may conflict with libraries in implicit
    directories:
  
      link library [libz.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe runtime search path for target test-data because
    files in some directories may conflict with libraries in implicit
    directories:
  
      runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe linker search path for target test-emulator because
    files in some directories may conflict with libraries in implicit
    directories:
  
      link library [libz.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe runtime search path for target test-emulator because
    files in some directories may conflict with libraries in implicit
    directories:
  
      runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe linker search path for target test-memory-overlay
    because files in some directories may conflict with libraries in implicit
    directories:
  
      link library [libz.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe runtime search path for target test-memory-overlay
    because files in some directories may conflict with libraries in implicit
    directories:
  
      runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe linker search path for target test-memory because
    files in some directories may conflict with libraries in implicit
    directories:
  
      link library [libz.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe runtime search path for target test-memory because
    files in some directories may conflict with libraries in implicit
    directories:
  
      runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe linker search path for target test-script because
    files in some directories may conflict with libraries in implicit
    directories:
  
      link library [libz.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe runtime search path for target test-script because
    files in some directories may conflict with libraries in implicit
    directories:
  
      runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe linker search path for target test-search because
    files in some directories may conflict with libraries in implicit
    directories:
  
      link library [libz.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at tests/CMakeLists.txt:6 (add_executable):
    Cannot generate a safe runtime search path for target test-search because
    files in some directories may conflict with libraries in implicit
    directories:
  
      runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at src/ui/CMakeLists.txt:40 (add_executable):
    Cannot generate a safe linker search path for target gym-retro-integration
    because files in some directories may conflict with libraries in implicit
    directories:
  
      link library [libz.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  CMake Warning at src/ui/CMakeLists.txt:40 (add_executable):
    Cannot generate a safe runtime search path for target gym-retro-integration
    because files in some directories may conflict with libraries in implicit
    directories:
  
      runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
        /home/stanley/miniconda3/envs/stanley/lib
  
    Some of these libraries may not be found correctly.
  
  
  -- Generating done (0.2s)
  -- Build files have been written to: /home/stanley/gymRetro/stable-retro
  [  0%] Generating retro/cores/genesis_plus_gx-version
  [  0%] Generating retro/cores/fceumm-version
  [  0%] Generating retro/cores/stella-version
  [  0%] Generating retro/cores/snes9x-version
  [  0%] Generating retro/cores/mgba-version
  [  0%] Generating retro/cores/fceumm.json
  [  0%] Generating retro/cores/genesis_plus_gx.json
  [  0%] Generating retro/cores/mednafen_pce_fast-version
  [  0%] Generating retro/cores/snes9x.json
  [  4%] Generating retro/cores/stella.json
  [  4%] Generating retro/cores/genesis_plus_gx_libretro.so
  [  4%] Generating retro/cores/fceumm_libretro.so
  [  8%] Generating retro/cores/mgba.json
  [  8%] Generating retro/cores/snes9x_libretro.so
  [  8%] Generating retro/cores/mednafen_pce_fast.json
  [  8%] Generating retro/cores/stella_libretro.so
  [  8%] Generating retro/cores/mgba_libretro.so
  [ 12%] Generating retro/cores/mednafen_pce_fast_libretro.so
  [ 12%] Generating retro/cores/gambatte-version
  [ 12%] Generating retro/cores/gambatte.json
  [ 12%] Generating retro/cores/gambatte_libretro.so
  [ 12%] Built target snes
  [ 12%] Built target gba
  [ 12%] Built target pce
  [ 12%] Built target genesis
  [ 12%] Built target nes
  [ 12%] Generating retro/cores/mednafen_saturn-version
  [ 12%] Generating retro/cores/picodrive-version
  [ 12%] Built target gb
  [ 16%] Generating retro/cores/mednafen_saturn_libretro.so
  [ 16%] Generating retro/cores/mednafen_saturn.json
  [ 16%] Generating retro/cores/picodrive_libretro.so
  [ 16%] Generating retro/cores/picodrive.json
  [ 16%] Built target atari2600
  [ 16%] Linking C static library libzip.a
  [ 16%] Built target saturn
  [ 16%] Built target 32x
  [ 91%] Built target zip
  [ 91%] Linking CXX static library libretro-base.a
  [100%] Built target retro-base
  [100%] Linking CXX shared library retro/_retro.cpython-310-x86_64-linux-gnu.so
  /usr/bin/ld: cannot find /lib64/libc.so.6: No such file or directory
  /usr/bin/ld: cannot find /usr/lib64/libc_nonshared.a: No such file or directory
  collect2: error: ld returned 1 exit status
  make[3]: *** [CMakeFiles/retro.dir/build.make:102: retro/_retro.cpython-310-x86_64-linux-gnu.so] Error 1
  make[2]: *** [CMakeFiles/Makefile2:1006: CMakeFiles/retro.dir/all] Error 2
  make[1]: *** [CMakeFiles/Makefile2:1013: CMakeFiles/retro.dir/rule] Error 2
  make: *** [Makefile:485: retro] Error 2
  Traceback (most recent call last):
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 156, in run
      self._create_wheel_file(bdist_wheel)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 345, in _create_wheel_file
      files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 268, in _run_build_commands
      self._run_build_subcommands()
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 295, in _run_build_subcommands
      self.run_command(name)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "<string>", line 62, in run
    File "/home/stanley/miniconda3/envs/stanley/lib/python3.10/subprocess.py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['make', '-j8', 'retro']' returned non-zero exit status 2.
  /tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py:988: _DebuggingTips: Problem in editable installation.
  !!
  
          ********************************************************************************
          An error happened while installing `stable-retro` in editable mode.
  
          The following steps are recommended to help debug this problem:
  
          - Try to install the project normally, without using the editable mode.
            Does the error still persist?
            (If it does, try fixing the problem before attempting the editable mode).
          - If you are using binary extensions, make sure you have all OS-level
            dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
          - Try the latest version of setuptools (maybe the error was already fixed).
          - If you (or your project dependencies) are using any setuptools extension
            or customization, make sure they support the editable mode.
  
          After following the steps above, if the problem still persists and
          you think this is related to how setuptools handles editable installations,
          please submit a reproducible example
          (see https://stackoverflow.com/help/minimal-reproducible-example) to:
  
              https://github.com/pypa/setuptools/issues
  
          See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
          ********************************************************************************
  
  !!
    cmd_obj.run()
  Traceback (most recent call last):
    File "/home/stanley/miniconda3/envs/stanley/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/home/stanley/miniconda3/envs/stanley/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/stanley/miniconda3/envs/stanley/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 273, in build_editable
      return hook(wheel_directory, config_settings, metadata_directory)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 436, in build_editable
      return self._build_with_temp_dir(
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 480, in run_setup
      super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 84, in <module>
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 156, in run
      self._create_wheel_file(bdist_wheel)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 345, in _create_wheel_file
      files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 268, in _run_build_commands
      self._run_build_subcommands()
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/command/editable_wheel.py", line 295, in _run_build_subcommands
      self.run_command(name)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-hnjez3r7/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "<string>", line 62, in run
    File "/home/stanley/miniconda3/envs/stanley/lib/python3.10/subprocess.py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['make', '-j8', 'retro']' returned non-zero exit status 2.
  [end of `output]  `

System information

  • [WSL2 Ubuntu 22.04.3 ]
  • [Python 3.10.13]
  • [Gym Retro 0.9.2]

Was it on a fresh install?
Which setup cmds did you run before installing stable-retro?

I set up my virtual environment with conda, and I have already run the pip install -e . a couple of times to see packages that I installed make a difference, I think I did run these cmds:

conda install conda-forge::gcc
sudo apt-get install capnproto libcapnp-dev libqt5opengl5-dev qtbase5-dev zlib1g-dev
pip install setuptools --upgrade
pip install cmake

This is the conda list :

_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
_sysroot_linux-64_curr_repodata_hack 3 haa98f57_10
absl-py 2.0.0 pypi_0 pypi
astunparse 1.6.3 pypi_0 pypi
attrs 23.2.0 pypi_0 pypi
binutils_impl_linux-64 2.40 hf600244_0 conda-forge
bzip2 1.0.8 h7b6447c_0
c-ares 1.19.1 h5eee18b_0
ca-certificates 2023.12.12 h06a4308_0
cachetools 5.3.2 pypi_0 pypi
capnproto 0.10.4 h2d74bed_0
certifi 2023.11.17 pypi_0 pypi
charset-normalizer 3.3.2 pypi_0 pypi
cloudpickle 3.0.0 pypi_0 pypi
cmake 3.28.1 pypi_0 pypi
contourpy 1.2.0 pypi_0 pypi
cycler 0.12.1 pypi_0 pypi
expat 2.5.0 h6a678d5_0
farama-notifications 0.0.4 pypi_0 pypi
ffmpeg 4.2.2 h20bf706_0
flatbuffers 23.5.26 pypi_0 pypi
fonttools 4.47.2 pypi_0 pypi
freetype 2.12.1 h4a9f257_0
gast 0.5.4 pypi_0 pypi
gcc 13.2.0 h574f8da_2 conda-forge
gcc_impl_linux-64 13.2.0 h338b0a0_5 conda-forge
gmp 6.2.1 h295c915_3
gnutls 3.6.15 he1e5248_0
google-auth 2.26.2 pypi_0 pypi
google-auth-oauthlib 1.2.0 pypi_0 pypi
google-pasta 0.2.0 pypi_0 pypi
grpcio 1.60.0 pypi_0 pypi
gymnasium 0.29.1 pypi_0 pypi
h5py 3.10.0 pypi_0 pypi
idna 3.6 pypi_0 pypi
jsonschema 4.21.1 pypi_0 pypi
jsonschema-specifications 2023.12.1 pypi_0 pypi
keras 2.15.0 pypi_0 pypi
kernel-headers_linux-64 3.10.0 h57e8cba_10
kiwisolver 1.4.5 pypi_0 pypi
krb5 1.20.1 h143b758_1
lame 3.100 h7b6447c_0
ld_impl_linux-64 2.40 h41732ed_0 conda-forge
libclang 16.0.6 pypi_0 pypi
libcurl 8.5.0 h251f7ec_0
libedit 3.1.20230828 h5eee18b_0
libev 4.33 h7f8727e_1
libffi 3.4.4 h6a678d5_0
libgcc-devel_linux-64 13.2.0 ha9c7c90_105 conda-forge
libgcc-ng 13.2.0 h807b86a_4 conda-forge
libgomp 13.2.0 h807b86a_4 conda-forge
libidn2 2.3.4 h5eee18b_0
libnghttp2 1.57.0 h2d74bed_0
libopus 1.3.1 h7b6447c_0
libpng 1.6.39 h5eee18b_0
libsanitizer 13.2.0 h7e041cc_5 conda-forge
libssh2 1.10.0 hdbd6064_2
libstdcxx-ng 13.2.0 h7e041cc_4 conda-forge
libtasn1 4.19.0 h5eee18b_0
libunistring 0.9.10 h27cfd23_0
libuuid 1.41.5 h5eee18b_0
libuv 1.44.2 h5eee18b_0
libvpx 1.7.0 h439df22_0
lz4-c 1.9.4 h6a678d5_0
markdown 3.5.2 pypi_0 pypi
markupsafe 2.1.3 pypi_0 pypi
matplotlib 3.8.2 pypi_0 pypi
ml-dtypes 0.2.0 pypi_0 pypi
ncurses 6.4 h6a678d5_0
nettle 3.7.3 hbbd107a_1
numpy 1.26.3 pypi_0 pypi
nvidia-cublas-cu12 12.2.5.6 pypi_0 pypi
nvidia-cuda-cupti-cu12 12.2.142 pypi_0 pypi
nvidia-cuda-nvcc-cu12 12.2.140 pypi_0 pypi
nvidia-cuda-nvrtc-cu12 12.2.140 pypi_0 pypi
nvidia-cuda-runtime-cu12 12.2.140 pypi_0 pypi
nvidia-cudnn-cu12 8.9.4.25 pypi_0 pypi
nvidia-cufft-cu12 11.0.8.103 pypi_0 pypi
nvidia-curand-cu12 10.3.3.141 pypi_0 pypi
nvidia-cusolver-cu12 11.5.2.141 pypi_0 pypi
nvidia-cusparse-cu12 12.1.2.141 pypi_0 pypi
nvidia-nccl-cu12 2.16.5 pypi_0 pypi
nvidia-nvjitlink-cu12 12.2.140 pypi_0 pypi
oauthlib 3.2.2 pypi_0 pypi
opencv-python 4.9.0.80 pypi_0 pypi
openh264 2.1.1 h4ff587b_0
openssl 3.0.13 h7f8727e_0
opt-einsum 3.3.0 pypi_0 pypi
packaging 23.2 pypi_0 pypi
pillow 10.2.0 pypi_0 pypi
pip 23.3.1 py310h06a4308_0
protobuf 4.23.4 pypi_0 pypi
pyasn1 0.5.1 pypi_0 pypi
pyasn1-modules 0.3.0 pypi_0 pypi
pygame 2.5.2 pypi_0 pypi
pyglet 1.5.28 pypi_0 pypi
pyparsing 3.1.1 pypi_0 pypi
pyproject-toml 0.0.10 pypi_0 pypi
python 3.10.13 h955ad1f_0
python-dateutil 2.8.2 pypi_0 pypi
readline 8.2 h5eee18b_0
referencing 0.33.0 pypi_0 pypi
requests 2.31.0 pypi_0 pypi
requests-oauthlib 1.3.1 pypi_0 pypi
rhash 1.4.3 hdbd6064_0
rpds-py 0.17.1 pypi_0 pypi
rsa 4.9 pypi_0 pypi
setuptools 69.0.3 pypi_0 pypi
six 1.16.0 pypi_0 pypi
sqlite 3.41.2 h5eee18b_0
stable-retro 0.9.2 pypi_0 pypi
sysroot_linux-64 2.17 h57e8cba_10
tensorboard 2.15.1 pypi_0 pypi
tensorboard-data-server 0.7.2 pypi_0 pypi
tensorflow 2.15.0.post1 pypi_0 pypi
tensorflow-estimator 2.15.0 pypi_0 pypi
tensorflow-io-gcs-filesystem 0.35.0 pypi_0 pypi
termcolor 2.4.0 pypi_0 pypi
tk 8.6.12 h1ccaba5_0
toml 0.10.2 pypi_0 pypi
typing-extensions 4.9.0 pypi_0 pypi
tzdata 2023d h04d1e81_0
urllib3 2.1.0 pypi_0 pypi
werkzeug 3.0.1 pypi_0 pypi
wheel 0.41.2 py310h06a4308_0
wrapt 1.14.1 pypi_0 pypi
x264 1!157.20191217 h7b6447c_0
xz 5.4.5 h5eee18b_0
zlib 1.2.13 h5eee18b_0
zstd 1.5.5 hc292b87_0

And the gcc -v:

Reading specs from /home/stanley/miniconda3/envs/stanley/bin/../lib/gcc/x86_64-conda-linux-gnu/13.2.0/specs
could not find specs file conda.specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/stanley/miniconda3/envs/stanley/bin/../libexec/gcc/x86_64-conda-linux-gnu/13.2.0/lto-wrapper
Target: x86_64-conda-linux-gnu
Configured with: ../configure --prefix=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho --with-slibdir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib --libdir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib --mandir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/man --build=x86_64-conda-linux-gnu --host=x86_64-conda-linux-gnu --target=x86_64-conda-linux-gnu --enable-default-pie --enable-languages=c,c++,fortran,objc,obj-c++ --enable-__cxa_atexit --disable-libmudflap --enable-libgomp --disable-libssp --enable-libquadmath --enable-libquadmath-support --enable-libsanitizer --enable-lto --enable-threads=posix --enable-target-optspace --enable-plugin --enable-gold --disable-nls --disable-bootstrap --disable-multilib --enable-long-long --with-sysroot=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/x86_64-conda-linux-gnu/sysroot --with-build-sysroot=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/_build_env/x86_64-conda-linux-gnu/sysroot --with-gxx-include-dir=/home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/x86_64-conda-linux-gnu/include/c++/13.2.0 --with-pkgversion='conda-forge gcc 13.2.0-5' --with-bugurl=https://github.com/conda-forge/ctng-compilers-feedstock/issues/new/choose
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.2.0 (conda-forge gcc 13.2.0-5) 

I am not exactly sure my gcc is working normally or not, is there a bug that makes me can't build from source normally by downloading gcc from conda?