Hi, can you update PKGBUILD so it follows the template https://wiki.archlinux.org/title/CMake_package_guidelines#Template and does not call make
directly? E.g. on my system, ninja is default cmake build system. Proper use of cmake also simplifies the PKGBUILD.
Search Criteria
Package Details: kicad-git 8.99.0.r1825.gb38357a5ea-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/kicad-git.git (read-only, click to copy) |
---|---|
Package Base: | kicad-git |
Description: | Electronic schematic and printed circuit board (PCB) design tools |
Upstream URL: | https://kicad.org/ |
Licenses: | GPL |
Conflicts: | kicad, kicad-bzr |
Provides: | kicad |
Submitter: | Chocobo |
Maintainer: | nickoe |
Last Packager: | nickoe |
Votes: | 67 |
Popularity: | 0.000001 |
First Submitted: | 2015-10-08 16:39 (UTC) |
Last Updated: | 2024-07-16 22:49 (UTC) |
Dependencies (21)
- boost-libs
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- desktop-file-utils (desktop-file-utils-gitAUR)
- glew (glew-libepoxyAUR, glew-waylandAUR, glew-osmesa-gitAUR, glew-wayland-gitAUR, glew-gitAUR)
- glm (glm-gitAUR)
- libgit2 (libgit2-gitAUR)
- ngspice (ngspice-gitAUR)
- opencascade (opencascade-gitAUR, opencascade-rcAUR, opencascade-f3dAUR)
- protobuf (protobuf-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-wxpython (python-wxpython-gitAUR)
- swig (swig-gitAUR)
- unixodbc (unixodbc-gitAUR)
- wxwidgets-gtk3 (wxwidgets-gtk3-gitAUR, wxwidgets-gtk3-lightAUR)
- zstd (zstd-gitAUR, zstd-staticAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-amber) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- kicad-library (kicad-library-gitAUR, kicad-libraries-gitAUR) (optional) – for footprints
Required by (26)
- freerouting (requires kicad) (optional)
- freerouting-zh-cn (requires kicad) (optional)
- freerouting-zh-cn-git (requires kicad) (optional)
- kiauto-git (requires kicad)
- kibot (requires kicad)
- kicad-allegro (requires kicad) (optional)
- kicad-allegro-git (requires kicad) (optional)
- kicad-diff-git (requires kicad)
- kicad-i18n-git (requires kicad)
- kicad-interactive-html-bom-plugin (requires kicad)
- kicad-interactivehtmlbom-git (requires kicad)
- kicad-jlc-manufacture-git (requires kicad)
- kicad-kibuzzard-git (requires kicad)
- kicad-library-espressif-git (requires kicad)
- kicad-nightly-bin (requires kicad)
- kicad-nightly-rpm (requires kicad)
- kicad-pcb-diff (requires kicad)
- kicad-storybook-git (requires kicad)
- kikit-git (requires kicad)
- kiri-git (requires kicad)
- Show 6 more...
Sources (1)
xorly commented on 2024-12-21 17:22 (UTC)
xiota commented on 2024-08-04 14:23 (UTC) (edited on 2024-08-04 14:24 (UTC) by xiota)
I had edited the PKGBUILD to use ld
instead of gold
and forgot to sync before reporting the error. Seems ld
is more strict about some options. Resolved by adding following:
export CXXFLAGS+=" -fno-strict-aliasing"
export LDFLAGS+=" -Wl,--copy-dt-needed-entries"
nickoe commented on 2024-08-04 10:59 (UTC) (edited on 2024-08-04 11:00 (UTC) by nickoe)
@xiota, maybe try a clean build? makepkg -C
it builds for me. I updated my system yesterday or so.
I have:
local/protobuf 27.2-1
local/protobuf-c 1.5.0-3
local/python-protobuf 27.2-1
xiota commented on 2024-08-04 04:00 (UTC)
Fails to build.
/usr/bin/ld: api/libkiapi.so.8.99.0: undefined reference to symbol '_ZN4absl12lts_2024011612log_internal17MakeCheckOpStringIPKvS4_EEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_T0_PKc'
Possibly related to protobuf. https://gitlab.com/kicad/code/kicad/-/issues/18080
nickoe commented on 2024-01-05 14:04 (UTC)
I have not tried mold, but I have used gold before for quite some time with kicad. Habe you tired test what difference it makes?
kamocat commented on 2024-01-05 00:26 (UTC)
https://dev-docs.kicad.org/en/build/linux/ suggests using Ninja and Mold to speed up the build process
Nestor_013 commented on 2023-10-31 11:34 (UTC) (edited on 2023-10-31 11:36 (UTC) by Nestor_013)
It seems that libgit2 is missing from dependencies.
-- Checking for one of the modules 'libgit2'
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find libgit2 (missing: LIBGIT2_LIBRARIES LIBGIT2_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/Findlibgit2.cmake:36 (find_package_handle_standard_args)
CMakeLists.txt:759 (find_package)
xorly commented on 2023-07-30 18:06 (UTC)
reported in upstream https://gitlab.com/kicad/code/kicad/-/issues/15306 There was fmt update in kicad 2 weeks ago, so that could be the change exposing issue.
nickoe commented on 2023-07-22 22:20 (UTC)
@sph, ok, I see, but I think you should report this issue upstream. https://gitlab.com/kicad/code/kicad/-/issues
Pinned Comments