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

[package] qt/5.15.2: test fails trying to link to .so while built statically #5931

Closed
Renari opened this issue Jun 16, 2021 · 8 comments · Fixed by #6019
Closed

[package] qt/5.15.2: test fails trying to link to .so while built statically #5931

Renari opened this issue Jun 16, 2021 · 8 comments · Fixed by #6019
Labels
bug Something isn't working

Comments

@Renari
Copy link
Contributor

Renari commented Jun 16, 2021

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: qt/5.15.2
  • Operating System+version: Linuxmint 20.1 ulyssa
  • Compiler+version: GCC 9.3
  • Conan version: conan 1.37.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++11
build_type=Release
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

conan install qt/5.15.2@ -o qt:qtmultimedia=True -o qt:qtsvg=True --build=qt --build=missing

Logs (Include/Attach if Applicable)

Click to expand log
ERROR: 
        ConanException: qt/5.15.2 package_info(): Package require 'openal' not used in components requires


@Renari Renari added the bug Something isn't working label Jun 16, 2021
@Renari Renari changed the title [package] qt/5.15.2: some submodules fail to build [package] qt/5.15.2: some submodules cause packaging to fail Jun 16, 2021
@Renari
Copy link
Contributor Author

Renari commented Jun 17, 2021

This is odd, since this seems like it should be a simple fix, adding OpenAL::OpenAL on the following line.

_create_module("Multimedia", ["Network", "Gui"])

However the issue persists even after specifying openal as a component requires for qtmultimedia.

@ericLemanissier
Copy link
Contributor

the actual fix should be to add openal::openal on this line, the recipe names are all lower case on CCI.

@Renari
Copy link
Contributor Author

Renari commented Jun 17, 2021

the actual fix should be to add openal::openal on this line, the recipe names are all lower case on CCI.

I had tried this and it didn't seem to work, after wiping my cache though it did work.

@Renari
Copy link
Contributor Author

Renari commented Jun 17, 2021

#5949 has logs showing the issue

@ericLemanissier
Copy link
Contributor

can this be closed now that #5949 is merged?

@Renari
Copy link
Contributor Author

Renari commented Jun 24, 2021

The g++ issues mentioned in that PR still occur.

@ericLemanissier
Copy link
Contributor

Ok, it's a different issue then. Can you please try this suggestion #5691 (comment) ?

@Renari
Copy link
Contributor Author

Renari commented Jun 24, 2021

That appears to work.

@Renari Renari changed the title [package] qt/5.15.2: some submodules cause packaging to fail [package] qt/5.15.2: test fails trying to link to .so while built statically Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants