conda-forge / qt-feedstock

A conda-smithy repository for qt.
BSD 3-Clause "New" or "Revised" License
12 stars 57 forks source link

Add Linux build to conda cloud with changes from PR #145 #153

Closed kberryUSGS closed 4 years ago

kberryUSGS commented 4 years ago

Issue: Could a Linux build that includes the changes merged in PR #145 be uploaded to Anaconda Cloud? I only see a Mac build at https://anaconda.org/conda-forge/qt/files.

isuruf commented 4 years ago

Linux build segfaults at the test stage.

ccordoba12 commented 4 years ago

It's very hard to properly test Qt builds on the conda-forge docker image. @isuruf, could you verify if the build is working when installing it under a regular desktop session?

isuruf commented 4 years ago

It worked okay for the last 3 builds I made on the same setup, but the latest master segfaults.

Kelvinrr commented 4 years ago

@isuruf @ccordoba12 Bumping this, any updates on getting this uploaded for Linux? We are still dependent on a snowflake Qt build and would love to switch to this recipe.

isuruf commented 4 years ago

Sorry, no updates. It still segfaults. It would be helpful if you could try and fix the issue.

Kelvinrr commented 4 years ago

@isuruf I made an attempt the other day to poke around and see if I can get a local copy of Qt testing correctly, but using the build-locally.py script for linux, it seems to fail on build:

ValueError: Incompatible component merge:
 - 'h5a48372_1011_cpython'
 - 'he5300dc_6_cpython'

Any idea why this is happening? Am I missing something otherwise obvious our should I make a separate issue about the build failure.

isuruf commented 4 years ago

Can you try the following diff?

diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 20700b5..62b25e1 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -117,7 +117,7 @@ requirements:
     - pkg-config                         # [linux]
     - make                               # [unix]
     # Probably only needed for WebEngine
-    - python 2.7*
+    - python *
     - ninja
     - ruby >=2.5                         # [linux]
     - bison                              # [linux]
@@ -133,7 +133,9 @@ requirements:
     # Otherwise build and host might end up with two different versions
     # If they do, merge_build_host will fail.
     - readline                           # [linux]
+    - ld_impl_linux-64 >=2.34            # [linux]
   host:
+    - ld_impl_linux-64 >=2.34            # [linux]
     # For pkg-config gl, fontconfig + freetype
     - pthread-stubs                      # [linux]
     - dbus                               # [linux]