Skip to content

Update conan packages on our NREL conan Artifactory remote (for MSVC 2022 and mac M1 in particular) #4511

@jmarrec

Description

@jmarrec

Issue overview

Updated packages so far:

  • pcre/8.41@#1afabf78c46a11bdd1755152e44f6e59

  • bzip2/1.0.8@#9c8b632000a52af5af3f045d3a6db12f

  • libffi/3.3@#cf635daae2a4fba32eeb982715df9305

  • gdbm/1.18.1@#ecdb7cd9673803e86868bf3c493c6fa7

  • b2/4.2.0@#a45bb9ebe2e994daaf83842b5b682eea

  • bison/3.7.1@#ad29e804e82c8b6d58765096676b5a5e

  • flex/2.6.4@#e4696e6333f2d486e7073de6a9559712 (due to mistmatch of m4)

  • gmp/6.2.0@#30cb7f744db8ac600167b05f747178c7 (due to mistmatch of m4)

    'flex/2.6.4' requires 'm4/1.4.18' while 'bison/3.7.1' requires 'm4/1.4.19'.
    
  • termcap/1.3.1@#a66ace38d82bcfa0c0b39e9d4d0c71d6 (still chasing the mismatch of m4)

  • bison/3.5.3@#01aa231aae5441239d4fc697384d1811 : the mistmatch of m4 was coming from there actually...

  • libyaml/0.2.5@#edaee18262dfefa593ab650babefc80e

  • readline/8.0@#1d21941e543bef7a06551f5a56c8a87e

  • autoconf/2.69@# 5f19ba50aed010d74626c5281c65f135 ('autoconf/2.69' requires 'm4/1.4.18' while 'bison/3.7.1' requires 'm4/1.4.19')

  • swig/4.0.2@#187cec21277aafbeae11dcc3b936ce74: since this commit, swig has the correct swiglib so no need to do shenanigans with FindValue and passing SWIG_LIB env variable and co!

Need to replace the pcre recipes we have on our NREL conan Artifactory remote

The old ftp addresses where the pcre tar.gz were hosted are now dead. This is fixed in conan-center, but NREL's artifactory remote uses the old recipes that still point to it.

I got this issue on a clean mac M1 machine (any machine that already have the pcre 8.41 installed from conan will be ok). Edit: I just hit this today on Ubuntu 20.04 with a clean cache

conan-io/conan-center-index#8103

Steps to Reproduce

Remove prce from ~/.conan/data. Try to build openstudio (or conan-openstudio-ruby), which places NREL's remote first in line -> it fails

ERROR: Error downloading file https://ftp.pcre.org/pub/pcre/pcre-8.41.tar.gz: 'HTTPSConnectionPool(host='ftp.pcre.org', port=443): Max retries exceeded with url: /pub/pcre/pcre-8.41.tar.gz (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x1082a37c0>, 'Connection to ftp.pcre.org timed out. (connect timeout=60.0)'))'

Possible Solution

Remove pcre package, reupload the current from conan-center-index.

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version): M1 mac

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions