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

sdl2/2.0.12@bincrafters/stable: Unable to load runtime dependencies due to build issue #1296

Closed
Aypahyo opened this issue Nov 10, 2020 · 2 comments · Fixed by conan-io/conan-center-index#3491
Labels

Comments

@Aypahyo
Copy link

Aypahyo commented Nov 10, 2020

  • Package Name/Version: sdl2/2.0.12@bincrafters/stable
  • Operating System+version: Linux Ubuntu 20.04
  • Compiler+version: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
  • Docker image: none, installed on os
  • Conan version: Conan version 1.31.0
  • Python version: Python 3.8.5

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

Configuration for profile default:

[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=9
compiler.libcxx=libstdc++
build_type=Release
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

I posted this issue also here:

stackoverflow

and here:
discourse.libsdl.org

Logs (Include/Attach if Applicable)

Click to expand log

runtime thing - that does not show directly during build but is connected to either cmake or the missing configure

@Aypahyo Aypahyo added the bug label Nov 10, 2020
@ericLemanissier
Copy link
Contributor

can you try to use option libalsa:shared=True ?

@Aypahyo
Copy link
Author

Aypahyo commented Nov 10, 2020

@ericLemanissier sure.
I added

[options]
libalsa:shared=True

I ran

conan remove libalsa
conan install .. --build=libalsa --build sdl2 

The error message did change:

error SDL_OpenAudioDevice: ALSA: Couldn't open audio device: No such file or directory
ALSA lib conf.c:3956:(snd_config_update_r) Cannot access file /home/aypahyo/.conan/data/libalsa/1.1.9///package/9e890f42f320e0611c0f5d26f85e02c47ed3e390/share/alsa/alsa.conf
ALSA lib conf.c:3956:(snd_config_update_r) Cannot access file /home/aypahyo/.conan/data/libalsa/1.1.9///package/9e890f42f320e0611c0f5d26f85e02c47ed3e390/share/alsa/alsa.conf
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM default

cd /home/aypahyo/.conan/data/libalsa/1.1.9/
find . | grep  alsa.conf

gives the result

.///build/9e890f42f320e0611c0f5d26f85e02c47ed3e390/source_subfolder/src/conf/alsa.conf
.///package/9e890f42f320e0611c0f5d26f85e02c47ed3e390/include/alsa/conf.h
.///source/source_subfolder/src/conf/alsa.conf

ls /home/aypahyo/.conan/data/libalsa/1.1.9/_/_/package/9e890f42f320e0611c0f5d26f85e02c47ed3e390

gives the result

bin conaninfo.txt conanmanifest.txt include lib licenses

I am not sure what to make of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants