perlPackages.XMLParser: Work around cross-compilation regression #75132
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since 2.44_01, the behaviour for
check_lib
in theirMakefile.PL
hasbeen "fixed" to fail when the
assert_lib
function fails to build thetest.
Now, this wouldn't be so bad, since it's good to actually test what
stuff is being compiled against.
Except that something is wonky with the cross-compilation build-time
Perl.
As far as I know, this is a built-in function from Perl.
Though, something else is wrong with
Checklib.pm
. Side-stepping theissue by (eww) shelling out to
mktemp
, we get these errors:Meanwhile, the actual build, while building the library, seemingly has
no issues building using those paths.
¯\_(ツ)_/¯
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @volth as de facto perl peep
cc anyone handy enough with perl :(
cc @matthewbauer @Ericson2314 who could have insight with cross-compilation
cc @flokli as he was doing cross-compilation and maybe had the same issue.