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

libiconv updates #939

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

libiconv updates #939

wants to merge 2 commits into from

Conversation

dmacks
Copy link
Member

@dmacks dmacks commented Jan 9, 2023

  • Fix for new platforms that don't have /usr/bin/groff
  • Should we just BDep:gperf (made Essential:true) rather than rolling our own? It has no deps of its own.
  • New upstream version

@nieder
Copy link
Member

nieder commented Jan 9, 2023

I'm fine with whatever is needed to fix the loss of groff, but I'm at a loss to understand how removing an HTML tag fixes that. Just trying to understand is all.

@dmacks
Copy link
Member Author

dmacks commented Jan 9, 2023

The groff tool is part of the Makefile recipes for generating man/iconv.1.html from man/iconv.1, but the source tarball has a pregenerated html file. We have a long-standing patch segment that changes iconv.1, so make sees the newer timestamp on that source file and runs groff to regenerate iconv.1.html. So I changed the .patch to also include the resulting change in .1.html and therefore not need to have groff available. It's possible our PatchScript may need to touch the .1.html to make sure it really is "newer than the .1 dependency file"; I have no idea the granularity of current filesystems.

@dmacks
Copy link
Member Author

dmacks commented Jan 9, 2023

gperf-3.2 is noted as released upstream for over a year now, but they never actually released it? https://savannah.gnu.org/bugs/index.php?62139

So if anyone has build problems on newer platforms, there might be relevant fixes upstream.

@TheSin-
Copy link
Member

TheSin- commented Jan 9, 2023

Confirmed this fixes libiconv build on 13.x (arm and x86_64)

@TheSin-
Copy link
Member

TheSin- commented Jan 9, 2023

please add to bootstrap once approved so I can pull this into my PR please

TheSin-
TheSin- previously approved these changes Jan 9, 2023
Copy link
Member

@TheSin- TheSin- left a comment

Choose a reason for hiding this comment

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

Works on x86_64 and aarch64 13.x without groff

@dmacks
Copy link
Member Author

dmacks commented Jan 9, 2023

@nieder I'm going to cherry-pick the groff part into bootstrap and main ASAP. Any objection to the gperf going as well? Want a second opinion because it makes another package Essential:true.

@TheSin-
Copy link
Member

TheSin- commented Jan 9, 2023

I did it with pref as essential in bootstrap when I tested. It's fairly small didn't add much time at all.

And honestly anytime to can link to a fink build dev I believe we should. Makes us more future proof

dhomeier
dhomeier previously approved these changes Jan 9, 2023
Copy link
Contributor

@dhomeier dhomeier left a comment

Choose a reason for hiding this comment

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

Tested on 13.1/arm64 as well.
openldap24 wants to run soelim from the groff suite; adding it as a BDep there seems the easier option.

@dmacks
Copy link
Member Author

dmacks commented Jan 9, 2023

Sorry about the noise, just re-jiggering the commits and fixing some details so I can cherry-pick.

@dhomeier dhomeier mentioned this pull request Jan 9, 2023
@TheSin-
Copy link
Member

TheSin- commented Jan 9, 2023

still looks good, did you want me, want me to retest? and if so did you want me to retest without pref since I didn't do that?

@dmacks dmacks mentioned this pull request Jan 9, 2023
@TheSin-
Copy link
Member

TheSin- commented Jan 12, 2023

I think this can be closed now, libiconv is fixed and committed

@TheSin-
Copy link
Member

TheSin- commented Jan 12, 2023

OH I see it's left open for an update, nvm I missed that

@dmacks dmacks marked this pull request as draft January 12, 2023 15:21
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.

4 participants