Skip to content
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

Error on installing tiff with mozjpeg #13323

Closed
daramkun opened this issue Sep 3, 2020 · 5 comments · Fixed by #15196
Closed

Error on installing tiff with mozjpeg #13323

daramkun opened this issue Sep 3, 2020 · 5 comments · Fixed by #15196
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@daramkun
Copy link

daramkun commented Sep 3, 2020

mozjpeg(libjpeg-turbo's fork) installed, tiff installing is fail.

Computing installation plan...
The following packages will be built and installed:
  * libjpeg-turbo[core]:x64-windows-static
    tiff[core]:x64-windows-static
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows-static...
Starting package 1/2: libjpeg-turbo:x64-windows-static
Building package libjpeg-turbo[core]:x64-windows-static...
Using cached binary package: C:\Users\daram\AppData\Local\vcpkg/archives\6f\6f50c25f613180f65162c2089642da02fdd392f1.zip
Building package libjpeg-turbo[core]:x64-windows-static... done
Installing package libjpeg-turbo[core]:x64-windows-static...
The following files are already installed in D:/Projects/vcpkg/installed/x64-windows-static and are in conflict with libjpeg-turbo:x64-windows-static

Installed by mozjpeg:x64-windows-static
    debug/lib/pkgconfig/libjpeg.pc
    debug/lib/pkgconfig/libturbojpeg.pc
    include/jconfig.h
    include/jerror.h
    include/jmorecfg.h
    include/jpeglib.h
    include/turbojpeg.h
    lib/jpeg.lib
    lib/pkgconfig/libjpeg.pc
    lib/pkgconfig/libturbojpeg.pc
    lib/turbojpeg.lib
@NancyLi1013 NancyLi1013 self-assigned this Sep 3, 2020
@NancyLi1013 NancyLi1013 added the category:port-bug The issue is with a library, which is something the port should already support label Sep 3, 2020
@NancyLi1013
Copy link
Contributor

Hi @daramkun
Thanks for posting this issue.
Since mozjpeg is based on libjpeg-turbo.

Please see theses two docs:
https://github.com/mozilla/mozjpeg/blob/master/README.md
https://github.com/mozilla/mozjpeg/blob/master/README-mozilla.txt

They cannot be installed at the same time due to the conflicts.

Need to add messages for the two ports.

@daramkun
Copy link
Author

daramkun commented Sep 4, 2020

So, is there solution? or Need to fix the code of vcpkg?

@NancyLi1013
Copy link
Contributor

You can remove another port when installing one of them. There are no ways to fix this. Adding message is to remind users that these two ports are conflicts with each other.

So you can remove mozjpeg:x64-windows-static first, then try to build this again.

@daramkun
Copy link
Author

daramkun commented Sep 4, 2020

But libjpeg-turbo:x64-windows-static install first, I cannot install mozjpeg:x64-windows-static. and Removing libjpeg-turbo:x64-windows-static, removing tiff:x64-windows-static too. I need mozjpeg's encoder and tiff's decoder.

So, no solution in vcpkg, I have to build tiff myself. Thanks.

@NancyLi1013
Copy link
Contributor

Hi @daramkun
Sorry for the long delay.
In your case, there is no solution in vcpkg now. I can only try to add the message to remind users of the conflicts, but I cannot solve the conflicts to meet your demand. I'm so sorry about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants