Code Monkey home page Code Monkey logo

fontconfig-feedstock's Introduction

About fontconfig-feedstock

Feedstock license: BSD-3-Clause

Home: http://www.freedesktop.org/wiki/Software/fontconfig/

Package license: MIT

Summary: A library for configuring and customizing font access

Development: https://cgit.freedesktop.org/fontconfig/

Documentation: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html

Fontconfig is a library designed to provide system-wide font configuration, customization and application access.

Current build status

Azure
VariantStatus
linux_64 variant
linux_aarch64 variant
linux_ppc64le variant
osx_64 variant
osx_arm64 variant
win_64 variant

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing fontconfig

Installing fontconfig from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, fontconfig can be installed with conda:

conda install fontconfig

or with mamba:

mamba install fontconfig

It is possible to list all of the versions of fontconfig available on your platform with conda:

conda search fontconfig --channel conda-forge

or with mamba:

mamba search fontconfig --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search fontconfig --channel conda-forge

# List packages depending on `fontconfig`:
mamba repoquery whoneeds fontconfig --channel conda-forge

# List dependencies of `fontconfig`:
mamba repoquery depends fontconfig --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating fontconfig-feedstock

If you would like to improve the fontconfig recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/fontconfig-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

fontconfig-feedstock's People

Contributors

beckermr avatar bgruening avatar ccordoba12 avatar conda-forge-admin avatar conda-forge-curator[bot] avatar isuruf avatar jakirkham avatar jjhelmus avatar mariusvniekerk avatar ocefpaf avatar pkgw avatar regro-cf-autotick-bot avatar tobias-fischer avatar xhochy avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fontconfig-feedstock's Issues

macOS dylib version changed despite fontconfig version not changing

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Hello there,

I am trying to debug a CI error where a dependency of ours (RDKit) is failing to import since the fontconfig build number being updated. We only see this issue on macOS and it appears to be the result of a dylib version change:

ImportError: dlopen(/usr/local/miniconda/envs/bss_build/conda-bld/biosimspace_1646808347142/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.7/site-packages/rdkit/Chem/Draw/rdMolDraw2D.so, 2): Library not loaded: @rpath/libfontconfig.1.dylib
  Referenced from: /usr/local/miniconda/envs/bss_build/conda-bld/biosimspace_1646808347142/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/libcairo.2.dylib
  Reason: Incompatible library version: libcairo.2.dylib requires version 14.0.0 or later, but libfontconfig.1.dylib provides version 13.0.0

Comparing against the last macOS build that worked (literally hours before) I see the following difference in fontconfig version installed during the build process:

works

2.13.96-h10f422b_0

fails

2.13.96-h676cef8_1

(All other packages are the same.)

Surely an update to the build number (no change to the version) shouldn't change the dylib version? Note that I see the updated build number for our Linux build too, but this doesn't result in an ImportError.

Cheers.

Installed packages

appnope:                       0.1.2-py37hf985489_2         conda-forge        
    argh:                          0.26.2-pyh9f0ad1d_1002       conda-forge        
    argon2-cffi:                   21.3.0-pyhd8ed1ab_0          conda-forge        
    argon2-cffi-bindings:          21.2.0-py37h271585c_1        conda-forge        
    astunparse:                    1.6.3-pyhd8ed1ab_0           conda-forge        
    atk-1.0:                       2.36.0-he69c4ee_4            conda-forge        
    attrs:                         21.4.0-pyhd8ed1ab_0          conda-forge        
    backcall:                      0.2.0-pyh9f0ad1d_0           conda-forge        
    backports:                     1.0-py_2                     conda-forge        
    backports.functools_lru_cache: 1.6.4-pyhd8ed1ab_0           conda-forge        
    biopython:                     1.79-py37h271585c_1          conda-forge        
    biosimspace:                   2022.1.0-py37_7              local              
    bleach:                        4.1.0-pyhd8ed1ab_0           conda-forge        
    blosc:                         1.21.0-he49afe7_0            conda-forge        
    boost:                         1.74.0-py37h326c9ff_5        conda-forge        
    boost-cpp:                     1.74.0-hdbf7018_7            conda-forge        
    brotli:                        1.0.9-h0d85af4_6             conda-forge        
    brotli-bin:                    1.0.9-h0d85af4_6             conda-forge        
    brotlipy:                      0.7.0-py37h271585c_1003      conda-forge        
    bzip2:                         1.0.8-h0d85af4_4             conda-forge        
    c-ares:                        1.18.1-h0d85af4_0            conda-forge        
    ca-certificates:               2021.10.8-h033912b_0         conda-forge        
    cairo:                         1.16.0-he01c77b_1009         conda-forge        
    certifi:                       2021.10.8-py37hf985489_1     conda-forge        
    cffi:                          1.15.0-py37h446072c_0        conda-forge        
    cftime:                        1.6.0-py37h4105427_0         conda-forge        
    charset-normalizer:            2.0.12-pyhd8ed1ab_0          conda-forge        
    colorama:                      0.4.4-pyh9f0ad1d_0           conda-forge        
    configargparse:                1.5.3-pyhd8ed1ab_0           conda-forge        
    cryptography:                  36.0.1-py37h5e77fcc_0        conda-forge        
    curl:                          7.82.0-h9f20792_0            conda-forge        
    cycler:                        0.11.0-pyhd8ed1ab_0          conda-forge        
    dbus:                          1.13.6-h811a1a6_3            conda-forge        
    debugpy:                       1.5.1-py37hd8d24ac_0         conda-forge        
    decorator:                     5.1.1-pyhd8ed1ab_0           conda-forge        
    defusedxml:                    0.7.1-pyhd8ed1ab_0           conda-forge        
    entrypoints:                   0.4-pyhd8ed1ab_0             conda-forge        
    expat:                         2.4.7-h96cf925_0             conda-forge        
    fftw:                          3.3.10-nompi_hf082fe4_102    conda-forge        
    fkcombu:                       2020.04.14-h254f028_0        michellab/label/dev
    flit-core:                     3.7.1-pyhd8ed1ab_0           conda-forge        
    font-ttf-dejavu-sans-mono:     2.37-hab24e00_0              conda-forge        
    font-ttf-inconsolata:          3.000-h77eed37_0             conda-forge        
    font-ttf-source-code-pro:      2.038-h77eed37_0             conda-forge        
    font-ttf-ubuntu:               0.83-hab24e00_0              conda-forge        
    fontconfig:                    2.13.96-h676cef8_1           conda-forge        
    fonts-conda-ecosystem:         1-0                          conda-forge        
    fonts-conda-forge:             1-0                          conda-forge        
    fonttools:                     4.29.1-py37h271585c_0        conda-forge        
    freetype:                      2.10.4-h4cff582_1            conda-forge        
    fribidi:                       1.0.10-hbcb3906_0            conda-forge        
    gdk-pixbuf:                    2.42.6-h2e6141f_0            conda-forge        
    gettext:                       0.19.8.1-hd1a6beb_1008       conda-forge        
    giflib:                        5.2.1-hbcb3906_2             conda-forge        
    git:                           2.35.1-pl5321h33a4a8a_0      conda-forge        
    graphite2:                     1.3.13-h2e338ed_1001         conda-forge        
    graphviz:                      3.0.0-h6f567cf_0             conda-forge        
    greenlet:                      1.1.2-py37hd8d24ac_1         conda-forge        
    griddataformats:               0.7.0-pyhd8ed1ab_0           conda-forge        
    gsd:                           2.5.1-py37h032687b_0         conda-forge        
    gsl:                           2.7-h93259b0_0               conda-forge        
    gtk2:                          2.24.33-h7c1209e_2           conda-forge        
    gts:                           0.7.6-hccb3bdf_2             conda-forge        
    harfbuzz:                      3.4.0-h447b35c_0             conda-forge        
    hdf4:                          4.2.15-hefd3b78_3            conda-forge        
    hdf5:                          1.12.1-nompi_ha60fbc9_104    conda-forge        
    icu:                           69.1-he49afe7_0              conda-forge        
    idna:                          3.3-pyhd8ed1ab_0             conda-forge        
    importlib-metadata:            4.11.2-py37hf985489_0        conda-forge        
    importlib_metadata:            4.11.2-hd8ed1ab_0            conda-forge        
    importlib_resources:           5.4.0-pyhd8ed1ab_0           conda-forge        
    iniconfig:                     1.1.1-pyh9f0ad1d_0           conda-forge        
    ipykernel:                     6.9.1-py37h4c52d7d_0         conda-forge        
    ipython:                       7.32.0-py37hf985489_0        conda-forge        
    ipython_genutils:              0.2.0-py_1                   conda-forge        
    ipywidgets:                    7.6.5-pyhd8ed1ab_0           conda-forge        
    jbig:                          2.1-h0d85af4_2003            conda-forge        
    jedi:                          0.18.1-py37hf985489_0        conda-forge        
    jinja2:                        3.0.3-pyhd8ed1ab_0           conda-forge        
    joblib:                        1.1.0-pyhd8ed1ab_0           conda-forge        
    jpeg:                          9e-h0d85af4_0                conda-forge        
    jsonschema:                    4.4.0-pyhd8ed1ab_0           conda-forge        
    jupyter_client:                7.1.2-pyhd8ed1ab_0           conda-forge        
    jupyter_core:                  4.9.2-py37hf985489_0         conda-forge        
    jupyterlab_pygments:           0.1.2-pyh9f0ad1d_0           conda-forge        
    jupyterlab_widgets:            1.0.2-pyhd8ed1ab_0           conda-forge        
    khronos-opencl-icd-loader:     2022.01.04-h0d85af4_0        conda-forge        
    kiwisolver:                    1.3.2-py37h737db71_1         conda-forge        
    krb5:                          1.19.2-hb49756b_4            conda-forge        
    lcms2:                         2.12-h577c468_0              conda-forge        
    lerc:                          3.0-he49afe7_0               conda-forge        
    libblas:                       3.9.0-13_osx64_openblas      conda-forge        
    libbrotlicommon:               1.0.9-h0d85af4_6             conda-forge        
    libbrotlidec:                  1.0.9-h0d85af4_6             conda-forge        
    libbrotlienc:                  1.0.9-h0d85af4_6             conda-forge        
    libcblas:                      3.9.0-13_osx64_openblas      conda-forge        
    libclang:                      13.0.1-default_he082bbe_0    conda-forge        
    libcpuid:                      0.5.1-h01edc0c_0             michellab/label/dev
    libcurl:                       7.82.0-h9f20792_0            conda-forge        
    libcxx:                        12.0.1-habf9029_1            conda-forge        
    libdeflate:                    1.10-h0d85af4_0              conda-forge        
    libedit:                       3.1.20191231-h0678c8f_2      conda-forge        
    libev:                         4.33-haf1e3a3_1              conda-forge        
    libffi:                        3.4.2-h0d85af4_5             conda-forge        
    libgd:                         2.3.3-hb8742e1_1             conda-forge        
    libgfortran:                   5.0.0-9_3_0_h6c81a4c_23      conda-forge        
    libgfortran5:                  9.3.0-h6c81a4c_23            conda-forge        
    libglib:                       2.70.2-hf1fb8c0_4            conda-forge        
    libiconv:                      1.16-haf1e3a3_0              conda-forge        
    liblapack:                     3.9.0-13_osx64_openblas      conda-forge        
    libllvm13:                     13.0.1-h64f94b2_2            conda-forge        
    libnetcdf:                     4.8.1-nompi_h6609ca0_101     conda-forge        
    libnghttp2:                    1.47.0-h942079c_0            conda-forge        
    libopenblas:                   0.3.18-openmp_h3351f45_0     conda-forge        
    libpng:                        1.6.37-h7cec526_2            conda-forge        
    libpq:                         14.2-hea3049e_0              conda-forge        
    librsvg:                       2.52.5-h5e5d7d9_2            conda-forge        
    libsodium:                     1.0.18-hbcb3906_1            conda-forge        
    libssh2:                       1.10.0-h52ee1ee_2            conda-forge        
    libtiff:                       4.3.0-h17f2ce3_3             conda-forge        
    libtool:                       2.4.6-he49afe7_1008          conda-forge        
    libwebp:                       1.2.2-h28dabe5_0             conda-forge        
    libwebp-base:                  1.2.2-h0d85af4_1             conda-forge        
    libxcb:                        1.13-h0d85af4_1004           conda-forge        
    libxml2:                       2.9.12-h7e28ab6_1            conda-forge        
    libzip:                        1.8.0-h8b0c345_1             conda-forge        
    libzlib:                       1.2.11-h9173be1_1013         conda-forge        
    llvm-openmp:                   13.0.1-hcb1a161_1            conda-forge        
    lz4-c:                         1.9.3-he49afe7_1             conda-forge        
    markupsafe:                    2.1.0-py37h69ee0a8_1         conda-forge        
    matplotlib-base:               3.5.1-py37h3147e9e_0         conda-forge        
    matplotlib-inline:             0.1.3-pyhd8ed1ab_0           conda-forge        
    mdanalysis:                    2.1.0-py37h0582d14_0         conda-forge        
    mdtraj:                        1.9.7-py37h7b928b5_1         conda-forge        
    mistune:                       0.8.4-py37h271585c_1005      conda-forge        
    mmtf-python:                   1.1.2-py_0                   conda-forge        
    mrcfile:                       1.3.0-pyh44b312d_0           conda-forge        
    msgpack-python:                1.0.3-py37h737db71_0         conda-forge        
    munkres:                       1.1.4-pyh9f0ad1d_0           conda-forge        
    mysql-common:                  8.0.28-h694c41f_0            conda-forge        
    mysql-libs:                    8.0.28-h115446f_0            conda-forge        
    nbclient:                      0.5.12-pyhd8ed1ab_0          conda-forge        
    nbconvert:                     6.4.2-py37hf985489_0         conda-forge        
    nbformat:                      5.1.3-pyhd8ed1ab_0           conda-forge        
    ncurses:                       6.3-he49afe7_0               conda-forge        
    nest-asyncio:                  1.5.4-pyhd8ed1ab_0           conda-forge        
    netcdf4:                       1.5.8-nompi_py37h5a78667_101 conda-forge        
    networkx:                      2.7.1-pyhd8ed1ab_0           conda-forge        
    nglview:                       3.0.3-pyh8a188c0_0           conda-forge        
    notebook:                      6.4.8-pyha770c72_0           conda-forge        
    nspr:                          4.32-hcd9eead_1              conda-forge        
    nss:                           3.74-h31e2bf1_0              conda-forge        
    numexpr:                       2.8.0-py37h5b83a90_1         conda-forge        
    numpy:                         1.21.5-py37h3c8089f_0        conda-forge        
    ocl_icd_wrapper_apple:         1.0.0-hbcb3906_0             conda-forge        
    openff-forcefields:            2.0.0-pyh6c4a22f_0           conda-forge        
    openff-toolkit-base:           0.10.3-pyhd8ed1ab_0          conda-forge        
    openjpeg:                      2.4.0-h6e7aa92_1             conda-forge        
    openmm:                        7.7.0-py37hf0bdc88_0_khronos conda-forge        
    openssl:                       1.1.1l-h0d85af4_0            conda-forge        
    packaging:                     21.3-pyhd8ed1ab_0            conda-forge        
    pandas:                        1.3.5-py37h5b83a90_0         conda-forge        
    pandoc:                        2.17.1.1-h694c41f_0          conda-forge        
    pandocfilters:                 1.5.0-pyhd8ed1ab_0           conda-forge        
    pango:                         1.50.5-h0e59876_0            conda-forge        
    parmed:                        3.4.3-py37hd8d24ac_1         conda-forge        
    parso:                         0.8.3-pyhd8ed1ab_0           conda-forge        
    patsy:                         0.5.2-pyhd8ed1ab_0           conda-forge        
    pcre:                          8.45-he49afe7_0              conda-forge        
    pcre2:                         10.37-ha16e1b2_0             conda-forge        
    perl:                          5.32.1-2_h0d85af4_perl5      conda-forge        
    pexpect:                       4.8.0-pyh9f0ad1d_2           conda-forge        
    pickleshare:                   0.7.5-py_1003                conda-forge        
    pillow:                        9.0.1-py37h2540ef4_2         conda-forge        
    pip:                           22.0.4-pyhd8ed1ab_0          conda-forge        
    pixman:                        0.40.0-hbcb3906_0            conda-forge        
    pluggy:                        1.0.0-py37hf985489_2         conda-forge        
    prometheus_client:             0.13.1-pyhd8ed1ab_0          conda-forge        
    prompt-toolkit:                3.0.27-pyha770c72_0          conda-forge        
    pthread-stubs:                 0.4-hc929b4f_1001            conda-forge        
    ptyprocess:                    0.7.0-pyhd3deb0d_0           conda-forge        
    py:                            1.11.0-pyh6c4a22f_0          conda-forge        
    pycairo:                       1.21.0-py37h626a405_0        conda-forge        
    pycparser:                     2.21-pyhd8ed1ab_0            conda-forge        
    pydot:                         1.4.2-py37hf985489_1         conda-forge        
    pygments:                      2.11.2-pyhd8ed1ab_0          conda-forge        
    pygtail:                       0.11.1-py_0                  conda-forge        
    pymbar:                        3.0.6-py37h032687b_0         conda-forge        
    pyopenssl:                     22.0.0-pyhd8ed1ab_0          conda-forge        
    pyparsing:                     3.0.7-pyhd8ed1ab_0           conda-forge        
    pypdb:                         2.0-pyhd8ed1ab_0             conda-forge        
    pyqt:                          5.12.3-py37hf985489_8        conda-forge        
    pyqt-impl:                     5.12.3-py37hab5ec1f_8        conda-forge        
    pyqt5-sip:                     4.19.18-py37h070e122_8       conda-forge        
    pyqtchart:                     5.12-py37hab5ec1f_8          conda-forge        
    pyqtwebengine:                 5.12.1-py37hab5ec1f_8        conda-forge        
    pyrsistent:                    0.18.1-py37h271585c_0        conda-forge        
    pysocks:                       1.7.1-py37hf985489_4         conda-forge        
    pytables:                      3.7.0-py37hc0663ee_0         conda-forge        
    pytest:                        7.0.1-py37hf985489_0         conda-forge        
    python:                        3.7.12-haf480d7_100_cpython  conda-forge        
    python-dateutil:               2.8.2-pyhd8ed1ab_0           conda-forge        
    python_abi:                    3.7-2_cp37m                  conda-forge        
    pytz:                          2021.3-pyhd8ed1ab_0          conda-forge        
    pyyaml:                        6.0-py37h271585c_3           conda-forge        
    pyzmq:                         22.3.0-py37h8f778e5_1        conda-forge        
    qt:                            5.12.9-h2a607e2_5            conda-forge        
    rdkit:                         2021.09.5-py37h72bc793_0     conda-forge        
    readline:                      8.1-h05e3726_0               conda-forge        
    reportlab:                     3.5.68-py37h08983f2_1        conda-forge        
    requests:                      2.27.1-pyhd8ed1ab_0          conda-forge        
    scikit-learn:                  1.0.2-py37h572704e_0         conda-forge        
    scipy:                         1.7.3-py37h4e3cf02_0         conda-forge        
    seaborn:                       0.11.2-hd8ed1ab_0            conda-forge        
    seaborn-base:                  0.11.2-pyhd8ed1ab_0          conda-forge        
    send2trash:                    1.8.0-pyhd8ed1ab_0           conda-forge        
    setuptools:                    59.8.0-py37hf985489_0        conda-forge        
    sire:                          2022.1.0-py37h01edc0c_14     michellab/label/dev
    six:                           1.16.0-pyh6c4a22f_0          conda-forge        
    smirnoff99frosst:              1.1.0-pyh44b312d_0           conda-forge        
    snappy:                        1.1.8-hb1e8313_3             conda-forge        
    sqlalchemy:                    1.4.32-py37h69ee0a8_0        conda-forge        
    sqlite:                        3.37.0-h23a322b_0            conda-forge        
    statsmodels:                   0.13.2-py37h032687b_0        conda-forge        
    tbb:                           2021.5.0-h940c156_0          conda-forge        
    terminado:                     0.13.3-py37hf985489_0        conda-forge        
    testpath:                      0.6.0-pyhd8ed1ab_0           conda-forge        
    threadpoolctl:                 3.1.0-pyh8a188c0_0           conda-forge        
    tk:                            8.6.12-h5dbffcc_0            conda-forge        
    tomli:                         2.0.1-pyhd8ed1ab_0           conda-forge        
    tornado:                       6.1-py37h271585c_2           conda-forge        
    tqdm:                          4.63.0-pyhd8ed1ab_0          conda-forge        
    traitlets:                     5.1.1-pyhd8ed1ab_0           conda-forge        
    typing_extensions:             4.1.1-pyha770c72_0           conda-forge        
    unicodedata2:                  14.0.0-py37h271585c_0        conda-forge        
    urllib3:                       1.26.8-pyhd8ed1ab_1          conda-forge        
    watchdog:                      2.1.6-py37hb9fb9c6_1         conda-forge        
    wcwidth:                       0.2.5-pyh9f0ad1d_2           conda-forge        
    webencodings:                  0.5.1-py_1                   conda-forge        
    wheel:                         0.37.1-pyhd8ed1ab_0          conda-forge        
    widgetsnbextension:            3.5.2-py37hf985489_1         conda-forge        
    xmltodict:                     0.12.0-py_0                  conda-forge        
    xorg-libxau:                   1.0.9-h35c211d_0             conda-forge        
    xorg-libxdmcp:                 1.1.3-h35c211d_0             conda-forge        
    xz:                            5.2.5-haf1e3a3_1             conda-forge        
    yaml:                          0.2.5-h0d85af4_2             conda-forge        
    zeromq:                        4.3.4-he49afe7_1             conda-forge        
    zipp:                          3.7.0-pyhd8ed1ab_1           conda-forge        
    zlib:                          1.2.11-h9173be1_1013         conda-forge        
    zstd:                          1.5.2-h582d3a0_0             conda-forge

Environment info

Can't access, since failure was during our CI. Can reproduce locally if needed.

Dependencies in build 4 broken (lzma?)

The 2.12.1-4 package has broken library dependencies (on OSX, didn't check linux). I double checked this file: https://anaconda.org/conda-forge/fontconfig/2.12.1/download/osx-64/fontconfig-2.12.1-4.tar.bz2

Notably, with build 4, liblzma is required to link but not included with any of the packages included through the run dependency hierarchy.

It may just require a rebuild.

Perhaps it would be useful to have conda inspect linkages|objects fail if any binaries are found to require libs that aren't in $PREFIX or /usr/lib or are in a "blacklist" (libz)?

# otool -L miniconda3/pkgs/fontconfig-2.12.1-4/lib/libfontconfig.1.dylib
pkgs/fontconfig-2.12.1-4/lib/libfontconfig.1.dylib:
	@rpath/libfontconfig.1.dylib (compatibility version 11.0.0, current version 11.2.0)
	@rpath/libfreetype.6.dylib (compatibility version 19.0.0, current version 19.6.0)
	@rpath/libpng16.16.dylib (compatibility version 45.0.0, current version 45.0.0)
	@rpath/libxml2.2.dylib (compatibility version 12.0.0, current version 12.4.0)
	@rpath/libicui18n.58.dylib (compatibility version 58.0.0, current version 58.1.0)
	@rpath/libicuuc.58.dylib (compatibility version 58.0.0, current version 58.1.0)
	@rpath/libicudata.58.dylib (compatibility version 58.0.0, current version 58.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
	@rpath/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	@rpath/liblzma.5.dylib (compatibility version 8.0.0, current version 8.2.0)
	@rpath/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0)

$ otool -L miniconda3/pkgs/fontconfig-2.12.1-3/lib/libfontconfig.1.dylib
miniconda3/pkgs/fontconfig-2.12.1-3/lib/libfontconfig.1.dylib:
	@rpath/libfontconfig.1.dylib (compatibility version 11.0.0, current version 11.2.0)
	@rpath/libfreetype.6.dylib (compatibility version 18.0.0, current version 18.4.0)
	@rpath/libxml2.2.dylib (compatibility version 12.0.0, current version 12.4.0)
	@rpath/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
	@rpath/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

Windows build???

I'm hoping to do a Windows build of libgd, but it requires fontconfig, and there is currently no Windows build for fontconfig.

Is there a major blocker? or has just no one gotten around to getting it working?

-CHB

Error 133 when build fontconfig with OSX

Hello,

having problems to build fonconfig with OSX 10.11.6

What i do:

cd ${CMPL} tar xjpf ../source/fontconfig-2.12.1.tar.bz2 cd fontconfig-2.12.1 ./configure --prefix=${TARGET} --with-add-fonts=/Library/Fonts,~/Library/Fonts --enable-iconv --with-libiconv-lib=${TARGET}/lib --with-libiconv-includes=${TARGET}/include --with-libiconv=${TARGET}/bin --enable-static --enable-shared=no --enable-libxml2 --disable-docs make clean make -j 4 && make install

Result:
`dyld: lazy symbol binding failed: Symbol not found: _mkostemp
Referenced from: /Volumes/Ramdisk/compile/fontconfig-2.11.1/fc-cache/fc-cache (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _mkostemp
Referenced from: /Volumes/Ramdisk/compile/fontconfig-2.11.1/fc-cache/fc-cache (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib

/bin/sh: line 1: 7966 Trace/BPT trap: 5 fc-cache/fc-cache -s -f -v
make[2]: *** [install-data-local] Error 133
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
`

Any ideas?

Update to more recent version?

Right now this fontconfig feedstock is based on the current "stable" version of fontconfig, 2.13.1, which was released in 2018. However, the most recent version of fontconfig is 2.13.94 (2.14 RC4) from 2021-06-28, which contains several useful fixes.

Dear maintainers, would you consider updating this feedstock to use a more recent fontconfig version? I understand if you want to stick to the old "stable" version, but given that it is quite old I see value in getting a more recent version up on conda-forge.

Latest build for linux-64 leads to broken plots in R

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Inside a docker container based on continuumio/miniconda3:4.10.3 installing r-ggplot2 and specifying fontconfig=2.13.96=h8e229c2_1 leads to plots being rendered with all text characters replaced by squares. If fontconfig=2.13.96=ha180cfb_0 is specified instead, the issue is not present.

example code to test in each environment.

echo -e 'png(\'test.png\')\nggplot2::qplot(1:10)\ndev.off()' > test.R
Rscript test.R

outputs:
with fontconfig=2.13.96=h8e229c2_1:
brokentest

with fontconfig=2.13.96=ha180cfb_0:
workingtest

Installed packages

# ---- BROKEN ENVIRONMENT ----
# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
_r-mutex                  1.0.1               anacondar_1    conda-forge
binutils_impl_linux-64    2.35.1               h27ae35d_9  
binutils_linux-64         2.35                h67ddf6f_30    conda-forge
brotlipy                  0.7.0           py39h27cfd23_1003  
bwidget                   1.9.14               ha770c72_1    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2021.10.8            ha878542_0    conda-forge
cairo                     1.16.0            h6cf1ce9_1008    conda-forge
certifi                   2021.10.8        py39hf3d152e_1    conda-forge
cffi                      1.14.6           py39h400218f_0  
chardet                   4.0.0           py39h06a4308_1003  
conda                     4.11.0           py39hf3d152e_1    conda-forge
conda-package-handling    1.7.3            py39h27cfd23_1  
cryptography              3.4.7            py39hd23ed53_0  
curl                      7.80.0               h7f8727e_0  
expat                     2.4.7                h27087fc_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.96              h8e229c2_1    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gcc_impl_linux-64         9.3.0               h6df7d76_17  
gcc_linux-64              9.3.0               hf25ea35_30    conda-forge
gettext                   0.19.8.1          h0b5b191_1005    conda-forge
gfortran_impl_linux-64    9.3.0               hc4a2995_19    conda-forge
gfortran_linux-64         9.3.0               hdc58fab_30    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
gsl                       2.6                  he838d99_2    conda-forge
gxx_impl_linux-64         9.3.0               hbdd7822_17  
gxx_linux-64              9.3.0               h3fbe746_30    conda-forge
harfbuzz                  3.0.0                h83ec7ef_1    conda-forge
icu                       68.2                 h9c3ff4c_0    conda-forge
idna                      2.10               pyhd3eb1b0_0  
jbig                      2.1               h7f98852_2003    conda-forge
jpeg                      9e                   h7f98852_0    conda-forge
kernel-headers_linux-64   2.6.32              he073ed8_15    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.19.2               h3790be6_4    conda-forge
ld_impl_linux-64          2.35.1               h7274673_9  
lerc                      2.2.1                h9c3ff4c_0    conda-forge
libarchive                3.5.2                hccf745f_1    conda-forge
libblas                   3.9.0           13_linux64_openblas    conda-forge
libcblas                  3.9.0           13_linux64_openblas    conda-forge
libcurl                   7.80.0               h0b77cf5_0  
libdeflate                1.7                  h7f98852_5    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.3                  he6710b0_2  
libgcc-devel_linux-64     9.3.0               hb95220a_17  
libgcc-ng                 11.2.0              h1d223b6_13    conda-forge
libgfortran-ng            9.4.0               h69a702a_13    conda-forge
libgfortran5              9.4.0               h62347ff_13    conda-forge
libglib                   2.68.4               h3e27bee_0    conda-forge
libgomp                   11.2.0              h1d223b6_13    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
liblapack                 3.9.0           13_linux64_openblas    conda-forge
libnghttp2                1.46.0               hce63b2e_0  
libopenblas               0.3.18          pthreads_h8fe5266_0    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libsolv                   0.7.19               h780b84a_5    conda-forge
libssh2                   1.10.0               ha56f1ee_2    conda-forge
libstdcxx-devel_linux-64  9.3.0               hf0c5c8d_17  
libstdcxx-ng              11.2.0              he4da1e4_13    conda-forge
libtiff                   4.3.0                hf544144_1    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libwebp-base              1.2.2                h7f98852_1    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxml2                   2.9.12               h72842e0_0    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
lzo                       2.10              h516909a_1000    conda-forge
make                      4.3                  hd18ef5c_1    conda-forge
mamba                     0.15.3           py39h951de11_0    conda-forge
ncurses                   6.2                  he6710b0_1  
openssl                   1.1.1l               h7f98852_0    conda-forge
pango                     1.48.10              h54213e6_2    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pcre2                     10.37                h032f7d1_0    conda-forge
pip                       21.1.3           py39h06a4308_0  
pixman                    0.40.0               h36c2ea0_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pycosat                   0.6.3            py39h27cfd23_0  
pycparser                 2.20                       py_2  
pyopenssl                 20.0.1             pyhd3eb1b0_1  
pysocks                   1.7.1            py39h06a4308_0  
python                    3.9.5                h12debd9_4  
python_abi                3.9                      2_cp39    conda-forge
r-assertthat              0.2.1             r41hc72bb7e_2    conda-forge
r-backports               1.4.1             r41hcfec24a_0    conda-forge
r-base                    4.1.1                hb67fd72_0    conda-forge
r-brio                    1.1.3             r41hcfec24a_0    conda-forge
r-callr                   3.7.0             r41hc72bb7e_0    conda-forge
r-cli                     3.2.0             r41h03ef668_0    conda-forge
r-colorspace              2.0_3             r41h06615bd_0    conda-forge
r-crayon                  1.5.0             r41hc72bb7e_0    conda-forge
r-desc                    1.4.0             r41hc72bb7e_0    conda-forge
r-diffobj                 0.3.5             r41hcfec24a_0    conda-forge
r-digest                  0.6.29            r41h03ef668_0    conda-forge
r-ellipsis                0.3.2             r41hcfec24a_0    conda-forge
r-evaluate                0.15              r41hc72bb7e_0    conda-forge
r-fansi                   1.0.2             r41hcfec24a_0    conda-forge
r-farver                  2.1.0             r41h03ef668_0    conda-forge
r-ggplot2                 3.3.5             r41hc72bb7e_0    conda-forge
r-glue                    1.6.2             r41h06615bd_0    conda-forge
r-gtable                  0.3.0             r41hc72bb7e_3    conda-forge
r-isoband                 0.2.5             r41h03ef668_0    conda-forge
r-jsonlite                1.8.0             r41h06615bd_0    conda-forge
r-labeling                0.4.2             r41hc72bb7e_1    conda-forge
r-lattice                 0.20_45           r41hcfec24a_0    conda-forge
r-lifecycle               1.0.1             r41hc72bb7e_0    conda-forge
r-magrittr                2.0.2             r41hcfec24a_0    conda-forge
r-mass                    7.3_55            r41hcfec24a_0    conda-forge
r-matrix                  1.4_0             r41he454529_0    conda-forge
r-mgcv                    1.8_39            r41h0154571_0    conda-forge
r-munsell                 0.5.0           r41hc72bb7e_1004    conda-forge
r-nlme                    3.1_155           r41h859d828_0    conda-forge
r-pillar                  1.7.0             r41hc72bb7e_0    conda-forge
r-pkgconfig               2.0.3             r41hc72bb7e_1    conda-forge
r-pkgload                 1.2.4             r41h03ef668_0    conda-forge
r-praise                  1.0.0           r41hc72bb7e_1005    conda-forge
r-processx                3.5.2             r41hcfec24a_0    conda-forge
r-ps                      1.6.0             r41hcfec24a_0    conda-forge
r-r6                      2.5.1             r41hc72bb7e_0    conda-forge
r-rcolorbrewer            1.1_2           r41h785f33e_1003    conda-forge
r-rcpp                    1.0.8             r41h03ef668_0    conda-forge
r-rematch2                2.1.2             r41hc72bb7e_1    conda-forge
r-rlang                   0.4.12            r41hcfec24a_0    conda-forge
r-rprojroot               2.0.2             r41hc72bb7e_0    conda-forge
r-rstudioapi              0.13              r41hc72bb7e_0    conda-forge
r-scales                  1.1.1             r41hc72bb7e_0    conda-forge
r-testthat                3.1.2             r41h03ef668_0    conda-forge
r-tibble                  3.1.6             r41hcfec24a_0    conda-forge
r-utf8                    1.2.2             r41hcfec24a_0    conda-forge
r-vctrs                   0.3.8             r41hcfec24a_1    conda-forge
r-viridislite             0.4.0             r41hc72bb7e_0    conda-forge
r-waldo                   0.3.1             r41hc72bb7e_0    conda-forge
r-withr                   2.5.0             r41hc72bb7e_0    conda-forge
readline                  8.1                  h27cfd23_0  
reproc                    14.2.3               h7f98852_0    conda-forge
reproc-cpp                14.2.3               h9c3ff4c_0    conda-forge
requests                  2.25.1             pyhd3eb1b0_0  
ruamel_yaml               0.15.100         py39h27cfd23_0  
sed                       4.8                  he412f7d_0    conda-forge
setuptools                52.0.0           py39h06a4308_0  
six                       1.16.0             pyhd3eb1b0_0  
sqlite                    3.36.0               hc218d9a_0  
sysroot_linux-64          2.12                he073ed8_15    conda-forge
tk                        8.6.10               hbc83047_0  
tktable                   2.10                 hb7b940f_3    conda-forge
tqdm                      4.61.2             pyhd3eb1b0_1  
tzdata                    2021a                h52ac0ba_0  
urllib3                   1.26.6             pyhd3eb1b0_1  
wheel                     0.36.2             pyhd3eb1b0_0  
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxt                1.2.1                h7f98852_2    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.5                h7b6447c_0  
yaml                      0.2.5                h7b6447c_0  
zlib                      1.2.11               h7b6447c_3  
zstd                      1.5.0                ha4553b6_1  



# ---- WORKING ENVIRONMENT  ----
# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
_r-mutex                  1.0.1               anacondar_1    conda-forge
binutils_impl_linux-64    2.35.1               h27ae35d_9  
binutils_linux-64         2.35                h67ddf6f_30    conda-forge
brotlipy                  0.7.0           py39h27cfd23_1003  
bwidget                   1.9.14               ha770c72_1    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2021.10.8            ha878542_0    conda-forge
cairo                     1.16.0            h6cf1ce9_1008    conda-forge
certifi                   2021.10.8        py39hf3d152e_1    conda-forge
cffi                      1.14.6           py39h400218f_0  
chardet                   4.0.0           py39h06a4308_1003  
conda                     4.11.0           py39hf3d152e_1    conda-forge
conda-package-handling    1.7.3            py39h27cfd23_1  
cryptography              3.4.7            py39hd23ed53_0  
curl                      7.80.0               h7f8727e_0  
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.96              ha180cfb_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gcc_impl_linux-64         9.3.0               h6df7d76_17  
gcc_linux-64              9.3.0               hf25ea35_30    conda-forge
gettext                   0.19.8.1          h0b5b191_1005    conda-forge
gfortran_impl_linux-64    9.3.0               hc4a2995_19    conda-forge
gfortran_linux-64         9.3.0               hdc58fab_30    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
gsl                       2.6                  he838d99_2    conda-forge
gxx_impl_linux-64         9.3.0               hbdd7822_17  
gxx_linux-64              9.3.0               h3fbe746_30    conda-forge
harfbuzz                  3.0.0                h83ec7ef_1    conda-forge
icu                       68.2                 h9c3ff4c_0    conda-forge
idna                      2.10               pyhd3eb1b0_0  
jbig                      2.1               h7f98852_2003    conda-forge
jpeg                      9e                   h7f98852_0    conda-forge
kernel-headers_linux-64   2.6.32              he073ed8_15    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.19.2               h3790be6_4    conda-forge
ld_impl_linux-64          2.35.1               h7274673_9  
lerc                      2.2.1                h9c3ff4c_0    conda-forge
libarchive                3.5.2                hccf745f_1    conda-forge
libblas                   3.9.0           13_linux64_openblas    conda-forge
libcblas                  3.9.0           13_linux64_openblas    conda-forge
libcurl                   7.80.0               h0b77cf5_0  
libdeflate                1.7                  h7f98852_5    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.3                  he6710b0_2  
libgcc-devel_linux-64     9.3.0               hb95220a_17  
libgcc-ng                 11.2.0              h1d223b6_13    conda-forge
libgfortran-ng            9.4.0               h69a702a_13    conda-forge
libgfortran5              9.4.0               h62347ff_13    conda-forge
libglib                   2.68.4               h3e27bee_0    conda-forge
libgomp                   11.2.0              h1d223b6_13    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
liblapack                 3.9.0           13_linux64_openblas    conda-forge
libnghttp2                1.46.0               hce63b2e_0  
libopenblas               0.3.18          pthreads_h8fe5266_0    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libsolv                   0.7.19               h780b84a_5    conda-forge
libssh2                   1.10.0               ha56f1ee_2    conda-forge
libstdcxx-devel_linux-64  9.3.0               hf0c5c8d_17  
libstdcxx-ng              11.2.0              he4da1e4_13    conda-forge
libtiff                   4.3.0                hf544144_1    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libwebp-base              1.2.2                h7f98852_1    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxml2                   2.9.12               h72842e0_0    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
lzo                       2.10              h516909a_1000    conda-forge
make                      4.3                  hd18ef5c_1    conda-forge
mamba                     0.15.3           py39h951de11_0    conda-forge
ncurses                   6.2                  he6710b0_1  
openssl                   1.1.1l               h7f98852_0    conda-forge
pango                     1.48.10              h54213e6_2    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pcre2                     10.37                h032f7d1_0    conda-forge
pip                       21.1.3           py39h06a4308_0  
pixman                    0.40.0               h36c2ea0_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pycosat                   0.6.3            py39h27cfd23_0  
pycparser                 2.20                       py_2  
pyopenssl                 20.0.1             pyhd3eb1b0_1  
pysocks                   1.7.1            py39h06a4308_0  
python                    3.9.5                h12debd9_4  
python_abi                3.9                      2_cp39    conda-forge
r-assertthat              0.2.1             r41hc72bb7e_2    conda-forge
r-backports               1.4.1             r41hcfec24a_0    conda-forge
r-base                    4.1.1                hb67fd72_0    conda-forge
r-brio                    1.1.3             r41hcfec24a_0    conda-forge
r-callr                   3.7.0             r41hc72bb7e_0    conda-forge
r-cli                     3.2.0             r41h03ef668_0    conda-forge
r-colorspace              2.0_3             r41h06615bd_0    conda-forge
r-crayon                  1.5.0             r41hc72bb7e_0    conda-forge
r-desc                    1.4.0             r41hc72bb7e_0    conda-forge
r-diffobj                 0.3.5             r41hcfec24a_0    conda-forge
r-digest                  0.6.29            r41h03ef668_0    conda-forge
r-ellipsis                0.3.2             r41hcfec24a_0    conda-forge
r-evaluate                0.15              r41hc72bb7e_0    conda-forge
r-fansi                   1.0.2             r41hcfec24a_0    conda-forge
r-farver                  2.1.0             r41h03ef668_0    conda-forge
r-ggplot2                 3.3.5             r41hc72bb7e_0    conda-forge
r-glue                    1.6.2             r41h06615bd_0    conda-forge
r-gtable                  0.3.0             r41hc72bb7e_3    conda-forge
r-isoband                 0.2.5             r41h03ef668_0    conda-forge
r-jsonlite                1.8.0             r41h06615bd_0    conda-forge
r-labeling                0.4.2             r41hc72bb7e_1    conda-forge
r-lattice                 0.20_45           r41hcfec24a_0    conda-forge
r-lifecycle               1.0.1             r41hc72bb7e_0    conda-forge
r-magrittr                2.0.2             r41hcfec24a_0    conda-forge
r-mass                    7.3_55            r41hcfec24a_0    conda-forge
r-matrix                  1.4_0             r41he454529_0    conda-forge
r-mgcv                    1.8_39            r41h0154571_0    conda-forge
r-munsell                 0.5.0           r41hc72bb7e_1004    conda-forge
r-nlme                    3.1_155           r41h859d828_0    conda-forge
r-pillar                  1.7.0             r41hc72bb7e_0    conda-forge
r-pkgconfig               2.0.3             r41hc72bb7e_1    conda-forge
r-pkgload                 1.2.4             r41h03ef668_0    conda-forge
r-praise                  1.0.0           r41hc72bb7e_1005    conda-forge
r-processx                3.5.2             r41hcfec24a_0    conda-forge
r-ps                      1.6.0             r41hcfec24a_0    conda-forge
r-r6                      2.5.1             r41hc72bb7e_0    conda-forge
r-rcolorbrewer            1.1_2           r41h785f33e_1003    conda-forge
r-rcpp                    1.0.8             r41h03ef668_0    conda-forge
r-rematch2                2.1.2             r41hc72bb7e_1    conda-forge
r-rlang                   0.4.12            r41hcfec24a_0    conda-forge
r-rprojroot               2.0.2             r41hc72bb7e_0    conda-forge
r-rstudioapi              0.13              r41hc72bb7e_0    conda-forge
r-scales                  1.1.1             r41hc72bb7e_0    conda-forge
r-testthat                3.1.2             r41h03ef668_0    conda-forge
r-tibble                  3.1.6             r41hcfec24a_0    conda-forge
r-utf8                    1.2.2             r41hcfec24a_0    conda-forge
r-vctrs                   0.3.8             r41hcfec24a_1    conda-forge
r-viridislite             0.4.0             r41hc72bb7e_0    conda-forge
r-waldo                   0.3.1             r41hc72bb7e_0    conda-forge
r-withr                   2.5.0             r41hc72bb7e_0    conda-forge
readline                  8.1                  h27cfd23_0  
reproc                    14.2.3               h7f98852_0    conda-forge
reproc-cpp                14.2.3               h9c3ff4c_0    conda-forge
requests                  2.25.1             pyhd3eb1b0_0  
ruamel_yaml               0.15.100         py39h27cfd23_0  
sed                       4.8                  he412f7d_0    conda-forge
setuptools                52.0.0           py39h06a4308_0  
six                       1.16.0             pyhd3eb1b0_0  
sqlite                    3.36.0               hc218d9a_0  
sysroot_linux-64          2.12                he073ed8_15    conda-forge
tk                        8.6.10               hbc83047_0  
tktable                   2.10                 hb7b940f_3    conda-forge
tqdm                      4.61.2             pyhd3eb1b0_1  
tzdata                    2021a                h52ac0ba_0  
urllib3                   1.26.6             pyhd3eb1b0_1  
wheel                     0.36.2             pyhd3eb1b0_0  
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxt                1.2.1                h7f98852_2    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.5                h7b6447c_0  
yaml                      0.2.5                h7b6447c_0  
zlib                      1.2.11               h7b6447c_3  
zstd                      1.5.0                ha4553b6_1

Environment info

# ---- BROKEN ENVIRONMENT ----
     active environment : base
    active env location : /opt/conda
            shell level : 1
       user config file : /root/.condarc
 populated config files : 
          conda version : 4.11.0
    conda-build version : not installed
         python version : 3.9.5.final.0
       virtual packages : __linux=4.9.51=0
                          __glibc=2.28=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /opt/conda  (writable)
      conda av data dir : /opt/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/conda/pkgs
                          /root/.conda/pkgs
       envs directories : /opt/conda/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/4.11.0 requests/2.25.1 CPython/3.9.5 Linux/4.9.51-10.52.amzn1.x86_64 debian/10 glibc/2.28
                UID:GID : 0:0
             netrc file : None
           offline mode : False



# ---- WORKING ENVIRONMENT  ----
     active environment : base
    active env location : /opt/conda
            shell level : 1
       user config file : /root/.condarc
 populated config files : 
          conda version : 4.11.0
    conda-build version : not installed
         python version : 3.9.5.final.0
       virtual packages : __linux=4.9.51=0
                          __glibc=2.28=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /opt/conda  (writable)
      conda av data dir : /opt/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/conda/pkgs
                          /root/.conda/pkgs
       envs directories : /opt/conda/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/4.11.0 requests/2.25.1 CPython/3.9.5 Linux/4.9.51-10.52.amzn1.x86_64 debian/10 glibc/2.28
                UID:GID : 0:0
             netrc file : None
           offline mode : False

Meson and autotools builds define library version on OSX differently

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Seeing this in recent CI runs:

2022-03-10T23:13:22.0860040Z dyld: Library not loaded: @rpath/libfontconfig.1.dylib
2022-03-10T23:13:22.0862970Z   Referenced from: /Users/runner/miniforge3/conda-bld/gnuradio_1646952491112/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/libpangocairo-1.0.0.dylib
2022-03-10T23:13:22.0864990Z   Reason: Incompatible library version: libpangocairo-1.0.0.dylib requires version 14.0.0 or later, but libfontconfig.1.dylib provides version 13.0.0

This pango was built against the autotools-built fontconfig 2.13.96-*_0 which apparently defined the library version as "14" on OSX, but the installed fontconfig for this CI run is the most recent meson-built one fontconfig 2.13.96-*_2 which defines the library version as "13" on OSX. I don't know which one the upstream developers intend. It's evident how this is defined with meson, but I haven't done the deciphering of the autotools build system to figure the corresponding part there.

I'm not sure if the solution is to patch the fontconfig package to change the OSX library version number to match the old autotools build, or if we should just bite the bullet, keep fontconfig as it is, and recompile everything that links against fontconfig. Opinions are very much welcome.

Installed packages

N/A

Environment info

N/A

Misconfigured fonts.conf for fontconfig on OSX

Currently, the fontconfig package on OSX ships with a /etc/fonts/fonts.conf containing the following font directory list:

<!-- Font directory list -->

	<dir>/usr/share/fonts</dir>
	<dir>/opt/anaconda1anaconda2anaconda3/fonts</dir>
	<dir prefix="xdg">fonts</dir>
	<!-- the following element will be removed in the future -->
	<dir>~/.fonts</dir>

(where /opt/anaconda1anaconda2anaconda3 gets replaced by something that depends on the env prefix at install time.)

This configuration is incorrect, as OSX actually installs system-wide fonts to /Library/Fonts and a few other places (listed at https://support.apple.com/en-us/HT201722); in particular it is unlikely to find any fonts in /usr/share/fonts). The system-wide fonts directories should instead be added during the configure stage using --with-add-fonts, similarly to how homebrew does it (https://github.com/Homebrew/homebrew-core/blob/master/Formula/fontconfig.rb#L35).

Currently, a conda-installed fontconfig will shadow a homebrew-installed one, and make system fonts invisible. This is particularly a problem because conda-forge's matplotlib declares fontconfig as a dependency and matplotlib will rely on fontconfig, if it is present, to query what fonts are available on the system. (While one may argue that fonts should also be installed into the conda env, that seems to be a bit an extreme position, and anyways font packages are not available right now AFAIK.)

xref matplotlib/matplotlib#10201

fontconfig 2.13.1 for Windows missing DLL after installation

Issue: When I install fontconfig on Windows 10, no DLL is included. This causes an error with the weasyprint package that has fontconfig as a dependency conda-forge/weasyprint-feedstock#31.

I ran conda create -n fc-test -c conda-forge fontconfig to install only fontconfig and its dependencies. No DLL was installed in the new environment directory. I don't know the details of conda packaging, but I noticed the file conda-meta/fontconfig-2.13.1-h1989441_1005.json in the environment directory doesn't list any DLL:

  "files": [
    "Library/bin/fc-cache.exe",
    "Library/bin/fc-cat.exe",
    "Library/bin/fc-conflist.exe",
    "Library/bin/fc-list.exe",
    "Library/bin/fc-match.exe",
    "Library/bin/fc-pattern.exe",
    "Library/bin/fc-query.exe",
    "Library/bin/fc-scan.exe",
    "Library/bin/fc-validate.exe",
    "Library/etc/fonts/conf.d/10-hinting-slight.conf",
    "Library/etc/fonts/conf.d/10-scale-bitmap-fonts.conf",
    "Library/etc/fonts/conf.d/20-unhint-small-vera.conf",
    "Library/etc/fonts/conf.d/30-metric-aliases.conf",
    "Library/etc/fonts/conf.d/40-nonlatin.conf",
    "Library/etc/fonts/conf.d/45-generic.conf",
    "Library/etc/fonts/conf.d/45-latin.conf",
    "Library/etc/fonts/conf.d/49-sansserif.conf",
    "Library/etc/fonts/conf.d/50-user.conf",
    "Library/etc/fonts/conf.d/51-local.conf",
    "Library/etc/fonts/conf.d/60-generic.conf",
    "Library/etc/fonts/conf.d/60-latin.conf",
    "Library/etc/fonts/conf.d/65-fonts-persian.conf",
    "Library/etc/fonts/conf.d/65-nonlatin.conf",
    "Library/etc/fonts/conf.d/69-unifont.conf",
    "Library/etc/fonts/conf.d/80-delicious.conf",
    "Library/etc/fonts/conf.d/90-synthetic.conf",
    "Library/etc/fonts/conf.d/README",
    "Library/etc/fonts/fonts.conf",
    "Library/include/fontconfig/fcfreetype.h",
    "Library/include/fontconfig/fcprivate.h",
    "Library/include/fontconfig/fontconfig.h",
    "Library/lib/fontconfig.lib",
    "Library/lib/pkgconfig/fontconfig.pc",
    "Library/share/fontconfig/conf.avail/10-autohint.conf",
    "Library/share/fontconfig/conf.avail/10-hinting-full.conf",
    "Library/share/fontconfig/conf.avail/10-hinting-medium.conf",
    "Library/share/fontconfig/conf.avail/10-hinting-none.conf",
    "Library/share/fontconfig/conf.avail/10-hinting-slight.conf",
    "Library/share/fontconfig/conf.avail/10-no-sub-pixel.conf",
    "Library/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf",
    "Library/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf",
    "Library/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf",
    "Library/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf",
    "Library/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf",
    "Library/share/fontconfig/conf.avail/10-unhinted.conf",
    "Library/share/fontconfig/conf.avail/11-lcdfilter-default.conf",
    "Library/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf",
    "Library/share/fontconfig/conf.avail/11-lcdfilter-light.conf",
    "Library/share/fontconfig/conf.avail/20-unhint-small-vera.conf",
    "Library/share/fontconfig/conf.avail/25-unhint-nonlatin.conf",
    "Library/share/fontconfig/conf.avail/30-metric-aliases.conf",
    "Library/share/fontconfig/conf.avail/40-nonlatin.conf",
    "Library/share/fontconfig/conf.avail/45-generic.conf",
    "Library/share/fontconfig/conf.avail/45-latin.conf",
    "Library/share/fontconfig/conf.avail/49-sansserif.conf",
    "Library/share/fontconfig/conf.avail/50-user.conf",
    "Library/share/fontconfig/conf.avail/51-local.conf",
    "Library/share/fontconfig/conf.avail/60-generic.conf",
    "Library/share/fontconfig/conf.avail/60-latin.conf",
    "Library/share/fontconfig/conf.avail/65-fonts-persian.conf",
    "Library/share/fontconfig/conf.avail/65-khmer.conf",
    "Library/share/fontconfig/conf.avail/65-nonlatin.conf",
    "Library/share/fontconfig/conf.avail/69-unifont.conf",
    "Library/share/fontconfig/conf.avail/70-no-bitmaps.conf",
    "Library/share/fontconfig/conf.avail/70-yes-bitmaps.conf",
    "Library/share/fontconfig/conf.avail/80-delicious.conf",
    "Library/share/fontconfig/conf.avail/90-synthetic.conf",
    "Library/share/gettext/its/fontconfig.its",
    "Library/share/gettext/its/fontconfig.loc",
    "Library/share/xml/fontconfig/fonts.dtd",
    "Library/var/cache/fontconfig/.leave"
  ],

Environment (conda list):
$ conda list
# packages in environment at C:\Users\agitter\.conda\envs\fc-test:
#
# Name                    Version                   Build  Channel
fontconfig                2.13.1            h1989441_1005    conda-forge
freetype                  2.10.4               h546665d_1    conda-forge
libiconv                  1.16                 he774522_0    conda-forge
libpng                    1.6.37               h1d00b33_2    conda-forge
libxml2                   2.9.12               hf5bbc77_1    conda-forge
libzlib                   1.2.11            h8ffe710_1013    conda-forge
ucrt                      10.0.20348.0         h57928b3_0    conda-forge
vc                        14.2                 hb210afc_5    conda-forge
vs2015_runtime            14.29.30037          h902a5da_5    conda-forge
zlib                      1.2.11            h8ffe710_1013    conda-forge

Details about conda and system ( conda info ):
$ conda info
     active environment : fc-test
    active env location : C:\Users\agitter\.conda\envs\fc-test
            shell level : 2
       user config file : C:\Users\agitter\.condarc
 populated config files :
          conda version : 4.7.11
    conda-build version : 3.17.8
         python version : 3.7.3.final.0
       virtual packages :
       base environment : C:\ProgramData\Anaconda3  (read only)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\ProgramData\Anaconda3\pkgs
                          C:\Users\agitter\.conda\pkgs
                          C:\Users\agitter\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\agitter\.conda\envs
                          C:\ProgramData\Anaconda3\envs
                          C:\Users\agitter\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.7.11 requests/2.21.0 CPython/3.7.3 Windows/10 Windows/10.0.19041
          administrator : False
             netrc file : None
           offline mode : False

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.