-
Notifications
You must be signed in to change notification settings - Fork 38
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
Texinfo 7 update #1203
base: master
Are you sure you want to change the base?
Texinfo 7 update #1203
Conversation
…les. It's hard to track patches when you're patching patches.
update patches to match changes in code
am__v_texidevnull_1 = | ||
-INFO_DEPS = texinfo.info info-stnd.info texi2any_api.info | ||
+#INFO_DEPS = texinfo.info info-stnd.info texi2any_api.info | ||
+INFO_DEPS = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I am missing something, this is the only actual change – the others below are already commented out.
Not sure what to make of the "...info documentation, it has been removed" comment either; those .info files are built and installed into %p/share/info
, and without that patch exactly the same number of files is installed.
It seems $(INFO_DEPS)
is only ever referred to in the uninstall-info-am
and maintainer-clean-aminfo
targets, which are probably irrelevant for the Fink build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, that patch is a mess because the original Debian patch comments out INFO_DEPS, TEXINFOS, and info_TEXINFOS, but then @akhansen undid all but INFO_DEPS but in a weird way.
Compare https://raw.githubusercontent.com/debian-tex/texinfo/00a08ac10804f2fc712c3372940e1535850d1eed/debian/patches/dont_build_info and https://raw.githubusercontent.com/fink/fink-distributions/560b8a84237ecd880a58a3d3152704ee9cc93a88/10.9-libcxx/stable/main/finkinfo/text/texinfo-dont_build_info.patch side-by-side. I've left the patch logic as if for now since it's what we have had for 8 years, but I think we might be able to get rid of it since like you said, there's no change in the installed content.
Check ffmpeg builds with the new texinfo. Might need to be patched and versioned BDep, since they apparently use non-stable internal APIs. See https://lists.gnu.org/archive/html/bug-texinfo/2024-12/msg00081.html |
freshly commited ffmpeg-6.1.2 is patched to work with texinfo-6.8 (as before) and now with 7.2 |
@dmacks ping (since ffmpeg is fixed to work with 6.8 or 7.2) |
On 10.3:
whereas 6.8-700 did not have any fails. From test-suite.log, they all seem to be the same type of problem, for example:
I have PREFIX/bin/diff from diffutils-3.10.2 Edit: same result with diffutils removed. I had thought it was just "./encoded/" vs "encoded/" pathname style, but now I see it's |
It's detecting perl is multi-arch (because it's not a "perl" package, fink doesn't know to pass a flag to inhibit this system-perl behavior, and the autoconf uses some custom code to detect and handle it anyway). Then it fails to detect some dependencies because they are not themselves multiarch. To solve, add to %c Doing so fixes detection of compiler features (bigendian; ptrdiff_t safety) and external libs (fink-supplied libiconv and libunistring). Which reveals that libunistring is a missing dep:) However, now FTBFS:
Edit: ...because I typo'ed in the .patch. Moment...
But no change in the self-test results. |
On 10.14.6, w/ and w/out the patch and extra %c parameter, I don't see any linkage to libunistring, probably because i see this:
Btw, this PR is a branch in fink/fink-dists, so you're able to add commits if needed (done this way specifically for things like this) |
Oh sure, make me read the branch/tag metadata:) Isn't that EXTERN.h problem one of the standard messes fink has struggled with, like PkgVersion.pm line 1196ish? |
I think so. The -I compiler flag points to the /System/Library/Perl/5.18/darwin-thread-multi-2level/CORE, but EXTERN.h is in $SDK_PATH/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE |
Update from our oldish 6.8 to latest 7.2
Mostly minor changes. The current texinfo.patch includes patches that are then applied (they seem to have been inherited from Debian). I took those patches out of texinfo.patch into individual patch files to make tracking easier.
I don't know about the need to keep carrying
texinfo-dont_build_info.patch
. It was added back in e4e4ffc (2016) in our texinfo-6.3 days. Debian removed that patch with texinfo-6.7 at debian-tex/texinfo@ded8ba0 when the docs became DFSG approved. I've kept the spirit of the patch as is (updated for current code), but I think we are basically applying it then @akhansen modified it to basically reverse it in 7b916c0 .There's also a fix to allow jpg files in share/info as per #1178