GNU bug report logs - #49299
kicad build failure: undefined reference

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Wed, 30 Jun 2021 16:48:01 UTC

Severity: normal

To reply to this bug, email your comments to 49299 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#49299; Package guix. (Wed, 30 Jun 2021 16:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Howard <christopher <at> librehacker.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 30 Jun 2021 16:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Howard <christopher <at> librehacker.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: kicad build failure: undefined reference
Date: Wed, 30 Jun 2021 08:47:28 -0800
[Message part 1 (text/plain, inline)]
Hi, I have been attempting to rebuild my user profile from source.
Kicad, however, fails to build with the following error:

```
/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++  -Wall  -
Wsuggest-override -Werror=vla -pthread -O3 -DNDEBUG  -s -rdynamic
CMakeFiles/qa_eeschema.dir/__/__/common/base_units.cpp.o
CMakeFiles/qa_eeschema.dir/__/__/common/eda_text.cpp.o
CMakeFiles/qa_eeschema.dir/__/__/common/colors.cpp.o
CMakeFiles/qa_eeschema.dir/__/__/common/observable.cpp.o
CMakeFiles/qa_eeschema.dir/eeschema_test_utils.cpp.o
CMakeFiles/qa_eeschema.dir/test_module.cpp.o
CMakeFiles/qa_eeschema.dir/test_eagle_plugin.cpp.o  -o qa_eeschema  -
Wl,-rpath,/gnu/store/a18gskkhwwrrf7q28dfml1dk79yng79a-kicad-5.1.6/lib
../../eeschema/_eeschema.kiface ../../common/libcommon.a
../../common/libgal.a ../qa_utils/libqa_utils.a
../unit_test_utils/libunit_test_utils.a ../../common/liblegacy_gal.a
-lngspice ../../common/libcommon.a ../../common/libgal.a -lGLEW -lcairo
-lpixman-1 -lGL -lGLU ../../bitmaps_png/libbitmaps.a
../../polygon/libpolygon.a -lcurl -lssl -lcrypto
-L/gnu/store/3g181w880128ykysmcbid4nm0j6bwzdp-wxwidgets-3.0.5.1/lib
-pthread -L/gnu/store/jf269s6clr6r57p8v5c3c1qkyra6apq2-mesa-20.2.4/lib
-lwx_gtk3u_gl-3.0 -lwx_gtk3u_aui-3.0 -lwx_gtk3u_adv-3.0
-lwx_gtk3u_html-3.0 -lwx_gtk3u_core-3.0 -lwx_baseu_net-3.0 -lwx_baseu-
3.0 -lwx_baseu_xml-3.0 -lwx_gtk3u_stc-3.0
/gnu/store/vp2s1nxsc9vvc1ix66xpbf041f8nacxr-boost-
1.72.0/lib/libboost_unit_test_framework.so.1.72.0
/gnu/store/vp2s1nxsc9vvc1ix66xpbf041f8nacxr-boost-
1.72.0/lib/libboost_filesystem.so.1.72.0
/gnu/store/vp2s1nxsc9vvc1ix66xpbf041f8nacxr-boost-
1.72.0/lib/libboost_system.so.1.72.0 
ld: /gnu/store/ff1n4xjs57k22np736ddqxd5pjl3wp5z-libngspice-
34/lib/libngspice.so: undefined reference to `history_file'
collect2: error: ld returned 1 exit status
make[2]: *** [qa/eeschema/CMakeFiles/qa_eeschema.dir/build.make:199:
qa/eeschema/qa_eeschema] Error 1
make[2]: Leaving directory '/tmp/guix-build-kicad-5.1.6.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:3042:
qa/eeschema/CMakeFiles/qa_eeschema.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-kicad-5.1.6.drv-0/build'
make: *** [Makefile:166: all] Error 2
command "make" "-j" "1" failed with status 2

```

My guix commit is a little old now (a little over a week) if that makes
a difference. My system information:

```
christopher <at> theoden ~$ neofetch --stdout
christopher <at> theoden 
------------------- 
OS: Guix System 4343476a3bffeb3714ad50ff7559c4b7f7c81551 x86_64 
Host: OptiPlex 9020 00 
Kernel: 5.12.8-gnu 
Uptime: 5 days, 18 hours, 48 mins 
Packages: 93 (guix-system), 109 (guix-user) 
Shell: bash 5.0.16 
Resolution: 1920x1080 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: kitty 
CPU: Intel i5-4570 (4) @ 3.600GHz 
GPU: Intel HD Graphics 
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
Memory: 2363MiB / 7869MiB
```


-- 
Christopher Howard
Gemini capsule: gemini://gem.librehacker.com
Gemini browser: https://git.skyjake.fi/gemini/lagrange/releases


[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#49299; Package guix. (Wed, 30 Jun 2021 17:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 49299 <at> debbugs.gnu.org (full text, mbox):

From: "bdju" <bdju <at> tilde.team>
To: "Christopher Howard" <christopher <at> librehacker.com>, <49299 <at> debbugs.gnu.org>
Subject: Re: bug#49299: kicad build failure: undefined reference
Date: Wed, 30 Jun 2021 12:20:00 -0500
On Wed Jun 30, 2021 at 11:47 AM CDT, Christopher Howard wrote:
> Hi, I have been attempting to rebuild my user profile from source.
> Kicad, however, fails to build
>
> My guix commit is a little old now (a little over a week) if that makes
> a difference.

I believe this was fixed recently, I reported the failure as bug #49161
and the thread was concluded with mention of a patch.




This bug report was last modified 2 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.