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

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

Closed
raulcd opened this issue Jan 29, 2025 · 1 comment

Comments

@raulcd
Copy link
Member

raulcd commented Jan 29, 2025

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

kou added a commit that referenced this issue Jan 30, 2025
### Rationale for this change

Conan 1 is deprecated. We should use Conan 2.

### What changes are included in this PR?

Use "conania/gcc11-ubuntu16.04:2.12.1" because it's the latest version.

Based on
https://github.com/conan-io/conan-docker-tools/blob/master/images/README.md#official-docker-images, "gcc11-ubuntu16.04" is only supported image.

`ci/conan/` is synchronized with the latest https://github.com/conan-io/conan-center-index .

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #45381

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
@kou kou added this to the 20.0.0 milestone Jan 30, 2025
@kou
Copy link
Member

kou commented Jan 30, 2025

Issue resolved by pull request 45387
#45387

@kou kou closed this as completed Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants