conda-forge / matplotlib-feedstock

A conda-smithy repository for matplotlib.
BSD 3-Clause "New" or "Revised" License
22 stars 57 forks source link

Fix 353 #325

Closed tacaswell closed 2 years ago

tacaswell commented 2 years ago

Checklist

conda-forge-linter commented 2 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

tacaswell commented 2 years ago

This is the diff of the interesting bits between the 310 that passed in #323 and the 310 that failed here. I tried to push conda-build back, but that failed to even create the build environment.

The source of the failure is that directory for the freetype headers is not being included in the g++ invocation and hence it is (fairly) complaining it can not find the required headers.

--- /tmp/good.log   2022-08-16 18:00:30.096310426 -0400
+++ /tmp/broken3.log    2022-08-16 18:59:38.440594656 -0400
@@ -23,21 +23,36 @@
 Verifying transaction: ...working... done
 Executing transaction: ...working... done
 + mamba update --update-specs --yes --quiet --channel conda-forge conda-build pip boa conda-forge-ci-setup=3
-  Package  Version  Build         Channel                Size
-───────────────────────────────────────────────────────────────
+  Package        Version  Build           Channel                   Size
+──────────────────────────────────────────────────────────────────────────
+  Install:
+──────────────────────────────────────────────────────────────────────────
+
+  + toml          0.10.2  pyhd8ed1ab_0    conda-forge/noarch        18kB
+
+  Change:
+──────────────────────────────────────────────────────────────────────────
+
+  - boa           0.11.0  pyha770c72_1    conda-forge
+  + boa           0.11.0  pyha770c72_2    conda-forge/noarch        55kB
+
   Upgrade:
-───────────────────────────────────────────────────────────────
+──────────────────────────────────────────────────────────────────────────

-  - pip       22.2  pyhd8ed1ab_0  conda-forge
-  + pip     22.2.2  pyhd8ed1ab_0  conda-forge/noarch      2MB
+  - conda-build   3.21.9  py39hf3d152e_1  conda-forge
+  + conda-build   3.22.0  py39hf3d152e_1  conda-forge/linux-64     572kB
+  - pip             22.2  pyhd8ed1ab_0    conda-forge
+  + pip           22.2.2  pyhd8ed1ab_0    conda-forge/noarch         2MB

   Summary:

-  Upgrade: 1 packages
+  Install: 1 packages
+  Change: 1 packages
+  Upgrade: 2 packages

   Total download: 2MB

-───────────────────────────────────────────────────────────────
+──────────────────────────────────────────────────────────────────────────

 Preparing transaction: ...working... done
 Verifying transaction: ...working... done
@@ -71,8 +86,6 @@
 ++ echo '- azure'
 ++ echo ''
 ++ cat /home/conda/feedstock_root/.ci_support/linux_64_numpy1.21python3.10.____cpython.yaml
-++ set -u
-++ mkdir -p /opt/conda/etc/conda/activate.d
 c_compiler:
 - gcc
 c_compiler_version:
@@ -119,12 +132,14 @@
 CI:
 - azure

+++ set -u
+++ mkdir -p /opt/conda/etc/conda/activate.d
 ++ echo 'export CONDA_BLD_PATH='\''/home/conda/feedstock_root/build_artifacts'\'''
 ++ '[' -n 2 ']'
 ++ echo 'export CPU_COUNT='\''2'\'''
 ++ echo 'export PYTHONUNBUFFERED='\''1'\'''
-+++ cat /home/conda/feedstock_root/.ci_support/linux_64_numpy1.21python3.10.____cpython.yaml
 +++ shyaml get-value cuda_compiler_version.0 None
++++ cat /home/conda/feedstock_root/.ci_support/linux_64_numpy1.21python3.10.____cpython.yaml
 ++ CUDA_VERSION=None
 ++ [[ None != \N\o\n\e ]]
 ++++ dirname /opt/conda/bin/run_conda_forge_build_setup
@@ -136,8 +151,8 @@
 ++++ conda info --json
 +++ BUILD_PLATFORM=linux-64
 +++ '[' -f /home/conda/feedstock_root/.ci_support/linux_64_numpy1.21python3.10.____cpython.yaml ']'
-++++ cat /home/conda/feedstock_root/.ci_support/linux_64_numpy1.21python3.10.____cpython.yaml
 ++++ shyaml get-value target_platform.0 linux-64
+++++ cat /home/conda/feedstock_root/.ci_support/linux_64_numpy1.21python3.10.____cpython.yaml
 +++ HOST_PLATFORM=linux-64
 +++ HOST_PLATFORM=linux-64
 +++ [[ linux-64 != \l\i\n\u\x\-\6\4 ]]
@@ -155,7 +170,7 @@
  populated config files : /opt/conda/.condarc
                           /home/conda/.condarc
           conda version : 4.13.0
-    conda-build version : 3.21.9
+    conda-build version : 3.22.0
          python version : 3.9.13.final.0
        virtual packages : __linux=5.15.0=0
                           __glibc=2.17=0
@@ -171,7 +186,7 @@
        envs directories : /opt/conda/envs
                           /home/conda/.conda/envs
                platform : linux-64
-             user-agent : conda/4.13.0 requests/2.28.1 CPython/3.9.13 Linux/5.15.0-1014-azure centos/7.9.2009 glibc/2.17
+             user-agent : conda/4.13.0 requests/2.28.1 CPython/3.9.13 Linux/5.15.0-1017-azure centos/7.9.2009 glibc/2.17
                 UID:GID : 1001:1001
              netrc file : None
            offline mode : False
@@ -210,7 +225,7 @@
 backports                 1.0                        py_2    conda-forge
 backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
 beautifulsoup4            4.11.1             pyha770c72_0    conda-forge
-boa                       0.11.0             pyha770c72_1    conda-forge
+boa                       0.11.0             pyha770c72_2    conda-forge
 brotlipy                  0.7.0           py39hb9d737c_1004    conda-forge
 bzip2                     1.0.8                h7f98852_4    conda-forge
 c-ares                    1.18.1               h7f98852_0    conda-forge
@@ -224,7 +239,7 @@
 colorama                  0.4.5              pyhd8ed1ab_0    conda-forge
 commonmark                0.9.1                      py_0    conda-forge
 conda                     4.13.0           py39hf3d152e_1    conda-forge
-conda-build               3.21.9           py39hf3d152e_1    conda-forge
+conda-build               3.22.0           py39hf3d152e_1    conda-forge
 conda-env                 2.6.0                         1    conda-forge
 conda-forge-ci-setup      3.21.0          py39h69ce9fc_100    conda-forge
 conda-package-handling    1.8.1            py39hb9d737c_1    conda-forge
@@ -319,6 +334,7 @@
 su-exec                   0.2               h516909a_1002    conda-forge
 tini                      0.19.0               h7f98852_0    conda-forge
 tk                        8.6.12               h27826a3_0    conda-forge
+toml                      0.10.2             pyhd8ed1ab_0    conda-forge
 tqdm                      4.64.0             pyhd8ed1ab_0    conda-forge
 traitlets                 5.3.0              pyhd8ed1ab_0    conda-forge
 typing_extensions         4.3.0              pyha770c72_0    conda-forge
@@ -336,9 +352,11 @@
 + /usr/bin/sudo -n yum install -y libX11 libXau libxcb mesa-libGL
 Loaded plugins: fastestmirror, ovl
 Determining fastest mirrors
- * base: mirror.centos.iad1.serverforge.org
- * extras: ftp.osuosl.org
- * updates: mirror.pit.teraswitch.com
+ * base: forksystems.mm.fcix.net
+ * extras: coresite.mm.fcix.net
+ * updates: mirrors.tripadvisor.com
+http://mirrors.tripadvisor.com/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirrors.tripadvisor.com/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
+Trying other mirror.
 Resolving Dependencies
 --> Running transaction check
 ---> Package libX11.x86_64 0:1.6.7-4.el7_9 will be installed
@@ -409,7 +427,7 @@
 Installed size: 20 M
 Downloading packages:
 --------------------------------------------------------------------------------
-Total                                              1.2 MB/s | 4.2 MB  00:03
+Total                                              7.3 MB/s | 4.2 MB  00:00
 Running transaction check
 Running transaction test
 Transaction test succeeded
@@ -477,10 +495,10 @@

 No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.16
 WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.16
-Adding in variants from internal_defaults
-Adding in variants from /home/conda/feedstock_root/.ci_support/linux_64_numpy1.21python3.10.____cpython.yaml
 INFO:conda_build.variants:Adding in variants from internal_defaults
 INFO:conda_build.variants:Adding in variants from /home/conda/feedstock_root/.ci_support/linux_64_numpy1.21python3.10.____cpython.yaml
+Adding in variants from internal_defaults
+Adding in variants from /home/conda/feedstock_root/.ci_support/linux_64_numpy1.21python3.10.____cpython.yaml
 INFO:conda_build.metadata:Attempting to finalize metadata for matplotlib-base
 Attempting to finalize metadata for matplotlib-base
 conda-forge/linux-64                                        Using cache
@@ -497,7 +515,7 @@
 Reloading output folder: /home/conda/feedstock_root/build_artifacts
 Reloading output folder: /home/conda/feedstock_root/build_artifacts
 Reloading output folder: /home/conda/feedstock_root/build_artifacts
-BUILD START: ['matplotlib-base-3.5.3-py310h5701ce4_0.tar.bz2', 'matplotlib-3.5.3-py310hff52083_0.tar.bz2']
+BUILD START: ['matplotlib-base-3.5.3-py310h5701ce4_1.tar.bz2', 'matplotlib-3.5.3-py310hff52083_1.tar.bz2']
 Reloading output folder: /home/conda/feedstock_root/build_artifacts
 Reloading output folder: /home/conda/feedstock_root/build_artifacts
 Reloading output folder: /home/conda/feedstock_root/build_artifacts
@@ -507,18 +525,18 @@
   environment location: /home/conda/feedstock_root/build_artifacts/mpl_suite/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac

+Source cache directory is: /home/conda/feedstock_root/build_artifacts/src_cache
 INFO:conda_build.source:Source cache directory is: /home/conda/feedstock_root/build_artifacts/src_cache
 INFO:conda_build.source:Downloading source to cache: v3.5.3_9d6ee7190f.tar.gz
 INFO:conda_build.source:Downloading https://github.com/matplotlib/matplotlib/archive/v3.5.3.tar.gz
-Source cache directory is: /home/conda/feedstock_root/build_artifacts/src_cache
 Downloading source to cache: v3.5.3_9d6ee7190f.tar.gz
 Downloading https://github.com/matplotlib/matplotlib/archive/v3.5.3.tar.gz
-INFO:conda_build.source:Success
 Success
+INFO:conda_build.source:Success
 Extracting download
 source tree in: /home/conda/feedstock_root/build_artifacts/mpl_suite/work
-Packaging matplotlib-base
 INFO:conda_build.build:Packaging matplotlib-base
+Packaging matplotlib-base
 Reloading output folder: /home/conda/feedstock_root/build_artifacts

 ## Package Plan ##
@@ -534,7 +552,6 @@
     ca-certificates:            2022.6.15-ha878542_0       conda-forge
     certifi:                    2022.6.15-py310hff52083_0  conda-forge
     freetype:                   2.10.4-hca18f0e_2          conda-forge
-    importlib-metadata:         4.11.4-py310hff52083_0     conda-forge
     ld_impl_linux-64:           2.36.1-hea4e1c9_2          conda-forge
     libblas:                    3.9.0-16_linux64_openblas  conda-forge
     libcblas:                   3.9.0-16_linux64_openblas  conda-forge
@@ -546,7 +563,8 @@
     liblapack:                  3.9.0-16_linux64_openblas  conda-forge
     libnsl:                     2.0.0-h7f98852_0           conda-forge
     libopenblas:                0.3.21-pthreads_h78a6416_0 conda-forge
-    libpng:                     1.6.37-h753d276_3          conda-forge
+    libpng:                     1.6.37-h753d276_4          conda-forge
+    libsqlite:                  3.39.2-h753d276_1          conda-forge
     libstdcxx-ng:               12.1.0-ha89aaad_16         conda-forge
     libuuid:                    2.32.1-h7f98852_1000       conda-forge
     libzlib:                    1.2.12-h166bdaf_2          conda-forge
@@ -560,19 +578,15 @@
     python_abi:                 3.10-2_cp310               conda-forge
     readline:                   8.1.2-h0f457ee_0           conda-forge
     setuptools:                 63.4.3-py310hff52083_0     conda-forge
-    setuptools-scm:             7.0.5-pyhd8ed1ab_0         conda-forge
-    setuptools_scm:             7.0.5-hd8ed1ab_0           conda-forge
+    setuptools-scm:             6.4.2-pyhd8ed1ab_0         conda-forge
+    setuptools_scm:             6.4.2-hd8ed1ab_0           conda-forge
     setuptools_scm_git_archive: 1.1-py_0                   conda-forge
-    sqlite:                     3.39.2-h4ff8645_0          conda-forge
+    sqlite:                     3.39.2-h4ff8645_1          conda-forge
     tk:                         8.6.12-h27826a3_0          conda-forge
     tomli:                      2.0.1-pyhd8ed1ab_0         conda-forge
-    typing-extensions:          4.3.0-hd8ed1ab_0           conda-forge
-    typing_extensions:          4.3.0-pyha770c72_0         conda-forge
-    tzdata:                     2022a-h191b570_0           conda-forge
+    tzdata:                     2022c-h191b570_0           conda-forge
     wheel:                      0.37.1-pyhd8ed1ab_0        conda-forge
-    xz:                         5.2.5-h516909a_1           conda-forge
-    zipp:                       3.8.1-pyhd8ed1ab_0         conda-forge
-    zlib:                       1.2.12-h166bdaf_2          conda-forge
+    xz:                         5.2.6-h166bdaf_0           conda-forge

 Preparing transaction: ...working... done
 Verifying transaction: ...working... done
@@ -605,12 +619,11 @@
     pkg-config:               0.29.2-h36c2ea0_1008 conda-forge
     sysroot_linux-64:         2.12-he073ed8_15     conda-forge

-
 Preparing transaction: ...working... done
 Verifying transaction: ...working... done
 Executing transaction: ...working... done
-INFO:conda_build.build:Packaging matplotlib-base-3.5.3-py310h5701ce4_0
-Packaging matplotlib-base-3.5.3-py310h5701ce4_0
+Packaging matplotlib-base-3.5.3-py310h5701ce4_1
+INFO:conda_build.build:Packaging matplotlib-base-3.5.3-py310h5701ce4_1
 INFO: activate-binutils_linux-64.sh made the following environmental changes:
 +ADDR2LINE=/home/conda/feedstock_root/build_artifacts/mpl_suite/_build_env/bin/x86_64-conda-linux-gnu-addr2line
 +AR=/home/conda/feedstock_root/build_artifacts/mpl_suite/_build_env/bin/x86_64-conda-linux-gnu-ar
@@ -629,8 +642,3 @@
 +STRINGS=/home/conda/feedstock_root/build_artifacts/mpl_suite/_build_env/bin/x86_64-conda-linux-gnu-strings
 +STRIP=/home/conda/feedstock_root/build_artifacts/mpl_suite/_build_env/bin/x86_64-conda-linux-gnu-strip
 INFO: activate-gcc_linux-64.sh made the following environmental changes:
-+build_alias=x86_64-conda-linux-gnu
--BUILD=x86_64-conda_cos6-linux-gnu
-+BUILD=x86_64-conda-linux-gnu
-+CC_FOR_BUILD=/home/conda/feedstock_root/build_artifacts/mpl_suite/_build_env/bin/x86_64-conda-linux-gnu-cc
-+CC=/home/conda/feedstock_root/build_artifacts/mpl_suite/_build_env/bin/x86_64-conda-linux-gnu-cc
tacaswell commented 2 years ago

See #326 for actual fix.