Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to interpet linking WARNINGs from conda-build 3.28.x? #5106

Closed
jdblischak opened this issue Dec 11, 2023 · 10 comments · Fixed by #5108
Closed

How to interpet linking WARNINGs from conda-build 3.28.x? #5106

jdblischak opened this issue Dec 11, 2023 · 10 comments · Fixed by #5108
Labels
in-progress issue is actively being worked on locked [bot] locked due to inactivity severity::4 low; functionality is inconvenient source::community catch-all for issues filed by community members type::bug describes erroneous operation, use severity::* to classify the type

Comments

@jdblischak
Copy link
Contributor

I am working on fixing the linking issues in the tiledb-feestock recipe (specifically PR conda-forge/tiledb-feedstock#225)

However, I just started getting some never before seen WARNING messages. I couldn't find them documented, nor could I find similar conda-forge recipes with these WARNINGs. They look like the following:

WARNING (tiledb,lib/libtiledb.so): lib/libxml2.so.2 found in multiple packages in run/reqs: [PrefixRecord(_hash=109776123479583895, name='libxml2', version='2.12.2', build='h232c23b_0', build_number=0, channel=Channel("conda-forge/linux-64"), subdir='linux-64', fn='libxml2-2.12.2-h232c23b_0.conda', md5='1917ed337979482731e8ac8c1bedf9dd', url='https://conda.anaconda.org/conda-forge/linux-64/libxml2-2.12.2-h232c23b_0.conda', sha256='0972c64c12cd105d07b444523cde5eb5ef41849457714d677194fb5f6e54b4ef', depends=('icu >=73.2,<74.0a0', 'libgcc-ng >=12', 'libiconv >=1.17,<2.0a0', 'libzlib >=1.2.13,<1.3.0a0', 'xz >=5.2.6,<6.0a0'), constrains=(), track_features=(), features=(), license='MIT', license_family='MIT', timestamp=1701815642.521, size=704943, package_tarball_full_path='/home/conda/feedstock_root/build_artifacts/pkg_cache/libxml2-2.12.2-h232c23b_0.conda', extracted_package_dir='/home/conda/feedstock_root/build_artifacts/pkg_cache/libxml2-2.12.2-h232c23b_0', files=('bin/xml2-config', 'bin/xmlcatalog', 'bin/xmllint', 'etc/conda/activate.d/libxml2_activate.sh', 'etc/conda/deactivate.d/libxml2_deactivate.sh', 'include/libxml2/libxml/HTMLparser.h', 'include/libxml2/libxml/HTMLtree.h', 'include/libxml2/libxml/SAX.h', 'include/libxml2/libxml/SAX2.h', 'include/libxml2/libxml/c14n.h', 'include/libxml2/libxml/catalog.h', 'include/libxml2/libxml/chvalid.h', 'include/libxml2/libxml/debugXML.h', 'include/libxml2/libxml/dict.h', 'include/libxml2/libxml/encoding.h', 'include/libxml2/libxml/entities.h', 'include/libxml2/libxml/globals.h', 'include/libxml2/libxml/hash.h', 'include/libxml2/libxml/list.h', 'include/libxml2/libxml/nanoftp.h', 'include/libxml2/libxml/nanohttp.h', 'include/libxml2/libxml/parser.h', 'include/libxml2/libxml/parserInternals.h', 'include/libxml2/libxml/pattern.h', 'include/libxml2/libxml/relaxng.h', 'include/libxml2/libxml/schemasInternals.h', 'include/libxml2/libxml/schematron.h', 'include/libxml2/libxml/threads.h', 'include/libxml2/libxml/tree.h', 'include/libxml2/libxml/uri.h', 'include/libxml2/libxml/valid.h', 'include/libxml2/libxml/xinclude.h', 'include/libxml2/libxml/xlink.h', 'include/libxml2/libxml/xmlIO.h', 'include/libxml2/libxml/xmlautomata.h', 'include/libxml2/libxml/xmlerror.h', 'include/libxml2/libxml/xmlexports.h', 'include/libxml2/libxml/xmlmemory.h', 'include/libxml2/libxml/xmlmodule.h', 'include/libxml2/libxml/xmlreader.h', 'include/libxml2/libxml/xmlregexp.h', 'include/libxml2/libxml/xmlsave.h', 'include/libxml2/libxml/xmlschemas.h', 'include/libxml2/libxml/xmlschemastypes.h', 'include/libxml2/libxml/xmlstring.h', 'include/libxml2/libxml/xmlunicode.h', 'include/libxml2/libxml/xmlversion.h', 'include/libxml2/libxml/xmlwriter.h', 'include/libxml2/libxml/xpath.h', 'include/libxml2/libxml/xpathInternals.h', 'include/libxml2/libxml/xpointer.h', 'lib/cmake/libxml2/libxml2-config.cmake', 'lib/libxml2.so', 'lib/libxml2.so.2', 'lib/libxml2.so.2.12.2', 'lib/pkgconfig/libxml-2.0.pc', 'share/aclocal/libxml.m4'), paths_data=PathsData(paths_version=1, paths=(PathData(_path='bin/xml2-config', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='text', path_type='hardlink'), PathData(_path='bin/xmlcatalog', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='binary', path_type='hardlink'), PathData(_path='bin/xmllint', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='binary', path_type='hardlink'), PathData(_path='etc/conda/activate.d/libxml2_activate.sh', path_type='hardlink'), PathData(_path='etc/conda/deactivate.d/libxml2_deactivate.sh', path_type='hardlink'), PathData(_path='include/libxml2/libxml/HTMLparser.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/HTMLtree.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/SAX.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/SAX2.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/c14n.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/catalog.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/chvalid.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/debugXML.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/dict.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/encoding.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/entities.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/globals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/hash.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/list.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/nanoftp.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/nanohttp.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/parser.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/parserInternals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/pattern.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/relaxng.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/schemasInternals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/schematron.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/threads.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/tree.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/uri.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/valid.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xinclude.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xlink.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlIO.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlautomata.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlerror.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlexports.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlmemory.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlmodule.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlreader.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlregexp.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlsave.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlschemas.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlschemastypes.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlstring.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlunicode.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlversion.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlwriter.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xpath.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xpathInternals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xpointer.h', path_type='hardlink'), PathData(_path='lib/cmake/libxml2/libxml2-config.cmake', path_type='hardlink'), PathData(_path='lib/libxml2.so', path_type='softlink'), PathData(_path='lib/libxml2.so.2', path_type='softlink'), PathData(_path='lib/libxml2.so.2.12.2', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='binary', path_type='hardlink'), PathData(_path='lib/pkgconfig/libxml-2.0.pc', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='text', path_type='hardlink'), PathData(_path='share/aclocal/libxml.m4', path_type='hardlink'))), link=Link(source='/home/conda/feedstock_root/build_artifacts/pkg_cache/libxml2-2.12.2-h232c23b_0', type=1), requested_spec='None'), PrefixRecord(_hash=109776123479583895, name='libxml2', version='2.12.2', build='h232c23b_0', build_number=0, channel=Channel("conda-forge/linux-64"), subdir='linux-64', fn='libxml2-2.12.2-h232c23b_0.conda', md5='1917ed337979482731e8ac8c1bedf9dd', url='https://conda.anaconda.org/conda-forge/linux-64/libxml2-2.12.2-h232c23b_0.conda', sha256='0972c64c12cd105d07b444523cde5eb5ef41849457714d677194fb5f6e54b4ef', depends=('icu >=73.2,<74.0a0', 'libgcc-ng >=12', 'libiconv >=1.17,<2.0a0', 'libzlib >=1.2.13,<1.3.0a0', 'xz >=5.2.6,<6.0a0'), constrains=(), track_features=(), features=(), license='MIT', license_family='MIT', timestamp=1701815642.521, size=704943, package_tarball_full_path='/home/conda/feedstock_root/build_artifacts/pkg_cache/libxml2-2.12.2-h232c23b_0.conda', extracted_package_dir='/home/conda/feedstock_root/build_artifacts/pkg_cache/libxml2-2.12.2-h232c23b_0', files=('bin/xml2-config', 'bin/xmlcatalog', 'bin/xmllint', 'etc/conda/activate.d/libxml2_activate.sh', 'etc/conda/deactivate.d/libxml2_deactivate.sh', 'include/libxml2/libxml/HTMLparser.h', 'include/libxml2/libxml/HTMLtree.h', 'include/libxml2/libxml/SAX.h', 'include/libxml2/libxml/SAX2.h', 'include/libxml2/libxml/c14n.h', 'include/libxml2/libxml/catalog.h', 'include/libxml2/libxml/chvalid.h', 'include/libxml2/libxml/debugXML.h', 'include/libxml2/libxml/dict.h', 'include/libxml2/libxml/encoding.h', 'include/libxml2/libxml/entities.h', 'include/libxml2/libxml/globals.h', 'include/libxml2/libxml/hash.h', 'include/libxml2/libxml/list.h', 'include/libxml2/libxml/nanoftp.h', 'include/libxml2/libxml/nanohttp.h', 'include/libxml2/libxml/parser.h', 'include/libxml2/libxml/parserInternals.h', 'include/libxml2/libxml/pattern.h', 'include/libxml2/libxml/relaxng.h', 'include/libxml2/libxml/schemasInternals.h', 'include/libxml2/libxml/schematron.h', 'include/libxml2/libxml/threads.h', 'include/libxml2/libxml/tree.h', 'include/libxml2/libxml/uri.h', 'include/libxml2/libxml/valid.h', 'include/libxml2/libxml/xinclude.h', 'include/libxml2/libxml/xlink.h', 'include/libxml2/libxml/xmlIO.h', 'include/libxml2/libxml/xmlautomata.h', 'include/libxml2/libxml/xmlerror.h', 'include/libxml2/libxml/xmlexports.h', 'include/libxml2/libxml/xmlmemory.h', 'include/libxml2/libxml/xmlmodule.h', 'include/libxml2/libxml/xmlreader.h', 'include/libxml2/libxml/xmlregexp.h', 'include/libxml2/libxml/xmlsave.h', 'include/libxml2/libxml/xmlschemas.h', 'include/libxml2/libxml/xmlschemastypes.h', 'include/libxml2/libxml/xmlstring.h', 'include/libxml2/libxml/xmlunicode.h', 'include/libxml2/libxml/xmlversion.h', 'include/libxml2/libxml/xmlwriter.h', 'include/libxml2/libxml/xpath.h', 'include/libxml2/libxml/xpathInternals.h', 'include/libxml2/libxml/xpointer.h', 'lib/cmake/libxml2/libxml2-config.cmake', 'lib/libxml2.so', 'lib/libxml2.so.2', 'lib/libxml2.so.2.12.2', 'lib/pkgconfig/libxml-2.0.pc', 'share/aclocal/libxml.m4'), paths_data=PathsData(paths_version=1, paths=(PathData(_path='bin/xml2-config', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='text', path_type='hardlink'), PathData(_path='bin/xmlcatalog', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='binary', path_type='hardlink'), PathData(_path='bin/xmllint', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='binary', path_type='hardlink'), PathData(_path='etc/conda/activate.d/libxml2_activate.sh', path_type='hardlink'), PathData(_path='etc/conda/deactivate.d/libxml2_deactivate.sh', path_type='hardlink'), PathData(_path='include/libxml2/libxml/HTMLparser.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/HTMLtree.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/SAX.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/SAX2.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/c14n.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/catalog.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/chvalid.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/debugXML.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/dict.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/encoding.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/entities.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/globals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/hash.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/list.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/nanoftp.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/nanohttp.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/parser.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/parserInternals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/pattern.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/relaxng.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/schemasInternals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/schematron.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/threads.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/tree.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/uri.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/valid.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xinclude.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xlink.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlIO.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlautomata.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlerror.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlexports.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlmemory.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlmodule.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlreader.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlregexp.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlsave.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlschemas.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlschemastypes.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlstring.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlunicode.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlversion.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlwriter.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xpath.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xpathInternals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xpointer.h', path_type='hardlink'), PathData(_path='lib/cmake/libxml2/libxml2-config.cmake', path_type='hardlink'), PathData(_path='lib/libxml2.so', path_type='softlink'), PathData(_path='lib/libxml2.so.2', path_type='softlink'), PathData(_path='lib/libxml2.so.2.12.2', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='binary', path_type='hardlink'), PathData(_path='lib/pkgconfig/libxml-2.0.pc', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='text', path_type='hardlink'), PathData(_path='share/aclocal/libxml.m4', path_type='hardlink'))), link=Link(source='/home/conda/feedstock_root/build_artifacts/pkg_cache/libxml2-2.12.2-h232c23b_0', type=1), requested_spec='None'), PrefixRecord(_hash=109776123479583895, name='libxml2', version='2.12.2', build='h232c23b_0', build_number=0, channel=Channel("conda-forge/linux-64"), subdir='linux-64', fn='libxml2-2.12.2-h232c23b_0.conda', md5='1917ed337979482731e8ac8c1bedf9dd', url='https://conda.anaconda.org/conda-forge/linux-64/libxml2-2.12.2-h232c23b_0.conda', sha256='0972c64c12cd105d07b444523cde5eb5ef41849457714d677194fb5f6e54b4ef', depends=('icu >=73.2,<74.0a0', 'libgcc-ng >=12', 'libiconv >=1.17,<2.0a0', 'libzlib >=1.2.13,<1.3.0a0', 'xz >=5.2.6,<6.0a0'), constrains=(), track_features=(), features=(), license='MIT', license_family='MIT', timestamp=1701815642.521, size=704943, package_tarball_full_path='/home/conda/feedstock_root/build_artifacts/pkg_cache/libxml2-2.12.2-h232c23b_0.conda', extracted_package_dir='/home/conda/feedstock_root/build_artifacts/pkg_cache/libxml2-2.12.2-h232c23b_0', files=('bin/xml2-config', 'bin/xmlcatalog', 'bin/xmllint', 'etc/conda/activate.d/libxml2_activate.sh', 'etc/conda/deactivate.d/libxml2_deactivate.sh', 'include/libxml2/libxml/HTMLparser.h', 'include/libxml2/libxml/HTMLtree.h', 'include/libxml2/libxml/SAX.h', 'include/libxml2/libxml/SAX2.h', 'include/libxml2/libxml/c14n.h', 'include/libxml2/libxml/catalog.h', 'include/libxml2/libxml/chvalid.h', 'include/libxml2/libxml/debugXML.h', 'include/libxml2/libxml/dict.h', 'include/libxml2/libxml/encoding.h', 'include/libxml2/libxml/entities.h', 'include/libxml2/libxml/globals.h', 'include/libxml2/libxml/hash.h', 'include/libxml2/libxml/list.h', 'include/libxml2/libxml/nanoftp.h', 'include/libxml2/libxml/nanohttp.h', 'include/libxml2/libxml/parser.h', 'include/libxml2/libxml/parserInternals.h', 'include/libxml2/libxml/pattern.h', 'include/libxml2/libxml/relaxng.h', 'include/libxml2/libxml/schemasInternals.h', 'include/libxml2/libxml/schematron.h', 'include/libxml2/libxml/threads.h', 'include/libxml2/libxml/tree.h', 'include/libxml2/libxml/uri.h', 'include/libxml2/libxml/valid.h', 'include/libxml2/libxml/xinclude.h', 'include/libxml2/libxml/xlink.h', 'include/libxml2/libxml/xmlIO.h', 'include/libxml2/libxml/xmlautomata.h', 'include/libxml2/libxml/xmlerror.h', 'include/libxml2/libxml/xmlexports.h', 'include/libxml2/libxml/xmlmemory.h', 'include/libxml2/libxml/xmlmodule.h', 'include/libxml2/libxml/xmlreader.h', 'include/libxml2/libxml/xmlregexp.h', 'include/libxml2/libxml/xmlsave.h', 'include/libxml2/libxml/xmlschemas.h', 'include/libxml2/libxml/xmlschemastypes.h', 'include/libxml2/libxml/xmlstring.h', 'include/libxml2/libxml/xmlunicode.h', 'include/libxml2/libxml/xmlversion.h', 'include/libxml2/libxml/xmlwriter.h', 'include/libxml2/libxml/xpath.h', 'include/libxml2/libxml/xpathInternals.h', 'include/libxml2/libxml/xpointer.h', 'lib/cmake/libxml2/libxml2-config.cmake', 'lib/libxml2.so', 'lib/libxml2.so.2', 'lib/libxml2.so.2.12.2', 'lib/pkgconfig/libxml-2.0.pc', 'share/aclocal/libxml.m4'), paths_data=PathsData(paths_version=1, paths=(PathData(_path='bin/xml2-config', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='text', path_type='hardlink'), PathData(_path='bin/xmlcatalog', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='binary', path_type='hardlink'), PathData(_path='bin/xmllint', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='binary', path_type='hardlink'), PathData(_path='etc/conda/activate.d/libxml2_activate.sh', path_type='hardlink'), PathData(_path='etc/conda/deactivate.d/libxml2_deactivate.sh', path_type='hardlink'), PathData(_path='include/libxml2/libxml/HTMLparser.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/HTMLtree.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/SAX.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/SAX2.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/c14n.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/catalog.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/chvalid.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/debugXML.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/dict.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/encoding.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/entities.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/globals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/hash.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/list.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/nanoftp.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/nanohttp.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/parser.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/parserInternals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/pattern.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/relaxng.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/schemasInternals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/schematron.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/threads.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/tree.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/uri.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/valid.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xinclude.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xlink.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlIO.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlautomata.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlerror.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlexports.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlmemory.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlmodule.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlreader.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlregexp.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlsave.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlschemas.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlschemastypes.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlstring.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlunicode.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlversion.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xmlwriter.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xpath.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xpathInternals.h', path_type='hardlink'), PathData(_path='include/libxml2/libxml/xpointer.h', path_type='hardlink'), PathData(_path='lib/cmake/libxml2/libxml2-config.cmake', path_type='hardlink'), PathData(_path='lib/libxml2.so', path_type='softlink'), PathData(_path='lib/libxml2.so.2', path_type='softlink'), PathData(_path='lib/libxml2.so.2.12.2', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='binary', path_type='hardlink'), PathData(_path='lib/pkgconfig/libxml-2.0.pc', prefix_placeholder='/home/conda/feedstock_root/build_artifacts/libxml2_1701815354812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla', file_mode='text', path_type='hardlink'), PathData(_path='share/aclocal/libxml.m4', path_type='hardlink'))), link=Link(source='/home/conda/feedstock_root/build_artifacts/pkg_cache/libxml2-2.12.2-h232c23b_0', type=1), requested_spec='None')]

Essentially it lists multiple identical PrefixRecords. This comes from the following source code:

elif len(precs_in_reqs) > 1:
_print_msg(
errors,
"{}: {} found in multiple packages in run/reqs: {}{}".format(
warn_prelude, in_prefix_dso, precs_in_reqs, and_also
),
verbose=verbose,
)

Which was recently refactored in #5041 and included in the 3.28.0 release (diff).

I did a test run where I pinned the conda-forge infrastructure to use conda-build 3.27.0. This reverted the WARNING messages to INFO, eg the libxml2 WARNING above is

INFO (tiledb,lib/libtiledb.so.2.18): Needed DSO lib/libxml2.so.2 found in conda-forge::libxml2-2.12.2-h232c23b_0

So my questions are:

  • Was this conversion of INFO to WARNING intentional?
  • Does this WARNING indicate a problem with the recipe?
  • How could I update the recipe to remove the WARNINGs?
@leofang
Copy link

leofang commented Dec 11, 2023

We also hit this issue in conda-forge/pennylane-lightning-gpu-feedstock#14, my suspicion is that the changes made in the recent conda-build does not handle run-exports correctly (because it's how our package relies on for the run dependencies).

@kenodegard kenodegard added type::bug describes erroneous operation, use severity::* to classify the type severity::4 low; functionality is inconvenient source::community catch-all for issues filed by community members in-progress issue is actively being worked on labels Dec 12, 2023
@kenodegard kenodegard moved this from 🆕 New to 👀 In Review in 🧭 Planning Dec 12, 2023
@kenodegard
Copy link
Contributor

@jdblischak @leofang since it's just a printed warning and AFAIK doesn't change how the package is built it should be safe to ignore the message

yes, the recent updates to which_package in #5041 resulted in duplicate package records being returned

to be corrected in #5108

@leofang
Copy link

leofang commented Dec 12, 2023

Thanks for speedy fix, Ken! Just wanna add that to most feedstocks on conda-forge this warning is indeed benign, however some feedstocks do impose a strict rule (i.e. setting error_overlinking to true, something that conda-forge has been discussing to enforce) which would result in a hard error. This should be considered as a breaking regression I think.

@kenodegard
Copy link
Contributor

ah didn't know that was a thing, we may expedite a patch release then

@jdblischak
Copy link
Contributor Author

some feedstocks do impose a strict rule (i.e. setting error_overlinking to true, something that conda-forge has been discussing to enforce) which would result in a hard error. This should be considered as a breaking regression I think.

While I would like this addressed quickly since the WARNING messages are an unnecessary distraction (eg they have delayed at least 2 PRs that have been linked to this Issue), I have to note that these WARNINGs do not result in a hard error. I verified this empirically.

I pushed a test commit that set error_overlinking: true and error_overdepending: true. In the associated Azure job, many of the builds passed despite having the "found in multiple packages in run/reqs" WARNINGs. The builds that failed truly had either an overlinking or a overdepending WARNING converted to an ERROR (ie unrelated to the regression that will be fixed by #5041).

@thomashampson
Copy link

Since moving to 3.28, I've noticed these new warning messages. For us, the warning lines can be > 8 million characters, so it has increased our build logs from a few mb up to > 400mb, making them almost unusable and clogging up our build servers. I will pin to 3.27 for now, and keep an eye on this issue. Thanks.

@leofang
Copy link

leofang commented Dec 12, 2023

Thanks, John. I thought all warnings would be converted to errors when error_overlinking/error_overdepending are set to true. This is reassuring, making it less time-critical to land a fix UPDATE: looks like inflation of build log sizes introduces another critical factor....

@jdblischak
Copy link
Contributor Author

making them almost unusable

@thomashampson thanks for reporting! I've been having a terrible time trying to copy-paste from the build logs to report this Issue. I thought it was a temporary Azure glitch, but now the long load times make sense since the build logs have ballooned in size

@mbargull
Copy link
Member

The increased logs broke linux-aarch64/linux-ppc64le builds on Travis CI at conda-forge/python-feedstock#657 (since Travis CI has a far stricter limit on log sizes).

mbargull added a commit to h-vetinari/python-feedstock that referenced this issue Dec 14, 2023
Temporary change will intentionally be overridden by the next re-render.

There is an issue with conda-build=3.28 that inflates the log sizes
which led Travis to abort the build.
ref: conda/conda-build#5106

Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
@kenodegard
Copy link
Contributor

#5108 has been merged, patch release coming this week

@github-project-automation github-project-automation bot moved this from 👀 In Review to 🏁 Done in 🧭 Planning Dec 18, 2023
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 20, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in-progress issue is actively being worked on locked [bot] locked due to inactivity severity::4 low; functionality is inconvenient source::community catch-all for issues filed by community members type::bug describes erroneous operation, use severity::* to classify the type
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants