-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[libgxps] Add new port #20062
[libgxps] Add new port #20062
Conversation
[36/43] /usr/bin/cc -o libgxps/libgxps.so.2.2.4 libgxps/libgxps.so.2.2.4.p/gxps-archive.c.o libgxps/libgxps.so.2.2.4.p/gxps-fonts.c.o libgxps/libgxps.so.2.2.4.p/gxps-images.c.o libgxps/libgxps.so.2.2.4.p/gxps-parse-utils.c.o libgxps/libgxps.so.2.2.4.p/gxps-resources.c.o libgxps/libgxps.so.2.2.4.p/gxps-brush.c.o libgxps/libgxps.so.2.2.4.p/gxps-color.c.o libgxps/libgxps.so.2.2.4.p/gxps-core-properties.c.o libgxps/libgxps.so.2.2.4.p/gxps-debug.c.o libgxps/libgxps.so.2.2.4.p/gxps-document.c.o libgxps/libgxps.so.2.2.4.p/gxps-document-structure.c.o libgxps/libgxps.so.2.2.4.p/gxps-error.c.o libgxps/libgxps.so.2.2.4.p/gxps-file.c.o libgxps/libgxps.so.2.2.4.p/gxps-glyphs.c.o libgxps/libgxps.so.2.2.4.p/gxps-links.c.o libgxps/libgxps.so.2.2.4.p/gxps-matrix.c.o libgxps/libgxps.so.2.2.4.p/gxps-page.c.o libgxps/libgxps.so.2.2.4.p/gxps-path.c.o -L/mnt/vcpkg-ci/installed/x64-linux/debug/lib -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libgxps.so.2 -Wl,-Bsymbolic /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libglib-2.0.a -pthread /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libpcre.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgobject-2.0.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libffi.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgio-2.0.a -ldl /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libresolv.so /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgmodule-2.0.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libz.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libcairo.a -lm /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/liblzo2.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libfontconfig.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libuuid.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libexpat.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libfreetyped.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libbz2d.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libpng16d.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libbrotlidec-static.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libbrotlicommon-static.a /usr/lib/x86_64-linux-gnu/libXext.so /usr/lib/x86_64-linux-gnu/libXrender.so /usr/lib/x86_64-linux-gnu/libX11.so /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libpixman-1.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libarchive.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libxml2.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/liblzmad.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libssl.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libcrypto.a -L/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib -loptimized -ldebug -lbz2 -lLibLZMA::LibLZMA -llz4::lz4 -lzstd::libzstd_static -lOpenSSL::Crypto -llzma -l-pthread /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/liblcms2d.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libjpeg.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libtiffd.a -Wl,--end-group
FAILED: libgxps/libgxps.so.2.2.4
/usr/bin/cc -o libgxps/libgxps.so.2.2.4 libgxps/libgxps.so.2.2.4.p/gxps-archive.c.o libgxps/libgxps.so.2.2.4.p/gxps-fonts.c.o libgxps/libgxps.so.2.2.4.p/gxps-images.c.o libgxps/libgxps.so.2.2.4.p/gxps-parse-utils.c.o libgxps/libgxps.so.2.2.4.p/gxps-resources.c.o libgxps/libgxps.so.2.2.4.p/gxps-brush.c.o libgxps/libgxps.so.2.2.4.p/gxps-color.c.o libgxps/libgxps.so.2.2.4.p/gxps-core-properties.c.o libgxps/libgxps.so.2.2.4.p/gxps-debug.c.o libgxps/libgxps.so.2.2.4.p/gxps-document.c.o libgxps/libgxps.so.2.2.4.p/gxps-document-structure.c.o libgxps/libgxps.so.2.2.4.p/gxps-error.c.o libgxps/libgxps.so.2.2.4.p/gxps-file.c.o libgxps/libgxps.so.2.2.4.p/gxps-glyphs.c.o libgxps/libgxps.so.2.2.4.p/gxps-links.c.o libgxps/libgxps.so.2.2.4.p/gxps-matrix.c.o libgxps/libgxps.so.2.2.4.p/gxps-page.c.o libgxps/libgxps.so.2.2.4.p/gxps-path.c.o -L/mnt/vcpkg-ci/installed/x64-linux/debug/lib -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libgxps.so.2 -Wl,-Bsymbolic /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libglib-2.0.a -pthread /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libpcre.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgobject-2.0.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libffi.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgio-2.0.a -ldl /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libresolv.so /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libgmodule-2.0.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libz.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libcairo.a -lm /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/liblzo2.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libfontconfig.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libuuid.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libexpat.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libfreetyped.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libbz2d.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libpng16d.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libbrotlidec-static.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libbrotlicommon-static.a /usr/lib/x86_64-linux-gnu/libXext.so /usr/lib/x86_64-linux-gnu/libXrender.so /usr/lib/x86_64-linux-gnu/libX11.so /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libpixman-1.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libarchive.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libxml2.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/liblzmad.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libssl.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libcrypto.a -L/mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib -loptimized -ldebug -lbz2 -lLibLZMA::LibLZMA -llz4::lz4 -lzstd::libzstd_static -lOpenSSL::Crypto -llzma -l-pthread /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/liblcms2d.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libjpeg.a /mnt/vcpkg-ci/installed/x64-linux/debug/lib/pkgconfig/../../lib/libtiffd.a -Wl,--end-group
/usr/bin/ld: cannot find -loptimized
/usr/bin/ld: cannot find -ldebug
/usr/bin/ld: cannot find -lbz2
/usr/bin/ld: cannot find -lLibLZMA::LibLZMA
/usr/bin/ld: cannot find -llz4::lz4
/usr/bin/ld: cannot find -lzstd::libzstd_static
/usr/bin/ld: cannot find -lOpenSSL::Crypto
/usr/bin/ld: cannot find -llzma
/usr/bin/ld: cannot find -l-pthread
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed. |
The build seems to get cmake-style linking information from a dependency, probably via a .pc file. This would be a bug in that .pc file. Check the list of dependencies, in particular cairo, lcms. |
The broken linking information is coming from
For comparison:
This means, that under x64-linux, The original |
Link to current
|
Thanks for the research.
I don't think so. I guess the wrong data is already there, in IMO the prefered fix is to get rid of explicit Libs which have a pkgconfig module, and refer to this module via |
@dg0yt thanks for the feedback. |
@JonLiu1993 This PR depends on a libarchive fix. #16845 doesn't include such a fix AFAICT but it is the best candidate to fix this as well. |
442cba6
to
a1d7135
Compare
I do have preliminary work to fix the libarchive pc file (dg0yt@ae67ab7), based on #16845 and #20108. With the usual speed of merges in vcpkg, the timeframe is going to be several weeks... |
@dg0yt That's great, thanks for working on it. |
@dg0yt ,Thanks for your contribution. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@JonLiu1993 I promised to fix the libarchive pc file in a separate PR. I just finished it: #20146 |
Thanks again for your efforts |
Depends on: #20146 |
@JonLiu1993, @dg0yt The PR #20146 has been tested and is OK. However, there is a remaining issue concerning port |
@JonLiu1993 |
@c72578 ,Thank for your report, wait for |
Add libgxps version 0.3.2
a1d7135
to
37c80b6
Compare
@JonLiu1993 The PR #20146, which fixed the |
Thanks! |
Describe the pull request
What does your PR fix?
Add new port libgxps, version 0.3.2
libgxps is a GObject based library for handling and rendering XPS documents.
https://gitlab.gnome.org/GNOME/libgxps
Which triplets are supported/not supported? Have you updated the CI baseline?
all, No
x64-linux
(fixed by [libarchive,lz4] Fix pc file, modernize portfile #20146)Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/