← Back to team overview

kicad-developers team mailing list archive

Fedora rawhide build failure related to ngspice

 

There is a new bug [1] that mentions that KiCAD fails to build in Fedora rawhide.

The failure message is in the eeschema link step:

/usr/bin/g++ -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wsuggest-override -Werror=vla -pthread -DNDEBUG -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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,/builddir/build/BUILD/kicad-5.1.9/x86_64-redhat-linux-gnu/eeschema ../../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 -pthread -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 -lboost_unit_test_framework -lboost_filesystem -lboost_system
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/libngspice.so: undefined reference to `history_file'
collect2: error: ld returned 1 exit status

I looked at the symbols in libngspice.so.0.0.0.  In Fedora 33 we had:

00000000008ad320 B history_file

but in Fedora 34 (a.k.a. rawhide) we have:

                 U history_file

I don't see where this is a KiCAD problem, because I don't find any references to history_file in the KiCAD code.  Does anyone have any suggestions about this?

	Steve

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1927628

Follow ups