conan-center-index icon indicating copy to clipboard operation
conan-center-index copied to clipboard

leptonica: fix with_{gif|jpeg|png|tiff|openjpeg|webp}=False

Open db4 opened this issue 1 year ago • 4 comments
trafficstars

Specify library name and version: leptonica/all

Non-default with_* options were broken; closes https://github.com/conan-io/conan-center-index/issues/16906


db4 avatar May 03 '24 09:05 db4

I detected other pull requests that are modifying leptonica/all recipe:

  • #23134
  • #21945

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

ericLemanissierBot avatar May 03 '24 09:05 ericLemanissierBot

Conan v1 pipeline :heavy_check_mark:

All green in build 1 (f13f461f03ae4c812f05c163aecadfa133de4b67):

  • leptonica/1.81.0: All packages built successfully! (All logs)

  • leptonica/1.83.0: All packages built successfully! (All logs)

  • leptonica/1.83.1: All packages built successfully! (All logs)

  • leptonica/1.82.0: All packages built successfully! (All logs)

  • leptonica/1.79.0: All packages built successfully! (All logs)

  • leptonica/1.80.0: All packages built successfully! (All logs)

  • leptonica/1.78.0: All packages built successfully! (All logs)


Conan v2 pipeline :heavy_check_mark:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 1 (f13f461f03ae4c812f05c163aecadfa133de4b67):

  • leptonica/1.83.1: All packages built successfully! (All logs)

  • leptonica/1.82.0: All packages built successfully! (All logs)

  • leptonica/1.81.0: All packages built successfully! (All logs)

  • leptonica/1.78.0: All packages built successfully! (All logs)

  • leptonica/1.80.0: All packages built successfully! (All logs)

  • leptonica/1.79.0: All packages built successfully! (All logs)

  • leptonica/1.83.0: All packages built successfully! (All logs)

conan-center-bot avatar May 03 '24 10:05 conan-center-bot

Hooks produced the following warnings for commit f13f461f03ae4c812f05c163aecadfa133de4b67
leptonica/1.79.0@#01eb838659a265411f87d04ce7fb2c5c
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libleptonica.dylib, libleptonica.1.79.0.dylib, libleptonica.5.3.0.dylib
leptonica/1.80.0@#a766ca25cfbd87d5849c728e31c32406
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libleptonica.dylib, libleptonica.5.4.0.dylib, libleptonica.1.80.0.dylib
leptonica/1.78.0@#e719ec3cf52d30112fd605f64c0796a2
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libleptonica.dylib, libleptonica.1.78.0.dylib, libleptonica.5.3.0.dylib

github-actions[bot] avatar May 03 '24 10:05 github-actions[bot]

@RubenRBS I tested the PR correctness with the following script:

import subprocess

options = {
    "with_zlib": False,
    "with_gif": False,
    "with_jpeg": False,
    "with_png": False,
    "with_tiff": False,
    "with_openjpeg": False,
    "with_webp": False,
}

opts = ' '.join([f'-o "leptonica/*:{k}={v}"' for (k,v) in options.items()])

for v in ["1.78.0", "1.79.0", "1.80.0", "1.81.0", "1.82.0", "1.83.0", "1.83.1"]:
    subprocess.run(f"conan create . --version {v} {opts}", shell=True, check=True)

Everything builds OK; if you need the whole log, please let me know and I'll attach it.

db4 avatar May 05 '24 10:05 db4

@db4 Could you please provide the logs? In case Github complains about the size, you still can open a separated note in gist.github.com

Having the logs we have not only a source for reviewing now, but also to compare any change in the future.

uilianries avatar May 20 '24 11:05 uilianries

@db4 Could you please provide the logs?

Ok, here they are: build_log.txt

db4 avatar May 20 '24 13:05 db4