Search Criteria
Package Details: librepcb 2.0.1-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/librepcb.git (read-only, click to copy) |
|---|---|
| Package Base: | librepcb |
| Description: | A free EDA software to develop printed circuit boards |
| Upstream URL: | https://librepcb.org/ |
| Licenses: | GPL-3.0-or-later |
| Submitter: | dbrgn |
| Maintainer: | dbrgn (rnestler) |
| Last Packager: | dbrgn |
| Votes: | 24 |
| Popularity: | 0.89 |
| First Submitted: | 2018-10-23 07:35 (UTC) |
| Last Updated: | 2026-02-22 17:32 (UTC) |
Dependencies (14)
- glu (glu-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- muparser
- opencascade (opencascade-gitAUR)
- polyclippingAUR
- qt6-base (qt6-base-gitAUR, qt6-base-scrollfixAUR, qt6-base-scrollfixAUR, qt6-xcb-private-headers-scrollfixAUR, qt6-xcb-private-headers-scrollfixAUR, qt6-base-headlessAUR, qt6-base-hifpsAUR)
- qt6-svg
- cargo (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rust, rustup) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- fontobene-qt-qt6AUR (make)
- gtest (googletest-gitAUR) (make)
- pkg-config (pkgconf-gitAUR, pkg-config-gitAUR, pkgconf) (make)
- qt6-tools (make)
- rust (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rustup) (make)
Latest Comments
1 2 3 4 Next › Last »
dbrgn commented on 2026-02-22 17:32 (UTC)
okhsunrog: Thanks, new version published!
okhsunrog commented on 2026-02-22 16:07 (UTC)
Build fails on Arch Linux due to LTO (enabled by default in makepkg)
The build fails with 697 errors from qttypes proc-macro:
-- rust-cpp fatal error -- Struct metadata not present in target library file.
This is not a Qt 6.10 issue. The root cause is -flto=auto from CXXFLAGS (default in /etc/makepkg.conf). The cpp crate embeds metadata as raw bytes in .data section, but with LTO the compiler emits GIMPLE IR instead of native code, leaving .data empty. The proc-macro can't find the metadata and panics.
Fix: add options=(!lto) to the PKGBUILD.
I've also submitted a proper fix upstream to cpp_build: https://github.com/mystor/rust-cpp/pull/116
domker commented on 2026-02-08 18:44 (UTC)
Build fail at: error: proc-macro derive panicked --> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/qttypes-0.2.12/src/qtcore/qbytearray.rs:12:1
Full build LOG: https://0x0.st/PTuR.log
Everything is up to date. Standard makepkg.conf, I tried various workarounds with AI analysis, but nothing helped. It was always throwing qttypes errors and interrupting the build. I have Librepcb 1.3.0, which built correctly much earlier, and 2.0.0-1 has problems.
dbrgn commented on 2025-04-25 21:10 (UTC)
@sawntoe: Thanks! I pushed the fix, CMake seems to run now, but I didn't have time to test whether the application actually works after compiling. If you notice any issues, please let me know!
sawntoe commented on 2025-04-25 11:05 (UTC) (edited on 2025-04-25 11:10 (UTC) by sawntoe)
When building, I get the error
As mentioned in https://github.com/LibrePCB/LibrePCB/pull/1506 the fix has only been applied after the 1.3.0 release, maybe would be ideal to add and apply a downstream patch?
Edit: Here's a diff to fix the issue, I just added the flag to force compilation.
eaz commented on 2024-04-08 10:15 (UTC)
@dbrgn thanks for the quick update! It does build with Qt6.
dbrgn commented on 2024-04-08 08:36 (UTC)
@eaz thanks, I originally planned to add that variable, but then forgot. On my system, Qt6 is being used/preferred, but it's better to set the variable explicitly. Can you test whether version 1.1.0-2 builds with Qt6?
eaz commented on 2024-04-08 08:31 (UTC) (edited on 2024-04-08 08:31 (UTC) by eaz)
I have had some problems building the new version (1.1.0). It seems that CMake prefers Qt5 even if Qt6 is installed and then selects only the C++11 compiler. I was able to get it to compile by adding an environment variable
dbrgn commented on 2023-10-08 09:36 (UTC) (edited on 2023-10-08 09:37 (UTC) by dbrgn)
@Technetium1: That is only a warning and can be ignored for non-git builds: https://github.com/LibrePCB/LibrePCB/blob/b4a8640404eb07c83464713129561a7914fdf0e3/libs/librepcb/core/CMakeLists.txt#L26-L41 Git is not a build dependency.
Technetium1 commented on 2023-10-08 01:43 (UTC)
Please add
gitto makedepends:Git not found, cannot set version info1 2 3 4 Next › Last »