Skip to content

Comments

Do not depend on pangox_compat#75909

Merged
jtojnar merged 5 commits intoNixOS:masterfrom
jtojnar:gtkglext-fix
Dec 20, 2019
Merged

Do not depend on pangox_compat#75909
jtojnar merged 5 commits intoNixOS:masterfrom
jtojnar:gtkglext-fix

Conversation

@jtojnar
Copy link
Member

@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.
@jtojnar jtojnar requested a review from worldofpeace December 19, 2019 00:19
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Dec 19, 2019
@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 <[email protected]>

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

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

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