hdl / conda-eda

Conda recipes for FPGA EDA tools for simulation, synthesis, place and route and bitstream generation.
https://anaconda.org/LiteX-Hub
Apache License 2.0
95 stars 26 forks source link

openroad build fails #340

Closed proppy closed 1 year ago

proppy commented 1 year ago
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:264:10: error: 'mutex' in namespace 'std' does not name a type
  07:58:36 |   264 |     std::mutex shapes_init_mutex_;
  07:58:36 |       |          ^~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:41:1: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 |    40 | #include "odb/dbBlockCallBackObj.h"
  07:58:36 |   +++ |+#include <mutex>
  07:58:36 |    41 | #include "odb/geom.h"
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:267:10: error: 'mutex' in namespace 'std' does not name a type
  07:58:36 |   267 |     std::mutex fills_init_mutex_;
  07:58:36 |       |          ^~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:267:5: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 |   267 |     std::mutex fills_init_mutex_;
  07:58:36 |       |     ^~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:270:10: error: 'mutex' in namespace 'std' does not name a type
  07:58:36 |   270 |     std::mutex insts_init_mutex_;
  07:58:36 |       |          ^~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:270:5: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 |   270 |     std::mutex insts_init_mutex_;
  07:58:36 |       |     ^~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:273:10: error: 'mutex' in namespace 'std' does not name a type
  07:58:36 |   273 |     std::mutex blockages_init_mutex_;
  07:58:36 |       |          ^~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:273:5: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 |   273 |     std::mutex blockages_init_mutex_;
  07:58:36 |       |     ^~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:276:10: error: 'mutex' in namespace 'std' does not name a type
  07:58:36 |   276 |     std::mutex obstructions_init_mutex_;
  07:58:36 |       |          ^~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:276:5: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 |   276 |     std::mutex obstructions_init_mutex_;
  07:58:36 |       |     ^~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.h:279:10: error: 'mutex' in namespace 'std' does not name a type
  07:58:36 |   279 |     std::mutex rows_init_mutex_;
  07:58:36 |       |          ^~~~~
  07:58:36 |   310 |   std::lock_guard<std::mutex> lock(data.insts_init_mutex_);
  07:58:36 |       |                                         ^~~~~~~~~~~~~~~~~
  07:58:36 |       |                                         insts_init_
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:310:31: error: 'lock' was not declared in this scope; did you mean 'lockf'?
  07:58:36 |   310 |   std::lock_guard<std::mutex> lock(data.insts_init_mutex_);
  07:58:36 |       |                               ^~~~
  07:58:36 |       |                               lockf
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp: In member function 'void gui::Search::updateBlockages(odb::dbBlock*)':
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:329:8: error: 'lock_guard' is not a member of 'std'
  07:58:36 |   329 |   std::lock_guard<std::mutex> lock(data.blockages_init_mutex_);
  07:58:36 |       |        ^~~~~~~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:329:8: note: 'std::lock_guard' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:329:24: error: 'mutex' is not a member of 'std'
  07:58:36 |   329 |   std::lock_guard<std::mutex> lock(data.blockages_init_mutex_);
  07:58:36 |       |                        ^~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:329:24: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:329:41: error: 'struct gui::Search::BlockData' has no member named 'blockages_init_mutex_'; did you mean 'blockages_init_'?
  07:58:36 |   329 |   std::lock_guard<std::mutex> lock(data.blockages_init_mutex_);
  07:58:36 |       |                                         ^~~~~~~~~~~~~~~~~~~~~
  07:58:36 |       |                                         blockages_init_
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:329:31: error: 'lock' was not declared in this scope; did you mean 'lockf'?
  07:58:36 |   329 |   std::lock_guard<std::mutex> lock(data.blockages_init_mutex_);
  07:58:36 |       |                               ^~~~
  07:58:36 |       |                               lockf
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp: In member function 'void gui::Search::updateObstructions(odb::dbBlock*)':
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:346:8: error: 'lock_guard' is not a member of 'std'
  07:58:36 |   346 |   std::lock_guard<std::mutex> lock(data.obstructions_init_mutex_);
  07:58:36 |       |        ^~~~~~~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:346:8: note: 'std::lock_guard' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:346:24: error: 'mutex' is not a member of 'std'
  07:58:36 |   346 |   std::lock_guard<std::mutex> lock(data.obstructions_init_mutex_);
  07:58:36 |       |                        ^~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:346:24: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:346:41: error: 'struct gui::Search::BlockData' has no member named 'obstructions_init_mutex_'; did you mean 'obstructions_init_'?
  07:58:36 |   346 |   std::lock_guard<std::mutex> lock(data.obstructions_init_mutex_);
  07:58:36 |       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~
  07:58:36 |       |                                         obstructions_init_
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:346:31: error: 'lock' was not declared in this scope; did you mean 'lockf'?
  07:58:36 |   346 |   std::lock_guard<std::mutex> lock(data.obstructions_init_mutex_);
  07:58:36 |       |                               ^~~~
  07:58:36 |       |                               lockf
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp: In member function 'void gui::Search::updateRows(odb::dbBlock*)':
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:363:8: error: 'lock_guard' is not a member of 'std'
  07:58:36 |   363 |   std::lock_guard<std::mutex> lock(data.rows_init_mutex_);
  07:58:36 |       |        ^~~~~~~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:363:8: note: 'std::lock_guard' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:363:24: error: 'mutex' is not a member of 'std'
  07:58:36 |   363 |   std::lock_guard<std::mutex> lock(data.rows_init_mutex_);
  07:58:36 |       |                        ^~~~~
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:363:24: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:363:41: error: 'struct gui::Search::BlockData' has no member named 'rows_init_mutex_'; did you mean 'rows_init_'?
  07:58:36 |   363 |   std::lock_guard<std::mutex> lock(data.rows_init_mutex_);
  07:58:36 |       |                                         ^~~~~~~~~~~~~~~~
  07:58:36 |       |                                         rows_init_
  07:58:36 | /root/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1687851890260/work/src/gui/src/search.cpp:363:31: error: 'lock' was not declared in this scope; did you mean 'lockf'?
  07:58:36 |   363 |   std::lock_guard<std::mutex> lock(data.rows_init_mutex_);
  07:58:36 |       |                               ^~~~
  07:58:36 |       |                               lockf
  07:58:40 | make[2]: *** [src/gui/CMakeFiles/gui.dir/build.make:288: src/gui/CMakeFiles/gui.dir/src/search.cpp.o] Error 1
proppy commented 1 year ago

looks like https://github.com/The-OpenROAD-Project/OpenROAD/pull/3370 missed one of the necessary includes.

proppy commented 1 year ago

dropping this, since this is merged upstream.