-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
perl 5.36.0 #112161
perl 5.36.0 #112161
Conversation
Perl 5.37 is out now, so we should try that instead. |
Also from prior testing, the self-hosted runner is not needed just for dependent testing, so you might be able to run this faster if you remove that flag. |
Odd numbers are development versions. Latest stable is still 5.36. |
012a086
to
fdcb455
Compare
Ah I did not know that. Should we add a comment explaining that? |
fdcb455
to
41623be
Compare
man1.install libexec/"man/man1/biber.1" | ||
(pkgshare/"test").install "t/tdata/annotations.bcf", "t/tdata/annotations.bib" |
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.
Just picked the first test from directory. Not sure if there is a better one. We've been hit a few times by upstream modifying the test.bcf
file with new releases. Unless we save a copy, it didn't seem worth seeing CI failures related to checksum mismatches or version incompatibility.
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.
I didn't realize there was test directory but that seems like a much more reliable solution.
Linux-specific failures:
|
I think we've had issues on macOS when trying to update Not sure about current version, but it was one of failures in previous
I was previously wondering if we should enable Though, most formulae are moving away from |
Looks like
|
$ PERL5LIB=/home/linuxbrew/.linuxbrew/opt/intltool/libexec/lib/perl5 perl -e "require XML::Parser"
Expat.c: loadable library and perl binaries are mismatched (got first handshake key 0xeb00080, needed 0xeb80080)
$ file /home/linuxbrew/.linuxbrew/opt/intltool/libexec/lib/perl5/x86_64-linux-thread-multi/auto/XML/Parser/Expat/Expat.so
/home/linuxbrew/.linuxbrew/opt/intltool/libexec/lib/perl5/x86_64-linux-thread-multi/auto/XML/Parser/Expat/Expat.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=ad3c15e5bc2cbc090fb4422af4e1e72ab735677e, not stripped |
Co-authored-by: Michael Cho <cho-m@tuta.io>
Co-authored-by: Michael Cho <cho-m@tuta.io>
Co-authored-by: Michael Cho <cho-m@tuta.io>
Co-authored-by: Michael Cho <cho-m@tuta.io>
41623be
to
1a059aa
Compare
system "make", "swig-pl" | ||
system "make", "install-swig-pl" | ||
system "make", "swig-pl-lib" | ||
system "make", "install-swig-pl-lib" | ||
cd "subversion/bindings/swig/perl/native" do | ||
system perl, "Makefile.PL", "PREFIX=#{prefix}", "INSTALLSITEMAN3DIR=#{man3}" | ||
system "make", "install" | ||
end |
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.
Alternatively could have
- manually moved files (
man3.install ...
) or - modified the Makefile
inreplace "Makefile", "$(PERL) Makefile.PL PREFIX=$(prefix)", "\\0 INSTALLSITEMAN3DIR=#{man3}"
The current approach is officially documented method for adding options during Perl build https://github.com/apache/subversion/blob/1.14.2/subversion/bindings/swig/INSTALL#L217-L236
PREFIX
is from the Makefile https://github.com/apache/subversion/blob/1.14.2/Makefile.in#L883-L884 while INSTALLSITEMAN3DIR
is to fix the manpage installation.
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.
The documented approach looks pretty clean so it seems fine to me.
@@ -5,7 +5,7 @@ class Grokj2k < Formula | |||
url "https://github.com/GrokImageCompression/grok/archive/v9.7.1.tar.gz" | |||
sha256 "a7d433dca92b035349ef8203eb44cb6d0b2c9b41aecd2d12872a9ca2761e0606" | |||
license "AGPL-3.0-or-later" | |||
revision 1 | |||
revision 2 |
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.
Hopefully, only remaining failure will be Linux grokj2k
. I don't think we can fix in this PR so may need to follow up afterward.
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.
Agreed, we should follow up with this in a PR to upgrade grokj2k
.
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.
Working on it in #112269. Current problem is macOS Perl headers conflict with C++ headers. It builds for me if I disable exiftool
feature. Need to look into it a bit more:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/locale:3569:35: error: too few arguments provided to function-like macro invocation
return do_open(__nm, __loc);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Perl/5.30/darwin-thread-multi-2level/CORE/perl.h:6924:9: note: macro 'do_open' defined here
#define do_open(g, n, l, a, rm, rp, sf) \
^
I think this is ready to merge once CI finishes. macOS is all passing while Linux currently only failed on |
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.
Everything is passing on macOS and as hoped the only Linux failure is grokj2k
. Let get this merged.
|
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?Starting over on #102549 since some changes have gone in other PRs like #108663.
Planning to cherry-pick the commits from other PR once we have readout of linkage failures.