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

[bug] conan upload --check fails when dependency download is done by the built recipe requires #14840

Closed
0000matteo0000 opened this issue Sep 28, 2023 · 4 comments · Fixed by #14850
Assignees
Milestone

Comments

@0000matteo0000
Copy link

0000matteo0000 commented Sep 28, 2023

Environment details

  • Operating System+version: Linux 6.2.0-33-generic x86_64 GNU/Linux Ubuntu 22.04.3 LTS (docker)
  • Compiler+version: probably unrelated
  • Conan version: Conan version 2.0.11
  • Python version: Python 3.10.12

Steps to reproduce

the used recipe is the one generated by conan new cmake_lib -d name=test -d version=0.0.1 adding

    def requirements(self):
        self.requires("log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe")

to it

all the exact commands are shared in the log

conan download "recipe" --remote "conancenter"
conan upload "recipe" --remote "my-artifactory-remote"

works

conan download "recipe" --remote "conancenter"
... build ...
conan upload "recipe" --remote "my-artifactory-remote"

works

... build ...
conan upload "recipe" --remote "my-artifactory-remote"

breaks

this is not tied to the package used for testing or the patches, i tested this with other packages that include or not patch files and i get the same behavior

Logs

CROSS_COMPILE=false
CLEAN=true
BUILD_TYPE=Release
build=build-x86_64-mta-linux
conan_build=conan-build-x86_64-mta-linux
conan=/usr/bin/conan
CONAN_HOME=/etc/conan2
n=15
Remove summary:
Local Cache
+ echo /etc/conan2
/etc/conan2
+ conan remove -c *
Remove summary:
Local Cache
  log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe: Removed recipe and all binaries
+ rm -rf /etc/conan2/p/cache.sqlite3
+ ls /etc/conan2/p/
+ conan download log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe --remote conancenter
Downloading recipe 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe'
Downloading 'log4cplus/2.0.8' sources
Downloading package 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:aa40a3634ce45eb15feb124b74adc17620d892f0#0e65ba6be7822c310785c44bd2e496ef'
log4cplus/2.0.8: Retrieving package aa40a3634ce45eb15feb124b74adc17620d892f0 from remote 'conancenter' 
log4cplus/2.0.8: Package installed aa40a3634ce45eb15feb124b74adc17620d892f0
log4cplus/2.0.8: Downloaded package revision 0e65ba6be7822c310785c44bd2e496ef
Downloading package 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:4a23f679717ad4fc262c15b226bea20ff6ce1e90#9bd87145b0ac9d6c822a5f7210eee421'
log4cplus/2.0.8: Retrieving package 4a23f679717ad4fc262c15b226bea20ff6ce1e90 from remote 'conancenter' 
log4cplus/2.0.8: Package installed 4a23f679717ad4fc262c15b226bea20ff6ce1e90
log4cplus/2.0.8: Downloaded package revision 9bd87145b0ac9d6c822a5f7210eee421
Downloading package 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:12163a80147a7451d884af226de296177b57a265#aeab63bf319da02e9607479f1e238a65'
log4cplus/2.0.8: Retrieving package 12163a80147a7451d884af226de296177b57a265 from remote 'conancenter' 
log4cplus/2.0.8: Package installed 12163a80147a7451d884af226de296177b57a265
log4cplus/2.0.8: Downloaded package revision aeab63bf319da02e9607479f1e238a65
Downloading package 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:16a87977e61e678761a78e31a87bc9bda11b04ef#e3c8f46c1188208f7f125b9ae4f70e44'
log4cplus/2.0.8: Retrieving package 16a87977e61e678761a78e31a87bc9bda11b04ef from remote 'conancenter' 
log4cplus/2.0.8: Package installed 16a87977e61e678761a78e31a87bc9bda11b04ef
log4cplus/2.0.8: Downloaded package revision e3c8f46c1188208f7f125b9ae4f70e44
Downloading package 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:f0230899c1505edc511a7b9bb950c93efbc241c4#e680df94d4ba1700ed0778914ae0ca99'
log4cplus/2.0.8: Retrieving package f0230899c1505edc511a7b9bb950c93efbc241c4 from remote 'conancenter' 
log4cplus/2.0.8: Package installed f0230899c1505edc511a7b9bb950c93efbc241c4
log4cplus/2.0.8: Downloaded package revision e680df94d4ba1700ed0778914ae0ca99
Downloading package 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:7919027ba0b8b20d4a25d08473bd3ca37c1c3fec#e611830561bd5fc8a316fcab75b55398'
log4cplus/2.0.8: Retrieving package 7919027ba0b8b20d4a25d08473bd3ca37c1c3fec from remote 'conancenter' 
log4cplus/2.0.8: Package installed 7919027ba0b8b20d4a25d08473bd3ca37c1c3fec
log4cplus/2.0.8: Downloaded package revision e611830561bd5fc8a316fcab75b55398
Downloading package 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:605181628acb705038619768af9cbfa1ccfdbbaa#0178f5c34ed8b9af1f19846304a73877'
log4cplus/2.0.8: Retrieving package 605181628acb705038619768af9cbfa1ccfdbbaa from remote 'conancenter' 
log4cplus/2.0.8: Package installed 605181628acb705038619768af9cbfa1ccfdbbaa
log4cplus/2.0.8: Downloaded package revision 0178f5c34ed8b9af1f19846304a73877
Downloading package 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:8759c1bc014ba339adb41da7c8035f3651532d68#3d393c623da6d2fe1a0c322317424064'
log4cplus/2.0.8: Retrieving package 8759c1bc014ba339adb41da7c8035f3651532d68 from remote 'conancenter' 
log4cplus/2.0.8: Package installed 8759c1bc014ba339adb41da7c8035f3651532d68
log4cplus/2.0.8: Downloaded package revision 3d393c623da6d2fe1a0c322317424064
Downloading package 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:83c0a374c7e8c0ff12aa87f34493da40a20aa36e#4124f84c3443d8ee89660c5b9ff6917c'
log4cplus/2.0.8: Retrieving package 83c0a374c7e8c0ff12aa87f34493da40a20aa36e from remote 'conancenter' 
log4cplus/2.0.8: Package installed 83c0a374c7e8c0ff12aa87f34493da40a20aa36e
log4cplus/2.0.8: Downloaded package revision 4124f84c3443d8ee89660c5b9ff6917c
Downloading package 'log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:3b63241bbf97391fc1012511d891c567a107795c#21731735df34a8d77c010d59e1d42dcb'
log4cplus/2.0.8: Retrieving package 3b63241bbf97391fc1012511d891c567a107795c from remote 'conancenter' 
log4cplus/2.0.8: Package installed 3b63241bbf97391fc1012511d891c567a107795c
log4cplus/2.0.8: Downloaded package revision 21731735df34a8d77c010d59e1d42dcb
Local Cache
  log4cplus
    log4cplus/2.0.8
      revisions
        eb0f00637790b75d271a8ca2b0d871fe (2023-02-13 05:40:01 UTC)
          packages
            aa40a3634ce45eb15feb124b74adc17620d892f0
              revisions
                0e65ba6be7822c310785c44bd2e496ef (2023-07-27 15:02:54 UTC)
              info
                settings
                  arch: x86_64
                  build_type: Release
                  compiler: apple-clang
                  compiler.cppstd: 17
                  compiler.libcxx: libc++
                  compiler.version: 13
                  os: Macos
                options
                  build_logging_server: False
                  decorated_name: False
                  shared: True
                  single_threaded: False
                  thread_pool: True
                  unicode: True
                  with_iconv: False
                  working_c_locale: False
                  working_locale: False
            4a23f679717ad4fc262c15b226bea20ff6ce1e90
              revisions
                9bd87145b0ac9d6c822a5f7210eee421 (2023-07-27 14:57:30 UTC)
              info
                settings
                  arch: x86_64
                  build_type: Release
                  compiler: gcc
                  compiler.cppstd: 17
                  compiler.libcxx: libstdc++11
                  compiler.version: 11
                  os: Linux
                options
                  build_logging_server: False
                  decorated_name: False
                  fPIC: True
                  shared: False
                  single_threaded: False
                  thread_pool: True
                  unicode: True
                  with_iconv: False
                  working_c_locale: False
                  working_locale: False
            12163a80147a7451d884af226de296177b57a265
              revisions
                aeab63bf319da02e9607479f1e238a65 (2023-07-27 15:18:09 UTC)
              info
                settings
                  arch: x86_64
                  build_type: Release
                  compiler: msvc
                  compiler.cppstd: 14
                  compiler.runtime: dynamic
                  compiler.runtime_type: Release
                  compiler.version: 193
                  os: Windows
                options
                  build_logging_server: False
                  decorated_name: False
                  shared: True
                  single_threaded: False
                  thread_pool: True
                  unicode: True
                  with_iconv: False
                  working_c_locale: False
                  working_locale: False
            16a87977e61e678761a78e31a87bc9bda11b04ef
              revisions
                e3c8f46c1188208f7f125b9ae4f70e44 (2023-07-27 15:12:19 UTC)
              info
                settings
                  arch: armv8
                  build_type: Release
                  compiler: apple-clang
                  compiler.cppstd: 17
                  compiler.libcxx: libc++
                  compiler.version: 13
                  os: Macos
                options
                  build_logging_server: False
                  decorated_name: False
                  shared: True
                  single_threaded: False
                  thread_pool: True
                  unicode: True
                  with_iconv: False
                  working_c_locale: False
                  working_locale: False
            f0230899c1505edc511a7b9bb950c93efbc241c4
              revisions
                e680df94d4ba1700ed0778914ae0ca99 (2023-07-27 15:06:37 UTC)
              info
                settings
                  arch: armv8
                  build_type: Release
                  compiler: apple-clang
                  compiler.cppstd: 17
                  compiler.libcxx: libc++
                  compiler.version: 13
                  os: Macos
                options
                  build_logging_server: False
                  decorated_name: False
                  fPIC: True
                  shared: False
                  single_threaded: False
                  thread_pool: True
                  unicode: True
                  with_iconv: False
                  working_c_locale: False
                  working_locale: False
            7919027ba0b8b20d4a25d08473bd3ca37c1c3fec
              revisions
                e611830561bd5fc8a316fcab75b55398 (2023-07-27 15:00:59 UTC)
              info
                settings
                  arch: x86_64
                  build_type: Release
                  compiler: apple-clang
                  compiler.cppstd: 17
                  compiler.libcxx: libc++
                  compiler.version: 13
                  os: Macos
                options
                  build_logging_server: False
                  decorated_name: False
                  fPIC: True
                  shared: False
                  single_threaded: False
                  thread_pool: True
                  unicode: True
                  with_iconv: False
                  working_c_locale: False
                  working_locale: False
            605181628acb705038619768af9cbfa1ccfdbbaa
              revisions
                0178f5c34ed8b9af1f19846304a73877 (2023-07-27 14:57:29 UTC)
              info
                settings
                  arch: x86_64
                  build_type: Release
                  compiler: gcc
                  compiler.cppstd: 17
                  compiler.libcxx: libstdc++11
                  compiler.version: 11
                  os: Linux
                options
                  build_logging_server: False
                  decorated_name: False
                  shared: True
                  single_threaded: False
                  thread_pool: True
                  unicode: True
                  with_iconv: False
                  working_c_locale: False
                  working_locale: False
            8759c1bc014ba339adb41da7c8035f3651532d68
              revisions
                3d393c623da6d2fe1a0c322317424064 (2023-07-27 15:18:10 UTC)
              info
                settings
                  arch: x86_64
                  build_type: Release
                  compiler: msvc
                  compiler.cppstd: 14
                  compiler.runtime: dynamic
                  compiler.runtime_type: Release
                  compiler.version: 193
                  os: Windows
                options
                  build_logging_server: False
                  decorated_name: False
                  shared: False
                  single_threaded: False
                  thread_pool: True
                  unicode: True
                  with_iconv: False
                  working_c_locale: False
                  working_locale: False
            83c0a374c7e8c0ff12aa87f34493da40a20aa36e
              revisions
                4124f84c3443d8ee89660c5b9ff6917c (2023-07-27 15:18:10 UTC)
              info
                settings
                  arch: x86_64
                  build_type: Release
                  compiler: msvc
                  compiler.cppstd: 14
                  compiler.runtime: dynamic
                  compiler.runtime_type: Release
                  compiler.version: 192
                  os: Windows
                options
                  build_logging_server: False
                  decorated_name: False
                  shared: False
                  single_threaded: False
                  thread_pool: True
                  unicode: True
                  with_iconv: False
                  working_c_locale: False
                  working_locale: False
            3b63241bbf97391fc1012511d891c567a107795c
              revisions
                21731735df34a8d77c010d59e1d42dcb (2023-07-27 15:17:20 UTC)
              info
                settings
                  arch: x86_64
                  build_type: Release
                  compiler: msvc
                  compiler.cppstd: 14
                  compiler.runtime: dynamic
                  compiler.runtime_type: Release
                  compiler.version: 192
                  os: Windows
                options
                  build_logging_server: False
                  decorated_name: False
                  shared: True
                  single_threaded: False
                  thread_pool: True
                  unicode: True
                  with_iconv: False
                  working_c_locale: False
                  working_locale: False
+ printf %s 
+ xargs -- conan install -vvv --profile:host=default --profile:build=default --build=missing --settings build_type=Release --output-folder=./ ../

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[buildenv]
AR=ar
AS=as
CC=gcc
CFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CHOST=x86_64
CMAKE_C_FLAGS_DEBUG=-Og
CMAKE_C_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CPP_FLAGS_DEBUG=-Og
CMAKE_CPP_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CXX_FLAGS_DEBUG=-Og
CMAKE_CXX_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CPP=gcc
CPPFLAGS=-E -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CXX=g++
CXXFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections -Wno-psabi
GDB=gdb
LD=ld
LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,--gc-sections
M4=m4
NM=nm
OBJCOPY=objcopy
OBJDUMP=objdump
RANLIB=ranlib
READELF=readelf
STRIP=strip

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[buildenv]
AR=ar
AS=as
CC=gcc
CFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CHOST=x86_64
CMAKE_C_FLAGS_DEBUG=-Og
CMAKE_C_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CPP_FLAGS_DEBUG=-Og
CMAKE_CPP_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CXX_FLAGS_DEBUG=-Og
CMAKE_CXX_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CPP=gcc
CPPFLAGS=-E -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CXX=g++
CXXFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections -Wno-psabi
GDB=gdb
LD=ld
LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,--gc-sections
M4=m4
NM=nm
OBJCOPY=objcopy
OBJDUMP=objdump
RANLIB=ranlib
READELF=readelf
STRIP=strip


======== Computing dependency graph ========
Graph root
    conanfile.py (test/0.0.1): /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conanfile.py
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe - Cache

======== Computing necessary packages ========
log4cplus/2.0.8: Checking 9 compatible configurations:
log4cplus/2.0.8: 'c232839054ecdda1270b577eece883645e074f6b': compiler.cppstd=11
log4cplus/2.0.8: '12d15ef7b0b45a8a936d9d4326da693d7537f851': compiler.cppstd=gnu11
log4cplus/2.0.8: '35414207ee56d798f04e5ef54b63200c9eac5924': compiler.cppstd=14
log4cplus/2.0.8: 'feb9520e498895f91f7e3bfb57a3073a951cb038': compiler.cppstd=gnu14
log4cplus/2.0.8: '4a23f679717ad4fc262c15b226bea20ff6ce1e90': compiler.cppstd=17
log4cplus/2.0.8: Main binary package '142a84b7cb8e93367e640a945f46170a981725ca' missing. Using compatible package '4a23f679717ad4fc262c15b226bea20ff6ce1e90'
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:4a23f679717ad4fc262c15b226bea20ff6ce1e90#9bd87145b0ac9d6c822a5f7210eee421 - Cache

======== Installing packages ========
log4cplus/2.0.8: Already installed! (1 of 1)

======== Finalizing install (deploy, generators) ========
conanfile.py (test/0.0.1): Calling generate()
conanfile.py (test/0.0.1): Generators folder: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators
conanfile.py (test/0.0.1): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (test/0.0.1): Preset 'conan-release' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-release' if using CMake>=3.23
conanfile.py (test/0.0.1): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (test/0.0.1): CMakeToolchain generated: CMakePresets.json
conanfile.py (test/0.0.1): CMakeToolchain generated: ../../../../CMakeUserPresets.json
conanfile.py (test/0.0.1): Generating aggregated env files
conanfile.py (test/0.0.1): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
Install finished successfully
+ conan source -vvv ../
+ printf %s 
+ xargs -- conan build -vvv --profile:host=default --profile:build=default --settings build_type=Release --output-folder=./ ../

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[buildenv]
AR=ar
AS=as
CC=gcc
CFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CHOST=x86_64
CMAKE_C_FLAGS_DEBUG=-Og
CMAKE_C_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CPP_FLAGS_DEBUG=-Og
CMAKE_CPP_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CXX_FLAGS_DEBUG=-Og
CMAKE_CXX_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CPP=gcc
CPPFLAGS=-E -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CXX=g++
CXXFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections -Wno-psabi
GDB=gdb
LD=ld
LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,--gc-sections
M4=m4
NM=nm
OBJCOPY=objcopy
OBJDUMP=objdump
RANLIB=ranlib
READELF=readelf
STRIP=strip

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[buildenv]
AR=ar
AS=as
CC=gcc
CFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CHOST=x86_64
CMAKE_C_FLAGS_DEBUG=-Og
CMAKE_C_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CPP_FLAGS_DEBUG=-Og
CMAKE_CPP_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CXX_FLAGS_DEBUG=-Og
CMAKE_CXX_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CPP=gcc
CPPFLAGS=-E -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CXX=g++
CXXFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections -Wno-psabi
GDB=gdb
LD=ld
LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,--gc-sections
M4=m4
NM=nm
OBJCOPY=objcopy
OBJDUMP=objdump
RANLIB=ranlib
READELF=readelf
STRIP=strip


======== Computing dependency graph ========
Graph root
    conanfile.py (test/0.0.1): /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conanfile.py
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe - Cache

======== Computing necessary packages ========
log4cplus/2.0.8: Checking 9 compatible configurations:
log4cplus/2.0.8: 'c232839054ecdda1270b577eece883645e074f6b': compiler.cppstd=11
log4cplus/2.0.8: '12d15ef7b0b45a8a936d9d4326da693d7537f851': compiler.cppstd=gnu11
log4cplus/2.0.8: '35414207ee56d798f04e5ef54b63200c9eac5924': compiler.cppstd=14
log4cplus/2.0.8: 'feb9520e498895f91f7e3bfb57a3073a951cb038': compiler.cppstd=gnu14
log4cplus/2.0.8: '4a23f679717ad4fc262c15b226bea20ff6ce1e90': compiler.cppstd=17
log4cplus/2.0.8: Main binary package '142a84b7cb8e93367e640a945f46170a981725ca' missing. Using compatible package '4a23f679717ad4fc262c15b226bea20ff6ce1e90'
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:4a23f679717ad4fc262c15b226bea20ff6ce1e90#9bd87145b0ac9d6c822a5f7210eee421 - Cache

======== Installing packages ========

======== Installing packages ========
log4cplus/2.0.8: Already installed! (1 of 1)

======== Finalizing install (deploy, generators) ========
conanfile.py (test/0.0.1): Calling generate()
conanfile.py (test/0.0.1): Generators folder: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators
conanfile.py (test/0.0.1): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (test/0.0.1): Preset 'conan-release' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-release' if using CMake>=3.23
conanfile.py (test/0.0.1): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (test/0.0.1): CMakeToolchain generated: CMakePresets.json
conanfile.py (test/0.0.1): CMakeToolchain generated: ../../../../CMakeUserPresets.json
conanfile.py (test/0.0.1): Generating aggregated env files
conanfile.py (test/0.0.1): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']

======== Calling build() ========
conanfile.py (test/0.0.1): Calling build()
conanfile.py (test/0.0.1): Running CMake.configure()
conanfile.py (test/0.0.1): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test"
-- Using Conan toolchain: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators/conan_toolchain.cmake
-- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC)
-- Conan toolchain: C++ Standard 17 with extensions ON
-- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_POLICY_DEFAULT_CMP0091


-- Build files have been written to: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release

conanfile.py (test/0.0.1): Running CMake.build()
conanfile.py (test/0.0.1): RUN: cmake --build "/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release" -- -j16
[ 50%] Building CXX object CMakeFiles/test.dir/src/test.cpp.o
[100%] Linking CXX static library libtest.a
[100%] Built target test

+ printf %s 
+ xargs -- conan export-pkg -vvv --profile:host=default --profile:build=default --output-folder=./ ../

======== Exporting recipe to the cache ========
test/0.0.1: Exporting package recipe: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conanfile.py
test/0.0.1: Copied 1 '.py' file: conanfile.py
test/0.0.1: Copied 1 '.txt' file: CMakeLists.txt
test/0.0.1: Copied 1 '.h' file: test.h
test/0.0.1: Copied 1 '.cpp' file: test.cpp
test/0.0.1: Exported to cache folder: /etc/conan2/p/test7d828bca520f8/e
test/0.0.1: Exported: test/0.0.1#364ad134ee04de36a46dcf9a7f68e8ee (2023-09-28 10:14:10 UTC)

======== Computing dependency graph ========
Graph root
    conanfile.py (test/0.0.1): /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conanfile.py
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe - Cache

======== Computing necessary packages ========
log4cplus/2.0.8: Checking 9 compatible configurations:
log4cplus/2.0.8: 'c232839054ecdda1270b577eece883645e074f6b': compiler.cppstd=11
log4cplus/2.0.8: '12d15ef7b0b45a8a936d9d4326da693d7537f851': compiler.cppstd=gnu11
log4cplus/2.0.8: '35414207ee56d798f04e5ef54b63200c9eac5924': compiler.cppstd=14
log4cplus/2.0.8: 'feb9520e498895f91f7e3bfb57a3073a951cb038': compiler.cppstd=gnu14
log4cplus/2.0.8: '4a23f679717ad4fc262c15b226bea20ff6ce1e90': compiler.cppstd=17
log4cplus/2.0.8: Main binary package '142a84b7cb8e93367e640a945f46170a981725ca' missing. Using compatible package '4a23f679717ad4fc262c15b226bea20ff6ce1e90'

======== Installing packages ========
log4cplus/2.0.8: Already installed! (1 of 1)
conanfile.py (test/0.0.1): Calling generate()
conanfile.py (test/0.0.1): Generators folder: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators
conanfile.py (test/0.0.1): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (test/0.0.1): Preset 'conan-release' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-release' if using CMake>=3.23
conanfile.py (test/0.0.1): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (test/0.0.1): CMakeToolchain generated: CMakePresets.json
conanfile.py (test/0.0.1): CMakeToolchain generated: ../../../../CMakeUserPresets.json
conanfile.py (test/0.0.1): Generating aggregated env files
conanfile.py (test/0.0.1): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']

======== Exporting recipe and package to the cache ========
conanfile.py (test/0.0.1): Exporting binary from user folder to Conan cache
conanfile.py (test/0.0.1): Packaging to e2f797c4d0357e9afd57b2fa50d8b965a8397e11
conanfile.py (test/0.0.1): Generating the package
conanfile.py (test/0.0.1): Packaging in folder /etc/conan2/p/b/testd0c36713af870/p
conanfile.py (test/0.0.1): Calling package()
conanfile.py (test/0.0.1): Running CMake.install()
conanfile.py (test/0.0.1): RUN: cmake --install "/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release" --prefix "/etc/conan2/p/b/testd0c36713af870/p"
-- Install configuration: "Release"
-- Installing: /etc/conan2/p/b/testd0c36713af870/p/lib/libtest.a
-- Installing: /etc/conan2/p/b/testd0c36713af870/p/include/test.h

conanfile.py (test/0.0.1): package(): Packaged 1 '.h' file: test.h
conanfile.py (test/0.0.1): package(): Packaged 1 '.a' file: libtest.a
conanfile.py (test/0.0.1): Created package revision cec48d92e6c739a4dab1320c2a05cdef
conanfile.py (test/0.0.1): Package 'e2f797c4d0357e9afd57b2fa50d8b965a8397e11' created
conanfile.py (test/0.0.1): Full package reference: test/0.0.1#364ad134ee04de36a46dcf9a7f68e8ee:e2f797c4d0357e9afd57b2fa50d8b965a8397e11#cec48d92e6c739a4dab1320c2a05cdef
conanfile.py (test/0.0.1): Package folder /etc/conan2/p/b/testd0c36713af870/p
conanfile.py (test/0.0.1): Exported package binary

======== Launching test_package ========

======== Computing dependency graph ========
Graph root
    test/0.0.1 (test package): /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/conanfile.py
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe - Cache
    test/0.0.1#364ad134ee04de36a46dcf9a7f68e8ee - Cache

======== Computing necessary packages ========
log4cplus/2.0.8: Checking 9 compatible configurations:
log4cplus/2.0.8: 'c232839054ecdda1270b577eece883645e074f6b': compiler.cppstd=11
log4cplus/2.0.8: '12d15ef7b0b45a8a936d9d4326da693d7537f851': compiler.cppstd=gnu11
log4cplus/2.0.8: '35414207ee56d798f04e5ef54b63200c9eac5924': compiler.cppstd=14
log4cplus/2.0.8: 'feb9520e498895f91f7e3bfb57a3073a951cb038': compiler.cppstd=gnu14
log4cplus/2.0.8: '4a23f679717ad4fc262c15b226bea20ff6ce1e90': compiler.cppstd=17
log4cplus/2.0.8: Main binary package '142a84b7cb8e93367e640a945f46170a981725ca' missing. Using compatible package '4a23f679717ad4fc262c15b226bea20ff6ce1e90'
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:4a23f679717ad4fc262c15b226bea20ff6ce1e90#9bd87145b0ac9d6c822a5f7210eee421 - Cache
    test/0.0.1#364ad134ee04de36a46dcf9a7f68e8ee:e2f797c4d0357e9afd57b2fa50d8b965a8397e11#cec48d92e6c739a4dab1320c2a05cdef - Cache

======== Installing packages ========
log4cplus/2.0.8: Already installed! (1 of 2)
test/0.0.1: Already installed! (2 of 2)

======== Testing the package ========
Removing previously existing 'test_package' build folder: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release
test/0.0.1 (test package): Test package build: build/gcc-11-x86_64-gnu17-release
test/0.0.1 (test package): Test package build folder: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release
test/0.0.1 (test package): Writing generators to /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release/generators
test/0.0.1 (test package): Generator 'CMakeDeps' calling 'generate()'
test/0.0.1 (test package): Generator 'CMakeToolchain' calling 'generate()'
test/0.0.1 (test package): CMakeToolchain generated: conan_toolchain.cmake
test/0.0.1 (test package): CMakeToolchain generated: CMakePresets.json
test/0.0.1 (test package): CMakeToolchain generated: ../../../CMakeUserPresets.json
test/0.0.1 (test package): Generating aggregated env files
test/0.0.1 (test package): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']

======== Testing the package: Building ========
test/0.0.1 (test package): Calling build()
test/0.0.1 (test package): Running CMake.configure()
test/0.0.1 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package"
-- Using Conan toolchain: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release/generators/conan_toolchain.cmake
-- Conan toolchain: C++ Standard 17 with extensions ON
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Target declared 'test::test'
-- Conan: Target declared 'log4cplus::log4cplus'
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_POLICY_DEFAULT_CMP0091


-- Build files have been written to: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release

test/0.0.1 (test package): Running CMake.build()
test/0.0.1 (test package): RUN: cmake --build "/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release" -- -j16
[ 50%] Building CXX object CMakeFiles/example.dir/src/example.cpp.o
[100%] Linking CXX executable example
[100%] Built target example


======== Testing the package: Executing test ========
test/0.0.1 (test package): Running test()
test/0.0.1 (test package): RUN: ./example
test/0: Hello World Release!
  test/0: __x86_64__ defined
  test/0: _GLIBCXX_USE_CXX11_ABI 1
  test/0: __cplusplus201703
  test/0: __GNUC__11
  test/0: __GNUC_MINOR__4
test/0 test_package

+ conan upload * --dry-run --check --confirm --remote cnhitech-mw-jam
log4cplus/2.0.8: Integrity checked: ok
log4cplus/2.0.8:12163a80147a7451d884af226de296177b57a265: Integrity checked: ok
log4cplus/2.0.8:16a87977e61e678761a78e31a87bc9bda11b04ef: Integrity checked: ok
log4cplus/2.0.8:3b63241bbf97391fc1012511d891c567a107795c: Integrity checked: ok
log4cplus/2.0.8:4a23f679717ad4fc262c15b226bea20ff6ce1e90: Integrity checked: ok
log4cplus/2.0.8:605181628acb705038619768af9cbfa1ccfdbbaa: Integrity checked: ok
log4cplus/2.0.8:7919027ba0b8b20d4a25d08473bd3ca37c1c3fec: Integrity checked: ok
log4cplus/2.0.8:83c0a374c7e8c0ff12aa87f34493da40a20aa36e: Integrity checked: ok
log4cplus/2.0.8:8759c1bc014ba339adb41da7c8035f3651532d68: Integrity checked: ok
log4cplus/2.0.8:aa40a3634ce45eb15feb124b74adc17620d892f0: Integrity checked: ok
log4cplus/2.0.8:f0230899c1505edc511a7b9bb950c93efbc241c4: Integrity checked: ok
test/0.0.1: Integrity checked: ok
test/0.0.1:e2f797c4d0357e9afd57b2fa50d8b965a8397e11: Integrity checked: ok
Checking which revisions exist in the remote server
Checking which revisions exist in the remote server
Preparing artifacts to upload
Compressing recipe sources...
Compressing package...
Upload summary:
cnhitech-mw-jam
  log4cplus/2.0.8
    revisions
      eb0f00637790b75d271a8ca2b0d871fe (Uploaded)
        packages
          12163a80147a7451d884af226de296177b57a265
            revisions
              aeab63bf319da02e9607479f1e238a65 (Uploaded)
          16a87977e61e678761a78e31a87bc9bda11b04ef
            revisions
              e3c8f46c1188208f7f125b9ae4f70e44 (Uploaded)
          3b63241bbf97391fc1012511d891c567a107795c
            revisions
              21731735df34a8d77c010d59e1d42dcb (Uploaded)
          4a23f679717ad4fc262c15b226bea20ff6ce1e90
            revisions
              9bd87145b0ac9d6c822a5f7210eee421 (Uploaded)
          605181628acb705038619768af9cbfa1ccfdbbaa
            revisions
              0178f5c34ed8b9af1f19846304a73877 (Uploaded)
          7919027ba0b8b20d4a25d08473bd3ca37c1c3fec
            revisions
              e611830561bd5fc8a316fcab75b55398 (Uploaded)
          83c0a374c7e8c0ff12aa87f34493da40a20aa36e
            revisions
              4124f84c3443d8ee89660c5b9ff6917c (Uploaded)
          8759c1bc014ba339adb41da7c8035f3651532d68
            revisions
              3d393c623da6d2fe1a0c322317424064 (Uploaded)
          aa40a3634ce45eb15feb124b74adc17620d892f0
            revisions
              0e65ba6be7822c310785c44bd2e496ef (Uploaded)
          f0230899c1505edc511a7b9bb950c93efbc241c4
            revisions
              e680df94d4ba1700ed0778914ae0ca99 (Uploaded)
  test/0.0.1
    revisions
      364ad134ee04de36a46dcf9a7f68e8ee (Uploaded)
        packages
          e2f797c4d0357e9afd57b2fa50d8b965a8397e11
            revisions
              cec48d92e6c739a4dab1320c2a05cdef (Uploaded)
+ echo ----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
+ conan remove -c *
Remove summary:
Local Cache
  log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe: Removed recipe and all binaries
  test/0.0.1#364ad134ee04de36a46dcf9a7f68e8ee: Removed recipe and all binaries
+ rm -rf /etc/conan2/p/b /etc/conan2/p/cache.sqlite3 /etc/conan2/p/t
+ ls /etc/conan2/p/
+ xargs -- conan install -vvv --profile:host=default --profile:build=default --build=missing --settings build_type=Release --output-folder=./ ../
+ printf %s 

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[buildenv]
AR=ar
AS=as
CC=gcc
CFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CHOST=x86_64
CMAKE_C_FLAGS_DEBUG=-Og
CMAKE_C_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CPP_FLAGS_DEBUG=-Og
CMAKE_CPP_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CXX_FLAGS_DEBUG=-Og
CMAKE_CXX_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CPP=gcc
CPPFLAGS=-E -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CXX=g++
CXXFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections -Wno-psabi
GDB=gdb
LD=ld
LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,--gc-sections
M4=m4
NM=nm
OBJCOPY=objcopy
OBJDUMP=objdump
RANLIB=ranlib
READELF=readelf
STRIP=strip

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[buildenv]
AR=ar
AS=as
CC=gcc
CFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CHOST=x86_64
CMAKE_C_FLAGS_DEBUG=-Og
CMAKE_C_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CPP_FLAGS_DEBUG=-Og
CMAKE_CPP_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CXX_FLAGS_DEBUG=-Og
CMAKE_CXX_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CPP=gcc
CPPFLAGS=-E -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CXX=g++
CXXFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections -Wno-psabi
GDB=gdb
LD=ld
LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,--gc-sections
M4=m4
NM=nm
OBJCOPY=objcopy
OBJDUMP=objdump
RANLIB=ranlib
READELF=readelf
STRIP=strip


======== Computing dependency graph ========
log4cplus/2.0.8: Not found in local cache, looking in remotes...
log4cplus/2.0.8: Checking remote: cnhitech-mw-jam
log4cplus/2.0.8: Checking remote: conancenter
log4cplus/2.0.8: Downloaded recipe revision eb0f00637790b75d271a8ca2b0d871fe
Graph root
    conanfile.py (test/0.0.1): /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conanfile.py
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe - Downloaded (conancenter)

======== Computing necessary packages ========
log4cplus/2.0.8: Checking 9 compatible configurations:
log4cplus/2.0.8: 'c232839054ecdda1270b577eece883645e074f6b': compiler.cppstd=11
log4cplus/2.0.8: '12d15ef7b0b45a8a936d9d4326da693d7537f851': compiler.cppstd=gnu11
log4cplus/2.0.8: '35414207ee56d798f04e5ef54b63200c9eac5924': compiler.cppstd=14
log4cplus/2.0.8: 'feb9520e498895f91f7e3bfb57a3073a951cb038': compiler.cppstd=gnu14
log4cplus/2.0.8: '4a23f679717ad4fc262c15b226bea20ff6ce1e90': compiler.cppstd=17
log4cplus/2.0.8: Main binary package '142a84b7cb8e93367e640a945f46170a981725ca' missing. Using compatible package '4a23f679717ad4fc262c15b226bea20ff6ce1e90'
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:4a23f679717ad4fc262c15b226bea20ff6ce1e90#9bd87145b0ac9d6c822a5f7210eee421 - Download (conancenter)

======== Installing packages ========

-------- Downloading 1 package --------
log4cplus/2.0.8: Retrieving package 4a23f679717ad4fc262c15b226bea20ff6ce1e90 from remote 'conancenter' 
log4cplus/2.0.8: Package installed 4a23f679717ad4fc262c15b226bea20ff6ce1e90
log4cplus/2.0.8: Downloaded package revision 9bd87145b0ac9d6c822a5f7210eee421

======== Finalizing install (deploy, generators) ========
conanfile.py (test/0.0.1): Calling generate()
conanfile.py (test/0.0.1): Generators folder: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators
conanfile.py (test/0.0.1): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (test/0.0.1): Preset 'conan-release' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-release' if using CMake>=3.23
conanfile.py (test/0.0.1): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (test/0.0.1): CMakeToolchain generated: CMakePresets.json
conanfile.py (test/0.0.1): CMakeToolchain generated: ../../../../CMakeUserPresets.json
conanfile.py (test/0.0.1): Generating aggregated env files
conanfile.py (test/0.0.1): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
Install finished successfully
+ conan source -vvv ../
+ printf %s 
+ xargs -- conan build -vvv --profile:host=default --profile:build=default --settings build_type=Release --output-folder=./ ../

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[buildenv]
AR=ar
AS=as
CC=gcc
CFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CHOST=x86_64
CMAKE_C_FLAGS_DEBUG=-Og
CMAKE_C_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CPP_FLAGS_DEBUG=-Og
CMAKE_CPP_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CXX_FLAGS_DEBUG=-Og
CMAKE_CXX_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CPP=gcc
CPPFLAGS=-E -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CXX=g++
CXXFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections -Wno-psabi
GDB=gdb
LD=ld
LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,--gc-sections
M4=m4
NM=nm
OBJCOPY=objcopy
OBJDUMP=objdump
RANLIB=ranlib
READELF=readelf
STRIP=strip

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[buildenv]
AR=ar
AS=as
CC=gcc
CFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CHOST=x86_64
CMAKE_C_FLAGS_DEBUG=-Og
CMAKE_C_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CPP_FLAGS_DEBUG=-Og
CMAKE_CPP_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CMAKE_CXX_FLAGS_DEBUG=-Og
CMAKE_CXX_FLAGS_RELEASE=-D_FORTIFY_SOURCE=2 -O2 -g
CPP=gcc
CPPFLAGS=-E -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections
CXX=g++
CXXFLAGS=-fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -pipe -feliminate-unused-debug-types -fdata-sections -ffunction-sections -Wno-psabi
GDB=gdb
LD=ld
LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,--gc-sections
M4=m4
NM=nm
OBJCOPY=objcopy
OBJDUMP=objdump
RANLIB=ranlib
READELF=readelf
STRIP=strip


======== Computing dependency graph ========
Graph root
    conanfile.py (test/0.0.1): /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conanfile.py
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe - Cache

======== Computing necessary packages ========
log4cplus/2.0.8: Checking 9 compatible configurations:
log4cplus/2.0.8: 'c232839054ecdda1270b577eece883645e074f6b': compiler.cppstd=11
log4cplus/2.0.8: '12d15ef7b0b45a8a936d9d4326da693d7537f851': compiler.cppstd=gnu11
log4cplus/2.0.8: '35414207ee56d798f04e5ef54b63200c9eac5924': compiler.cppstd=14
log4cplus/2.0.8: 'feb9520e498895f91f7e3bfb57a3073a951cb038': compiler.cppstd=gnu14
log4cplus/2.0.8: '4a23f679717ad4fc262c15b226bea20ff6ce1e90': compiler.cppstd=17
log4cplus/2.0.8: Main binary package '142a84b7cb8e93367e640a945f46170a981725ca' missing. Using compatible package '4a23f679717ad4fc262c15b226bea20ff6ce1e90'
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:4a23f679717ad4fc262c15b226bea20ff6ce1e90#9bd87145b0ac9d6c822a5f7210eee421 - Cache

======== Installing packages ========

======== Installing packages ========
log4cplus/2.0.8: Already installed! (1 of 1)

======== Finalizing install (deploy, generators) ========
conanfile.py (test/0.0.1): Calling generate()
conanfile.py (test/0.0.1): Generators folder: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators
conanfile.py (test/0.0.1): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (test/0.0.1): Preset 'conan-release' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-release' if using CMake>=3.23
conanfile.py (test/0.0.1): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (test/0.0.1): CMakeToolchain generated: CMakePresets.json
conanfile.py (test/0.0.1): CMakeToolchain generated: ../../../../CMakeUserPresets.json
conanfile.py (test/0.0.1): Generating aggregated env files
conanfile.py (test/0.0.1): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']

======== Calling build() ========
conanfile.py (test/0.0.1): Calling build()
conanfile.py (test/0.0.1): Running CMake.configure()
conanfile.py (test/0.0.1): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test"
-- Using Conan toolchain: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators/conan_toolchain.cmake
-- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC)
-- Conan toolchain: C++ Standard 17 with extensions ON
-- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release

conanfile.py (test/0.0.1): Running CMake.build()
conanfile.py (test/0.0.1): RUN: cmake --build "/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release" -- -j16
Consolidate compiler generated dependencies of target test
[100%] Built target test

+ + printf %sxargs  --
 conan export-pkg -vvv --profile:host=default --profile:build=default --output-folder=./ ../

======== Exporting recipe to the cache ========
test/0.0.1: Exporting package recipe: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conanfile.py
test/0.0.1: Copied 1 '.py' file: conanfile.py
test/0.0.1: Copied 1 '.txt' file: CMakeLists.txt
test/0.0.1: Copied 1 '.h' file: test.h
test/0.0.1: Copied 1 '.cpp' file: test.cpp
test/0.0.1: Exported to cache folder: /etc/conan2/p/test7d828bca520f8/e
test/0.0.1: Exported: test/0.0.1#364ad134ee04de36a46dcf9a7f68e8ee (2023-09-28 10:15:01 UTC)

======== Computing dependency graph ========
Graph root
    conanfile.py (test/0.0.1): /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conanfile.py
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe - Cache

======== Computing necessary packages ========
log4cplus/2.0.8: Checking 9 compatible configurations:
log4cplus/2.0.8: 'c232839054ecdda1270b577eece883645e074f6b': compiler.cppstd=11
log4cplus/2.0.8: '12d15ef7b0b45a8a936d9d4326da693d7537f851': compiler.cppstd=gnu11
log4cplus/2.0.8: '35414207ee56d798f04e5ef54b63200c9eac5924': compiler.cppstd=14
log4cplus/2.0.8: 'feb9520e498895f91f7e3bfb57a3073a951cb038': compiler.cppstd=gnu14
log4cplus/2.0.8: '4a23f679717ad4fc262c15b226bea20ff6ce1e90': compiler.cppstd=17
log4cplus/2.0.8: Main binary package '142a84b7cb8e93367e640a945f46170a981725ca' missing. Using compatible package '4a23f679717ad4fc262c15b226bea20ff6ce1e90'

======== Installing packages ========
log4cplus/2.0.8: Already installed! (1 of 1)
conanfile.py (test/0.0.1): Calling generate()
conanfile.py (test/0.0.1): Generators folder: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators
conanfile.py (test/0.0.1): CMakeToolchain generated: conan_toolchain.cmake
conanfile.py (test/0.0.1): Preset 'conan-release' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-release' if using CMake>=3.23
conanfile.py (test/0.0.1): If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
conanfile.py (test/0.0.1): CMakeToolchain generated: CMakePresets.json
conanfile.py (test/0.0.1): CMakeToolchain generated: ../../../../CMakeUserPresets.json
conanfile.py (test/0.0.1): Generating aggregated env files
conanfile.py (test/0.0.1): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']

======== Exporting recipe and package to the cache ========
conanfile.py (test/0.0.1): Exporting binary from user folder to Conan cache
conanfile.py (test/0.0.1): Packaging to e2f797c4d0357e9afd57b2fa50d8b965a8397e11
conanfile.py (test/0.0.1): Generating the package
conanfile.py (test/0.0.1): Packaging in folder /etc/conan2/p/b/test2e766d9c8918a/p
conanfile.py (test/0.0.1): Calling package()
conanfile.py (test/0.0.1): Running CMake.install()
conanfile.py (test/0.0.1): RUN: cmake --install "/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/conan-build-x86_64-mta-linux/build/Release" --prefix "/etc/conan2/p/b/test2e766d9c8918a/p"
-- Install configuration: "Release"
-- Installing: /etc/conan2/p/b/test2e766d9c8918a/p/lib/libtest.a
-- Installing: /etc/conan2/p/b/test2e766d9c8918a/p/include/test.h

conanfile.py (test/0.0.1): package(): Packaged 1 '.h' file: test.h
conanfile.py (test/0.0.1): package(): Packaged 1 '.a' file: libtest.a
conanfile.py (test/0.0.1): Created package revision cec48d92e6c739a4dab1320c2a05cdef
conanfile.py (test/0.0.1): Package 'e2f797c4d0357e9afd57b2fa50d8b965a8397e11' created
conanfile.py (test/0.0.1): Full package reference: test/0.0.1#364ad134ee04de36a46dcf9a7f68e8ee:e2f797c4d0357e9afd57b2fa50d8b965a8397e11#cec48d92e6c739a4dab1320c2a05cdef
conanfile.py (test/0.0.1): Package folder /etc/conan2/p/b/test2e766d9c8918a/p
conanfile.py (test/0.0.1): Exported package binary

======== Launching test_package ========

======== Computing dependency graph ========
Graph root
    test/0.0.1 (test package): /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/conanfile.py
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe - Cache
    test/0.0.1#364ad134ee04de36a46dcf9a7f68e8ee - Cache

======== Computing necessary packages ========
log4cplus/2.0.8: Checking 9 compatible configurations:
log4cplus/2.0.8: 'c232839054ecdda1270b577eece883645e074f6b': compiler.cppstd=11
log4cplus/2.0.8: '12d15ef7b0b45a8a936d9d4326da693d7537f851': compiler.cppstd=gnu11
log4cplus/2.0.8: '35414207ee56d798f04e5ef54b63200c9eac5924': compiler.cppstd=14
log4cplus/2.0.8: 'feb9520e498895f91f7e3bfb57a3073a951cb038': compiler.cppstd=gnu14
log4cplus/2.0.8: '4a23f679717ad4fc262c15b226bea20ff6ce1e90': compiler.cppstd=17
log4cplus/2.0.8: Main binary package '142a84b7cb8e93367e640a945f46170a981725ca' missing. Using compatible package '4a23f679717ad4fc262c15b226bea20ff6ce1e90'
Requirements
    log4cplus/2.0.8#eb0f00637790b75d271a8ca2b0d871fe:4a23f679717ad4fc262c15b226bea20ff6ce1e90#9bd87145b0ac9d6c822a5f7210eee421 - Cache
    test/0.0.1#364ad134ee04de36a46dcf9a7f68e8ee:e2f797c4d0357e9afd57b2fa50d8b965a8397e11#cec48d92e6c739a4dab1320c2a05cdef - Cache

======== Installing packages ========
log4cplus/2.0.8: Already installed! (1 of 2)
test/0.0.1: Already installed! (2 of 2)

======== Testing the package ========
Removing previously existing 'test_package' build folder: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release
test/0.0.1 (test package): Test package build: build/gcc-11-x86_64-gnu17-release
test/0.0.1 (test package): Test package build folder: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release
test/0.0.1 (test package): Writing generators to /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release/generators
test/0.0.1 (test package): Generator 'CMakeToolchain' calling 'generate()'
test/0.0.1 (test package): CMakeToolchain generated: conan_toolchain.cmake
test/0.0.1 (test package): CMakeToolchain generated: CMakePresets.json
test/0.0.1 (test package): CMakeToolchain generated: ../../../CMakeUserPresets.json
test/0.0.1 (test package): Generator 'CMakeDeps' calling 'generate()'
test/0.0.1 (test package): Generating aggregated env files
test/0.0.1 (test package): Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']

======== Testing the package: Building ========
test/0.0.1 (test package): Calling build()
test/0.0.1 (test package): Running CMake.configure()
test/0.0.1 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package"
-- Using Conan toolchain: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release/generators/conan_toolchain.cmake
-- Conan toolchain: C++ Standard 17 with extensions ON
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Target declared 'test::test'
-- Conan: Target declared 'log4cplus::log4cplus'
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_POLICY_DEFAULT_CMP0091


-- Build files have been written to: /home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release

test/0.0.1 (test package): Running CMake.build()
test/0.0.1 (test package): RUN: cmake --build "/home/user/workspace/MiddleWare-Jam/libs/hurrier-lib/test/test_package/build/gcc-11-x86_64-gnu17-release" -- -j16
[ 50%] Building CXX object CMakeFiles/example.dir/src/example.cpp.o
[100%] Linking CXX executable example
[100%] Built target example


======== Testing the package: Executing test ========
test/0.0.1 (test package): Running test()
test/0.0.1 (test package): RUN: ./example
test/0: Hello World Release!
  test/0: __x86_64__ defined
  test/0: _GLIBCXX_USE_CXX11_ABI 1
  test/0: __cplusplus201703
  test/0: __GNUC__11
  test/0: __GNUC_MINOR__4
test/0 test_package

+ conan upload * --dry-run --check --confirm --remote cnhitech-mw-jam
ERROR: log4cplus/2.0.8: Manifest mismatch
ERROR: Folder: /etc/conan2/p/log4c2be5b4a1c28e1/e
ERROR:     'export_source/patches/2.0.6-0001-fix-cmake.patch' (manifest: b80d25b96e67320f9b8624a85b85dac6, file: None)
log4cplus/2.0.8:4a23f679717ad4fc262c15b226bea20ff6ce1e90: Integrity checked: ok
test/0.0.1: Integrity checked: ok
test/0.0.1:e2f797c4d0357e9afd57b2fa50d8b965a8397e11: Integrity checked: ok
ERROR: There are corrupted artifacts, check the error logs
@memsharded memsharded self-assigned this Sep 28, 2023
@memsharded memsharded added this to the 2.0.14 milestone Sep 28, 2023
@memsharded
Copy link
Member

Thanks very much @0000matteo0000 for the detailed report.

I have managed to reproduce it, though I still don't fully understand what is happening, it is clear that something is not working as expected, need to investigate further.

@0000matteo0000
Copy link
Author

i think the self.require("dependency") is only pulling some of the package so when i push it on my remote it only uploads pieces of it, while conan download downloads it completely so the push works as expected

@memsharded
Copy link
Member

Thanks! I have managed to understand:

  • When a package is downloaded, but not built from source, the optional export_source folder and files is not downloaded
  • If the manifest, that stores checksums for export_source files, is checked, the files are not there and it will fail

Filtering the export_source files in #14850 solves the issue, it will be in next release. In the meantime you can skip the --check, or force the download of sources with the tools.build:download_source conf.
Thanks again for your feedback!

@memsharded
Copy link
Member

Fixed in #14850, it will be released next 2.0.14, thanks again for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants