msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.31k stars 1.23k forks source link

poppler-rs-sys attempts to find symbols that aren't exposed #22580

Closed Kreijstal closed 1 week ago

Kreijstal commented 1 week ago

Description / Steps to reproduce the issue

https://discord.com/channels/792780131906617355/792780132398006315/1308098798735589447 https://github.com/Doublonmousse/poppler-patch/issues/1

Clone https://github.com/Kreijstal/tdf and change poppler-rs to use https://github.com/Doublonmousse/poppler-patch instead

try to compile with cargo

Expected behavior

It should compile

Actual behavior

It attempts to find some poppler symbols which are private, for some reason, on linux this error never gets triggered despite the symbols being private, what is going on?

Verification

Windows Version

MINGW64_NT-10.0-22631

MINGW environments affected

Are you willing to submit a PR?

If I manage to understand.

Kreijstal commented 1 week ago

Reported https://gitlab.gnome.org/World/Rust/poppler-rs/-/issues/4 here, I hope it goes ok