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

prayer: use html-tidy 5.6 #266129

Closed
wants to merge 1 commit into from

Conversation

tu-maurice
Copy link
Contributor

Description of changes

The prayer package requires an older version of html-tidy as dependency due to prayer relying on private library functions of libtidy which have become hidden in versions greater 5.6 of html-tidy.

ZHF: #265948

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 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.

@ghost ghost added the 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign label Nov 8, 2023
Copy link
Member

@pbsds pbsds left a comment

Choose a reason for hiding this comment

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

This does unbreak https://hydra.nixos.org/build/239231197, but when I test it I only get an empty page in response. I can't see any issues in the strace however and it does reply with a http 200 success, so it may be a user error on my part.

It seems the homepage is dead, and there are a bunch of assets marked executable. Fixing this is not a blocker IMO.

license = licenses.libpng; # very close to it - the 3 clauses are identical
homepage = "http://html-tidy.org";
platforms = platforms.all;
maintainers = with maintainers; [];
Copy link
Member

Choose a reason for hiding this comment

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

The html-tidy/{default,5.6}.nix diff is nearly empty, but i see this downgrade has no maintainer. Consider adding yourself, otherwise @edwtjo would you mind maintaining this one in addition to the up to date one?

@tu-maurice
Copy link
Contributor Author

tu-maurice commented Nov 9, 2023

You're right. I just looked into getting this to build again, but there seems to be a lot of other stuff wrong with this now. the icons folder is placed right next to bin and share etc. it should probably be somewhere below share/prayer/ it also contains an etc which should probably not exist. I can confirm the reply from the server is empty. There's also a few hardcoded absolute paths in one of the config files in the etc folder, like /usr/bin/passwd.

There's also no maintainer and it hasn't been touched in almost 4 years. It just happen to break when html-tidy got updated. I guess it's not worth the effort since nobody seems to use it. What do you think?

@tu-maurice tu-maurice closed this Nov 9, 2023
@tu-maurice
Copy link
Contributor Author

Oops. Misclick.

@tu-maurice tu-maurice reopened this Nov 9, 2023
@tu-maurice
Copy link
Contributor Author

tu-maurice commented Nov 9, 2023

Oh wow. Here's to more facts.

  • hydra build failed since 2021, which means no active users.
  • and the sources can't be fetched anymore, so if hydra ever got rid of them it'll be lost anyway.

Yeah I think it's overdue to be marked broken, or even just removed entirely.

Edit: See #266532

@tu-maurice tu-maurice mentioned this pull request Nov 9, 2023
13 tasks
@tu-maurice
Copy link
Contributor Author

This time intentionally.

@tu-maurice tu-maurice closed this Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants