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

Conan version nmos-cpp/cci.20240223 #428

Open
macphersonjamie opened this issue Jan 17, 2025 · 1 comment
Open

Conan version nmos-cpp/cci.20240223 #428

macphersonjamie opened this issue Jan 17, 2025 · 1 comment

Comments

@macphersonjamie
Copy link

Hi

I’m having problems with the latest nmos version in conan 20240223 – it gives me the following error when I issue the command:-

conan install --tool-requires=nmos-cpp/cci.20240223

ERROR: Missing prebuilt package for 'nmos-cpp/cci.20240223'. You can try:
- List all available packages using 'conan list "nmos-cpp/cci.20240223:*" -r=remote'
- Explain missing binaries: replace 'conan install ...' with 'conan graph explain ...'
- Try to build locally from sources using the '--build=nmos-cpp/cci.20240223' argument

The previous version cci.20221203 – works fine for me with the above install command.

I have the following settings

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux

Is it missing a package ?

Many thanks

Jamie

@garethsb
Copy link
Contributor

My profile is same as yours:

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux

I checked my local conan cache on Linux environment and it was working fine. However after clearing the cache, I get the same result. Doing as the message recommends and using conan graph explain ..., it says:

...
======== Closest binaries ========
nmos-cpp/cci.20240223
  nmos-cpp/cci.20240223#20612f8f03e7230f18454e2c07308c82%1712526212.385 (2024-04-07 21:43:32 UTC)
    nmos-cpp/cci.20240223#20612f8f03e7230f18454e2c07308c82:5bbd2cbad67963a0b5efce6c05489772af7aecc6
      remote: conancenter
      settings: Linux, x86_64, Release, gcc, 17, libstdc++11, 11
      options: fPIC=True, with_dnssd=avahi
      requires: avahi/0.8.Z, boost/1.83.Z, bzip2/1.0.Z, cpprestsdk/2.10.Z, dbus/1.15.Z, expat/2.6.Z, gdbm/1.23.Z, glib/2.78.Z, json-schema-validator/2.3.Z, jwt-cpp/0.7.0#c4df431e5f51bce435c3e696dcac15f8:da39a3ee5e6b4b0d3255bfef95601890afd80709, libbacktrace/cci, libdaemon/0.14.Z, libelf/0.8.Z, libevent/2.1.Z, libffi/3.4.Z, libmount/2.39.Z, libselinux/3.6.Z, nlohmann_json/3.11.3#45828be26eb619a2e04ca517bb7b828d:da39a3ee5e6b4b0d3255bfef95601890afd80709, openssl/3.3.Z, pcre2/10.42.Z, websocketpp/0.8.2#842a0419153a8aa52f3ea3a1da557d38:da39a3ee5e6b4b0d3255bfef95601890afd80709, zlib/1.3.Z
      diff
        settings
          expected: compiler.cppstd=gnu17
          existing: compiler.cppstd=17
        dependencies
          expected: jwt-cpp/0.7.0#8866e2b13d06704e8d1b48e15a384639:da39a3ee5e6b4b0d3255bfef95601890afd80709
          existing: jwt-cpp/0.7.0#c4df431e5f51bce435c3e696dcac15f8:da39a3ee5e6b4b0d3255bfef95601890afd80709
        explanation: This binary was built with different settings.

Something to investigate... not sure what the impact of the indicate diff is.

Doing the other thing the message recommended and adding --build=nmos-cpp/cci.20240223 to the command seemed to solve the problem (by building locally, which I agree shouldn't be necessary for a common profile like this!).

...
Install finished successfully

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

No branches or pull requests

2 participants