@mozurin: I somehow totally missed your message. Thanks a lot for tracking this down and providing a fix! I included it in version 1.0.6-2.
Search Criteria
Package Details: fritzing 1.0.6-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/fritzing.git (read-only, click to copy) |
|---|---|
| Package Base: | fritzing |
| Description: | PCB layout prototyping application |
| Upstream URL: | http://fritzing.org |
| Licenses: | GPL-3.0-only AND CC-BY-SA-3.0 AND BSL-1.0 |
| Submitter: | phects |
| Maintainer: | Bevan |
| Last Packager: | Bevan |
| Votes: | 244 |
| Popularity: | 0.062646 |
| First Submitted: | 2009-05-31 14:31 (UTC) |
| Last Updated: | 2026-01-22 21:02 (UTC) |
Dependencies (14)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- libgit2 (libgit2-gitAUR)
- ngspice (ngspice-gitAUR)
- polyclippingAUR
- qt6-base (qt6-base-gitAUR, qt6-base-hifpsAUR, qt6-base-scrollfixAUR, qt6-base-scrollfixAUR, qt6-xcb-private-headers-scrollfixAUR, qt6-xcb-private-headers-scrollfixAUR, qt6-base-headlessAUR)
- qt6-serialport
- qt6-svg
- quazip-qt6
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- boost (boost-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- patchelf (patchelf-gitAUR) (make)
- qt6-tools (make)
Required by (0)
Sources (8)
- 0001-Quick-Dirty-patch-to-allow-finding-quazip-qt6-on-Arc.patch
- 0002-Quick-Dirty-patch-to-allow-finding-ngspice-on-Arch-L.patch
- 0003-Quick-Dirty-patch-to-allow-finding-Clipper1-on-Arch-.patch
- 0004-Work-around-build-issues-with-Qt-6.9.patch
- 0005-Fix-build-with-Qt-6.10.patch
- git+https://github.com/fritzing/fritzing-app.git#commit=04e5bb0241e8f1de24d0fce9be070041c6d5b68e
- git+https://github.com/fritzing/fritzing-parts.git#commit=73bc0559bb8399b2f895d68f032e41d7efc720c0
- svgpp-1.3.1.tar.gz
Bevan commented on 2026-01-22 21:03 (UTC)
mozurin commented on 2025-12-18 06:48 (UTC)
A small patch was needed to build it correctly with Qt 6.10.1.
diff -ur a/src/commands.cpp b/src/commands.cpp
--- a/src/commands.cpp 2025-12-18 12:09:48.997210080 +0900
+++ b/src/commands.cpp 2025-12-18 11:55:07.500341673 +0900
@@ -509,7 +509,7 @@
+ BaseCommand::getParamString() +
QString(" id:%1 by:%2")
.arg(m_itemID)
- .arg(m_orientation);
+ .arg(static_cast<int>(m_orientation));
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -1830,7 +1830,8 @@
}
result += QString(" id:%1 degrees:%2 orientation:%3")
- .arg(m_itemID).arg(m_degrees).arg(m_orientation);
+ .arg(m_itemID).arg(m_degrees)
+ .arg(static_cast<int>(m_orientation));
return result;
}
diff -ur a/src/items/itembase.cpp b/src/items/itembase.cpp
--- a/src/items/itembase.cpp 2025-12-18 13:03:05.312347789 +0900
+++ b/src/items/itembase.cpp 2025-12-18 13:05:04.103320836 +0900
@@ -2006,7 +2006,7 @@
.arg(this->instanceTitle())
.arg(this->viewLayerID())
.arg(this->viewLayerPlacement())
- .arg(this->wireFlags())
+ .arg(static_cast<int>(this->wireFlags()))
.arg((long) dynamic_cast<const QGraphicsItem *>(this), 0, 16)
.arg(m_viewID)
.arg(this->zValue())
diff -ur a/src/sketch/sketchwidget.cpp b/src/sketch/sketchwidget.cpp
--- a/src/sketch/sketchwidget.cpp 2025-12-18 13:28:03.577838697 +0900
+++ b/src/sketch/sketchwidget.cpp 2025-12-18 13:28:42.241482017 +0900
@@ -1384,7 +1384,7 @@
.arg(newID)
.arg(fromPos.x()).arg(fromPos.y())
.arg(toPos.x()).arg(toPos.y())
- .arg(wireFlags)
+ .arg(static_cast<int>(wireFlags))
.arg(from->attachedToTitle()).arg(from->connectorSharedID())
.arg(to->attachedToTitle()).arg(to->connectorSharedID())
.arg(m_viewID)
keyfour commented on 2025-03-19 11:29 (UTC)
I've encountered an issue where the build fails if the build/ directory already exists from a previous build. This happens when rebuilding without a clean build directory.
The fix is to use mkdir -p build instead of mkdir build, ensuring the directory exists without failing. Here's the patch:
diff --git a/PKGBUILD b/PKGBUILD
index 9cc4e4c..08f299a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -80,7 +80,7 @@ build() {
# build translations
/usr/lib/qt6/lrelease-pro phoenix.pro
- mkdir build && cd build
+ mkdir -p build && cd build
qmake6 ..
make
}
Let me know if you need any more details. Thanks!
gregsie commented on 2025-03-11 21:42 (UTC)
@bevan. built and application working against quazip-qt6 1.4-1 on my manjaro boxes. Thanks for investigating and fixing quickly.
stele.stele commented on 2025-03-11 20:50 (UTC) (edited on 2025-03-11 20:53 (UTC) by stele.stele)
@Bevan: Build OK, Thanks!
Bevan commented on 2025-03-11 20:20 (UTC)
@stele.stele @gregsie: The reason for the error is that Manjaro still distributes quazip 1.4 while Arch is already on version 1.5. So my recent fix for Arch broke the build on Manjaro. I generally only test Arch here, so I rely on feedback like yours for derivatives like Manjaro.
I just now pushed an update to this package which should allow building on Arch and Manjaro. Please try again and make sure to use the most recent version of the package sources. I did not bump the pkgrel because I don't want to force everyone to rebuild this package.
gregsie commented on 2025-03-11 18:32 (UTC)
I am seeing the same error as @LukasvonAllmen but the suggested workround is already there but I still see the error.
To build (2): fritzing 1.0.4-2 (1.0.4-1) AUR
/var/tmp/pamac-build-greg/fritzing/src/fritzing-app/src/utils/folderutils.cpp:39:10: fatal error: quazip/quazip.h: No such file or directory
39 | #include <quazip/quazip.h>
| ^
compilation terminated.
make[1]: *** [Makefile.Release:4937: release/folderutils.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/pamac-build-greg/fritzing/src/fritzing-app/build'
make: *** [Makefile:42: release] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I have quazip-qt5 1.4-1 quazip-qt6 1.4-1 installed. tired with just 1 or the other same error
stele.stele commented on 2025-03-10 15:30 (UTC) (edited on 2025-03-10 15:32 (UTC) by stele.stele)
@Bevanc: Now error on update in Manjaro
fatal error: quazip/quazip.h: No such file or directory
39 | #include <quazip/quazip.h>
| ^~~~~~~~~~~~~~~~~
pacman -Qs quazip-qt6
local/quazip-qt6 1.4-1
Bevan commented on 2025-03-09 13:34 (UTC)
@LukasvonAllmen: Thanks for your comment. This should now be fixed in 1.0.4-2.
LukasvonAllmen commented on 2025-03-07 22:08 (UTC) (edited on 2025-03-07 23:34 (UTC) by LukasvonAllmen)
Hello everybody, sadly this package fails to install on my machine:
fatal error: quazip/quazip.h: No such file or directory
39 | #include <quazip/quazip.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.Release:4937: release/folderutils.o] Error 1
make[1]: Leaving directory '...'
make: *** [Makefile:42: release] Error 2
==> ERROR: A failure occurred in build().
Aborting...
❯ pacman -Qs quazip-qt6
local/quazip-qt6 1.5-1
C++ wrapper for the ZIP/UNZIP C package
Edit: I had bump the quazip-qt6 version to 1.5 in the following file:
fritzing-app/pri/quazipdetect.pri
INCLUDEPATH += /usr/include/QuaZip-Qt6-1.5/
IDK how I could submit a patch tough...
Pinned Comments
Bevan commented on 2023-09-25 08:41 (UTC) (edited on 2023-11-02 19:48 (UTC) by Bevan)
Please do not flag this package out of date unless there is source code available for a newer version than represented here. Unfortunately, upstream is very reluctant in releasing their GPL3 licensed code to the public.
See:
https://github.com/fritzing/fritzing-app/issues/3876
https://github.com/fritzing/fritzing-app/issues/3881
https://forum.fritzing.org/t/can-t-find-source-code/19723
https://github.com/fritzing/fritzing-app/issues/4070
Bevan commented on 2022-04-02 08:37 (UTC)
ericfont: No need to downgrade libgit2. You just need to rebuild Fritzing after the libgit2 update. This happens regularly.