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!
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.