question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] default profile is mandatory in 2.0

See original GitHub issue

Hello,

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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
memshardedcommented, Jan 3, 2022

@memsharded In this case, why not fallback to the host profile since it’s specified by the user?

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.

0reactions
memshardedcommented, Jan 24, 2022
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found