[bug] default profile is mandatory in 2.0
See original GitHub issueHello,
It seems that the default
profile is mandatory in 2.0, even though the error message implies otherwise.
Environment Details (include every applicable attribute)
- Conan version: 2.0.0a2
Steps to reproduce (Include if Applicable)
- remove
default
profile - run
conan create --profile=whatever
Logs (Executed commands with output) (Include/Attach if Applicable)
$ conan create /Users/theo/Tanker/conan/recipes/libcxx --profile=macos-x86_64-release --update
#ERROR: The default profile file doesn't exist:
#/Users/theo/.conan2/profiles/default
#You need to create a default profile or specify your own profile
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Windows Autopilot known issues - Microsoft Learn
When a device is registered in Autopilot and no profile is assigned, it will take the default Autopilot profile. This behavior is by...
Read more >Citrix Profile Management 2209 - Carl Stalhood
Mandatory Profile – Citrix Method; Redirected Profile Folders (Folder Redirection) ... The profile version bug was fixed in Profile Management 5.4 and newer....
Read more >Configure ISE 2.0 TACACS+ Authentication Command ... - Cisco
Navigate to Work Centers > Device Administration > Policy Results > TACACS Profiles. Click Add. Provide Name ShellProfile, select Default ...
Read more >Bug listing with status RESOLVED with resolution FIXED as at ...
Bug :2 - "How do I attach an ebuild. ... Bug:993 - "Verify correctness of sash ebuild and add to default profile" status:RESOLVED...
Read more >The connection test of the OAuth 2.0 integration fails with the ...
If the support account type is set to "single-tenant", then the connection test will fail with the default values for the field Authorization...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, this is something that we also thought, and there were a few reasons that slightly inclined the balance towards the current default (but something that can be discussed and changed if it makes sense, of course): The “build” context, that will contain tools like “cmake”, or compilers, etc, is typically very constant for multitude of scenarios: for all cross-building for example, you dont want host-profile==build-profile, but build-profile to be basically the same, while you change the host one. The same applies for different native settings: you don’t want cmake to use “debug” build-type just because you are targeting “debug”, or you don’t want to have cmake linked dynamically, and depend on zlib.so and openssl.so to run, because you are building shared libraries for your app. So it seems a bit more likely that an auto-detected “default” profile will match better the build settings than the user provided one.
Closed by https://github.com/conan-io/conan/pull/10409