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

pythonPackages.qscintilla-qt5: fix build #72302

Closed

Conversation

das-g
Copy link
Member

@das-g das-g commented Oct 30, 2019

(cherry picked from commit 9209dcf)

Motivation for this change

Backport #71641 to make QGIS (and other applications depending on pythonPackages.qscintilla-qt5, if any) available on NixOS 19.09. See also #71646 (comment)

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip -b release-19.09"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @lsix

results of running executable files in ./results/*/bin/ produced by nix-review ...:

looking fine:

(at least as far as I can tell)

qscintilla-qt5 executables (click to expand)
  • results/python27Packages.qscintilla-qt5/bin/pylupdate5 -version
    pylupdate5 v5.13.0
    
  • results/python27Packages.qscintilla-qt5/bin/pyrcc5 -version
    pyrcc5 v5.13.0
    
  • results/python27Packages.qscintilla-qt5/bin/pyuic5 --version
    Python User Interface Compiler 5.13.0 for Qt version 5.12.3
    
  • results/python37Packages.qscintilla-qt5/bin/pylupdate5 -version
    pylupdate5 v5.13.0
    
  • results/python37Packages.qscintilla-qt5/bin/pyrcc5 -version
    pyrcc5 v5.13.0
    
  • results/python37Packages.qscintilla-qt5/bin/pyuic5 --version
    Python User Interface Compiler 5.13.0 for Qt version 5.12.3
    

not working out of the box:

  • results/qgis/bin/qgis_bench
    Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    Aborted (core dumped)
    
  • results/qgis/bin/qgis
    Info: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    Warning: Could not find the Qt platform plugin "xcb" in ""
    Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    QGIS died on signal -1Aborted (core dumped)
    
... and the same for qgis-unwrapped (click to expand)
  • results/qgis-unwrapped/bin/qgis_bench
    Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    Aborted (core dumped)
    
  • results/qgis-unwrapped/bin/qgis
    Info: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    Warning: Could not find the Qt platform plugin "xcb" in ""
    Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    QGIS died on signal -1Aborted (core dumped)
    

@das-g das-g requested a review from FRidh as a code owner October 30, 2019 14:19
@lsix
Copy link
Member

lsix commented Oct 30, 2019

Hi,

I have what is necessary for qgis in #72249 waiting for approval. I thing this PR might duplicate it.

@das-g
Copy link
Member Author

das-g commented Oct 30, 2019

Hi,

I have what is necessary for qgis in #72249 waiting for approval.

Oh, I wasn't aware of that. Thanks!

I thing this PR might duplicate it.

It does indeed, specifically it duplicates bce18ad.

Closing this PR therefore.

@das-g das-g closed this Oct 30, 2019
@willcohen willcohen mentioned this pull request Dec 14, 2021
13 tasks
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.

None yet

3 participants