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

Conan build failing with an unexpected error #5044

Closed
2 tasks done
sandybhat16 opened this issue Oct 23, 2023 · 1 comment
Closed
2 tasks done

Conan build failing with an unexpected error #5044

sandybhat16 opened this issue Oct 23, 2023 · 1 comment
Labels
locked [bot] locked due to inactivity type::bug describes erroneous operation, use severity::* to classify the type

Comments

@sandybhat16
Copy link

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I am trying to create a boost header only package with the version 1.70.0.

I am using the below recipe to generate the headers.

{% set version = "1.70.0" %}

package:
  name: boost-split
  version: {{ version }}

source:
  url: https://boostorg.jfrog.io/artifactory/main/release/{{ version }}/source/boost_{{ version|replace(".", "_") }}.zip
  sha256: 48f379b2e90dd1084429aae87d6bdbde9670139fa7569ee856c8c86dd366039d

outputs:
  - name: libboost-headers
    script: install-lib.bat  # [win]

@echo on

if [%PKG_NAME%] == [libboost-headers] (
    REM for libboost-headers, only the headers
    robocopy temp_prefix\include %LIBRARY_INC% /E >nul
    REM robocopy leaves non-zero exit status as sign of success; clear it
    echo "robocopy done"
) else (
    REM everything else
    xcopy /E /Y temp_prefix\lib %LIBRARY_LIB%
)

I get an unexpected error. I have attached the error log.
NewError.txt

Conda Info

active environment : base
    active env location : C:\Miniconda\miniconda3
            shell level : 1
       user config file : C:\Users\myuser\.condarc
 populated config files : C:\Users\myuser\.condarc
          conda version : 23.5.2
    conda-build version : 3.27.0
         python version : 3.11.4.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.0=0
                          __win=0=0
       base environment : C:\Miniconda\miniconda3  (writable)
      conda av data dir : C:\Miniconda\miniconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Miniconda\miniconda3\pkgs
                          C:\Users\myuser\.conda\pkgs
                          C:\Users\myuser\AppData\Local\conda\conda\pkgs
       envs directories : C:\Miniconda\miniconda3\envs
                          C:\Users\myuser\.conda\envs
                          C:\Users\myuser\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.5.2 requests/2.29.0 CPython/3.11.4 Windows/10 Windows/10.0.19045
          administrator : True
             netrc file : None
           offline mode : False

Conda Config

==> C:\Users\myuser\.condarc <==
show_channel_urls: True

Conda list

# packages in environment at C:\Miniconda\miniconda3:
#
# Name                    Version                   Build  Channel
beautifulsoup4            4.12.2          py311haa95532_0    defaults
boltons                   23.0.0          py311haa95532_0    defaults
brotlipy                  0.7.0           py311h2bbff1b_1002    defaults
bzip2                     1.0.8                he774522_0    defaults
ca-certificates           2023.08.22           haa95532_0    defaults
certifi                   2023.7.22       py311haa95532_0    defaults
cffi                      1.15.1          py311h2bbff1b_3    defaults
chardet                   4.0.0           py311haa95532_1003    defaults
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
click                     8.0.4           py311haa95532_0    defaults
colorama                  0.4.6           py311haa95532_0    defaults
conda                     23.5.2          py311haa95532_0    defaults
conda-build               3.27.0          py311haa95532_0    defaults
conda-content-trust       0.1.3           py311haa95532_0    defaults
conda-index               0.3.0           py311haa95532_0    defaults
conda-libmamba-solver     23.5.0          py311haa95532_0    defaults
conda-package-handling    2.1.0           py311haa95532_0    defaults
conda-package-streaming   0.8.0           py311haa95532_0    defaults
console_shortcut_miniconda 0.1.1                haa95532_1    defaults
cryptography              39.0.1          py311h21b164f_2    defaults
filelock                  3.9.0           py311haa95532_0    defaults
fmt                       9.1.0                h6d14046_0    defaults
idna                      3.4             py311haa95532_0    defaults
jinja2                    3.1.2           py311haa95532_0    defaults
jsonpatch                 1.32               pyhd3eb1b0_0    defaults
jsonpointer               2.1                pyhd3eb1b0_0    defaults
libarchive                3.6.2                hb62f4d4_2    defaults
libcurl                   8.1.1                h86230a5_0    defaults
libffi                    3.4.4                hd77b12b_0    defaults
libiconv                  1.16                 h2bbff1b_2    defaults
liblief                   0.12.3               hd77b12b_0    defaults
libmamba                  1.4.1                h77c03ed_1    defaults
libmambapy                1.4.1           py311h77c03ed_1    defaults
libsolv                   0.7.22               h23ce68f_0    defaults
libssh2                   1.10.0               he2ea4bf_2    defaults
libxml2                   2.10.3               h0ad7f3c_0    defaults
lz4-c                     1.9.4                h2bbff1b_0    defaults
m2-msys2-runtime          2.5.0.17080.65c939c               3    defaults
m2-patch                  2.7.5                         2    defaults
markupsafe                2.1.1           py311h2bbff1b_0    defaults
menuinst                  1.4.19          py311h59b6b97_1    defaults
more-itertools            8.12.0             pyhd3eb1b0_0    defaults
msys2-conda-epoch         20160418                      1    defaults
openssl                   3.0.11               h2bbff1b_2    defaults
packaging                 23.0            py311haa95532_0    defaults
pcre2                     10.37                h0ff8eda_1    defaults
pip                       23.1.2          py311haa95532_0    defaults
pkginfo                   1.9.6           py311haa95532_0    defaults
pluggy                    1.0.0           py311haa95532_1    defaults
powershell_shortcut_miniconda 0.0.1                haa95532_1    defaults
psutil                    5.9.0           py311h2bbff1b_0    defaults
py-lief                   0.12.3          py311hd77b12b_0    defaults
pybind11-abi              4                    hd3eb1b0_1    defaults
pycosat                   0.6.4           py311h2bbff1b_0    defaults
pycparser                 2.21               pyhd3eb1b0_0    defaults
pyopenssl                 23.0.0          py311haa95532_0    defaults
pysocks                   1.7.1           py311haa95532_0    defaults
python                    3.11.4               he1021f5_0    defaults
python-libarchive-c       2.9                pyhd3eb1b0_1    defaults
pytz                      2023.3.post1    py311haa95532_0    defaults
pyyaml                    6.0             py311h2bbff1b_1    defaults
reproc                    14.2.4               hd77b12b_1    defaults
reproc-cpp                14.2.4               hd77b12b_1    defaults
requests                  2.29.0          py311haa95532_0    defaults
ruamel.yaml               0.17.21         py311h2bbff1b_0    defaults
setuptools                67.8.0          py311haa95532_0    defaults
six                       1.16.0             pyhd3eb1b0_1    defaults
soupsieve                 2.5             py311haa95532_0    defaults
sqlite                    3.41.2               h2bbff1b_0    defaults
tk                        8.6.12               h2bbff1b_0    defaults
toolz                     0.12.0          py311haa95532_0    defaults
tqdm                      4.65.0          py311h746a85d_0    defaults
tzdata                    2023c                h04d1e81_0    defaults
urllib3                   1.26.16         py311haa95532_0    defaults
vc                        14.2                 h21ff451_1    defaults
vs2015_runtime            14.27.29016          h5e58377_2    defaults
wheel                     0.38.4          py311haa95532_0    defaults
win_inet_pton             1.1.0           py311haa95532_0    defaults
xz                        5.4.2                h8cc25b3_0    defaults
yaml                      0.2.5                he774522_0    defaults
yaml-cpp                  0.7.0                hd77b12b_1    defaults
zlib                      1.2.13               h8cc25b3_0    defaults
zstandard                 0.19.0          py311h2bbff1b_0    defaults
zstd                      1.5.5                hd43e919_0    defaults

Additional Context

No response

@sandybhat16 sandybhat16 added the type::bug describes erroneous operation, use severity::* to classify the type label Oct 23, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Oct 23, 2023
@sandybhat16
Copy link
Author

resolved

@github-project-automation github-project-automation bot moved this from 🆕 New to 🏁 Done in 🧭 Planning Nov 1, 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
locked [bot] locked due to inactivity type::bug describes erroneous operation, use severity::* to classify the type
Projects
Archived in project
Development

No branches or pull requests

1 participant