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

Git Clone URL: https://aur.archlinux.org/openroad-git.git (read-only, click to copy)
Package Base: openroad-git
Description: A framework for RTL synthesis
Upstream URL: https://theopenroadproject.org/
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 https://github.com/swig/swig/commit/b91ffa5631eb049293d3478744606148c9726521

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;
+#endif
+
 #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().
    Aborting...
 -> 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: https://github.com/The-OpenROAD-Project/OpenROAD/pull/4351

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Jiuyang Liu <jiuyang.liu@sifive.com>

 pkgname=openroad-git
-pkgver=r15912.76dc13430
+pkgver=r18283.6dba515c2
 pkgrel=1
 pkgdesc='A framework for RTL synthesis'
 arch=('x86_64')
@@ -10,17 +10,17 @@ url='https://theopenroadproject.org/'
 license=('BSD')
 conflicts=('openroad')
 provides=('openroad')
-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')
-source=('git+https://github.com/The-OpenROAD-Project/OpenROAD.git'
+source=('git+https://github.com/The-OpenROAD-Project/OpenROAD.git#commit=6dba515c2aacd3fca58ef8135424884146efd95b'
         'git+https://github.com/The-OpenROAD-Project/OpenSTA.git'
         'git+https://github.com/The-OpenROAD-Project/abc.git'
-        '0001-fmt-deprecated-ostream.patch')
+        'openroad-fix-fmt-10.patch::https://github.com/The-OpenROAD-Project/OpenROAD/commit/9396f07f28e0260cd64acfc51909f6566b70e682.patch')

 sha256sums=('SKIP'
-           '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+https://github.com/The-OpenROAD-Project/superlu.git is gone