Coder Social home page Coder Social logo

cdt-builds's Introduction

cdt-builds

conda-forge Core Dependency Tree (CDT) builds

cdt_slugs.yaml Configuration Options

The following options are available when adding a CDT in the configuration file:

  • custom (boolean): Set to true to declare the CDT as a custom CDT. This will cause the CDT generation code to remove any instance of the CDT that appears in the cdts or legacy_cdts directories.
  • license_file (str or list of str or null): Sets the license file for a CDT. If set to a string or a list of strings giving the paths to the files, it will copy the licenses to the recipe and modify the recipe meta.yaml appropriately. If set to null, it will remove the license_file key from the meta.yaml.
  • skipped_cdts (list of str): Set to a list of the distribution and platforms to skip for this CDT. For example, one might add cos6-x86_64 to this list to skip making this CDT for CentOS 6 on x86_64 architectures.
  • build_append (dict mapping dist-arch to a string): Set this key to append code to the build.sh file for a given distribution and platform. For example, one might set a key cos6-x86_64 in this mapping and set the value to echo 'hi!' to add echo 'hi!' to the build script for only cos6-x86_64.
  • dep_remove (list of strings): Set to a list of strings for deps that should be remove
  • dep_replace (dict mapping dep to replace to new dep): Set to a dict of deps to be replaced by another dep. this can be used for aliased RPMs.

Adding a CDT package

To add a CDT package, make a PR on this repo with the following changes.

  1. Add the name of the CDT cdt_slugs.yaml file.
  2. Run the python script gen_cdt_recipes.py. This script will generate the CDT recipes that do not exist. Pass --force to regenerate all of the CDT recipes (takes about 10-20 minutes to complete).
  3. Commit any changes from steps 1+2 and open the PR.

The CI service will build the CDTs, report any errors, etc.

Changing the CDT generation script rpm.py

If you make changes to the CDT generation script, make a PR on this repo using the following steps.

  1. Make sure the bump the cdt_build_number variable in the conda_build_config.yaml file.
  2. Run the python script gen_cdt_recipes.py. This script will generate the CDT recipes that do not exist. Pass --force to regenerate all of the CDT recipes (takes about 10-20 minutes to complete).
  3. Commit any changes from steps 1+2 and open the PR.

The CI service will build the CDTs, report any errors, etc.

Making Custom CDT recipes

If you have a CDT recipe that is not autogenerated, it can be added as follows.

  1. Add the CDT name to the cdt_slugs.yaml file. Make sure to set custom: true in the metadata in the file.
  2. Add the CDT recipe in a directory under the full CDT package name in either the custom_cdts or legacy_custom_cdts folder depending on whether or not the CDT is targeted at the old-style CDT format or the new-style one. If you do not know, ask someone on conda-forge/core.
  3. Commit any changes from steps 1+2 and open the PR.

The CI service will build the CDTs, report any errors, etc.

Old-style/legacy vs. New-style CDTs

The old-style CDTs are targeted at the conda-forge compilers that do not use the sysroot_{conda subdir} packages (e.g., sysroot_linux-64, sysroot_linux-aarch64, etc.) and build their own copy of glibc. These compilers also have cos6 or cos7 in the name of the sysroot directory. The new-style CDTs use a sysroot directory without cos6 or cos7 and are meant to work with the new conda-forge compilers that depend on the sysroot_{conda subdir} packages.

old-style CDT specs

  • needs to have no_hoist in the source sections
  • sysroot directory has conda_cos6 or conda_cos7 in the path
  • needs to have run_constrained entry of sysroot_{conda subdir} ==99999999999 to prevent it from being co-installed w/ the new compilers or CDTs

new-style CDT specs

  • needs to have no_hoist in the source sections
  • sysroot directory has conda only in the path
  • needs to have a run requirement on the proper version of the sysroot_{subdir} package so that it is only installed with CDTs from the right version of CentOS
  • the versions of sysroot_{conda subdir} are 2.12 for CentOS 6 and 2.17 for CentOS 7.

Azure CI Setup

This bit of code was run to setup azure.

from conda_smithy.azure_ci_utils import register_repo, AzureConfig

cfg = AzureConfig(project_name='cdt-builds')
register_repo("conda-forge", "cdt-builds", config=cfg)

Current CDT Builds

Name Version
alsa-lib-cos6-x86_64 Conda Version
alsa-lib-cos7-aarch64 Conda Version
alsa-lib-cos7-ppc64le Conda Version
alsa-lib-cos7-x86_64 Conda Version
alsa-lib-devel-cos6-x86_64 Conda Version
alsa-lib-devel-cos7-aarch64 Conda Version
alsa-lib-devel-cos7-ppc64le Conda Version
alsa-lib-devel-cos7-x86_64 Conda Version
at-spi-cos6-x86_64 Conda Version
at-spi-cos7-aarch64 Conda Version
at-spi-cos7-ppc64le Conda Version
at-spi-cos7-x86_64 Conda Version
at-spi-devel-cos6-x86_64 Conda Version
at-spi-devel-cos7-aarch64 Conda Version
at-spi-devel-cos7-ppc64le Conda Version
at-spi-devel-cos7-x86_64 Conda Version
atk-cos6-x86_64 Conda Version
atk-cos7-aarch64 Conda Version
atk-cos7-ppc64le Conda Version
atk-cos7-x86_64 Conda Version
atk-devel-cos6-x86_64 Conda Version
atk-devel-cos7-aarch64 Conda Version
atk-devel-cos7-ppc64le Conda Version
atk-devel-cos7-x86_64 Conda Version
ca-certificates-cos6-x86_64 Conda Version
ca-certificates-cos7-aarch64 Conda Version
ca-certificates-cos7-ppc64le Conda Version
ca-certificates-cos7-x86_64 Conda Version
cairo-cos6-x86_64 Conda Version
cairo-cos7-aarch64 Conda Version
cairo-cos7-ppc64le Conda Version
cairo-cos7-x86_64 Conda Version
cairo-devel-cos6-x86_64 Conda Version
cairo-devel-cos7-aarch64 Conda Version
cairo-devel-cos7-ppc64le Conda Version
cairo-devel-cos7-x86_64 Conda Version
centos-release-cos7-aarch64 Conda Version
centos-release-cos7-ppc64le Conda Version
centos-release-cos7-x86_64 Conda Version
chkconfig-cos6-x86_64 Conda Version
chkconfig-cos7-aarch64 Conda Version
chkconfig-cos7-ppc64le Conda Version
chkconfig-cos7-x86_64 Conda Version
copy-jdk-configs-cos6-x86_64 Conda Version
copy-jdk-configs-cos7-aarch64 Conda Version
copy-jdk-configs-cos7-ppc64le Conda Version
copy-jdk-configs-cos7-x86_64 Conda Version
cups-devel-cos6-x86_64 Conda Version
cups-devel-cos7-aarch64 Conda Version
cups-devel-cos7-ppc64le Conda Version
cups-devel-cos7-x86_64 Conda Version
cups-libs-cos6-x86_64 Conda Version
cups-libs-cos7-aarch64 Conda Version
cups-libs-cos7-ppc64le Conda Version
cups-libs-cos7-x86_64 Conda Version
expat-cos6-x86_64 Conda Version
expat-cos7-aarch64 Conda Version
expat-cos7-ppc64le Conda Version
expat-cos7-x86_64 Conda Version
expat-devel-cos6-x86_64 Conda Version
expat-devel-cos7-aarch64 Conda Version
expat-devel-cos7-ppc64le Conda Version
expat-devel-cos7-x86_64 Conda Version
fontconfig-cos6-x86_64 Conda Version
fontconfig-cos7-aarch64 Conda Version
fontconfig-cos7-ppc64le Conda Version
fontconfig-cos7-x86_64 Conda Version
fontconfig-devel-cos6-x86_64 Conda Version
fontconfig-devel-cos7-aarch64 Conda Version
fontconfig-devel-cos7-ppc64le Conda Version
fontconfig-devel-cos7-x86_64 Conda Version
freetype-cos6-x86_64 Conda Version
freetype-cos7-aarch64 Conda Version
freetype-cos7-ppc64le Conda Version
freetype-cos7-x86_64 Conda Version
freetype-devel-cos6-x86_64 Conda Version
freetype-devel-cos7-aarch64 Conda Version
freetype-devel-cos7-ppc64le Conda Version
freetype-devel-cos7-x86_64 Conda Version
fribidi-cos7-aarch64 Conda Version
fribidi-cos7-ppc64le Conda Version
fribidi-cos7-x86_64 Conda Version
gconf2-cos6-x86_64 Conda Version
gconf2-cos7-aarch64 Conda Version
gconf2-cos7-ppc64le Conda Version
gconf2-cos7-x86_64 Conda Version
gdk-pixbuf2-cos6-x86_64 Conda Version
gdk-pixbuf2-devel-cos6-x86_64 Conda Version
glib-networking-cos6-x86_64 Conda Version
glib-networking-cos7-aarch64 Conda Version
glib-networking-cos7-ppc64le Conda Version
glib-networking-cos7-x86_64 Conda Version
glib2-cos6-x86_64 Conda Version
glib2-cos7-aarch64 Conda Version
glib2-cos7-ppc64le Conda Version
glib2-cos7-x86_64 Conda Version
glib2-devel-cos6-x86_64 Conda Version
glib2-devel-cos7-aarch64 Conda Version
glib2-devel-cos7-ppc64le Conda Version
glib2-devel-cos7-x86_64 Conda Version
gtk2-cos6-x86_64 Conda Version
gtk2-cos7-aarch64 Conda Version
gtk2-cos7-ppc64le Conda Version
gtk2-cos7-x86_64 Conda Version
gtk2-devel-cos6-x86_64 Conda Version
gtk2-devel-cos7-aarch64 Conda Version
gtk2-devel-cos7-ppc64le Conda Version
gtk2-devel-cos7-x86_64 Conda Version
gtkmm24-cos6-x86_64 Conda Version
gtkmm24-cos7-aarch64 Conda Version
gtkmm24-cos7-ppc64le Conda Version
gtkmm24-cos7-x86_64 Conda Version
gtkmm24-devel-cos6-x86_64 Conda Version
gtkmm24-devel-cos7-aarch64 Conda Version
gtkmm24-devel-cos7-ppc64le Conda Version
gtkmm24-devel-cos7-x86_64 Conda Version
harfbuzz-cos7-aarch64 Conda Version
harfbuzz-cos7-ppc64le Conda Version
harfbuzz-cos7-x86_64 Conda Version
ibacm-cos6-x86_64 Conda Version
ibacm-cos7-aarch64 Conda Version
ibacm-cos7-ppc64le Conda Version
ibacm-cos7-x86_64 Conda Version
java-1.7.0-openjdk-cos6-x86_64 Conda Version
java-1.7.0-openjdk-cos7-aarch64 Conda Version
java-1.7.0-openjdk-cos7-ppc64le Conda Version
java-1.7.0-openjdk-cos7-x86_64 Conda Version
java-1.7.0-openjdk-headless-cos7-aarch64 Conda Version
java-1.7.0-openjdk-headless-cos7-ppc64le Conda Version
java-1.7.0-openjdk-headless-cos7-x86_64 Conda Version
javapackages-tools-cos7-aarch64 Conda Version
javapackages-tools-cos7-ppc64le Conda Version
javapackages-tools-cos7-x86_64 Conda Version
jpackage-utils-cos6-x86_64 Conda Version
kernel-headers-cos6-x86_64 Conda Version
kernel-headers-cos7-aarch64 Conda Version
kernel-headers-cos7-ppc64le Conda Version
kernel-headers-cos7-x86_64 Conda Version
kmod-cos7-aarch64 Conda Version
kmod-cos7-ppc64le Conda Version
kmod-cos7-x86_64 Conda Version
libbonobo-cos6-x86_64 Conda Version
libbonobo-cos7-aarch64 Conda Version
libbonobo-cos7-ppc64le Conda Version
libbonobo-cos7-x86_64 Conda Version
libbonobo-devel-cos6-x86_64 Conda Version
libbonobo-devel-cos7-aarch64 Conda Version
libbonobo-devel-cos7-ppc64le Conda Version
libbonobo-devel-cos7-x86_64 Conda Version
libdrm-cos6-x86_64 Conda Version
libdrm-cos7-aarch64 Conda Version
libdrm-cos7-ppc64le Conda Version
libdrm-cos7-x86_64 Conda Version
libdrm-devel-cos6-x86_64 Conda Version
libdrm-devel-cos7-aarch64 Conda Version
libdrm-devel-cos7-ppc64le Conda Version
libdrm-devel-cos7-x86_64 Conda Version
libglvnd-core-devel-cos7-aarch64 Conda Version
libglvnd-core-devel-cos7-ppc64le Conda Version
libglvnd-core-devel-cos7-x86_64 Conda Version
libglvnd-cos7-aarch64 Conda Version
libglvnd-cos7-ppc64le Conda Version
libglvnd-cos7-x86_64 Conda Version
libglvnd-devel-cos7-aarch64 Conda Version
libglvnd-devel-cos7-ppc64le Conda Version
libglvnd-devel-cos7-x86_64 Conda Version
libglvnd-egl-cos7-aarch64 Conda Version
libglvnd-egl-cos7-ppc64le Conda Version
libglvnd-egl-cos7-x86_64 Conda Version
libglvnd-gles-cos7-aarch64 Conda Version
libglvnd-gles-cos7-ppc64le Conda Version
libglvnd-gles-cos7-x86_64 Conda Version
libglvnd-glx-cos7-aarch64 Conda Version
libglvnd-glx-cos7-ppc64le Conda Version
libglvnd-glx-cos7-x86_64 Conda Version
libglvnd-opengl-cos7-aarch64 Conda Version
libglvnd-opengl-cos7-ppc64le Conda Version
libglvnd-opengl-cos7-x86_64 Conda Version
libibcm-cos6-x86_64 Conda Version
libibcm-devel-cos6-x86_64 Conda Version
libibmad-cos6-x86_64 Conda Version
libibmad-cos7-aarch64 Conda Version
libibmad-cos7-ppc64le Conda Version
libibmad-cos7-x86_64 Conda Version
libibmad-devel-cos6-x86_64 Conda Version
libibmad-devel-cos7-aarch64 Conda Version
libibmad-devel-cos7-ppc64le Conda Version
libibmad-devel-cos7-x86_64 Conda Version
libibumad-cos6-x86_64 Conda Version
libibumad-cos7-aarch64 Conda Version
libibumad-cos7-ppc64le Conda Version
libibumad-cos7-x86_64 Conda Version
libibumad-devel-cos6-x86_64 Conda Version
libibverbs-cos6-x86_64 Conda Version
libibverbs-cos7-aarch64 Conda Version
libibverbs-cos7-ppc64le Conda Version
libibverbs-cos7-x86_64 Conda Version
libibverbs-devel-cos6-x86_64 Conda Version
libice-cos6-x86_64 Conda Version
libice-cos7-aarch64 Conda Version
libice-cos7-ppc64le Conda Version
libice-cos7-x86_64 Conda Version
libice-devel-cos6-x86_64 Conda Version
libice-devel-cos7-aarch64 Conda Version
libice-devel-cos7-ppc64le Conda Version
libice-devel-cos7-x86_64 Conda Version
libidl-cos6-x86_64 Conda Version
libidl-cos7-aarch64 Conda Version
libidl-cos7-ppc64le Conda Version
libidl-cos7-x86_64 Conda Version
libidl-devel-cos6-x86_64 Conda Version
libidl-devel-cos7-aarch64 Conda Version
libidl-devel-cos7-ppc64le Conda Version
libidl-devel-cos7-x86_64 Conda Version
libjpeg-turbo-cos6-x86_64 Conda Version
libjpeg-turbo-cos7-aarch64 Conda Version
libjpeg-turbo-cos7-ppc64le Conda Version
libjpeg-turbo-cos7-x86_64 Conda Version
libnl-cos6-x86_64 Conda Version
libnl-cos7-aarch64 Conda Version
libnl-cos7-ppc64le Conda Version
libnl-cos7-x86_64 Conda Version
libnl-devel-cos6-x86_64 Conda Version
libnl-devel-cos7-aarch64 Conda Version
libnl-devel-cos7-ppc64le Conda Version
libnl-devel-cos7-x86_64 Conda Version
libnl3-cli-cos6-x86_64 Conda Version
libnl3-cli-cos7-aarch64 Conda Version
libnl3-cli-cos7-ppc64le Conda Version
libnl3-cli-cos7-x86_64 Conda Version
libnl3-cos6-x86_64 Conda Version
libnl3-cos7-aarch64 Conda Version
libnl3-cos7-ppc64le Conda Version
libnl3-cos7-x86_64 Conda Version
libnl3-devel-cos6-x86_64 Conda Version
libnl3-devel-cos7-aarch64 Conda Version
libnl3-devel-cos7-ppc64le Conda Version
libnl3-devel-cos7-x86_64 Conda Version
libpng-cos6-x86_64 Conda Version
libpng-cos7-aarch64 Conda Version
libpng-cos7-ppc64le Conda Version
libpng-cos7-x86_64 Conda Version
libpng-devel-cos6-x86_64 Conda Version
libpng-devel-cos7-aarch64 Conda Version
libpng-devel-cos7-ppc64le Conda Version
libpng-devel-cos7-x86_64 Conda Version
librdmacm-cos6-x86_64 Conda Version
librdmacm-cos7-aarch64 Conda Version
librdmacm-cos7-ppc64le Conda Version
librdmacm-cos7-x86_64 Conda Version
librdmacm-devel-cos6-x86_64 Conda Version
libselinux-cos6-x86_64 Conda Version
libselinux-cos7-aarch64 Conda Version
libselinux-cos7-ppc64le Conda Version
libselinux-cos7-x86_64 Conda Version
libselinux-devel-cos6-x86_64 Conda Version
libselinux-devel-cos7-aarch64 Conda Version
libselinux-devel-cos7-ppc64le Conda Version
libselinux-devel-cos7-x86_64 Conda Version
libsepol-cos6-x86_64 Conda Version
libsepol-cos7-aarch64 Conda Version
libsepol-cos7-ppc64le Conda Version
libsepol-cos7-x86_64 Conda Version
libsepol-devel-cos6-x86_64 Conda Version
libsepol-devel-cos7-aarch64 Conda Version
libsepol-devel-cos7-ppc64le Conda Version
libsepol-devel-cos7-x86_64 Conda Version
libsm-cos6-x86_64 Conda Version
libsm-cos7-aarch64 Conda Version
libsm-cos7-ppc64le Conda Version
libsm-cos7-x86_64 Conda Version
libsm-devel-cos6-x86_64 Conda Version
libsm-devel-cos7-aarch64 Conda Version
libsm-devel-cos7-ppc64le Conda Version
libsm-devel-cos7-x86_64 Conda Version
libsoup-cos6-x86_64 Conda Version
libsoup-cos7-aarch64 Conda Version
libsoup-cos7-ppc64le Conda Version
libsoup-cos7-x86_64 Conda Version
libsoup-devel-cos6-x86_64 Conda Version
libsoup-devel-cos7-aarch64 Conda Version
libsoup-devel-cos7-ppc64le Conda Version
libsoup-devel-cos7-x86_64 Conda Version
libthai-cos6-x86_64 Conda Version
libthai-cos7-aarch64 Conda Version
libthai-cos7-ppc64le Conda Version
libthai-cos7-x86_64 Conda Version
libtiff-cos6-x86_64 Conda Version
libtiff-cos7-aarch64 Conda Version
libtiff-cos7-ppc64le Conda Version
libtiff-cos7-x86_64 Conda Version
libudev-cos6-x86_64 Conda Version
libudev-devel-cos6-x86_64 Conda Version
libuuid-cos6-x86_64 Conda Version
libuuid-cos7-aarch64 Conda Version
libuuid-cos7-ppc64le Conda Version
libuuid-cos7-x86_64 Conda Version
libuuid-devel-cos6-x86_64 Conda Version
libuuid-devel-cos7-aarch64 Conda Version
libuuid-devel-cos7-ppc64le Conda Version
libuuid-devel-cos7-x86_64 Conda Version
libx11-common-cos6-x86_64 Conda Version
libx11-common-cos7-aarch64 Conda Version
libx11-common-cos7-ppc64le Conda Version
libx11-common-cos7-x86_64 Conda Version
libx11-cos6-x86_64 Conda Version
libx11-cos7-aarch64 Conda Version
libx11-cos7-ppc64le Conda Version
libx11-cos7-x86_64 Conda Version
libx11-devel-cos6-x86_64 Conda Version
libx11-devel-cos7-aarch64 Conda Version
libx11-devel-cos7-ppc64le Conda Version
libx11-devel-cos7-x86_64 Conda Version
libxau-cos6-x86_64 Conda Version
libxau-cos7-aarch64 Conda Version
libxau-cos7-ppc64le Conda Version
libxau-cos7-x86_64 Conda Version
libxau-devel-cos6-x86_64 Conda Version
libxau-devel-cos7-aarch64 Conda Version
libxau-devel-cos7-ppc64le Conda Version
libxau-devel-cos7-x86_64 Conda Version
libxcb-cos6-x86_64 Conda Version
libxcb-cos7-aarch64 Conda Version
libxcb-cos7-ppc64le Conda Version
libxcb-cos7-x86_64 Conda Version
libxcb-devel-cos7-aarch64 Conda Version
libxcb-devel-cos7-ppc64le Conda Version
libxcb-devel-cos7-x86_64 Conda Version
libxcomposite-cos6-x86_64 Conda Version
libxcomposite-cos7-aarch64 Conda Version
libxcomposite-cos7-ppc64le Conda Version
libxcomposite-cos7-x86_64 Conda Version
libxcomposite-devel-cos6-x86_64 Conda Version
libxcomposite-devel-cos7-aarch64 Conda Version
libxcomposite-devel-cos7-ppc64le Conda Version
libxcomposite-devel-cos7-x86_64 Conda Version
libxcursor-cos6-x86_64 Conda Version
libxcursor-cos7-aarch64 Conda Version
libxcursor-cos7-ppc64le Conda Version
libxcursor-cos7-x86_64 Conda Version
libxcursor-devel-cos6-x86_64 Conda Version
libxcursor-devel-cos7-aarch64 Conda Version
libxcursor-devel-cos7-ppc64le Conda Version
libxcursor-devel-cos7-x86_64 Conda Version
libxdamage-cos6-x86_64 Conda Version
libxdamage-cos7-aarch64 Conda Version
libxdamage-cos7-ppc64le Conda Version
libxdamage-cos7-x86_64 Conda Version
libxdamage-devel-cos6-x86_64 Conda Version
libxdamage-devel-cos7-aarch64 Conda Version
libxdamage-devel-cos7-ppc64le Conda Version
libxdamage-devel-cos7-x86_64 Conda Version
libxext-cos6-x86_64 Conda Version
libxext-cos7-aarch64 Conda Version
libxext-cos7-ppc64le Conda Version
libxext-cos7-x86_64 Conda Version
libxext-devel-cos6-x86_64 Conda Version
libxext-devel-cos7-aarch64 Conda Version
libxext-devel-cos7-ppc64le Conda Version
libxext-devel-cos7-x86_64 Conda Version
libxfixes-cos6-x86_64 Conda Version
libxfixes-cos7-aarch64 Conda Version
libxfixes-cos7-ppc64le Conda Version
libxfixes-cos7-x86_64 Conda Version
libxfixes-devel-cos6-x86_64 Conda Version
libxfixes-devel-cos7-aarch64 Conda Version
libxfixes-devel-cos7-ppc64le Conda Version
libxfixes-devel-cos7-x86_64 Conda Version
libxft-cos6-x86_64 Conda Version
libxft-cos7-aarch64 Conda Version
libxft-cos7-ppc64le Conda Version
libxft-cos7-x86_64 Conda Version
libxft-devel-cos6-x86_64 Conda Version
libxft-devel-cos7-aarch64 Conda Version
libxft-devel-cos7-ppc64le Conda Version
libxft-devel-cos7-x86_64 Conda Version
libxi-cos6-x86_64 Conda Version
libxi-cos7-aarch64 Conda Version
libxi-cos7-ppc64le Conda Version
libxi-cos7-x86_64 Conda Version
libxi-devel-cos6-x86_64 Conda Version
libxi-devel-cos7-aarch64 Conda Version
libxi-devel-cos7-ppc64le Conda Version
libxi-devel-cos7-x86_64 Conda Version
libxinerama-cos6-x86_64 Conda Version
libxinerama-cos7-aarch64 Conda Version
libxinerama-cos7-ppc64le Conda Version
libxinerama-cos7-x86_64 Conda Version
libxinerama-devel-cos6-x86_64 Conda Version
libxinerama-devel-cos7-aarch64 Conda Version
libxinerama-devel-cos7-ppc64le Conda Version
libxinerama-devel-cos7-x86_64 Conda Version
libxkbcommon-cos7-aarch64 Conda Version
libxkbcommon-cos7-ppc64le Conda Version
libxkbcommon-cos7-x86_64 Conda Version
libxkbcommon-devel-cos7-aarch64 Conda Version
libxkbcommon-devel-cos7-ppc64le Conda Version
libxkbcommon-devel-cos7-x86_64 Conda Version
libxml2-cos6-x86_64 Conda Version
libxml2-cos7-aarch64 Conda Version
libxml2-cos7-ppc64le Conda Version
libxml2-cos7-x86_64 Conda Version
libxml2-devel-cos6-x86_64 Conda Version
libxml2-devel-cos7-aarch64 Conda Version
libxml2-devel-cos7-ppc64le Conda Version
libxml2-devel-cos7-x86_64 Conda Version
libxrandr-cos6-x86_64 Conda Version
libxrandr-cos7-aarch64 Conda Version
libxrandr-cos7-ppc64le Conda Version
libxrandr-cos7-x86_64 Conda Version
libxrandr-devel-cos6-x86_64 Conda Version
libxrandr-devel-cos7-aarch64 Conda Version
libxrandr-devel-cos7-ppc64le Conda Version
libxrandr-devel-cos7-x86_64 Conda Version
libxrender-cos6-x86_64 Conda Version
libxrender-cos7-aarch64 Conda Version
libxrender-cos7-ppc64le Conda Version
libxrender-cos7-x86_64 Conda Version
libxrender-devel-cos6-x86_64 Conda Version
libxrender-devel-cos7-aarch64 Conda Version
libxrender-devel-cos7-ppc64le Conda Version
libxrender-devel-cos7-x86_64 Conda Version
libxscrnsaver-cos6-x86_64 Conda Version
libxscrnsaver-cos7-aarch64 Conda Version
libxscrnsaver-cos7-ppc64le Conda Version
libxscrnsaver-cos7-x86_64 Conda Version
libxscrnsaver-devel-cos6-x86_64 Conda Version
libxscrnsaver-devel-cos7-aarch64 Conda Version
libxscrnsaver-devel-cos7-ppc64le Conda Version
libxscrnsaver-devel-cos7-x86_64 Conda Version
libxshmfence-cos6-x86_64 Conda Version
libxshmfence-cos7-aarch64 Conda Version
libxshmfence-cos7-ppc64le Conda Version
libxshmfence-cos7-x86_64 Conda Version
libxshmfence-devel-cos6-x86_64 Conda Version
libxshmfence-devel-cos7-aarch64 Conda Version
libxshmfence-devel-cos7-ppc64le Conda Version
libxshmfence-devel-cos7-x86_64 Conda Version
libxt-cos6-x86_64 Conda Version
libxt-cos7-aarch64 Conda Version
libxt-cos7-ppc64le Conda Version
libxt-cos7-x86_64 Conda Version
libxt-devel-cos6-x86_64 Conda Version
libxt-devel-cos7-aarch64 Conda Version
libxt-devel-cos7-ppc64le Conda Version
libxt-devel-cos7-x86_64 Conda Version
libxtst-cos6-x86_64 Conda Version
libxtst-cos7-aarch64 Conda Version
libxtst-cos7-ppc64le Conda Version
libxtst-cos7-x86_64 Conda Version
libxtst-devel-cos6-x86_64 Conda Version
libxtst-devel-cos7-aarch64 Conda Version
libxtst-devel-cos7-ppc64le Conda Version
libxtst-devel-cos7-x86_64 Conda Version
libxxf86vm-cos6-x86_64 Conda Version
libxxf86vm-cos7-aarch64 Conda Version
libxxf86vm-cos7-ppc64le Conda Version
libxxf86vm-cos7-x86_64 Conda Version
libxxf86vm-devel-cos6-x86_64 Conda Version
libxxf86vm-devel-cos7-aarch64 Conda Version
libxxf86vm-devel-cos7-ppc64le Conda Version
libxxf86vm-devel-cos7-x86_64 Conda Version
mesa-dri-drivers-cos6-x86_64 Conda Version
mesa-dri-drivers-cos7-aarch64 Conda Version
mesa-dri-drivers-cos7-ppc64le Conda Version
mesa-dri-drivers-cos7-x86_64 Conda Version
mesa-dri1-drivers-cos6-x86_64 Conda Version
mesa-khr-devel-cos7-aarch64 Conda Version
mesa-khr-devel-cos7-ppc64le Conda Version
mesa-khr-devel-cos7-x86_64 Conda Version
mesa-libegl-cos6-x86_64 Conda Version
mesa-libegl-cos7-aarch64 Conda Version
mesa-libegl-cos7-ppc64le Conda Version
mesa-libegl-cos7-x86_64 Conda Version
mesa-libegl-devel-cos6-x86_64 Conda Version
mesa-libegl-devel-cos7-aarch64 Conda Version
mesa-libegl-devel-cos7-ppc64le Conda Version
mesa-libegl-devel-cos7-x86_64 Conda Version
mesa-libgbm-cos6-x86_64 Conda Version
mesa-libgbm-cos7-aarch64 Conda Version
mesa-libgbm-cos7-ppc64le Conda Version
mesa-libgbm-cos7-x86_64 Conda Version
mesa-libgl-cos6-x86_64 Conda Version
mesa-libgl-cos7-aarch64 Conda Version
mesa-libgl-cos7-ppc64le Conda Version
mesa-libgl-cos7-x86_64 Conda Version
mesa-libgl-devel-cos6-x86_64 Conda Version
mesa-libgl-devel-cos7-aarch64 Conda Version
mesa-libgl-devel-cos7-ppc64le Conda Version
mesa-libgl-devel-cos7-x86_64 Conda Version
mesa-libglapi-cos7-aarch64 Conda Version
mesa-libglapi-cos7-ppc64le Conda Version
mesa-libglapi-cos7-x86_64 Conda Version
mesa-libglu-cos6-x86_64 Conda Version
mesa-libglu-devel-cos6-x86_64 Conda Version
nspr-cos6-x86_64 Conda Version
nspr-cos7-aarch64 Conda Version
nspr-cos7-ppc64le Conda Version
nspr-cos7-x86_64 Conda Version
nss-cos6-x86_64 Conda Version
nss-cos7-aarch64 Conda Version
nss-cos7-ppc64le Conda Version
nss-cos7-x86_64 Conda Version
nss-softokn-cos6-x86_64 Conda Version
nss-softokn-cos7-aarch64 Conda Version
nss-softokn-cos7-ppc64le Conda Version
nss-softokn-cos7-x86_64 Conda Version
nss-softokn-freebl-cos6-x86_64 Conda Version
nss-softokn-freebl-cos7-aarch64 Conda Version
nss-softokn-freebl-cos7-ppc64le Conda Version
nss-softokn-freebl-cos7-x86_64 Conda Version
nss-util-cos6-x86_64 Conda Version
nss-util-cos7-aarch64 Conda Version
nss-util-cos7-ppc64le Conda Version
nss-util-cos7-x86_64 Conda Version
numactl-cos6-x86_64 Conda Version
numactl-cos7-aarch64 Conda Version
numactl-cos7-ppc64le Conda Version
numactl-cos7-x86_64 Conda Version
numactl-devel-cos6-x86_64 Conda Version
numactl-devel-cos7-aarch64 Conda Version
numactl-devel-cos7-ppc64le Conda Version
numactl-devel-cos7-x86_64 Conda Version
numactl-libs-cos7-aarch64 Conda Version
numactl-libs-cos7-ppc64le Conda Version
numactl-libs-cos7-x86_64 Conda Version
opensm-cos6-x86_64 Conda Version
opensm-cos7-aarch64 Conda Version
opensm-cos7-ppc64le Conda Version
opensm-cos7-x86_64 Conda Version
opensm-devel-cos6-x86_64 Conda Version
opensm-devel-cos7-aarch64 Conda Version
opensm-devel-cos7-ppc64le Conda Version
opensm-devel-cos7-x86_64 Conda Version
opensm-libs-cos6-x86_64 Conda Version
opensm-libs-cos7-aarch64 Conda Version
opensm-libs-cos7-ppc64le Conda Version
opensm-libs-cos7-x86_64 Conda Version
orbit2-cos6-x86_64 Conda Version
orbit2-cos7-aarch64 Conda Version
orbit2-cos7-ppc64le Conda Version
orbit2-cos7-x86_64 Conda Version
orbit2-devel-cos6-x86_64 Conda Version
orbit2-devel-cos7-aarch64 Conda Version
orbit2-devel-cos7-ppc64le Conda Version
orbit2-devel-cos7-x86_64 Conda Version
p11-kit-cos6-x86_64 Conda Version
p11-kit-cos7-aarch64 Conda Version
p11-kit-cos7-ppc64le Conda Version
p11-kit-cos7-x86_64 Conda Version
p11-kit-trust-cos6-x86_64 Conda Version
p11-kit-trust-cos7-aarch64 Conda Version
p11-kit-trust-cos7-ppc64le Conda Version
p11-kit-trust-cos7-x86_64 Conda Version
pango-cos6-x86_64 Conda Version
pango-cos7-aarch64 Conda Version
pango-cos7-ppc64le Conda Version
pango-cos7-x86_64 Conda Version
pango-devel-cos6-x86_64 Conda Version
pango-devel-cos7-aarch64 Conda Version
pango-devel-cos7-ppc64le Conda Version
pango-devel-cos7-x86_64 Conda Version
pciutils-cos6-x86_64 Conda Version
pciutils-cos7-aarch64 Conda Version
pciutils-cos7-ppc64le Conda Version
pciutils-cos7-x86_64 Conda Version
pciutils-devel-cos6-x86_64 Conda Version
pciutils-devel-cos7-aarch64 Conda Version
pciutils-devel-cos7-ppc64le Conda Version
pciutils-devel-cos7-x86_64 Conda Version
pciutils-libs-cos6-x86_64 Conda Version
pciutils-libs-cos7-aarch64 Conda Version
pciutils-libs-cos7-ppc64le Conda Version
pciutils-libs-cos7-x86_64 Conda Version
pcre-cos7-aarch64 Conda Version
pcre-cos7-ppc64le Conda Version
pcre-cos7-x86_64 Conda Version
pixman-cos6-x86_64 Conda Version
pixman-cos7-aarch64 Conda Version
pixman-cos7-ppc64le Conda Version
pixman-cos7-x86_64 Conda Version
pixman-devel-cos6-x86_64 Conda Version
pixman-devel-cos7-aarch64 Conda Version
pixman-devel-cos7-ppc64le Conda Version
pixman-devel-cos7-x86_64 Conda Version
pkgconfig-cos6-x86_64 Conda Version
pkgconfig-cos7-aarch64 Conda Version
pkgconfig-cos7-ppc64le Conda Version
pkgconfig-cos7-x86_64 Conda Version
python-javapackages-cos7-aarch64 Conda Version
python-javapackages-cos7-ppc64le Conda Version
python-javapackages-cos7-x86_64 Conda Version
rdma-core-cos7-aarch64 Conda Version
rdma-core-cos7-ppc64le Conda Version
rdma-core-cos7-x86_64 Conda Version
rdma-core-devel-cos7-aarch64 Conda Version
rdma-core-devel-cos7-ppc64le Conda Version
rdma-core-devel-cos7-x86_64 Conda Version
systemd-cos7-aarch64 Conda Version
systemd-cos7-ppc64le Conda Version
systemd-cos7-x86_64 Conda Version
systemd-devel-cos7-aarch64 Conda Version
systemd-devel-cos7-ppc64le Conda Version
systemd-devel-cos7-x86_64 Conda Version
systemd-libs-cos7-aarch64 Conda Version
systemd-libs-cos7-ppc64le Conda Version
systemd-libs-cos7-x86_64 Conda Version
webkitgtk-cos6-x86_64 Conda Version
webkitgtk-devel-cos6-x86_64 Conda Version
xcb-util-cos6-x86_64 Conda Version
xcb-util-cos7-aarch64 Conda Version
xcb-util-cos7-ppc64le Conda Version
xcb-util-cos7-x86_64 Conda Version
xcb-util-devel-cos6-x86_64 Conda Version
xcb-util-devel-cos7-aarch64 Conda Version
xcb-util-devel-cos7-ppc64le Conda Version
xcb-util-devel-cos7-x86_64 Conda Version
xcb-util-image-cos6-x86_64 Conda Version
xcb-util-image-cos7-aarch64 Conda Version
xcb-util-image-cos7-ppc64le Conda Version
xcb-util-image-cos7-x86_64 Conda Version
xcb-util-image-devel-cos6-x86_64 Conda Version
xcb-util-image-devel-cos7-aarch64 Conda Version
xcb-util-image-devel-cos7-ppc64le Conda Version
xcb-util-image-devel-cos7-x86_64 Conda Version
xcb-util-keysyms-cos6-x86_64 Conda Version
xcb-util-keysyms-cos7-aarch64 Conda Version
xcb-util-keysyms-cos7-ppc64le Conda Version
xcb-util-keysyms-cos7-x86_64 Conda Version
xcb-util-keysyms-devel-cos6-x86_64 Conda Version
xcb-util-keysyms-devel-cos7-aarch64 Conda Version
xcb-util-keysyms-devel-cos7-ppc64le Conda Version
xcb-util-keysyms-devel-cos7-x86_64 Conda Version
xcb-util-renderutil-cos6-x86_64 Conda Version
xcb-util-renderutil-cos7-aarch64 Conda Version
xcb-util-renderutil-cos7-ppc64le Conda Version
xcb-util-renderutil-cos7-x86_64 Conda Version
xcb-util-renderutil-devel-cos6-x86_64 Conda Version
xcb-util-renderutil-devel-cos7-aarch64 Conda Version
xcb-util-renderutil-devel-cos7-ppc64le Conda Version
xcb-util-renderutil-devel-cos7-x86_64 Conda Version
xcb-util-wm-cos6-x86_64 Conda Version
xcb-util-wm-cos7-aarch64 Conda Version
xcb-util-wm-cos7-ppc64le Conda Version
xcb-util-wm-cos7-x86_64 Conda Version
xcb-util-wm-devel-cos6-x86_64 Conda Version
xcb-util-wm-devel-cos7-aarch64 Conda Version
xcb-util-wm-devel-cos7-ppc64le Conda Version
xcb-util-wm-devel-cos7-x86_64 Conda Version
xorg-x11-proto-devel-cos6-x86_64 Conda Version
xorg-x11-proto-devel-cos7-aarch64 Conda Version
xorg-x11-proto-devel-cos7-ppc64le Conda Version
xorg-x11-proto-devel-cos7-x86_64 Conda Version
xorg-x11-server-common-cos6-x86_64 Conda Version
xorg-x11-server-common-cos7-aarch64 Conda Version
xorg-x11-server-common-cos7-ppc64le Conda Version
xorg-x11-server-common-cos7-x86_64 Conda Version
xorg-x11-server-xvfb-cos6-x86_64 Conda Version
xorg-x11-server-xvfb-cos7-aarch64 Conda Version
xorg-x11-server-xvfb-cos7-ppc64le Conda Version
xorg-x11-server-xvfb-cos7-x86_64 Conda Version
xorg-x11-util-macros-cos6-x86_64 Conda Version
xorg-x11-util-macros-cos7-aarch64 Conda Version
xorg-x11-util-macros-cos7-ppc64le Conda Version
xorg-x11-util-macros-cos7-x86_64 Conda Version

cdt-builds's People

Contributors

beckermr avatar capn-freako avatar djhoese avatar hmaarrfk avatar isuruf avatar jakirkham avatar jschueller avatar mbargull avatar probot-auto-merge[bot] avatar smithsp avatar tobias-fischer avatar xhochy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdt-builds's Issues

CDTs needed for Qt

Need

  • libgcrypt-cos6-x86_64
  • libcom_err-cos6-x86_64
  • avahi-libs-cos6-x86_64
  • libgpg-error-cos6-x86_64
  • gnutls-cos6-x86_64
  • libtasn1-cos6-x86_64

Is the `GL/glu.h` file included by any CDT package?

Comment:

Even with all entries suggested here included in my build recipe:

requirements:
  build:
    - {{ compiler('c')   }}
    - {{ compiler('cxx') }}
    - {{ cdt('libx11-devel') }}          # [linux]
    - {{ cdt('xorg-x11-proto-devel') }}  # [linux]
    - {{ cdt('mesa-libgl-devel') }}      # [linux]
    - {{ cdt('mesa-dri-drivers') }}      # [linux]
    - {{ cdt('mesa-dri1-drivers') }}      # [linux]
    - {{ cdt('libselinux') }}            # [linux]
    - {{ cdt('libxdamage') }}            # [linux]
    - {{ cdt('libxxf86vm') }}            # [linux]
    - {{ cdt('libxext') }}               # [linux]
    - cmake
    - git
    - swig
  host:
    {snip}

I'm getting:

  In file included from kiva/gl/gl_wrap.cpp:3671:
  kiva/gl/src/kiva_gl_graphics_context.h:25:14: fatal error: GL/glu.h: No such file or directory
     25 |     #include <GL/glu.h>
        |              ^~~~~~~~~~
  compilation terminated.

And I'm wondering: does any CDT package provide the GL/glu.h file?

Is the following sufficient to claim that no CDT package includes the glu.h file?
Asked differently, is every file that is included in, at least, one CDT package mentioned somewhere within the conda-forge/cdt-builds repo.?

$ git clone https://github.com/conda-forge/cdt-builds.git
Cloning into 'cdt-builds'...
{snip}

$ pushd cdt-builds/

$ git grep 'glu\.h'

$

Oh, I think I just answered my own question.
I know that the mesa-libgl-devel package provides the GL/gl.h file, but...

% git grep 'gl.h'
{no output}

So, then, how does one figure out whether a particular file is provided by a CDT package?

Thanks!
-db

Qt-based build broke after merging #23, rpath is not set

Issue: A build that depends on qt and worked before merging #23 broke on linux-64 for me. The recipe looks like this:

requirements:
  build:
    - {{ compiler("c") }}
    - {{ compiler("cxx") }}
    - {{ cdt('mesa-libgl-devel') }} # [linux]
    - {{ cdt('mesa-dri-drivers') }} # [linux]
    - {{ cdt('libselinux') }} # [linux]
    - {{ cdt('libxdamage') }} # [linux]
    - {{ cdt('libxfixes') }} # [linux]
    - {{ cdt('libxxf86vm') }} # [linux]
    - libxcb # [linux]
    - xorg-libxext # [linux]
    - cmake
    - make # [unix]

  host:
    - qt

  run:
    - qt

The build fails with:

/builds/test-gui/builds/test-gui_1595492796512/_build_env/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.5.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: warning: libXext.so.6, needed by /builds/test-gui/builds/test-gui_1595492796512/_build_env/bin/../x86_64-conda_cos6-linux-gnu/sysroot/usr/lib64/libGL.so.1, not found (try using -rpath or -rpath-link)

The resolved envrionment between yesterday (when it worked) and today (that it failed) differes in

<     libdrm-cos6-x86_64:            2.4.65-hdf0574f_102     conda-forge
---
>     libdrm-cos6-x86_64:            2.4.65-ha826a6f_103     conda-forge
21,22c21,22
<     libselinux-cos6-x86_64:        2.0.94-hdf0574f_102     conda-forge
<     libsepol-cos6-x86_64:          2.0.41-hdf0574f_102     conda-forge
---
>     libselinux-cos6-x86_64:        2.0.94-ha826a6f_103     conda-forge
>     libsepol-cos6-x86_64:          2.0.41-ha826a6f_103     conda-forge
26,27c26,27
<     libx11-common-cos6-x86_64:     1.6.4-hdf0574f_102      conda-forge
<     libx11-cos6-x86_64:            1.6.4-hdf0574f_102      conda-forge
---
>     libx11-common-cos6-x86_64:     1.6.4-ha826a6f_103      conda-forge
>     libx11-cos6-x86_64:            1.6.4-ha826a6f_103      conda-forge
29,31c29,31
<     libxdamage-cos6-x86_64:        1.1.3-hdf0574f_102      conda-forge
<     libxfixes-cos6-x86_64:         5.0.3-hdf0574f_102      conda-forge
<     libxxf86vm-cos6-x86_64:        1.1.3-hdf0574f_102      conda-forge
---
>     libxdamage-cos6-x86_64:        1.1.3-ha826a6f_103      conda-forge
>     libxfixes-cos6-x86_64:         5.0.3-ha826a6f_103      conda-forge
>     libxxf86vm-cos6-x86_64:        1.1.3-ha826a6f_103      conda-forge
33,36c33,36
<     mesa-dri-drivers-cos6-x86_64:  11.0.7-hdf0574f_102     conda-forge
<     mesa-dri1-drivers-cos6-x86_64: 7.11-hdf0574f_102       conda-forge
<     mesa-libgl-cos6-x86_64:        11.0.7-hdf0574f_102     conda-forge
<     mesa-libgl-devel-cos6-x86_64:  11.0.7-hdf0574f_102     conda-forge
---
>     mesa-dri-drivers-cos6-x86_64:  11.0.7-ha826a6f_103     conda-forge
>     mesa-dri1-drivers-cos6-x86_64: 7.11-ha826a6f_103       conda-forge
>     mesa-libgl-cos6-x86_64:        11.0.7-ha826a6f_103     conda-forge
>     mesa-libgl-devel-cos6-x86_64:  11.0.7-ha826a6f_103     conda-forge

Environment (conda list):
$ conda list


Details about conda and system ( conda info ):
$ conda info

Issue running gen_cdr_recipes.py

log.txt

Issue:


Environment (conda list):
packages in environment at /home/romain/anaconda3: # # Name Version Build Channel _ipyw_jlab_nb_ext_conf 0.1.0 py38_0 _libgcc_mutex 0.1 main alabaster 0.7.12 py_0 anaconda 2020.07 py38_0 anaconda-client 1.7.2 py38_0 anaconda-navigator 1.9.12 py38_0 anaconda-project 0.8.4 py_0 argh 0.26.2 py38_0 asn1crypto 1.3.0 py38_0 astroid 2.4.2 py38_0 astropy 4.0.1.post1 py38h7b6447c_1 atomicwrites 1.4.0 py_0 attrs 19.3.0 py_0 autopep8 1.5.3 py_0 babel 2.8.0 py_0 backcall 0.2.0 py_0 backports 1.0 py_2 backports.functools_lru_cache 1.6.1 py_0 backports.shutil_get_terminal_size 1.0.0 py38_2 backports.tempfile 3.0 py_1 backports.weakref 1.0.post1 py_1 beautifulsoup4 4.9.1 py38_0 bitarray 1.4.0 py38h7b6447c_0 bkcharts 0.2 py38_0 blas 1.0 mkl bleach 3.1.5 py_0 blinker 1.4 py38_0 blosc 1.19.0 hd408876_0 bokeh 2.1.1 py38_0 boolean.py 3.7 py_0 conda-forge boto 2.49.0 py38_0 bottleneck 1.3.2 py38heb32a55_1 brotlipy 0.7.0 py38h7b6447c_1000 bzip2 1.0.8 h7b6447c_0 ca-certificates 2020.6.24 0 cairo 1.14.12 h8948797_3 certifi 2020.6.20 py38_0 cffi 1.14.0 py38he30daa8_1 chardet 3.0.4 py38_1003 click 7.1.2 py_0 cloudpickle 1.5.0 py_0 clyent 1.2.2 py38_1 colorama 0.4.3 py_0 conda 4.9.1 py38h06a4308_0 conda-build 3.20.5 py38_1 conda-env 2.6.0 1 conda-forge-pinning 2020.10.18.17.43.44 0 conda-forge conda-package-handling 1.7.2 py38h03888b9_0 conda-verify 3.4.2 py_1 contextlib2 0.6.0.post1 py_0 cryptography 2.9.2 py38h1ba5d50_0 curl 7.71.1 hbc83047_1 cycler 0.10.0 py38_0 cython 0.29.21 py38he6710b0_0 cytoolz 0.10.1 py38h7b6447c_0 dask 2.20.0 py_0 dask-core 2.20.0 py_0 dbus 1.13.16 hb2f20db_0 decorator 4.4.2 py_0 defusedxml 0.6.0 py_0 deprecated 1.2.10 py_0 diff-match-patch 20200713 py_0 distributed 2.20.0 py38_0 docutils 0.16 py38_1 entrypoints 0.3 py38_0 et_xmlfile 1.0.1 py_1001 expat 2.2.9 he6710b0_2 fastcache 1.1.0 py38h7b6447c_0 filelock 3.0.12 py_0 flake8 3.8.3 py_0 flask 1.1.2 py_0 fontconfig 2.13.0 h9420a91_0 freetype 2.10.2 h5ab3b9f_0 fribidi 1.0.9 h7b6447c_0 fsspec 0.7.4 py_0 future 0.18.2 py38_1 get_terminal_size 1.0.0 haa9412d_0 gevent 20.6.2 py38h7b6447c_0 gitdb 4.0.5 py_0 gitpython 3.1.9 py_0 conda-forge glib 2.65.0 h3eb4bd4_0 glob2 0.7 py_0 gmp 6.1.2 h6c8ec71_1 gmpy2 2.0.8 py38hd5f6e3b_3 graphite2 1.3.14 h23475e2_0 greenlet 0.4.16 py38h7b6447c_0 gst-plugins-base 1.14.0 hbbd80ab_1 gstreamer 1.14.0 hb31296c_0 h5py 2.10.0 py38h7918eee_0 harfbuzz 2.4.0 hca77d97_1 hdf5 1.10.4 hb1b8bf9_0 heapdict 1.0.1 py_0 html5lib 1.1 py_0 icu 58.2 he6710b0_3 idna 2.10 py_0 imageio 2.9.0 py_0 imagesize 1.2.0 py_0 importlib-metadata 1.7.0 py38_0 importlib_metadata 1.7.0 0 intel-openmp 2020.1 217 intervaltree 3.0.2 py_1 ipykernel 5.3.2 py38h5ca1d4c_0 ipython 7.16.1 py38h5ca1d4c_0 ipython_genutils 0.2.0 py38_0 ipywidgets 7.5.1 py_0 isodate 0.6.0 py_1 isort 4.3.21 py38_0 itsdangerous 1.1.0 py_0 jbig 2.1 hdba287a_0 jdcal 1.4.1 py_0 jedi 0.17.1 py38_0 jeepney 0.4.3 py_0 jinja2 2.11.2 py_0 joblib 0.16.0 py_0 jpeg 9b h024ee3a_2 json5 0.9.5 py_0 jsonschema 3.2.0 py38_0 jupyter 1.0.0 py38_7 jupyter_client 6.1.6 py_0 jupyter_console 6.1.0 py_0 jupyter_core 4.6.3 py38_0 jupyterlab 2.1.5 py_0 jupyterlab_server 1.2.0 py_0 keyring 21.2.1 py38_0 kiwisolver 1.2.0 py38hfd86e86_0 krb5 1.18.2 h173b8e3_0 lazy-object-proxy 1.4.3 py38h7b6447c_0 lcms2 2.11 h396b838_0 ld_impl_linux-64 2.33.1 h53a641e_7 libarchive 3.4.2 h62408e4_0 libcurl 7.71.1 h20c2e04_1 libedit 3.1.20191231 h14c3975_1 libffi 3.3 he6710b0_2 libgcc-ng 9.1.0 hdf63c60_0 libgfortran-ng 7.3.0 hdf63c60_0 liblief 0.10.1 he6710b0_0 libllvm9 9.0.1 h4a3c616_1 libpng 1.6.37 hbc83047_0 libsodium 1.0.18 h7b6447c_0 libspatialindex 1.9.3 he6710b0_0 libssh2 1.9.0 h1ba5d50_1 libstdcxx-ng 9.1.0 hdf63c60_0 libtiff 4.1.0 h2733197_1 libtool 2.4.6 h7b6447c_5 libuuid 1.0.3 h1bed415_2 libxcb 1.14 h7b6447c_0 libxml2 2.9.10 he19cac6_1 libxslt 1.1.34 hc22bd24_0 license-expression 1.2 py_0 conda-forge llvmlite 0.33.0 py38hc6ec683_1 locket 0.2.0 py38_1 lxml 4.5.2 py38hefd8a0e_0 lz4-c 1.9.2 he6710b0_0 lzo 2.10 h7b6447c_2 markupsafe 1.1.1 py38h7b6447c_0 matplotlib 3.2.2 0 matplotlib-base 3.2.2 py38hef1b27d_0 mccabe 0.6.1 py38_1 mistune 0.8.4 py38h7b6447c_1000 mkl 2020.1 217 mkl-service 2.3.0 py38he904b0f_0 mkl_fft 1.1.0 py38h23d657b_0 mkl_random 1.1.1 py38h0573a6f_0 mock 4.0.2 py_0 more-itertools 8.4.0 py_0 mpc 1.1.0 h10f8cd9_1 mpfr 4.0.2 hb69a4c5_1 mpi 1.0 mpich mpich 3.3.2 hc856adb_0 mpmath 1.1.0 py38_0 msgpack-python 1.0.0 py38hfd86e86_1 msrest 0.6.19 pyh9f0ad1d_0 conda-forge multipledispatch 0.6.0 py38_0 navigator-updater 0.2.1 py38_0 nbconvert 5.6.1 py38_0 nbformat 5.0.7 py_0 ncurses 6.2 he6710b0_1 networkx 2.4 py_1 nltk 3.5 py_0 nose 1.3.7 py38_2 notebook 6.0.3 py38_0 numba 0.50.1 py38h0573a6f_1 numexpr 2.7.1 py38h423224d_0 numpy 1.18.5 py38ha1c710e_0 numpy-base 1.18.5 py38hde5b4d6_0 numpydoc 1.1.0 py_0 oauthlib 3.1.0 py_0 olefile 0.46 py_0 openpyxl 3.0.4 py_0 openssl 1.1.1g h7b6447c_0 packaging 20.4 py_0 pandas 1.0.5 py38h0573a6f_0 pandoc 2.10 0 pandocfilters 1.4.2 py38_1 pango 1.45.3 hd140c19_0 parso 0.7.0 py_0 partd 1.1.0 py_0 patchelf 0.11 he6710b0_0 path 13.1.0 py38_0 path.py 12.4.0 0 pathlib2 2.3.5 py38_0 pathtools 0.1.2 py_1 patsy 0.5.1 py38_0 pcre 8.44 he6710b0_0 pep8 1.7.1 py38_0 pexpect 4.8.0 py38_0 pickleshare 0.7.5 py38_1000 pillow 7.2.0 py38hb39fc2d_0 pip 20.1.1 py38_1 pixman 0.40.0 h7b6447c_0 pkginfo 1.5.0.1 py38_0 pluggy 0.13.1 py38_0 ply 3.11 py38_0 prometheus_client 0.8.0 py_0 prompt-toolkit 3.0.5 py_0 prompt_toolkit 3.0.5 0 psutil 5.7.0 py38h7b6447c_0 ptyprocess 0.6.0 py38_0 py 1.9.0 py_0 py-lief 0.10.1 py38h403a769_0 pycodestyle 2.6.0 py_0 pycosat 0.6.3 py38h7b6447c_1 pycparser 2.20 py_2 pycryptodome 3.9.8 py38hb69a4c5_0 pycurl 7.43.0.5 py38h1ba5d50_0 pydocstyle 5.0.2 py_0 pyflakes 2.2.0 py_0 pygithub 1.53 py_0 conda-forge pygments 2.6.1 py_0 pyjwt 1.7.1 py38_0 pylint 2.5.3 py38_0 pyodbc 4.0.30 py38he6710b0_0 pyopenssl 19.1.0 py_1 pyparsing 2.4.7 py_0 pyqt 5.9.2 py38h05f1152_4 pyrsistent 0.16.0 py38h7b6447c_0 pysocks 1.7.1 py38_0 pytables 3.6.1 py38h9fd0a39_0 pytest 5.4.3 py38_0 python 3.8.3 hcff3b4d_2 python-dateutil 2.8.1 py_0 python-jsonrpc-server 0.3.4 py_1 python-language-server 0.34.1 py38_0 python-libarchive-c 2.9 py_0 python_abi 3.8 1_cp38 conda-forge pytz 2020.1 py_0 pywavelets 1.1.1 py38h7b6447c_0 pyxdg 0.26 py_0 pyyaml 5.3.1 py38h7b6447c_1 pyzmq 19.0.1 py38he6710b0_1 qdarkstyle 2.8.1 py_0 qt 5.9.7 h5867ecd_1 qtawesome 0.7.2 py_0 qtconsole 4.7.5 py_0 qtpy 1.9.0 py_0 readline 8.0 h7b6447c_0 regex 2020.6.8 py38h7b6447c_0 requests 2.24.0 py_0 requests-oauthlib 1.3.0 py_0 ripgrep 11.0.2 he32d670_0 rope 0.17.0 py_0 rtree 0.9.4 py38_1 ruamel.yaml 0.16.12 py38h1e0a361_1 conda-forge ruamel.yaml.clib 0.2.2 py38h7b6447c_0 ruamel_yaml 0.15.87 py38h7b6447c_1 scikit-image 0.16.2 py38h0573a6f_0 scikit-learn 0.23.1 py38h423224d_0 scipy 1.5.0 py38h0b6359f_0 scrypt 0.8.17 py38h766eaa4_0 conda-forge seaborn 0.10.1 py_0 secretstorage 3.1.2 py38_0 send2trash 1.5.0 py38_0 setuptools 49.2.0 py38_0 shellcheck 0.7.1 0 conda-forge simplegeneric 0.8.1 py38_2 singledispatch 3.4.0.3 py38_0 sip 4.19.13 py38he6710b0_0 six 1.15.0 py_0 smmap 3.0.4 py_0 snappy 1.1.8 he6710b0_0 snowballstemmer 2.0.0 py_0 sortedcollections 1.2.1 py_0 sortedcontainers 2.2.2 py_0 soupsieve 2.0.1 py_0 sphinx 3.1.2 py_0 sphinxcontrib 1.0 py38_1 sphinxcontrib-applehelp 1.0.2 py_0 sphinxcontrib-devhelp 1.0.2 py_0 sphinxcontrib-htmlhelp 1.0.3 py_0 sphinxcontrib-jsmath 1.0.1 py_0 sphinxcontrib-qthelp 1.0.3 py_0 sphinxcontrib-serializinghtml 1.1.4 py_0 sphinxcontrib-websupport 1.2.3 py_0 spyder 4.1.4 py38_0 spyder-kernels 1.9.2 py38_0 sqlalchemy 1.3.18 py38h7b6447c_0 sqlite 3.32.3 h62c20be_0 statsmodels 0.11.1 py38h7b6447c_0 sympy 1.6.1 py38_0 tbb 2020.0 hfd86e86_0 tblib 1.6.0 py_0 terminado 0.8.3 py38_0 testpath 0.4.4 py_0 threadpoolctl 2.1.0 pyh5ca1d4c_0 tk 8.6.10 hbc83047_0 toml 0.10.1 py_0 toolz 0.10.0 py_0 conda-forge tornado 6.0.4 py38h7b6447c_1 tqdm 4.47.0 py_0 traitlets 4.3.3 py38_0 triangle 1.6 hb8757ab_2 conda-forge typing_extensions 3.7.4.2 py_0 ujson 1.35 py38h7b6447c_0 unicodecsv 0.14.1 py38_0 unixodbc 2.3.7 h14c3975_0 urllib3 1.25.9 py_0 vsts-python-api 0.1.22 py_0 conda-forge watchdog 0.10.3 py38_0 wcwidth 0.2.5 py_0 webencodings 0.5.1 py38_1 werkzeug 1.0.1 py_0 wheel 0.34.2 py38_0 widgetsnbextension 3.5.1 py38_0 wrapt 1.11.2 py38h7b6447c_0 wurlitzer 2.0.1 py38_0 xlrd 1.2.0 py_0 xlsxwriter 1.2.9 py_0 xlwt 1.3.0 py38_0 xmltodict 0.12.0 py_0 xz 5.2.5 h7b6447c_0 yaml 0.2.5 h7b6447c_0 yapf 0.30.0 py_0 zeromq 4.3.2 he6710b0_2 zict 2.0.0 py_0 zipp 3.1.0 py_0 zlib 1.2.11 h7b6447c_3 zope 1.0 py38_1 zope.event 4.4 py38_0 zope.interface 4.7.1 py38h7b6447c_0 zstd 1.4.5 h0b5b093_0
$ conda list


Details about conda and system ( conda info ):
$ conda info
 active environment : base
active env location : /home/romain/anaconda3
        shell level : 1
   user config file : /home/romain/.condarc

populated config files : /home/romain/.condarc
conda version : 4.9.1
conda-build version : 3.20.5
python version : 3.8.3.final.0
virtual packages : __glibc=2.32=0
__unix=0=0
__archspec=1=x86_64
base environment : /home/romain/anaconda3 (writable)
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 : /home/romain/anaconda3/pkgs
/home/romain/.conda/pkgs
envs directories : /home/romain/anaconda3/envs
/home/romain/.conda/envs
platform : linux-64
user-agent : conda/4.9.1 requests/2.24.0 CPython/3.8.3 Linux/5.9.2-arch1-1 arch/ glibc/2.32
UID:GID : 1000:985
netrc file : None
offline mode : False

Hi,

I am drafting a PR but I am having issues with the gen_cdt_recipes.py python script. I have no idea what is going on. See attached log.

R

pcre CDT for libgthread

We are running into issues building QT for aarch: conda-forge/qt-feedstock#181

In particular, we get the following error:

/home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/9.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: warning: libpcre.so.1, needed by /home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../aarch64-conda-linux-gnu/sysroot/usr/lib64/libgthread-2.0.so.0, not found (try using -rpath or -rpath-link)
/home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/9.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: /home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_h_env/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/lib/./libglib-2.0.so.0: undefined reference to `pcre_exec'
/home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/9.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: /home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_h_env/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/lib/./libglib-2.0.so.0: undefined reference to `pcre_study'
/home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/9.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: /home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_h_env/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/lib/./libglib-2.0.so.0: undefined reference to `pcre_dfa_exec'
/home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/9.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: /home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_h_env/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/lib/./libglib-2.0.so.0: undefined reference to `pcre_fullinfo'
/home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/9.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: /home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_h_env/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/lib/./libglib-2.0.so.0: undefined reference to `pcre_get_stringnumber'
/home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/9.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: /home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_h_env/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/lib/./libglib-2.0.so.0: undefined reference to `pcre_compile2'
/home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/9.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: /home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_h_env/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/lib/./libglib-2.0.so.0: undefined reference to `pcre_get_stringtable_entries'
/home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/9.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: /home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_h_env/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/lib/./libglib-2.0.so.0: undefined reference to `pcre_free'
/home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/9.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: /home/Tobias-Fischer/miniforge3/conda-bld/pyqt_split_1612130882746/_h_env/qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/lib/./libglib-2.0.so.0: undefined reference to `pcre_config'

@isuruf things that we need a pcre CDT for libgthread, hence I open this issue here.

Please let me know if there is something I can help with / if you need additional information.

libudev from systemd-libs-*-cos7 is overlinked, results in dynamically loading incompatible libraries from system

This is a fun one. It started with this import error after building the gnuradio package for linux-aarch64 and then attempting to do the same with the gnuradio-osmosdr package:

import: 'gnuradio.qtgui'
Traceback (most recent call last):
  File "/drone/src/build_artifacts/gnuradio-osmosdr_1621138893275/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/site-packages/gnuradio/qtgui/__init__.py", line 19, in <module>
    from .qtgui_python import *
ImportError: /lib64/libz.so.1: version `ZLIB_1.2.9' not found (required by /drone/src/build_artifacts/gnuradio-osmosdr_1621138893275/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/site-packages/gnuradio/qtgui/../../../../././libpng16.so.16)

So importing some Qt stuff was loading libpng16.so.16, which in turn didn't find its required ZLIB_1.2.9 (the version provided by the conda-forge package) because it was loading /lib64/libz.so.1 from the system instead of from the conda environment. Eventually I tried setting LD_DEBUG=libs and saw the following relevant snippets. Early on we see:

      3886:	find library=libz.so.1 [0]; searching
      3886:	 search path=/usr/lib64/elfutils		(RUNPATH from file /lib64/libdw.so.1)
      3886:	  trying file=/usr/lib64/elfutils/libz.so.1
      3886:	 search cache=/etc/ld.so.cache
      3886:	  trying file=/lib64/libz.so.1

followed later by:

      3886:	find library=libpng16.so.16 [0]; searching
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/PyQt5/../../../.:$PREFIX/lib/python3.8/site-packages/PyQt5/../../..		(RPATH from file $PREFIX/lib/python3.8/site-packages/PyQt5/../../../libQt5Core.so.5)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/PyQt5/../../.././libpng16.so.16

and then the error:

      3886:	/lib64/libz.so.1: error: version lookup error: version `ZLIB_1.2.9' not found (required by $PREFIX/lib/python3.8/site-packages/PyQt5/../../.././libpng16.so.16) (fatal)

So the system path is coming from libdw.so.1. Searching the logs for that exposes the true culprit, libudev.so.1:

      3886:	find library=libudev.so.1 [0]; searching
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../././.		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/../../../././libsndfile.so.1)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../.././././libudev.so.1
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../.././.		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/../../.././libgnuradio-blocks.so.3.9.1)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../././libudev.so.1
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../.		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/../../../libgnuradio-osmosdr.so.0.2.0)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../.././libudev.so.1
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../..		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/osmosdr_python.cpython-38-aarch64-linux-gnu.so)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../libudev.so.1
      3886:	 search path=$PREFIX/bin/../lib		(RPATH from file python)
      3886:	  trying file=$PREFIX/bin/../lib/libudev.so.1
      3886:	 search cache=/etc/ld.so.cache
      3886:	  trying file=/lib64/libudev.so.1
      3886:	
      3886:	find library=libcap.so.2 [0]; searching
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../././.		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/../../../././libsndfile.so.1)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../.././././libcap.so.2
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../.././.		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/../../.././libgnuradio-blocks.so.3.9.1)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../././libcap.so.2
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../.		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/../../../libgnuradio-osmosdr.so.0.2.0)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../.././libcap.so.2
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../..		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/osmosdr_python.cpython-38-aarch64-linux-gnu.so)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../libcap.so.2
      3886:	 search path=$PREFIX/bin/../lib		(RPATH from file python)
      3886:	  trying file=$PREFIX/bin/../lib/libcap.so.2
      3886:	 search cache=/etc/ld.so.cache
      3886:	  trying file=/lib64/libcap.so.2
      3886:	
      3886:	find library=libdw.so.1 [0]; searching
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../././.		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/../../../././libsndfile.so.1)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../.././././libdw.so.1
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../.././.		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/../../.././libgnuradio-blocks.so.3.9.1)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../././libdw.so.1
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../.		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/../../../libgnuradio-osmosdr.so.0.2.0)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../.././libdw.so.1
      3886:	 search path=$PREFIX/lib/python3.8/site-packages/osmosdr/../../..		(RPATH from file $PREFIX/lib/python3.8/site-packages/osmosdr/osmosdr_python.cpython-38-aarch64-linux-gnu.so)
      3886:	  trying file=$PREFIX/lib/python3.8/site-packages/osmosdr/../../../libdw.so.1
      3886:	 search path=$PREFIX/bin/../lib		(RPATH from file python)
      3886:	  trying file=$PREFIX/bin/../lib/libdw.so.1
      3886:	 search cache=/etc/ld.so.cache
      3886:	  trying file=/lib64/libdw.so.1

To summarize: libudev.so.1, provided by the systemd-libs CDT for cos7, pulls in both the libdw.so.1 and libcap.so.2 libraries from the system, which in turn leads to /lib64/libz.so.1 being used instead of the conda-forge libz and resulting in incompatibilities when other libraries expect the conda-forge version.

That led me to the question of why this was happening with the CentOS 7 CDT and not earlier with the CentOS 6 CDT (libudev-devel). It looks like this is a casualty of bringing libudev into the systemd tree and build system; before that (cos6), libudev didn't link to libcap.so.2 and libdw.so.1 at all, and after that it did. Moreover, the most recent systemd versions have corrected this so that libudev no longer includes those links. Judging by systemd's build system source code through this transition, it seems like libudev was never intended to make those links as it doesn't actually use them, and they were included by mistake by virtue of being used elsewhere in systemd. As far as I can tell, none of the newer fixed versions of systemd have made it to CentOS 7. The current systemd-libs-cos7-*-219 CDT provides libudev.so.1.6.2, and from at least libudev.so.1.6.11 (from systemd-libs-239, CentOS 8 rpm) the overlinking problem has been fixed. This is confirmed with ldd where those libraries are no longer present, and moreover we can see those unused dependencies (and more?):

$ ldd -u -r libudev.so.1.6.2
Unused direct dependencies:
        /lib/x86_64-linux-gnu/librt.so.1
        /lib/x86_64-linux-gnu/libcap.so.2
        /lib/x86_64-linux-gnu/libm.so.6
        /usr/lib/x86_64-linux-gnu/libdw.so.1
        /lib/x86_64-linux-gnu/libdl.so.2
        /lib64/ld-linux-x86-64.so.2
$ ldd -u -r libudev.so.1.6.11

I managed a temporary workaround for this by adding the elfutils (for libdw.so.1) and libcap packages as host dependencies of gnuradio. In that case, loading libudev.so.1 finds the conda-provided versions of those libraries and so the conda version of libz is also used.

I think it is likely that others will encounter this problem whenever conda-forge transitions to CentOS 7, so I'd like to see if there is a better solution. I don't imagine that using a CentOS 8 RPM that has a fixed libudev would work or be the right solution. Maybe it would be possible to replace the libudev portion of the systemd-libs CDT with a proper conda-forge package. The best solution might be to modify the current libudev.so.1.6.2 during the CDT packaging and strip the unused libraries. Something like:

patchelf --remove-needed libcap.so.2 --remove-needed libdw.so.1 --output libudev.so.1.6.2.fixed libudev.so.1.6.2

I could probably come up with a PR that does that, if that would be acceptable and assuming it would work. Let me know if I've missed anything and what the best path forward might be. Thanks!

libXft ?

Comment:

I am trying to use the libxft CDT in conda-forge/tk-feedstock#40 . But it seems that something changed about this package because the xft variant (of that pull request) no longer seems to pick up the xft libraries. Your help would be greatly appreciated. On my local linux system, I attempted to stop the build process for tk right after the configure step to look around at the environment, and I haven't been able to find any xft libraries in the PREFIX or BUILD_PREFIX subdirectories.

List requirements

It would be good to have a list of requirements somewhere to simplify creating or updating an environment to run the scripts here.

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.