Package Details: kicad-git 8.99.0.r1825.gb38357a5ea-1

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.000005
First Submitted: 2015-10-08 16:39 (UTC)
Last Updated: 2024-07-16 22:49 (UTC)

Required by (21)

Sources (1)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 29 Next › Last »

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

sph commented on 2023-07-17 18:13 (UTC) (edited on 2023-07-17 18:14 (UTC) by sph)

diff --git a/PKGBUILD b/PKGBUILD
index 4b0f000..eed4c27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,4 +41,8 @@ package() {
   cd "${srcdir}/${pkgname}"
   cd build
   make DESTDIR="${pkgdir}" install
+  cd "${pkgdir}"
+  rm usr/include/fmt/*
+  rm usr/lib/cmake/fmt/*
+  rm usr/lib/pkgconfig/fmt.pc
 }

both kicad-git and fmt provide the rm'd files