Package Details: openroad-git r19869.1bb904876-1

Git Clone URL: (read-only, click to copy)
Package Base: openroad-git
Description: A framework for RTL synthesis
Upstream URL:
Licenses: BSD
Conflicts: openroad, opensta
Provides: openroad
Submitter: Sequencer
Maintainer: fansp
Last Packager: fansp
Votes: 0
Popularity: 0.000000
First Submitted: 2020-03-17 07:34 (UTC)
Last Updated: 2023-12-29 15:05 (UTC)

Latest Comments

1 2 Next › Last »

fansp commented on 2024-04-18 14:04 (UTC)

The issue seems to be introduced in

May you try the following patch as a quick workaround?

diff --git a/src/gui/src/tclCmdInputWidget.h b/src/gui/src/tclCmdInputWidget.h
index 13c3d7352..7f8ff9ab1 100644
--- a/src/gui/src/tclCmdInputWidget.h
+++ b/src/gui/src/tclCmdInputWidget.h
@@ -34,6 +34,10 @@

 #include <tcl.h>

+#ifndef TCL_SIZE_MAX
+typedef int Tcl_Size;
 #include <QCompleter>
 #include <QMenu>
 #include <QPlainTextEdit>

sebinho commented on 2024-04-16 17:08 (UTC)

It seems to be related to the latest update of Swig. I am now at 6.1.2 and reverting back to 6.1.0 solves the issue.

sebinho commented on 2024-04-16 09:34 (UTC)

FYI, I get the same type of error when trying to manually build from sources...

sebinho commented on 2024-04-16 09:33 (UTC)

I have used this package to install OpenROAD like a month ago without issues. I had to reinstall the package after it started to fail for some odd reason.

Now I cannot reinstall OpenROAD using this package as I get the following errors.

[ 70%] Building CXX object src/gui/CMakeFiles/gui.dir/gui_autogen/mocs_compilation.cpp.o
In file included from /home/zed/.cache/yay/openroad-git/src/OpenROAD/build/src/gui/gui_autogen/UVLADIE3JM/../../../../../src/gui/src/tclCmdInputWidget.h:50,
                 from /home/zed/.cache/yay/openroad-git/src/OpenROAD/build/src/gui/gui_autogen/UVLADIE3JM/moc_tclCmdInputWidget.cpp:10,
                 from /home/zed/.cache/yay/openroad-git/src/OpenROAD/build/src/gui/gui_autogen/mocs_compilation.cpp:23:
/home/zed/.cache/yay/openroad-git/src/OpenROAD/build/src/gui/tclSwig.h: In function ‘int SWIG_Tcl_GetArgs(Tcl_Interp*, int, Tcl_Obj* const*, const char*, ...)’:
/home/zed/.cache/yay/openroad-git/src/OpenROAD/build/src/gui/tclSwig.h:1623:11: error: ‘Tcl_Size’ was not declared in this scope; did you mean ‘Tcl_Time’?
 1623 |           Tcl_Size *vlptr = (Tcl_Size *) va_arg(ap, void *);
      |           ^~~~~~~~
      |           Tcl_Time
/home/zed/.cache/yay/openroad-git/src/OpenROAD/build/src/gui/tclSwig.h:1623:21: error: ‘vlptr’ was not declared in this scope; did you mean ‘vptr’?
 1623 |           Tcl_Size *vlptr = (Tcl_Size *) va_arg(ap, void *);
      |                     ^~~~~
      |                     vptr
/home/zed/.cache/yay/openroad-git/src/OpenROAD/build/src/gui/tclSwig.h:1623:40: error: expected primary-expression before ‘)’ token
 1623 |           Tcl_Size *vlptr = (Tcl_Size *) va_arg(ap, void *);
      |                                        ^
make[2]: *** [src/gui/CMakeFiles/gui.dir/build.make:114: src/gui/CMakeFiles/gui.dir/gui_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5642: src/gui/CMakeFiles/gui.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
 -> error making: openroad-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
openroad-git - exit status 4

Any clue what the problem is? Thanks

fansp commented on 2023-12-29 15:08 (UTC)

Thanks everyone! Now it works again.

CircuitCoder commented on 2023-12-27 01:00 (UTC)

I've made a PR to OpenROAD to fix its compatibility with fmtv10, which have been merged:

Now it should be possible to build from master without the patch.

StackDoubleFlow commented on 2023-11-27 01:03 (UTC) (edited on 2023-11-27 01:04 (UTC) by StackDoubleFlow)

As a workaround, it's possible to use the patch from this PR to use a newer revision.

diff --git a/PKGBUILD b/PKGBUILD
index 57787fe..5ea88fc 100644
@@ -2,7 +2,7 @@
 # Contributor: Jiuyang Liu <>

 pkgdesc='A framework for RTL synthesis'
@@ -10,17 +10,17 @@ url=''
-depends=('blas' 'boost-libs' 'tcl' 'python' 'zlib' 'or-tools' 'spdlog' 'qt5-base')
+depends=('blas' 'boost-libs' 'tcl' 'python' 'zlib' 'or-tools' 'spdlog' 'qt5-base' 'coin-or-lemon')
 makedepends=('git' 'cmake' 'boost' 'swig' 'bison' 'flex')
-        '0001-fmt-deprecated-ostream.patch')
+        'openroad-fix-fmt-10.patch::')

-           'SKIP'
-           'SKIP'
-           '2420e4e4a3d60ad2043018507617d44fc44a1e622cc5809591d03fd2982a7cbc')
+            'SKIP'
+            'SKIP'
+            '4f745d944b11908798017ddd37cbac556d6336bd2b2088f03599347ffc55b294')

 pkgver() {
   cd $srcdir/OpenROAD
@@ -33,7 +33,7 @@ prepare() {
   git config submodule.module/OpenSTA.url $srcdir/OpenSTA
   git config submodule.src/abc.url $srcdir/abc
   git -c protocol.file.allow=always submodule update
-  git apply ../0001-fmt-deprecated-ostream.patch
+  git apply ../openroad-fix-fmt-10.patch

 build() {

fansp commented on 2023-09-12 06:57 (UTC)

NOTICE: Since fmt 10 has removed support for FMT_DEPRECATED_OSTREAM, the compilation is currently BROKEN. I'm investigating it but it seems can not be easily fixed.

kleintux commented on 2023-01-12 16:53 (UTC)

git+ is gone