That is probably because
cd "$srcdir"/$pkgname-${pkgver/s/.}
should be changed to
cd "$srcdir"/$pkgname-${pkgver%_*}
as I suggested in my previous comment. At least, it worked for me.
Git Clone URL: | https://aur.archlinux.org/qucs.git (read-only, click to copy) |
---|---|
Package Base: | qucs |
Description: | An integrated circuit simulator with a graphical user interface |
Upstream URL: | https://github.com/Qucs/qucs |
Licenses: | GPL |
Submitter: | Barthalion |
Maintainer: | wereii |
Last Packager: | wereii |
Votes: | 27 |
Popularity: | 0.019301 |
First Submitted: | 2018-01-05 15:44 (UTC) |
Last Updated: | 2024-07-05 22:35 (UTC) |
« First ‹ Previous 1 2 3
That is probably because
cd "$srcdir"/$pkgname-${pkgver/s/.}
should be changed to
cd "$srcdir"/$pkgname-${pkgver%_*}
as I suggested in my previous comment. At least, it worked for me.
The package is currently broken:
[...]/qucs/PKGBUILD: line 20: cd: [...]/qucs/src/qucs-0.0.20_rc2: No such file or directory
It should be [...]/qucs/src/qucs-0.0.20-rc2.tar.gz
Hello! I tried to build QUCS 0.0.20-RC2 today making just minor edits to PKGBUILD:
pkgver=0.0.20_rc2
source=("http://downloads.sourceforge.net/project/qucs/qucs/${pkgver%_*}/qucs-${pkgver//_/-}.tar.gz"
prepare() {
cd "$srcdir"/$pkgname-${pkgver%_*}
#patch -p0 -i ../issue710.patch
# this patch is already incorporated to the 0.0.20-RC2 version
}
and everything builds and works fine so far. So I suggest upgrading this AUR package to 0.0.20-RC2 version, since there is such official release. Thank you!
the link:(http://downloads.sourceforge.net/project/qucs/qucs/0.0.19/qucs-0.0.19.tar.gz) change to the https link:(https://jaist.dl.sourceforge.net/project/qucs/qucs/0.0.19/qucs-0.0.19.tar.gz)
@eigengrau I just managed to install it on a fresh version of the system, maybe you need to reinstall Qt4?
This currently fails to build with:
=== configuring in qucs (/home/seb/tmp/build/qucs/src/qucs-0.0.19/qucs)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--disable-doc' 'CXXFLAGS=-march=native -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/seb/tmp/build/qucs/src=/usr/src/debug' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CFLAGS=-march=native -mtune=native -O2 -pipe -fstack-protector-strong -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/seb/tmp/build/qucs/src=/usr/src/debug' --cache-file=/dev/null --srcdir=
…
checking for Qt headers... found in /usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4/Qt3Support
checking for Qt... 4 (multi-threaded)
checking for Qt library... configure: error: not found
configure: error: ./configure failed for qucs
@altazar: I merged your fixes :-)
I propose to merge fix for the bug https://bugs.archlinux.org/task/55636 (original github issue: https://github.com/Qucs/qucs/issues/710)
I've backport this fix for version 0.0.19 (filename issue710.patch): https://ptpb.pw/Vu5X.patch
And prepare PKGBUILD changes: https://ptpb.pw/PKRS
Please update AUR with these fixes. They are solve "crash on simulation" issue completely.
Reported bug: https://bugs.archlinux.org/task/55636
Pinned Comments
wereii commented on 2024-07-05 22:40 (UTC) (edited on 2024-07-05 22:47 (UTC) by wereii)
The latest tag of this project (0.0.20) still depends on qt4 which is only available in AUR now.
If you really need to build this (and also qt4) I recommend editing the qt4 package PKGBUILD and adding -j`nproc` arg to the make call - otherwise it will take a long time build.
0.0.20 also seems to be the last version of qucs before qt5 (see the archival in the tagged commit message): https://github.com/Qucs/qucs/commit/9ca02d8dd7c4bc426a09e4217977ad0519f16f2e