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

[qt] Fixes for Qt5::Multimedia #5949

Merged
merged 2 commits into from
Jun 21, 2021
Merged

Conversation

Renari
Copy link
Contributor

@Renari Renari commented Jun 17, 2021

Specify library name and version: qt/5.15.2

Building Qt5 with the multimedia submodule is currently broken.

#5931


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@Renari
Copy link
Contributor Author

Renari commented Jun 17, 2021

For some reason this is trying to include shared objects while built statically:

g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libGL.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libasound.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libgstapp-1.0.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libgstpbutils-1.0.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libgstaudio-1.0.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libgstvideo-1.0.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libgstbase-1.0.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libgstreamer-1.0.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libgobject-2.0.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libpulse-mainloop-glib.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libpulse.so: No such file or directory
g++: error: /home/arimil/.conan/data/qt/5.15.2/arimil/testing/package/6b9a594ebc32e95757afd47e6d92e302c694999b/lib/libglib-2.0.so: No such file or directory

I haven't been able to find the cause of this yet.

@ghost
Copy link

ghost commented Jun 17, 2021

I detected other pull requests that are modifying qt/5.x.x recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@ghost ghost mentioned this pull request Jun 17, 2021
4 tasks
@Renari Renari changed the title Fixes for Qt5::Multimedia [qt5] Fixes for Qt5::Multimedia Jun 17, 2021
@Renari Renari changed the title [qt5] Fixes for Qt5::Multimedia [qt] Fixes for Qt5::Multimedia Jun 17, 2021
@conan-center-bot
Copy link
Collaborator

All green in build 4 (45d207924cc952d60ef3968140203e8c66220551):

  • qt/5.15.2@:
    All packages built successfully! (All logs)

@Renari
Copy link
Contributor Author

Renari commented Jun 17, 2021

So this issue appears to have been implemented in #5730

['/home/arimil/.conan/data/pcre2/10.37/_/_/package/3b544e62795c293d95ba624360f2fc91ca32ce44/lib', 
'/home/arimil/.conan/data/double-conversion/3.1.5/_/_/package/b911f48570f9bb2902d9e83b2b9ebf9d376c8c56/lib', 
'/home/arimil/.conan/data/fontconfig/2.13.93/_/_/package/e135b8afaaf9274276e3ae293315395467cd735b/lib', 
'/home/arimil/.conan/data/icu/69.1/_/_/package/1524904dd725e06dec6d8b171834126a56e52d5a/lib', 
'/home/arimil/.conan/data/libjpeg/9d/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib', 
'/home/arimil/.conan/data/sqlite3/3.35.5/_/_/package/c0cc1a2703aaeb2777d683089def26db57cf15e6/lib', 
'/home/arimil/.conan/data/libmysqlclient/8.0.25/_/_/package/3b926ebe4e4bf1b03a5d7d9151eabdcd92583a12/lib', 
'/home/arimil/.conan/data/libpq/13.2/_/_/package/8e0939db49a1d312829524beb4d0b6824e47691d/lib', 
'/home/arimil/.conan/data/odbc/2.3.9/_/_/package/b29d3eb003873b92a248c0df6debab47f53853ea/lib', 
'/home/arimil/.conan/data/openal/1.21.0/_/_/package/7ff6dc6a696b2e61c6aa7572d8094c2727b0baae/lib', 
'/home/arimil/.conan/data/xkbcommon/1.3.0/_/_/package/46413bc1d1945f58b030a13621c52b586e8a7a6c/lib', 
'/home/arimil/.conan/data/openssl/1.1.1k/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib', 
'/home/arimil/.conan/data/freetype/2.10.4/_/_/package/f1014dc4f9380132c471ceb778980949abf136d3/lib', 
'/home/arimil/.conan/data/expat/2.3.0/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib', 
'/home/arimil/.conan/data/libuuid/1.0.3/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib', 
'/home/arimil/.conan/data/zstd/1.5.0/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib', 
'/home/arimil/.conan/data/lz4/1.9.3/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib', 
'/home/arimil/.conan/data/libalsa/1.2.4/_/_/package/d48130e0dd76369b1338deb3b2372c5a649f9f2d/lib', 
'/home/arimil/.conan/data/libxml2/2.9.10/_/_/package/e9a3e7dd6ab9bf161be4ac8c0925d9a6ba8f2645/lib', 
'/home/arimil/.conan/data/bzip2/1.0.8/_/_/package/da606cf731e334010b0bf6e85a2a6f891b9f36b0/lib', 
'/home/arimil/.conan/data/libpng/1.6.37/_/_/package/f99afdbf2a1cc98ba2029817b35103455b6a9b77/lib', 
'/home/arimil/.conan/data/brotli/1.0.9/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib', 
'/home/arimil/.conan/data/libiconv/1.16/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib', 
'/home/arimil/.conan/data/zlib/1.2.11/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/lib']

Here's a sample of the paths output above passed to the environment variable. I guess without -L flags Qt is trying to source these files from lib when they would previously be found on the system?

@ericLemanissier
Copy link
Contributor

Could you please send the full lof of your failing build?

@Renari
Copy link
Contributor Author

Renari commented Jun 18, 2021

output.txt

conan create . qt/5.15.2@arimil/testing -o qt:qtmultimedia=True -o qt:qtsvg=True

@ericLemanissier
Copy link
Contributor

mm, could you try with this change bincrafters@e353695 ?

@Renari
Copy link
Contributor Author

Renari commented Jun 18, 2021

The issue persists with that change:
output.txt

@ericLemanissier
Copy link
Contributor

Interesting. Can you please also send the file named /home/arimil/Documents/conan-center-index/recipes/qt/5.x.x/test_package/build/b0042734b09e12191f96d5794be36eb1522b0f13/conanbuildinfo.pri ? What version of conan are you running ?

@Renari
Copy link
Contributor Author

Renari commented Jun 18, 2021

conanbuildinfo.pri.txt

conan version 1.37.0

I also tried 1.37.2 with the same result.

@ghost ghost mentioned this pull request Jun 20, 2021
4 tasks
@SSE4 SSE4 requested a review from uilianries June 21, 2021 06:04
@conan-center-bot conan-center-bot merged commit 32806ee into conan-io:master Jun 21, 2021
@Renari Renari deleted the qt5-multimedia branch June 24, 2021 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants