Skip to content

[CI][Packaging] conan nightly jobs are failing with '_HooksOutputErrorCollector' object has no attribute 'warning' #45381

@raulcd

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

The conan nightly jobs:

have been failing for 3 months approximately:

The current failure is:

+ conan create . arrow/20.0.0@ --build=missing --options 'arrow/*:parquet=True' --options 'arrow/*:with_thrift=True' --options 'arrow/*:with_boost=True' --options 'arrow/*:with_brotli=True' --options 'arrow/*:with_bz2=True' --options 'arrow/*:with_flight_rpc=True' --options 'arrow/*:with_grpc=True' --options 'arrow/*:with_protobuf=True' --options 'arrow/*:with_re2=True' --options 'arrow/*:with_glog=True' --options 'arrow/*:with_jemalloc=True' --options 'arrow/*:with_json=True' --options 'arrow/*:with_lz4=True' --options 'arrow/*:with_snappy=True' --options 'arrow/*:with_zstd=True'
Conan 1 is on a deprecation path, please consider migrating to Conan 2
Auto detecting your dev setup to initialize the default profile (/root/.conan/profiles/default)
CC and CXX: /usr/bin/gcc, /usr/bin/g++ 
Found gcc 10
gcc>=5, using the major as version

************************* WARNING: GCC OLD ABI COMPATIBILITY ***********************
 
Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to
'libstdc++' for backwards compatibility.
Your compiler is likely using the new CXX11 ABI by default (libstdc++11).

If you want Conan to use the new ABI for the default profile, run:

    $ conan profile update settings.compiler.libcxx=libstdc++11 default

Or edit '/root/.conan/profiles/default' and set compiler.libcxx=libstdc++11

************************************************************************************



Default settings
	os=Linux
	os_build=Linux
	arch=x86_64
	arch_build=x86_64
	compiler=gcc
	compiler.version=10
	compiler.libcxx=libstdc++
	build_type=Release
*** You can change them in /root/.conan/profiles/default ***
*** Or override with -s compiler='other' -s ...s***


WARN: Remotes registry file missing, creating default one in /root/.conan/remotes.json
ERROR: [HOOK - conan-center.py] pre_export(): '_HooksOutputErrorCollector' object has no attribute 'warning'

I tried to find an issue opened already but it does not seem to be tracked. Please close if this is already tracked somewhere else.

Component(s)

Continuous Integration, Packaging

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions