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

poppler: 21.05.0 -> 21.06.01 #127832

Merged
merged 3 commits into from
Jun 23, 2021
Merged

poppler: 21.05.0 -> 21.06.01 #127832

merged 3 commits into from
Jun 23, 2021

Conversation

AndersonTorres
Copy link
Member

@AndersonTorres AndersonTorres commented Jun 22, 2021

Motivation for this change

https://lists.freedesktop.org/archives/poppler/2021-June/014771.html
https://lists.freedesktop.org/archives/poppler/2021-June/014772.html

Closes #126685

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • 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 nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@r-rmcgibbo
Copy link

r-rmcgibbo commented Jun 22, 2021

Result of nixpkgs-review pr 127832 at 004970b run on aarch64-linux 1

12 packages marked as broken and skipped:
  • grass
  • green-pdfviewer
  • hplipWithPlugin_3_16_11
  • hplipWithPlugin_3_18_5
  • hplip_3_16_11
  • hplip_3_18_5
  • odpdown
  • python38Packages.pygmt
  • python39Packages.pygmt
  • qlandkartegt
  • spring
  • springLobby
1 package failed to build:
314 packages skipped due to time constraints:
  • adapta-gtk-theme
  • apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)
  • apvlv
  • arc-theme
  • arx-libertatis
  • asciidoc-full
  • asciidoc-full-with-plugins
  • bibata-cursors
  • bibata-cursors-translucent
  • bibata-extra-cursors
  • ...
55 packages built successfully:
  • aesop
  • anystyle-cli
  • colord
  • colord-gtk
  • diff-pdf
  • epkowa
  • fbida
  • fgallery
  • gnome.gnome-color-manager
  • gnome.gnome-settings-daemon (gnome.gnome_settings_daemon)
  • gnome.gnome-user-share
  • gnome.nautilus
  • tracker-miners (gnome.tracker-miners)
  • haskellPackages.bindings-sane
  • haskellPackages.gi-poppler
  • leela
  • libsForQt5.baloo (libsForQt515.baloo ,plasma5Packages.baloo)
  • libsForQt5.baloo-widgets (libsForQt515.baloo-widgets ,plasma5Packages.baloo-widgets)
  • libsForQt5.kfilemetadata (libsForQt515.kfilemetadata ,plasma5Packages.kfilemetadata)
  • libsForQt5.poppler (libsForQt515.poppler ,plasma5Packages.poppler)
  • libsForQt5.poppler_0_61 (libsForQt515.poppler_0_61 ,plasma5Packages.poppler_0_61)
  • libsForQt512.poppler
  • libsForQt512.poppler_0_61
  • libsForQt514.baloo
  • libsForQt514.baloo-widgets
  • libsForQt514.kfilemetadata
  • libsForQt514.poppler
  • libsForQt514.poppler_0_61
  • pdf-quench
  • pdf2svg
  • pdfgrep
  • pdfmod
  • pdfsandwich
  • pdftag
  • perl530Packages.ImageSane
  • perl532Packages.ImageSane
  • poppler
  • poppler_0_61
  • poppler_gi
  • poppler_min
  • poppler_utils
  • pqiv
  • pympress
  • python38Packages.openpaperwork-gtk
  • python38Packages.pdf2image
  • python38Packages.pdftotext
  • python38Packages.sane
  • python39Packages.openpaperwork-gtk
  • python39Packages.pdf2image
  • python39Packages.pdftotext
  • python39Packages.sane
  • sane-backends
  • sane-frontends
  • scanbd
  • setzer

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.


Result of nixpkgs-review pr 127832 at 004970b run on x86_64-linux 1

8 packages marked as broken and skipped:
  • googleearth-pro
  • grass
  • green-pdfviewer
  • hplipWithPlugin_3_16_11
  • hplipWithPlugin_3_18_5
  • hplip_3_16_11
  • hplip_3_18_5
  • odpdown
2 packages failed to build:
388 packages skipped due to time constraints:
  • adapta-gtk-theme
  • apacheHttpdPackages.mod_tile (apacheHttpdPackages_2_4.mod_tile)
  • apvlv
  • arc-theme
  • arx-libertatis
  • asciidoc-full
  • asciidoc-full-with-plugins
  • bibata-cursors
  • bibata-cursors-translucent
  • bibata-extra-cursors
  • ...
51 packages built successfully:
  • aesop
  • anystyle-cli
  • colord
  • colord-gtk
  • epkowa
  • fbida
  • fgallery
  • gegl_0_4 (gnome.gegl_0_4)
  • gnome.gnome-settings-daemon (gnome.gnome_settings_daemon)
  • gnome.gnome-user-share
  • gnome.nautilus
  • tracker-miners (gnome.tracker-miners)
  • leela
  • libinsane
  • libsForQt5.baloo (libsForQt515.baloo ,plasma5Packages.baloo)
  • libsForQt5.kfilemetadata (libsForQt515.kfilemetadata ,plasma5Packages.kfilemetadata)
  • libsForQt5.poppler (libsForQt515.poppler ,plasma5Packages.poppler)
  • libsForQt5.poppler_0_61 (libsForQt515.poppler_0_61 ,plasma5Packages.poppler_0_61)
  • libsForQt512.poppler
  • libsForQt512.poppler_0_61
  • libsForQt514.kfilemetadata
  • libsForQt514.poppler
  • libsForQt514.poppler_0_61
  • masterpdfeditor4
  • pdf-quench
  • pdf2svg
  • pdfarranger
  • pdfmod
  • pdfsandwich
  • pdftag
  • perl530Packages.ImageSane
  • perl532Packages.ImageSane
  • poppler
  • poppler_0_61
  • poppler_gi
  • poppler_min
  • poppler_utils
  • pympress
  • python38Packages.openpaperwork-gtk
  • python38Packages.paperwork-backend
  • python38Packages.paperwork-shell
  • python38Packages.pdf2image
  • python38Packages.pdftotext
  • python38Packages.sane
  • python39Packages.openpaperwork-gtk
  • python39Packages.pdf2image
  • python39Packages.pdftotext
  • python39Packages.sane
  • sane-backends
  • sane-frontends
  • setzer

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

@@ -12,25 +27,38 @@ let
mkFlag = optset: flag: "-DENABLE_${flag}=${if optset then "on" else "off"}";
in
stdenv.mkDerivation rec {
name = "poppler-${suffix}-${version}";
pname = "poppler-${suffix}";
inherit version;
Copy link
Member

Choose a reason for hiding this comment

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

Why not just move version to here?

Comment on lines +60 to +61
]
++ lib.optional withData poppler_data;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
]
++ lib.optional withData poppler_data;
] ++ lib.optional withData poppler_data;

Comment on lines 25 to 27
, qt5Support ? false, qtbase ? null
, introspectionSupport ? false, gobject-introspection ? null
, utils ? false, nss ? null
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
, qt5Support ? false, qtbase ? null
, introspectionSupport ? false, gobject-introspection ? null
, utils ? false, nss ? null
, qt5Support ? false, qtbase
, introspectionSupport ? false, gobject-introspection
, utils ? false, nss

@AndersonTorres AndersonTorres merged commit eb147bf into NixOS:master Jun 23, 2021
@hmenke
Copy link
Member

hmenke commented Jul 13, 2021

Any chance this could be backported? Evince on NixOS 21.05 still regularly crashes.

@AndersonTorres AndersonTorres added the 9.needs: port to stable A PR needs a backport to the stable release. label Jul 16, 2021
@hmenke
Copy link
Member

hmenke commented Jul 23, 2021

Could we maybe just backport the entire PR? The constant segfaults are becoming really annoying.

@github-actions
Copy link
Contributor

Successfully created backport PR #131806 for staging-21.05.

@hmenke hmenke added 8.has: port to stable A PR already has a backport to the stable release. and removed 9.needs: port to stable A PR needs a backport to the stable release. labels Jul 28, 2021
@github-actions
Copy link
Contributor

The process '/usr/bin/git' failed with exit code 1

@jtojnar jtojnar added the 8.has: upstream changes reviewed Reviewer checked the changelogs/commit logs associated with the release and did not find any issues. label Dec 8, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2021

Backport failed for staging-21.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally.

git fetch origin staging-21.05
git worktree add -d .worktree/backport-127832-to-staging-21.05 origin/staging-21.05
cd .worktree/backport-127832-to-staging-21.05
git checkout -b backport-127832-to-staging-21.05
ancref=$(git merge-base 35aa6b0fd8b551bc4f1d5e5ae25f3087fcea51af 004970b1524ab59f791137e0954b43c2b65615bb)
git cherry-pick -x $ancref..004970b1524ab59f791137e0954b43c2b65615bb

jtojnar added a commit that referenced this pull request Nov 4, 2023
Poppler does not directly depend on PCRE.

It was added in <#127832>,
presumably to suppress CMake complaining about `glib-2.0` needing `pcre`
because CMake is not aware that we interpret `Requires.private`
field in pkg-config files differently.
And GLib since switched to pcre2 anyway so the warning is back.
nyabinary pushed a commit to nyabinary/nixpkgs that referenced this pull request Nov 14, 2023
Poppler does not directly depend on PCRE.

It was added in <NixOS#127832>,
presumably to suppress CMake complaining about `glib-2.0` needing `pcre`
because CMake is not aware that we interpret `Requires.private`
field in pkg-config files differently.
And GLib since switched to pcre2 anyway so the warning is back.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: port to stable A PR already has a backport to the stable release. 8.has: upstream changes reviewed Reviewer checked the changelogs/commit logs associated with the release and did not find any issues. 10.rebuild-darwin: 101-500 10.rebuild-linux: 501-1000 10.rebuild-linux: 501+
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Poppler out of date, evince to crash
5 participants