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

Do not depend on pangox_compat #75909

Merged
merged 5 commits into from Dec 20, 2019
Merged

Do not depend on pangox_compat #75909

merged 5 commits into from Dec 20, 2019

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Dec 19, 2019

pango recently broke pangox_compat package but most packages do not actually need it – they were probably only adding it because gtkglext required it. We switched to master branch of gtkglext which fixes lot of issues and also no longer requires pangox.

package builds runs
gnome2.gtkglext ✔️ 🤷‍♀️️
pcb ✔️ ✔️
k3d ✔️ ✔️
lutris ⌛️
desmume ✔️ ✔️
anydesk
openmodelica

anydesk seems to be an exception:

result/bin/anydesk: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory

but what can we expect from unfree software 😜️

openmodelica seems to fail for unrelated reasons:

checking LAPACK/BLAS flags... configure: error: dgesv (LAPACK) linking failed using -llapack -lblas
configure: error: ./configure failed for OMCompiler
builder for '/nix/store/2ivdliyd5f5r6xigz6j2z7id7bz9vsfw-openmodelica.drv' failed with exit code 1

Fixes: #75790

Switched to HEAD to not depend on broken pangox-compat.
* Long overdue update
* Clean up the expression
* Drop unneeded pangox_compat – it was probably needed before gtkglext propagated it.
It was probably needed before gtkglext propagated it.
Drop unneeded pangox_compat – it was probably needed before gtkglext propagated it.

Also stop using aliases.
It was probably needed before gtkglext propagated it.
@worldofpeace
Copy link
Contributor

Hmmph, 😄 as usual I wish nothing needed pangox.

Copy link
Contributor

@worldofpeace worldofpeace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. I did not runtime test k3d, but everything else that was touched here.

@worldofpeace
Copy link
Contributor

I think even trying to remove libpangox-1.0.so.0 with patchelf on anydesk might break it?
I'm not sure if it actually depended on it, or if this was just from gtkglext.

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff LGTM

[242 built (2 failed), 351 copied (3026.1 MiB), 673.8 MiB DL]
error: build of '/nix/store/203mf6w1mwgdvvdlp2cv1zksvcxn4wsk-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/75909
1 package are marked as broken and were skipped:
openmodelica

2 package failed to build:
anydesk gnash

8 package were built:
celestia desmume factor-lang gnome2.gtkglext k3d lutris lutris-free pcb

@jtojnar jtojnar merged commit 76c526a into NixOS:master Dec 20, 2019
@jtojnar jtojnar deleted the gtkglext-fix branch December 20, 2019 00:14
dtzWill pushed a commit to dtzWill/nixpkgs that referenced this pull request Jan 23, 2020
Do not depend on pangox_compat

(cherry picked from commit 76c526a)
balodja added a commit to balodja/nixpkgs that referenced this pull request Apr 24, 2021
balodja added a commit to balodja/nixpkgs that referenced this pull request May 12, 2021
balodja added a commit to balodja/nixpkgs that referenced this pull request Jul 23, 2021
Most of them are:
* separate packages for different openmodelica components,
* qt4 -> qt5,
* patches to instruct the OMEdit wrapper with stdenv executables
  location,
* adoption of NixOS#89731 and NixOS#109595,
* openblas -> blas, lapack according to NixOS#83888,
* parallel building,
* getting rid of spurious build phases,
* correct the license,
* cross-compilation,
* forcing compiler to clang++ according to OM build recommendations,
* drop of pangox_compat according to NixOS#75909 and NixOS#76412,
* better dependencies, and more.
balodja added a commit to balodja/nixpkgs that referenced this pull request Jul 24, 2021
Co-authored-by: Jaakko Luttinen <jaakko.luttinen@iki.fi>

Most of changes are:
* separate packages for different openmodelica components,
* qt4 -> qt5,
* patches to instruct the OMEdit wrapper with stdenv executables
  location,
* adoption of NixOS#89731 and NixOS#109595,
* openblas -> blas, lapack according to NixOS#83888,
* parallel building,
* getting rid of spurious build phases,
* correct the license,
* cross-compilation,
* forcing compiler to clang++ according to OM build recommendations,
* drop of pangox_compat according to NixOS#75909 and NixOS#76412,
* better dependencies, and more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Newer version of pango seems to have broken a few packages
3 participants