A new build of kicad 4.0.2 under linux 4.4.2-hardened X86_64 (64 bit) produces a list of error messages when running cvpcb from an existing schematic: Errors were encountered loading footprints IO_ERROR: footprint library path '/opt/kicad-sources/libraries/library-repos/Air_Coils_SML_NEOSID.pretty' does not exist from /var/tmp/portage/sci-electronics/kicad-4.0.2/work/kicad-4.0.2/pcbnew/kicad_plugin.cpp : FootprintEnumerate() : line 1758 IO_ERROR: footprint library path '/opt/kicad-sources/libraries/library-repos/Varistors.pretty' does not exist from /var/tmp/portage/sci-electronics/kicad-4.0.2/work/kicad-4.0.2/pcbnew/kicad_plugin.cpp : FootprintEnumerate() : line 1758 and more of the same. The target .pretty directory exists, has content. and is correctly listed in the fp-lib-table. The file given as the source of the error does not exist, although it presumably existed at install time.
Please post emerge --info kicad output
Created attachment 427830 [details] output of emerge --info kicad
@Rick: Could you please attach an example input file? I don't need the whole schematic just something simple that crashes and has the parts in question on it. It would help debugging immensely. Thanks :)
Created attachment 428306 [details] example schematic Please use only for debugging and delete after use
This will show errors, since it is unlikely that you have libraries in the place where KISYSMOD points. On my system the file which is given as the source of the errors is one which existed only transiently during the emerge. I was able to get the program working by re-installing the libraries using the script on the website, so the only remaining problem is the spurious error source.
My installation has not pretty files so opening schematic produces same errors. I have looked at the source library package and it seems only to have some template .pretty files for some mini computer boards. Also auto downloading from github fails, however pasting a github link directly I can download files so they are not missing online. I'm investigating further...
Old installation (4.0.1) also does not have .pretty installed by default. I will use the /usr/share/doc/kicad-4.0.2/scripts/library-repos-install.sh.bz2 script to get the files locally and see with both versions whether it works or not. For the github download failures I suspect it could be permission problems. @Rick: Thanks for the example schematic, it helps to debug this faster. Once done I'll delete it. Also did your schematics work with kicad-4.0.1 before?
I did not see any error messages undet version 4.0.1, and it found the libraries with no trouble. I thus have no idea what the stated origin of the messages might have been - sorry.
I got to dig around a bit and I think I have found the source of the problem. Apparently starting from 4.0.2 footprint files are available as a separate download. I'm updating ebuild according to new source requirements and testing it.
https://github.com/gentoo/gentoo/pull/1241