-
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 |
Now it passes all tests for me on 10.13. Someone on a non-ancient system please test? |
Not sure we have anyone pre-10.13 |
I'm hoping for someone on "fairly new", to make sure what I added based on 10.13 needs doesn't break things on...what are we now, 14.x/15.xish? |
I have a few systems left that are 10.5 (Leopard) and a couple that are 10.11 (El Cap)
They are being replaced, hopefully soon so I am not trying to change things on them. There is one other system that is system 8.6 that is still running but no using fink.
…-Scott
On Feb 11, 2025, at 17:58, nieder ***@***.***> wrote:
Not sure we have anyone pre-10.13
—
Reply to this email directly, view it on GitHub <#1203 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADSJBZG7UZ7G2H4HFB467T2PKMDTAVCNFSM6AAAAABULYRDBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJSGM4TSNBWHE>.
You are receiving this because you are subscribed to this thread.
|
However, I can show a failure on a new system. I appears you need a -f in the rm command? Or that remove is unnecessary?
MacOS 15.3 / Xcode 16.2
…-Scott
install -m 0644 fink/info.menu /opt/sw/src/fink.build/root-texinfo-7.2-2/opt/sw/share/menu/info
rm -r /opt/sw/src/fink.build/root-texinfo-7.2-2/opt/sw/lib
rm: /opt/sw/src/fink.build/root-texinfo-7.2-2/opt/sw/lib: No such file or directory
### execution of rm failed, exit code 1
### execution of /tmp/fink.V5wz4 failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-texinfo-7.2-2
(Reading database ... 252997 files and directories currently installed.)
Removing fink-buildlock-texinfo-7.2-2 (2025.02.12-16.49.43) ...
Failed: phase installing: texinfo-7.2-2 failed
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.45.99.git
Distribution version: selfupdate-git Wed Feb 12 16:43:03 2025, 15.0, arm64
Trees: local/main stable/main
Xcode.app: 16.2
Xcode command-line tools: 16.2.0.0.1.1733547573
Max. Fink build jobs: 8
On Feb 11, 2025, at 18:17, Daniel Macks ***@***.***> wrote:
I'm hoping for someone on "fairly new", to make sure what I added based on 10.13 needs doesn't break things on...what are we now, 14.x/15.xish?
—
Reply to this email directly, view it on GitHub <#1203 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADSJBZEPZUJEFHFWBHLNS32PKOMLAVCNFSM6AAAAABULYRDBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJSGQZDANRYG4>.
You are receiving this because you are subscribed to this thread.
|
That rm removes something that I do get that shouldn't be installed (long-standing situation, going back several versions). The fact you didn't get it means something isn't getting built on your platform but is on mine, maybe not detecting a dependency nobody knew about (and therefore the package did not list). But...given we nuke it anyway, I found a flag to force disable building it altogether (b1ae554). Having any "XS" in a package nearly always requires that the package be perl-varianted, which we defiintely don't want for something this low-level. |
Possibly. That was built on an M1 MacBook Air. Am trying to setup the same build on an Intel system.
but I don't see it attempt to remove that /opt/sw/lib folder. |
Now builds on macBook M1 as well. |
Builds for me on 10.14.6 |
Builds for me on os 15.3.1 (M1 CPU)
… On Feb 17, 2025, at 08:17, nieder ***@***.***> wrote:
nieder
left a comment
(fink/fink-distributions#1203)
Builds for me on 10.14.6
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
<#1203 (comment)> <https://github.com/notifications/unsubscribe-auth/AADSJB5C2B4ZR4IBG4WRUQD2QHOQLAVCNFSM6AAAAABULYRDBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRTGEYTKMRQG4>
nieder
left a comment
(fink/fink-distributions#1203)
<#1203 (comment)>
Builds for me on 10.14.6
—
Reply to this email directly, view it on GitHub <#1203 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADSJB5C2B4ZR4IBG4WRUQD2QHOQLAVCNFSM6AAAAABULYRDBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRTGEYTKMRQG4>.
You are receiving this because you commented.
|
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